Nothing Special   »   [go: up one dir, main page]

CN105786552A - Memory clearing method and electronic equipment - Google Patents

Memory clearing method and electronic equipment Download PDF

Info

Publication number
CN105786552A
CN105786552A CN201410833750.7A CN201410833750A CN105786552A CN 105786552 A CN105786552 A CN 105786552A CN 201410833750 A CN201410833750 A CN 201410833750A CN 105786552 A CN105786552 A CN 105786552A
Authority
CN
China
Prior art keywords
period
application program
memory
value
detection cycle
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.)
Granted
Application number
CN201410833750.7A
Other languages
Chinese (zh)
Other versions
CN105786552B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410833750.7A priority Critical patent/CN105786552B/en
Publication of CN105786552A publication Critical patent/CN105786552A/en
Application granted granted Critical
Publication of CN105786552B publication Critical patent/CN105786552B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention provides a memory clearing method applied to a system of electronic equipment. At least one application program can be operated in the system, acquiring a detection period for detecting surplus memory value in the system and a maximum consumption value of the application program memory in a corresponding system of the current moment, when the detected system surplus memory value is less than the maximum consumption value of the application program memory, since the maximum consumption value of one application program in the system is greater than the surplus memory value of the system, the application program opening is restricted since the surplus memory value of the system is not enough if the application program is opened in the subsequent time, the system memory is cleared so as to guarantee that the application program can be normally opened. The memory clearing method provided by the scheme can immediately clear the memory for the subsequent application program opening according to the maximum consumption value of the application program occupied memory of the system in the time period when the application program is unopened, the adequate system memory is guaranteed, and the performance stability of the electronic equipment is guaranteed.

Description

A kind of internal memory method for cleaning and electronic equipment
Technical field
The invention belongs to electronic device field, particularly relate to a kind of internal memory method for cleaning and electronic equipment.
Background technology
Along with the development of electronic technology, increasing application program is installed in the system of electronic equipment.
Application program is in running, it is necessary to take a certain size internal memory in system, and this internal memory is that application program runs required valuable source, for ensureing the properly functioning of each application program, it is necessary to electronic equipment internal memory is cleared up.
In prior art, the method for the internal memory cleaning of employing is system level memory method for cleaning.The method specifically includes: when low memory, and the internal memory liquidating plan that this system carries starts clean up process, releasing memory.
But, adopt the method, only there is not enough situation in internal memory, just can perform cleaning, but now, the performance of this electronic equipment declines, and have impact on the overall operation of electronic equipment, and internal memory is cleared up not in time.
Summary of the invention
In view of this, it is an object of the invention to provide a kind of internal memory method for cleaning, to solve the problem that in prior art, internal memory cleaning causes the hydraulic performance decline of electronic equipment not in time.
A kind of internal memory method for cleaning, is applied in the system of electronic equipment, and described system can run at least one application program, and described method includes:
Obtaining the detection cycle in the first period and the internal memory maximum consumption value of application program in described first period respectively, described first period is any time period at least two period Preset Time interval division obtained according to the Time segments division rule preset;
According to the described detection cycle, detect the free memory of described system, obtain the free memory value of system described in each detection cycle;
Free memory value described in comparison and described maximum consumption value;
When comparison result shows described free memory value less than described maximum consumption value, described Installed System Memory is cleared up.
Above-mentioned method, it is preferred that the detection cycle in described first period of acquisition includes:
Obtaining historical operation record, described historical operation is recorded as and starts the record of arbitrary application program in described system;
The detection cycle obtaining described first period is calculated according to the regular and described historical operation record of the computation of Period preset;
Wherein, described computation of Period Rule Expression relation between described historical operation record and described detection cycle.
Above-mentioned method, it is preferred that the computation of Period regular and described historical operation record calculating that described foundation is preset obtains the detection cycle of the first period and includes:
From the initial time that described first period is corresponding, according to the number of times that each application program in the time value statistical system that described historical operation record carries is opened;
The detection cycle obtaining present period is calculated according to described first Period Length and described number of times of opening.
Above-mentioned method, it is preferred that the internal memory maximum consumption value obtaining application program in described first period includes:
From the initial time that described first period is corresponding, according to the memory value that each application program in the time value statistical system that described historical operation record carries occupies;
The memory value that each application program in described first period is occupied is compared, and obtains maximum memory value, and described maximum memory value is designated as maximum consumption value.
Above-mentioned method, it is preferred that in the described detection cycle obtained respectively in the first period and described first period before the internal memory maximum consumption value of application program, also include:
Receive enabling signal, and perform the internal memory maximum consumption value step of system in the described detection cycle obtained respectively in the first period and described detection cycle according to described enabling signal.
Above-mentioned method, it is preferred that described Installed System Memory is carried out cleaning and includes:
According to pre-set priority, it is determined that each application priorities;
According to the sequencing of priority, the application program run is cleared up, discharge the internal memory that described application program occupies in described system;
Wherein, the memory value of release meets described maximum consumption value.
Above-mentioned method, preferably, when in described first period without application program launching, the described initial time corresponding from described first period, according to, after the number of times that each application program in the time value statistical system that described historical operation record carries is opened, also including:
Generating control signal, described control signal is used for controlling system and enters off working state.
A kind of electronic equipment, can run at least one application program in the system of described electronic equipment, including:
First acquisition module, for obtaining the detection cycle in the first period;
Second acquisition module, for obtaining the internal memory maximum consumption value of application program in described first period, described first period is according to any time period in the Time segments division the preset regular at least two period that Preset Time interval division is obtained;
Detecting module, for according to the described detection cycle, detecting the free memory of described system, obtain the free memory value of system described in each detection cycle;
Comparing module, free memory value and described maximum consumption value described in comparison;
Cleaning module, for when comparison result shows described free memory value less than described maximum consumption value, clearing up described Installed System Memory.
Above-mentioned electronic equipment, it is preferred that described first acquisition module includes:
Acquiring unit, is used for obtaining historical operation record, and described historical operation is recorded as and starts the record of arbitrary application program in described system;
Computing unit, for calculating, according to the regular and described historical operation record of the computation of Period preset, the detection cycle obtaining described first period;
Wherein, described computation of Period Rule Expression relation between described historical operation record and described detection cycle.
Above-mentioned electronic equipment, it is preferred that described computing unit includes:
Statistics subelement, for from the initial time that described first period is corresponding, according to the number of times that each application program in the time value statistical system that described historical operation record carries is opened;
Computation subunit, for calculating, according to described first Period Length and described number of times of opening, the detection cycle obtaining present period.
Above-mentioned electronic equipment, it is preferred that the second acquisition module includes:
Statistic unit, for from the initial time that described first period is corresponding, according to the memory value that each application program in the time value statistical system that described historical operation record carries occupies;
Comparing unit, compares for the memory value that each application program in described first period is occupied, obtains maximum memory value, described maximum memory value is designated as maximum consumption value.
Above-mentioned electronic equipment, it is preferred that also include:
Start module, be used for receiving enabling signal, and trigger described first acquisition module and the second acquisition module according to described enabling signal.
Above-mentioned electronic equipment, it is preferred that described cleaning module includes:
Prioritization unit, for according to pre-set priority, it is determined that each application priorities;
Cleaning unit, for the sequencing according to priority, clears up the application program run in described system, discharges the internal memory that described application program occupies;
Wherein, the memory value of release meets described maximum consumption value.
Above-mentioned electronic equipment, it is preferred that when in described first period without application program launching, also include:
Controlling module, be used for generating control signal, described control signal is used for controlling system and enters off working state.
A kind of internal memory method for cleaning provided by the invention, the method is applied in the system of electronic equipment, this system can be run at least one application program, first the detection cycle of free memory value is obtained in detection system, and obtain the maximum consumption value of application program internal memory in the system that present period is corresponding, when detecting the system spare memory value that obtains in a certain detection cycle less than the maximum consumption value of this application program internal memory, owing to the maximum consumption value of application program a certain in this system is more than the memory value of this system spare, if opening this application program in follow-up time, owing to the memory value of system spare is inadequate, this application program is caused to be opened limited, now Installed System Memory is cleared up, to ensure that this application program can normally be opened.The internal memory method for cleaning provided in the program, when application program is not switched on, according to the maximum consumption value of systematic difference program committed memory in this time cycle, open application program cleaning internal memory for follow-up in time, ensure that Installed System Memory is sufficient, it is ensured that the stable performance of electronic equipment.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a flow chart of a kind of internal memory method for cleaning embodiment 1 that the application provides;
Fig. 2 is another flow chart of a kind of internal memory method for cleaning embodiment 1 that the application provides;
Fig. 3 is the flow chart of a kind of internal memory method for cleaning embodiment 2 that the application provides;
Fig. 4 is the flow chart of a kind of internal memory method for cleaning embodiment 3 that the application provides;
Fig. 5 is the flow chart of a kind of internal memory method for cleaning embodiment 4 that the application provides;
Fig. 6 is the flow chart of a kind of internal memory method for cleaning embodiment 5 that the application provides;
Fig. 7 is the flow chart of a kind of internal memory method for cleaning embodiment 6 that the application provides;
Fig. 8 is a structural representation of a kind of electronic equipment embodiment 1 that the application provides;
Fig. 9 is another structural representation of a kind of electronic equipment embodiment 1 that the application provides;
Figure 10 is the structural representation of a kind of electronic equipment embodiment 2 that the application provides;
Figure 11 is the structural representation of a kind of electronic equipment embodiment 3 that the application provides;
Figure 12 is the structural representation of a kind of electronic equipment embodiment 4 that the application provides;
Figure 13 is the structural representation of a kind of electronic equipment embodiment 5 that the application provides;
Figure 14 is the structural representation of a kind of electronic equipment embodiment 6 that the application provides.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
As shown in Figure 1, flow chart for a kind of internal memory method for cleaning embodiment 1 that the application provides, the method is applied in the system of electronic equipment, this system can run at least one application program, this electronic equipment of this electronic equipment is specifically as follows the electronic equipments such as desktop computer, notebook, panel computer, mobile phone, intelligent television, intelligent watch, Wearable, this electronic equipment preferred is the equipment that internal memory is less, it is necessary in time this internal memory is cleared up.
The method can be realized by following steps:
Step S101: obtain the detection cycle in the first period and the internal memory maximum consumption value of application program in described first period respectively;
Wherein, this first period is according to any time period in the Time segments division the preset regular at least two period that Preset Time interval division is obtained.
Wherein, this Preset Time interval is specifically as follows one day 24 hours, it is also possible to for needing to perform a period of time of the method.
It should be noted that in the present embodiment, can in real time the internal memory of this system be cleared up, then this first period can be the time period corresponding with current time.
Such as, multiple time periods that this division obtains are divided, for one day 24 hours, 4 time periods obtained, respectively 0-8 point, 8-12 point, 12-18 point and 18-24 point, wherein, when current time is 10, the first then corresponding with this current time period is 8-12 point, then the maximum consumption value of the application program in the detection cycle of this 8-12 point time period and this time period is obtained.
Wherein, the acquisition mode of this detection cycle and maximum consumption value can be explained in detail in subsequent embodiment, is not detailed in the present embodiment.
It should be noted that, this maximum consumption value is maximum memory shared by some application program in each application program in this system, and, the internal memory that this application program takies at different time is likely to difference, then take this application program maximum that maximum and other application programs take in this time period in this time period to compare, obtain the internal memory maximum consumption value of application program in the detection cycle.
It should be noted that, this maximum consumption value characterizes in this time period each application program in system and is caned the maximum memory value independently taken, owing to the system of electronic equipment has internal memory cleaning ability, the process of the application program closed at any time in system can be processed, therefore, as long as ensureing that the application taking maximum memory has enough internal memories to use, then in this system, other application taking less internal memory can be properly functioning.
Step S102: according to the described detection cycle, detect the free memory of described system, obtains the free memory value of system described in each detection cycle;
Wherein, this electronic equipment saves as certain value in system, when system is run multiple application program, the plurality of application program occupies partial memory, and the free memory value of this system is detected, to determine whether this remaining memory value can enough use for the follow-up application program that may start, if not, need the internal memory of cleaning system, if enough, it is possible to need not process.
Concrete, according to this detection cycle, the free memory of system being detected, detection obtains the free memory value of this system in each detection cycle.
It should be noted that, in being embodied as, often complete once to detect, after free memory value in this detection cycle obtaining this system, it is carried out once follow-up step S103-104, is not just performed this step S103 after all having been detected in detection cycles all in this period, so, ensure that once there is the sacred situation inadequate with memory value, at any time Installed System Memory being cleared up, cleaning is in time.
Such as, when this detection cycle is 1 minute, then detects the free memory value of primary system every 1 minute, and after completing once detection, perform step S103, after again completing once detection, again perform step S103.
Step S103: free memory value described in comparison and described maximum consumption value;
Wherein, this maximum consumption value is take the application program of maximum system internal memory in the multiple application programs run in this first period.
It should be noted that when this application program taking maximum system internal memory of current time is turned off, then the situation that time for preventing this application program to be again turned on, Installed System Memory is inadequate occurs, then need the free memory of this system otherwise less than this maximum consumption value;And work as this application program taking maximum system internal memory also operationally, other then follow-up application programs are both less than this maximum consumption value due to the internal memory taken, as long as then ensureing that system spare memory value is not less than this maximum consumption value, the any application program then reruned can both be properly functioning, it is ensured that the stable performance of electronic equipment.
Concrete, detection in step S102 is obtained free memory value compare with this maximum consumption value, when comparison result shows this free memory value more than this maximum consumption value, in the enough current slots of memory value in this system, this takies application properly functioning of maximum memory, then owing to system has internal memory cleaning ability, then in this system, other application also can be properly functioning;When this comparison result shows that in this system, free memory value is less than this maximum consumption value, perform step S104.
Step S104: when comparison result shows described free memory value less than described maximum consumption value, described Installed System Memory is cleared up.
Wherein, electronic equipment is pre-stored with the rule carrying out Installed System Memory cleaning, as cleared up according to the use frequency of application, it is possible to use the priority preset is cleared up.
Concrete, when use frequency according to application is cleared up, LRU (LeastRecentlyUsed can be adopted, recent minimum use) algorithm, according to using frequency order from low to high to carry out cleaning application program in the recent period, the internal memory that the application program that first cleaning does not use in the recent period takies, then clear up the internal memory that the application program being of little use takies successively, while ensureing Consumer's Experience, clean up the internal memory of system.
Concrete, the mode that the default priority of this basis carries out clearing up can be explained in detail in follow-up embodiment, and the present embodiment is not detailed.
As in figure 2 it is shown, another flow chart of a kind of internal memory method for cleaning embodiment 1 provided for the application, the method can be realized by following steps:
Step S201: receive enabling signal;
Wherein, this enabling signal is for indicating the signal opening detecting function.
In being embodied as, this enabling signal can be the button preset in user's trigger electronics or touch area generation.
It should be noted that, electronic equipment carries out the maximum consumption value of automatic detection system internal memory and the free memory value in the detection cycle, also it is need to consume certain internal memory and power consumption, but, in some period, such as 0-6 point, electronic equipment is likely to be at running status, but run seldom even one or two application program, then now the internal memory of this electronic equipment can not be cleared up, without the operation any impact of generation on electronic equipment, and other periods, due to this electronic equipment of user operation, the system of electronic equipment may start, close multiple application program, now the internal memory of system must be cleared up.
In being embodied as, when the time enters the first period of the multiple application program of this operation, user can control this electronic equipment and be operated, electronic equipment responds this control operation, generate enabling signal, and the internal memory maximum consumption value of system in the detection cycle starting to obtain in the first period according to this log-on message and described detection cycle, start the internal memory to system and carry out the process of monitoring and cleaning automatically.
Step S202: obtain the detection cycle in the first period and the internal memory maximum consumption value of system in described first period according to described enabling signal respectively;
Step S203: according to the described detection cycle, detect the free memory of described system, obtains the free memory value of system described in each detection cycle;
Step S204: free memory value described in comparison and described maximum consumption value;
Step S205: when comparison result shows described free memory value less than described maximum consumption value, described Installed System Memory is cleared up.
Wherein, the step S101-104 in step S202-205 and Fig. 1 is consistent, and this place repeats no more.
To sum up, in a kind of internal memory method for cleaning that the present embodiment provides, first obtain the detection cycle of free memory value in detection system, and obtain the maximum consumption value of application program internal memory in system corresponding to detection cycle, when detecting the system spare memory value that obtains in a certain detection cycle less than the maximum consumption value of this application program internal memory, owing to the maximum consumption value of application program a certain in this system is more than the memory value of this system spare, if opening this application program in follow-up time, owing to the memory value of system spare is inadequate, this application program is caused to be opened limited, now Installed System Memory is cleared up, to ensure that this application program can normally be opened.The internal memory method for cleaning provided in the program, when application program is not switched on, according to the maximum consumption value of systematic difference program committed memory in this time cycle, open application program cleaning internal memory for follow-up in time, ensure that Installed System Memory is sufficient, it is ensured that the stable performance of electronic equipment.
As it is shown on figure 3, the flow chart of a kind of internal memory method for cleaning embodiment 2 provided for the application, the method can be realized by following steps:
Step S301: obtain historical operation record, described historical operation is recorded as and starts the record of arbitrary application program in described system;
Wherein, the background process record that this historical operation record is detection system obtains, and what in this background process record, record had each application program runs the Installed System Memory information that beginning and ending time and each moment take.
The internal memory situation that the application run in a certain period and this application take in being embodied as, by detecting the background process of this system, the process of each application in system can be obtained, thus can be learnt.
Step S302: calculate the detection cycle obtaining described first period according to the regular and described historical operation record of the computation of Period preset;
Wherein, temporal information in beginning and ending time according to the first period and this historical operation record, the historical operation record being in this first period can be filtered out, and then can determine that the memory value that the application program running in this first period or starting and this application program take.
Wherein, this electronic equipment is preset with a computation of Period rule, this computation of Period Rule Expression relation between historical operation record and detection cycle.
Wherein, this detection cycle is the cycle that the committed memory value to the application program run in system and this application program is detected.
In being embodied as, this detection cycle to its belonging in the period historical operation record case relevant, in this historical operation record, the corresponding application opened is more frequent, and this detection cycle is more short, to guarantee in time the internal memory of system to be cleared up.
Step S303: obtain the internal memory maximum consumption value of application program in described first period;
Step S304: according to the described detection cycle, detect the free memory of described system, obtains the free memory value of system described in each detection cycle;
Step S305: free memory value described in comparison and described maximum consumption value;
Step S306: when comparison result shows described free memory value less than described maximum consumption value, described Installed System Memory is cleared up.
Wherein, step S304-306 is consistent with the step S102-104 in embodiment 1, and the present embodiment repeats no more.
To sum up, in a kind of internal memory method for cleaning that the present embodiment provides, the detection cycle in this first period of acquisition includes: obtain historical operation record, and described historical operation is recorded as and starts the record of arbitrary application program in described system;The detection cycle obtaining described first period is calculated according to the regular and described historical operation record of the computation of Period preset.Adopt the method, according to the historical operation record of application program in startup system, calculate the detection cycle of this first period, so that the follow-up free memory value to system is detected, and based on the maximum consumption value in this free memory value and this first period, Installed System Memory is cleared up, owing to this detection cycle obtains based on the calculating of this historical operation record, this detection cycle to its belonging in the period historical operation record case relevant, the cycle of detection is determined according to the historical operation situation in this period, this detection cycle combines the historical operation situation of detection period belonging to the moment, there is stronger specific aim, in time the internal memory of system can be cleared up.
As shown in Figure 4, for the flow chart of a kind of internal memory method for cleaning embodiment 3 that the application provides, the method can be realized by following steps:
Step S401: from the initial time that described first period is corresponding, according to the number of times that each application program in the time value statistical system that described historical operation record carries is opened;
Wherein, the time period that statistics is corresponding, it is possible to for the first current period that current time is corresponding, it is possible to for the first period of history that current time is corresponding, this first period of history is alternatively this period on the previous day or default date.
Wherein, when the time period that should add up corresponding is the first current period, then this step can particularly as follows: from initial time corresponding to described first period to current time, according to the startup record of each application in system background process, in accumulative described system, each application performs first number of starting operation;Described first time number is recorded as the first statistical result.
Wherein, when the time period that should add up corresponding is the first period of history corresponding to current time, then this step particularly as follows: according to start/stop time corresponding to this first period, can obtain in this first period each application in this system and perform second number of starting operation from system background process;Recording described second number is the second statistical result.
It should be noted that this starting operation can be applied in this first period repeatedly open for same, then the repeatedly open operation of this same application is repeated record, as, in this first period, certain application opens 3 times, then the number of times of this record records 3 times.
Step S402: calculate the detection cycle obtaining present period according to described first Period Length and described number of times of opening;
Wherein, this first Period Length is default time span, as this first period be 8-12 point time, this first Period Length is 4 hours or 240 minutes.
Concrete, adopt the algorithm preset to calculate this detection cycle, this algorithm can adopt equation below to be calculated: T0=Ti/fi
Wherein, T0For the detection cycle in this first period i, TiFor the time span of this first period i, this fiFor the number of times that each application program in statistical system in this first period is opened.
In being embodied as, according to formula as above, the detection cycle obtained in this first period can be calculated, and then can according to the free memory of this detection cycle detection system.
It should be noted that, in this first period, the detection cycle is that the length according to this period is calculated obtaining with the number of times starting application, and this startup application is more frequent, and this detection cycle is more short, guarantee in time the internal memory of system to be cleared up, open application program cleaning internal memory for follow-up in time.
Step S403: obtain the internal memory maximum consumption value of application program in the first period;
Wherein, in this first period of acquisition, the internal memory maximum consumption value of application program is consistent with the appropriate section in embodiment 1, this part can be described in detail, be not detailed in the present embodiment in subsequent embodiment.
Step S404: according to the described detection cycle, detect the free memory of described system, obtains the free memory value of system described in each detection cycle;
Step S405: free memory value described in comparison and described maximum consumption value;
Step S406: when comparison result shows described free memory value less than described maximum consumption value, described Installed System Memory is cleared up.
Wherein, step S404-406 is consistent with the step S102-104 in embodiment 1, and the present embodiment repeats no more.
To sum up, in a kind of internal memory method for cleaning that the present embodiment provides, the computation of Period regular and described historical operation record calculating that this foundation is preset obtains the detection cycle of the first period and specifically includes: from the initial time that described first period is corresponding, according to the number of times that each application program in the time value statistical system that described historical operation record carries is opened;The detection cycle obtaining present period is calculated according to described first Period Length and described number of times of opening.Adopt the method, the length adopting for the first period and the number of times starting application are calculated the detection cycle in this first period that obtains, then the internal memory maximum consumption value of application program in this first period is detected according to this detection cycle, owing to this detection cycle is according to the number of starts of application in this first period, this startup application is more frequent, this detection cycle is more short, it is ensured that can in time the internal memory of system be cleared up, and opens application program cleaning internal memory for follow-up in time.
As it is shown in figure 5, the flow chart of a kind of internal memory method for cleaning embodiment 4 provided for the application, the method can be realized by following steps:
Step S501: obtain historical operation record, described historical operation is recorded as and starts the record of arbitrary application program in described system;
Step S502: calculate the detection cycle obtaining described first period according to the regular and described historical operation record of the computation of Period preset;
Wherein, step S501-502 is consistent with the step S301-302 in embodiment 2, and the present embodiment repeats no more.
Step S503: from the initial time that described first period is corresponding, according to the memory value that each application program in the time value statistical system that described historical operation record carries occupies;
Wherein, the background process record that this historical operation record is detection system obtains, what in this background process record, record had each application program runs the Installed System Memory information that beginning and ending time and each moment take, that is, the start/stop time including application program in this historical operation record and the memory value taken.
Concrete, according to the application program in this historical operation information initial time, adds up application program initial in time range corresponding to this first period, that run and the memory value occupied thereof.
Wherein, temporal information in beginning and ending time according to the first period and this historical operation record, the historical operation record being in this first period can be filtered out, and then can determine that the memory value that the application program running in this first period or starting and this application program take.
Wherein, the time period that this statistics is corresponding, it is possible to for the first current period that current time is corresponding, it is possible to for the first period of history that current time is corresponding, this first period of history is alternatively this period on the previous day or default date.
Wherein, when the time period that should add up corresponding is the first current period, then this step can particularly as follows: from initial time corresponding to described first period to current time, according to the log of each application in system background process, obtain each application and run the memory value occupied.
Wherein, when the time period that should add up corresponding is the first period of history corresponding to current time, then this step can particularly as follows: according to start/stop time corresponding to described first period, from system background process, obtain the log of each application in described system, obtain each application and run the memory value occupied.
Step S504: the memory value that each application program in described first period is occupied is compared, and obtains maximum memory value, is designated as maximum consumption value by described maximum memory value;
Wherein, when obtaining the log of each application program that this first period starts, the memory value that this application program occupies can be obtained, the internal memory that each application program in this first period takies is compared, obtaining maximum memory value, this maximum memory value is in this first period internal memory maximum consumption value.
It should be noted that the memory size owing to taking in application program running can change, then this maximum memory value is the maximum memory that this application program takies, but not meansigma methods.Such as, three application save as 10M, 20M, 30M in taking respectively, then taking 30M is maximum consumption value, and a certain to be applied in not consumption figures in the same time also different, take its maximum consumption value.
In being embodied as, the methods such as bubbling method can be adopted to compare, finally give the maximum consumption value of internal memory in this first period.
It should be noted that, in this first period got, the maximum consumption value of internal memory characterizes in this first period, maximum residual internal memory needed for Installed System Memory, owing to using different application different periods user, then cause at different periods, maximum residual internal memory required in Installed System Memory also differs, such as the time-division in morning, have only to open system and run the program of necessary several bottoms, and daytime, the operation that user performs is more, then need to open the application program of each user operation, so by dividing the different periods, obtain the internal memory maximum consumption value in different periods, targetedly the internal memory of system can be cleared up, the occupied internal memory of cleaning system, ensure that flexibility ratio and specific aim that internal memory clears up.
Step S505: according to the described detection cycle, detect the free memory of described system, obtains the free memory value of system described in each detection cycle;
Step S506: free memory value described in comparison and described maximum consumption value;
Step S507: when comparison result shows described free memory value less than described maximum consumption value, described Installed System Memory is cleared up.
Wherein, step S505-507 is consistent with the step S304-306 in embodiment 2, and the present embodiment repeats no more.
To sum up, in a kind of internal memory method for cleaning that the present embodiment provides, in this acquisition described first period, the internal memory maximum consumption value of application program includes: from the initial time that described first period is corresponding, according to the memory value that each application program in the time value statistical system that described historical operation record carries occupies;The memory value that each application program in described first period is occupied is compared, and obtains maximum memory value, and described maximum memory value is designated as maximum consumption value.Adopt the method by dividing the different periods, obtain the internal memory maximum consumption value in different periods, can targetedly the internal memory of system be cleared up, clear up the occupied internal memory of system, it is ensured that the flexibility ratio of internal memory cleaning and specific aim.
As shown in Figure 6, for the flow chart of a kind of internal memory method for cleaning embodiment 5 that the application provides, the method can be realized by following steps:
Step S601: obtain the detection cycle in the first period and the internal memory maximum consumption value of application program in described first period respectively;
Step S602: according to the described detection cycle, detect the free memory of described system, obtains the free memory value of system described in each detection cycle;
Step S603: free memory value described in comparison and described maximum consumption value;
Wherein, step S601-603 is consistent with the step S101-103 in embodiment 1, and the present embodiment repeats no more.
Step S604: when comparison result shows described free memory value less than described maximum consumption value, according to pre-set priority, it is determined that each application priorities;
Wherein, electronic equipment runs multiple application program, but, general majority is in background operation state, and each application program has the priority of operation.
Such as, user uses frequency higher or system runs necessary application program, has higher running priority level, and user does not operate for a long time or the application program of backstage self-starting, then have relatively low running priority level.
Therefore, in the process that Installed System Memory is cleared up, can first determine that the priority of application program in this system, and then in conjunction with this priority, Installed System Memory is cleared up in subsequent steps.
Step S605: according to the sequencing of priority, the application program run is cleared up, discharge the internal memory that described application program occupies in described system.
Wherein, the memory value of release meets described maximum consumption value.
Wherein, according to each application program running priority order in the system determined in step S604, according to order from low to high, at least one application program is closed successively, so that the memory value of release meets this maximum consumption value.
It should be noted that, the maximum consumption value in the first period belonging to this current time is the Installed System Memory needing in this period to take, the restriction being then not subjected to this low memory to ensure follow-up program to run, then need the certain applications stop of operation by occupying this internal memory, meet, to provide, the Installed System Memory value that needs take.
Such as, system is run and has running priority level 4 programs from high to low: A, B, C, D, wherein, program A occupies internal memory 20M, program B and occupies internal memory 10M, program C occupies internal memory 5M, program D occupies internal memory 8M, and in this period, the maximum consumption value of Installed System Memory is 12M, then the internal memory of liquidation procedures C and D, releasing memory 5+8=13M > 12M, it is ensured that in this period, the surplus value of Installed System Memory is more than this maximum consumption value.
It should be noted that, the priority of this application program, it can be the running priority level proposed in the present embodiment, then when clearing up internal memory, according to clearing up from low to high from running priority level, in being embodied as, the priority of this application program is alternatively the priority of cleaning, the priority of this cleaning is contrary with this running priority level, when clearing up internal memory, is sequentially carried out cleaning from high in the end according to from cleaning priority.
It should be noted that, in the present embodiment, the memory value of release meets this maximum consumption value, but it is not limited to this, it is more when system is run program, and the internal memory that can clear up less time, it is possible to first discharge a part of internal memory so that the internal memory surplus value that release obtains meets and this maximum consumption value, while other run program in not influential system, in turn ensure that the free memory providing enough.
To sum up, in a kind of internal memory method for cleaning that the present embodiment provides, described Installed System Memory is carried out cleaning and includes: according to pre-set priority, it is determined that each application priorities;According to the sequencing of priority, the application program run is cleared up, discharge the internal memory that described application program occupies in described system;Wherein, the memory value of release meets described maximum consumption value.Adopt the method, in the process that Installed System Memory is cleared up, can first determine that the priority of application program in this system, and then in conjunction with this priority, Installed System Memory is cleared up, the restriction being not subjected to this low memory to ensure follow-up program to run, it is provided that the Installed System Memory value that satisfied needs take.
As it is shown in fig. 7, the flow chart of a kind of internal memory method for cleaning embodiment 6 provided for the application, the method can be realized by following steps:
Step S701: from the initial time that described first period is corresponding, according to the number of times that each application program in the time value statistical system that described historical operation record carries is opened;
Step S701 is consistent with the step S401 in embodiment 3, and the present embodiment repeats no more.
Wherein, when this open number of times be 0 time, perform step S702, otherwise, perform step S703.
Step S702: generate control signal, described control signal is used for controlling system and enters off working state;
Wherein, in some period, electronic equipment is not done due to user any operation, such as the period in morning, the number of times that the application program that then now this statistics obtains is opened is 0, then without for carrying out internal memory cleaning in this period, to reduce the power consumption that electronic equipment produces owing to performing internal memory cleanup action.
Concrete, when statistics obtains in this first period, when opening without application program, then can control electronic equipment and enter off working state, this off working state can be resting state or off-mode.
Concrete, generate control signal, and this control signal is sent to power supply or correlation control unit, so that it controls electronic equipment enters off working state, reduce the power consumption of electronic equipment.
Step S703: calculate the detection cycle obtaining present period according to described first Period Length and described number of times of opening;
Step S704: obtain the internal memory maximum consumption value of application program in the first period;
Step S705: according to the described detection cycle, detect the free memory of described system, obtains the free memory value of system described in each detection cycle;
Step S706: free memory value described in comparison and described maximum consumption value;
Step S707: when comparison result shows described free memory value less than described maximum consumption value, described Installed System Memory is cleared up.
Wherein, step S703-706 is consistent with the step S402-406 in embodiment 3, and the present embodiment repeats no more.
To sum up, in a kind of internal memory method for cleaning that the present embodiment provides, when in described first period without application program launching, after the number of times that then each application program is opened in the time value statistical system carried according to described historical operation record, also including: generate control signal, described control signal is used for controlling system and enters off working state.Adopt the method, when opening without application program in this first period, then can control electronic equipment and enter off working state, reduce the power consumption of electronic equipment.
The embodiment of a kind of internal memory method for cleaning provided with above-mentioned the application is corresponding, present invention also provides the electronic equipment embodiment of this internal memory method for cleaning of a kind of application.
As shown in Figure 8, a structural representation for a kind of electronic equipment embodiment 1 that the application provides, running at least one application program in the system of this electronic equipment, this electronic equipment includes: first acquisition module the 801, second acquisition module 802, detecting module 803, comparing module 804 and cleaning module 805;
Wherein, the first acquisition module 801, for obtaining the detection cycle in the first period;
Wherein, the second acquisition module 802, for obtaining the internal memory maximum consumption value of application program in described first period, described first period is according to any time period in the Time segments division the preset regular at least two period that Preset Time interval division is obtained;
Wherein, detecting module 803, for according to the described detection cycle, detecting the free memory of described system, obtain the free memory value of system described in each detection cycle;
Wherein, comparing module 804, free memory value and described maximum consumption value described in comparison;
Wherein, clear up module 805, for when comparison result shows described free memory value less than described maximum consumption value, described Installed System Memory being cleared up.
As shown in Figure 9, another structural representation for a kind of electronic equipment embodiment 1 that the application provides, this electronic equipment includes first acquisition module the 901, second acquisition module 902, detecting module 903, comparing module 904 and cleaning module 905, also includes: start module 906;
Wherein, start module 906, be used for receiving enabling signal, and trigger described first acquisition module and the second acquisition module according to described enabling signal.
To sum up, in a kind of electronic equipment that the present embodiment provides, first obtain the detection cycle of free memory value in detection system, and obtain the maximum consumption value of application program internal memory in system corresponding to detection cycle, when detecting the system spare memory value that obtains in a certain detection cycle less than the maximum consumption value of this application program internal memory, owing to the maximum consumption value of application program a certain in this system is more than the memory value of this system spare, if opening this application program in follow-up time, owing to the memory value of system spare is inadequate, this application program is caused to be opened limited, now Installed System Memory is cleared up, to ensure that this application program can normally be opened.In the program, when application program is not switched on, according to the maximum consumption value of systematic difference program committed memory in this time cycle, open application program cleaning internal memory for follow-up in time, it is ensured that Installed System Memory is sufficient, it is ensured that the stable performance of electronic equipment.
As shown in Figure 10, for the structural representation of a kind of electronic equipment embodiment 2 that the application provides, this electronic equipment includes: first acquisition module the 1001, second acquisition module 1002, detecting module 1003, comparing module 1004 and cleaning module 1005;
Wherein, the first acquisition module includes acquiring unit 1006 and computing unit 1007.
Wherein, the second acquisition module 1002, detecting module 1003, comparing module 1004 are consistent with the corresponding construction in embodiment 1 with the structure function of cleaning module 1005, and the present embodiment does not repeat.
Wherein, acquiring unit 1006, it is used for obtaining historical operation record, described historical operation is recorded as and starts the record of arbitrary application program in described system;
Wherein, computing unit 1007, for calculating, according to the regular and described historical operation record of the computation of Period preset, the detection cycle obtaining described first period;
Wherein, described computation of Period Rule Expression relation between described historical operation record and described detection cycle.
To sum up, in a kind of electronic equipment that the present embodiment provides, this first acquisition module includes: acquiring unit, is used for obtaining historical operation record, and described historical operation is recorded as and starts the record of arbitrary application program in described system;Computing unit, for calculating, according to the regular and described historical operation record of the computation of Period preset, the detection cycle obtaining described first period;Wherein, described computation of Period Rule Expression relation between described historical operation record and described detection cycle.According to the historical operation record of application program in startup system, calculate the detection cycle of this first period, so that the follow-up free memory value to system is detected, and based on the maximum consumption value in this free memory value and this first period, Installed System Memory is cleared up, owing to this detection cycle obtains based on the calculating of this historical operation record, this detection cycle to its belonging in the period historical operation record case relevant, the cycle of detection is determined according to the historical operation situation in this period, this detection cycle combines the historical operation situation of detection period belonging to the moment, there is stronger specific aim, in time the internal memory of system can be cleared up.
As shown in figure 11, for the structural representation of computing unit in a kind of electronic equipment embodiment 3 that the application provides, this electronic equipment includes: the first acquisition module, the second acquisition module, detecting module, comparing module and cleaning module;
Wherein, this first acquisition module includes acquiring unit and computing unit.
Wherein, the second acquisition module, detecting module, comparing module, cleaning module are consistent with the corresponding construction in embodiment 2 with the structure function of acquiring unit, and the present embodiment does not repeat.
And this computing unit includes: statistics subelement 1101 and computation subunit 1102.
Wherein, add up subelement 1101, for from the initial time that described first period is corresponding, according to the number of times that each application program in the time value statistical system that described historical operation record carries is opened;
Wherein, computation subunit 1102, for calculating, according to described first Period Length and described number of times of opening, the detection cycle obtaining present period.
To sum up, in a kind of electronic equipment that the present embodiment provides, this computing unit includes: statistics subelement, for from the initial time that described first period is corresponding, according to the number of times that each application program in the time value statistical system that described historical operation record carries is opened;Computation subunit, for calculating, according to described first Period Length and described number of times of opening, the detection cycle obtaining present period.The length adopting for the first period and the number of times starting application are calculated the detection cycle in this first period that obtains, then the internal memory maximum consumption value of application program in this first period is detected according to this detection cycle, owing to this detection cycle is according to the number of starts of application in this first period, this startup application is more frequent, this detection cycle is more short, guarantee in time the internal memory of system to be cleared up, open application program cleaning internal memory for follow-up in time.
As shown in figure 12, for the structural representation of a kind of electronic equipment embodiment 4 that the application provides, this electronic equipment includes: first acquisition module the 1201, second acquisition module 1202, detecting module 1203, comparing module 1204 and cleaning module 1205;
Wherein, this first acquisition module 1201 includes acquiring unit 1206 and computing unit 1207.
Wherein, this second acquisition module 1202 includes statistic unit 1208 and comparing unit 1209.
Wherein, the first acquisition module 1201, detecting module 1203, comparing module 1204 are consistent with the corresponding construction in embodiment 2 with the structure function of cleaning module 1205, and the present embodiment does not repeat.
Wherein, statistic unit 1208, for from the initial time that described first period is corresponding, according to the memory value that each application program in the time value statistical system that described historical operation record carries occupies;
Wherein, comparing unit 1209, compare for the memory value that each application program in described first period is occupied, obtain maximum memory value, described maximum memory value is designated as maximum consumption value.
To sum up, in a kind of electronic equipment that the present embodiment provides, by dividing the different periods, obtain the internal memory maximum consumption value in different periods, targetedly the internal memory of system can be cleared up, clear up the occupied internal memory of system, it is ensured that the flexibility ratio of internal memory cleaning and specific aim.
As shown in fig. 13 that, for the structural representation of a kind of electronic equipment embodiment 5 that the application provides, this electronic equipment includes: first acquisition module the 1301, second acquisition module 1302, detecting module 1303, comparing module 1304 and cleaning module 1305;
Wherein, cleaning module 1305 includes prioritization unit 1306 and cleaning unit 1307;
Wherein, first acquisition module the 1301, second acquisition module 1302, detecting module 1303, comparing module 1304 structure function consistent with the corresponding construction in embodiment 1, the present embodiment does not repeat.
Wherein, prioritization unit 1306, for according to pre-set priority, it is determined that each application priorities;
Wherein, clear up unit 1307, for the sequencing according to priority, the application program run is cleared up, discharge the internal memory that described application program occupies in described system;
Wherein, the memory value of release meets described maximum consumption value.
To sum up, in a kind of electronic equipment that the present embodiment provides, in the process that Installed System Memory is cleared up, can first determine that the priority of application program in this system, and then in conjunction with this priority, Installed System Memory is cleared up, the restriction being not subjected to this low memory to ensure follow-up program to run, it is provided that the Installed System Memory value that satisfied needs take.
As shown in figure 14, for the structural representation of a kind of electronic equipment embodiment 6 that the application provides, this electronic equipment includes: first acquisition module the 1401, second acquisition module 1402, detecting module 1403, comparing module 1404, cleaning module 1405 and control module 1406;
Wherein, first acquisition module the 1401, second acquisition module 1402, detecting module 1403, comparing module 1404, cleaning module 1405 structure function consistent with the corresponding construction in embodiment 1, the present embodiment does not repeat.
Wherein, controlling module 1406, for, when in described first period without application program launching, generating control signal, described control signal is used for controlling system and enters off working state.
To sum up, in a kind of electronic equipment that the present embodiment provides, when opening without application program in this first period, then can control electronic equipment and enter off working state, reduce the power consumption of electronic equipment.
It should be noted that each embodiment in this specification all adopts the mode gone forward one by one to describe, what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually referring to.
Finally, it can further be stated that, in this article, the relational terms of such as first and second or the like is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or equipment not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or equipment.When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of described key element, method, article or equipment.
Above a kind of internal memory method for cleaning provided herein and electronic equipment are described in detail, principle and the embodiment of the application are set forth by specific case used herein, and the explanation of above example is only intended to help and understands the present processes and core concept thereof;Simultaneously for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications, in sum, this specification content should not be construed as the restriction to the application.

Claims (14)

1. an internal memory method for cleaning, it is characterised in that be applied in the system of electronic equipment, described system can run at least one application program, and described method includes:
Obtaining the detection cycle in the first period and the internal memory maximum consumption value of application program in described first period respectively, described first period is any time period at least two period Preset Time interval division obtained according to the Time segments division rule preset;
According to the described detection cycle, detect the free memory of described system, obtain the free memory value of system described in each detection cycle;
Free memory value described in comparison and described maximum consumption value;
When comparison result shows described free memory value less than described maximum consumption value, described Installed System Memory is cleared up.
2. method according to claim 1, it is characterised in that the detection cycle in described first period of acquisition includes:
Obtaining historical operation record, described historical operation is recorded as and starts the record of arbitrary application program in described system;
The detection cycle obtaining described first period is calculated according to the regular and described historical operation record of the computation of Period preset;
Wherein, described computation of Period Rule Expression relation between described historical operation record and described detection cycle.
3. method according to claim 2, it is characterised in that the computation of Period regular and described historical operation record calculating that described foundation is preset obtains the detection cycle of the first period and includes:
From the initial time that described first period is corresponding, according to the number of times that each application program in the time value statistical system that described historical operation record carries is opened;
The detection cycle obtaining present period is calculated according to described first Period Length and described number of times of opening.
4. method according to claim 2, it is characterised in that the internal memory maximum consumption value obtaining application program in described first period includes:
From the initial time that described first period is corresponding, according to the memory value that each application program in the time value statistical system that described historical operation record carries occupies;
The memory value that each application program in described first period is occupied is compared, and obtains maximum memory value, and described maximum memory value is designated as maximum consumption value.
5. method according to claim 1, it is characterised in that in the described detection cycle obtained respectively in the first period and described first period before the internal memory maximum consumption value of application program, also include:
Receive enabling signal, and perform the internal memory maximum consumption value step of system in the described detection cycle obtained respectively in the first period and described detection cycle according to described enabling signal.
6. method according to claim 1, it is characterised in that described Installed System Memory is carried out cleaning and includes:
According to pre-set priority, it is determined that each application priorities;
According to the sequencing of priority, the application program run is cleared up, discharge the internal memory that described application program occupies in described system;
Wherein, the memory value of release meets described maximum consumption value.
7. method according to claim 3, it is characterized in that, when in described first period without application program launching, the described initial time corresponding from described first period, according to, after the number of times that each application program in the time value statistical system that described historical operation record carries is opened, also including:
Generating control signal, described control signal is used for controlling system and enters off working state.
8. an electronic equipment, it is characterised in that at least one application program can be run in the system of described electronic equipment, including:
First acquisition module, for obtaining the detection cycle in the first period;
Second acquisition module, for obtaining the internal memory maximum consumption value of application program in described first period, described first period is according to any time period in the Time segments division the preset regular at least two period that Preset Time interval division is obtained;
Detecting module, for according to the described detection cycle, detecting the free memory of described system, obtain the free memory value of system described in each detection cycle;
Comparing module, free memory value and described maximum consumption value described in comparison;
Cleaning module, for when comparison result shows described free memory value less than described maximum consumption value, clearing up described Installed System Memory.
9. electronic equipment according to claim 8, it is characterised in that described first acquisition module includes:
Acquiring unit, is used for obtaining historical operation record, and described historical operation is recorded as and starts the record of arbitrary application program in described system;
Computing unit, for calculating, according to the regular and described historical operation record of the computation of Period preset, the detection cycle obtaining described first period;
Wherein, described computation of Period Rule Expression relation between described historical operation record and described detection cycle.
10. electronic equipment according to claim 9, it is characterised in that described computing unit includes:
Statistics subelement, for from the initial time that described first period is corresponding, according to the number of times that each application program in the time value statistical system that described historical operation record carries is opened;
Computation subunit, for calculating, according to described first Period Length and described number of times of opening, the detection cycle obtaining present period.
11. electronic equipment according to claim 9, it is characterised in that the second acquisition module includes:
Statistic unit, for from the initial time that described first period is corresponding, according to the memory value that each application program in the time value statistical system that described historical operation record carries occupies;
Comparing unit, compares for the memory value that each application program in described first period is occupied, obtains maximum memory value, described maximum memory value is designated as maximum consumption value.
12. electronic equipment according to claim 8, it is characterised in that also include:
Start module, be used for receiving enabling signal, and trigger described first acquisition module and the second acquisition module according to described enabling signal.
13. electronic equipment according to claim 8, it is characterised in that described cleaning module includes:
Prioritization unit, for according to pre-set priority, it is determined that each application priorities;
Cleaning unit, for the sequencing according to priority, clears up the application program run in described system, discharges the internal memory that described application program occupies;
Wherein, the memory value of release meets described maximum consumption value.
14. electronic equipment according to claim 10, it is characterised in that when in described first period without application program launching, also include:
Controlling module, be used for generating control signal, described control signal is used for controlling system and enters off working state.
CN201410833750.7A 2014-12-26 2014-12-26 A kind of memory method for cleaning and electronic equipment Active CN105786552B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410833750.7A CN105786552B (en) 2014-12-26 2014-12-26 A kind of memory method for cleaning and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410833750.7A CN105786552B (en) 2014-12-26 2014-12-26 A kind of memory method for cleaning and electronic equipment

Publications (2)

Publication Number Publication Date
CN105786552A true CN105786552A (en) 2016-07-20
CN105786552B CN105786552B (en) 2019-09-24

Family

ID=56389043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410833750.7A Active CN105786552B (en) 2014-12-26 2014-12-26 A kind of memory method for cleaning and electronic equipment

Country Status (1)

Country Link
CN (1) CN105786552B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201551A (en) * 2016-07-22 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of application program exits method and device
CN107766128A (en) * 2016-08-17 2018-03-06 华为技术有限公司 A kind of method and device for starting application
CN108509261A (en) * 2018-03-07 2018-09-07 青岛海信电器股份有限公司 The setting method of object, device and terminal device in terminal device
CN109274991A (en) * 2018-09-07 2019-01-25 苏宁智能终端有限公司 The EMS memory management process and system of smart television
CN109542607A (en) * 2018-11-30 2019-03-29 北京远特科技股份有限公司 A kind of EMS memory management process and device
CN109753316A (en) * 2018-11-22 2019-05-14 惠州Tcl移动通信有限公司 Intelligent terminal and its control method, the device with store function
WO2020206690A1 (en) * 2019-04-12 2020-10-15 深圳市欢太科技有限公司 Application cleaning method and apparatus, storage medium and electronic device
CN113467916A (en) * 2021-07-15 2021-10-01 北京梧桐车联科技有限责任公司 Application starting method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080104358A1 (en) * 1997-11-12 2008-05-01 Karen Lee Noel Managing physical memory in a virtual memory computer
CN101221536A (en) * 2008-01-25 2008-07-16 中兴通讯股份有限公司 Internal memory managing method and device of embedded system
CN101950272A (en) * 2010-09-10 2011-01-19 北京捷通华声语音技术有限公司 Memory management method and device in embedded system
CN102984580A (en) * 2012-11-12 2013-03-20 北京奇虎科技有限公司 Internal storage cleaning method and system
US20130120473A1 (en) * 2011-11-10 2013-05-16 Seiko Epson Corporation Control device, electrooptics device, electronic equipment, and control method
CN103544063A (en) * 2013-09-30 2014-01-29 三星电子(中国)研发中心 Process clearing method and device applied to Android platform
CN103544055A (en) * 2013-10-22 2014-01-29 深圳Tcl新技术有限公司 Method for collecting resource demand data, and method and system for stably running application programs
CN103902357A (en) * 2012-12-27 2014-07-02 富泰华工业(深圳)有限公司 Application program management system and method
CN103970668A (en) * 2013-02-01 2014-08-06 腾讯科技(深圳)有限公司 Memory cleaning method and device as well as terminal
CN104077191A (en) * 2014-07-18 2014-10-01 广州金山网络科技有限公司 Method and device used for managing memory resources

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080104358A1 (en) * 1997-11-12 2008-05-01 Karen Lee Noel Managing physical memory in a virtual memory computer
CN101221536A (en) * 2008-01-25 2008-07-16 中兴通讯股份有限公司 Internal memory managing method and device of embedded system
CN101950272A (en) * 2010-09-10 2011-01-19 北京捷通华声语音技术有限公司 Memory management method and device in embedded system
US20130120473A1 (en) * 2011-11-10 2013-05-16 Seiko Epson Corporation Control device, electrooptics device, electronic equipment, and control method
CN102984580A (en) * 2012-11-12 2013-03-20 北京奇虎科技有限公司 Internal storage cleaning method and system
CN103902357A (en) * 2012-12-27 2014-07-02 富泰华工业(深圳)有限公司 Application program management system and method
CN103970668A (en) * 2013-02-01 2014-08-06 腾讯科技(深圳)有限公司 Memory cleaning method and device as well as terminal
CN103544063A (en) * 2013-09-30 2014-01-29 三星电子(中国)研发中心 Process clearing method and device applied to Android platform
CN103544055A (en) * 2013-10-22 2014-01-29 深圳Tcl新技术有限公司 Method for collecting resource demand data, and method and system for stably running application programs
CN104077191A (en) * 2014-07-18 2014-10-01 广州金山网络科技有限公司 Method and device used for managing memory resources

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201551A (en) * 2016-07-22 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of application program exits method and device
CN107766128A (en) * 2016-08-17 2018-03-06 华为技术有限公司 A kind of method and device for starting application
US11132219B2 (en) 2016-08-17 2021-09-28 Huawei Technologies Co., Ltd. Starting method for applications which are closed automatically based on the insufficient memory of the system
CN108509261A (en) * 2018-03-07 2018-09-07 青岛海信电器股份有限公司 The setting method of object, device and terminal device in terminal device
CN109274991A (en) * 2018-09-07 2019-01-25 苏宁智能终端有限公司 The EMS memory management process and system of smart television
CN109274991B (en) * 2018-09-07 2020-11-10 苏宁智能终端有限公司 Memory management method and system of smart television
CN109753316A (en) * 2018-11-22 2019-05-14 惠州Tcl移动通信有限公司 Intelligent terminal and its control method, the device with store function
CN109542607A (en) * 2018-11-30 2019-03-29 北京远特科技股份有限公司 A kind of EMS memory management process and device
WO2020206690A1 (en) * 2019-04-12 2020-10-15 深圳市欢太科技有限公司 Application cleaning method and apparatus, storage medium and electronic device
CN113467916A (en) * 2021-07-15 2021-10-01 北京梧桐车联科技有限责任公司 Application starting method and device

Also Published As

Publication number Publication date
CN105786552B (en) 2019-09-24

Similar Documents

Publication Publication Date Title
CN105786552A (en) Memory clearing method and electronic equipment
US10986211B2 (en) Efficient context monitoring
US20190095250A1 (en) Application program management method and device
CN104166542A (en) Method and device for detecting electricity consumption of application
CN103118188A (en) Application heartbeat cycle adjusting method and device, and terminal
CN103412636A (en) Power saving system and power saving method of intelligent terminal
CN106060909A (en) Network access method and mobile terminal
CN103150235A (en) Method and mobile terminal for automatically storing data in volatile memory
CN110572868B (en) Method and device for reducing power consumption of electronic device
CN105704785A (en) Network searching method, device and mobile terminal
US20190011977A1 (en) Predicting voltage guardband and operating at a safe limit
CN106484075B (en) Method and device for adjusting application program wake-up time
CN103294512A (en) Delay start method and system for timer
CN103401998A (en) Realization method of correlation alarm clock on mobile equipment
JPWO2014136182A1 (en) Air conditioner management apparatus and method
WO2016196497A1 (en) Prediction and notification of changes in the operating context of a computing device
CN109992079A (en) Terminal device and control method applied to terminal device
CN109276136A (en) Sump water monitoring method and device
US9749960B2 (en) Adaptable power-budget for mobile devices
CN109669528B (en) Terminal processing component control method and device, computer equipment and storage medium
CN108924366B (en) Low-voltage reminding method and device, electronic equipment and storage medium
CN114900425A (en) Double-channel switching method for AGC equipment
CN105898037A (en) Application pushing method and terminal
CN108717349B (en) Terminal bright screen control method and device, terminal and storage medium
CN104598007B (en) A kind of data processing method and electronic equipment

Legal Events

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