CN105786552B - A kind of memory method for cleaning and electronic equipment - Google Patents

A kind of memory method for cleaning and electronic equipment Download PDF

Info

Publication number
CN105786552B
CN105786552B CN201410833750.7A CN201410833750A CN105786552B CN 105786552 B CN105786552 B CN 105786552B CN 201410833750 A CN201410833750 A CN 201410833750A CN 105786552 B CN105786552 B CN 105786552B
Authority
CN
China
Prior art keywords
memory
period
application program
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.)
Active
Application number
CN201410833750.7A
Other languages
Chinese (zh)
Other versions
CN105786552A (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

A kind of memory method for cleaning provided by the invention, applied in the system of electronic equipment, at least one application program can be run in the system, obtain the maximum consumption value of application program memory in the detection cycle and the corresponding system of present period of free memory value in detection system, when the system spare memory value that detection obtains is less than the maximum consumption value of the application program memory, since the maximum consumption value of a certain application program in the system is greater than the memory value of the system spare, if opening the application program in follow-up time, since the memory value of system spare is inadequate, the application program is caused to be opened limited, Installed System Memory is cleared up at this time, to guarantee that the application program can be opened normally.The 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 the time cycle, memory is cleared up for subsequent opening application program in time, guarantee that Installed System Memory is sufficient, guarantees that the performance of electronic equipment is stablized.

Description

A kind of memory method for cleaning and electronic equipment
Technical field
The invention belongs to field of electronic device more particularly to a kind of memory method for cleaning and electronic equipment.
Background technique
With the development of electronic technology, more and more application programs are mounted in the system of electronic equipment.
Application program in the process of running, needs the memory of a certain size in occupancy system, which is application program fortune The required valuable source of row needs to clear up electronic equipment memory for the normal operation for guaranteeing each application program.
In the prior art, the method for the memory cleaning used is system level memory method for cleaning.This method specifically includes: when When low memory, the included memory liquidating plan of the system starts clean up process, releasing memory.
But using this method, only memory can just execute cleaning, however at this point, the electronics is set there is a situation where deficiency Standby performance has declined, and affects the overall operation of electronic equipment, and memory is cleared up not in time.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of memory method for cleaning, it is clear to solve memory in the prior art The problem of reason causes the performance of electronic equipment to decline not in time.
A kind of memory method for cleaning, applied in the system of electronic equipment, the system can run at least one using journey Sequence, which comprises
Obtain respectively detection cycle in the first period and in first period application program memory maximum consumption value, First period is to appoint at least two periods obtained according to preset Time segments division rule to preset time interval division One period;
According to the detection cycle, the free memory of the system is detected, obtains the surplus of system described in each detection cycle Remaining memory value;
Compare the free memory value and the maximum consumption value;
When comparison result shows that the free memory value is less than the maximum consumption value, the Installed System Memory is carried out clear Reason.
Above-mentioned method, it is preferred that it is described obtain the first period in detection cycle include:
Historical operation record is obtained, the historical operation record is the record of any application program in the starting system;
The detection week of first period is calculated according to preset period computation rule and the historical operation record Phase;
Wherein, the period computation rule illustrates the relationship between the historical operation record and the detection cycle.
Above-mentioned method, it is preferred that described to be calculated according to preset period computation rule and the historical operation record Detection cycle to the first period includes:
Time Data-Statistics since first period corresponding initial time, according to historical operation record carrying The number that each application program is opened in system;
According to first Period Length and the detection cycle opened number and present period is calculated.
Above-mentioned method, it is preferred that the memory maximum consumption value of application program includes: in acquisition first period
Time Data-Statistics since first period corresponding initial time, according to historical operation record carrying The memory value that each application program occupies in system;
The memory value occupied to each application program in first period is compared, and obtains maximum memory value, by institute It states maximum memory value and is denoted as maximum consumption value.
Above-mentioned method, it is preferred that the detection cycle obtained in the first period respectively and answered in first period Before the memory maximum consumption value of program, further includes:
Receive enabling signal, and according to the enabling signal execute the detection cycle obtained in the first period respectively and The memory maximum consumption value step of system in the detection cycle.
Above-mentioned method, it is preferred that carrying out cleaning to the Installed System Memory includes:
According to pre-set priority, each application priorities are determined;
According to the sequencing of priority, the application program run in the system is cleared up, the application is discharged The memory that program occupies;
Wherein, the memory value of release meets the maximum consumption value.
Above-mentioned method, it is preferred that when in first period without application program launching, it is described from described first when The corresponding initial time of section starts, and each application program is beaten in the time value statistical system carried according to the historical operation record After the number opened, further includes:
Control signal is generated, the control signal enters off working state for control system.
A kind of electronic equipment can run at least one application program in the system of the electronic equipment, comprising:
First obtains module, for obtaining the detection cycle in the first period;
Second obtains module, for obtaining the memory maximum consumption value of application program in first period, described first Period is any time period at least two periods obtained according to preset Time segments division rule to preset time interval division;
Detecting module, for detecting the free memory of the system, obtaining each detection cycle according to the detection cycle The free memory value of the system;
Comparison module, for comparing the free memory value and the maximum consumption value;
Cleaning modul, for when comparison result show the free memory value be less than the maximum consumption value when, to described Installed System Memory is cleared up.
Above-mentioned electronic equipment, it is preferred that described first, which obtains module, includes:
Acquiring unit, for obtaining historical operation record, the historical operation record is to start any in the system answer With the record of program;
Computing unit, for being calculated described first according to preset period computation rule and the historical operation record The detection cycle of period;
Wherein, the period computation rule illustrates the relationship between the historical operation record and the detection cycle.
Above-mentioned electronic equipment, it is preferred that the computing unit includes:
Subelement is counted, for since first period corresponding initial time, according to the historical operation record The number that each application program is opened in the time value statistical system of carrying;
Computation subunit, for according to first Period Length and the spy opened number and present period is calculated Survey the period.
Above-mentioned electronic equipment, it is preferred that second, which obtains module, includes:
Statistic unit, for being taken according to the historical operation record since first period corresponding initial time The memory value that each application program occupies in the time value statistical system of band;
Comparing unit, the memory value for occupying to each application program in first period are compared, obtain most The maximum memory value is denoted as maximum consumption value by big memory value.
Above-mentioned electronic equipment, it is preferred that further include:
Starting module obtains module and for receiving enabling signal, and according to enabling signal triggering described first Two obtain module.
Above-mentioned electronic equipment, it is preferred that the cleaning modul includes:
Prioritization unit, for determining each application priorities according to pre-set priority;
Unit is cleared up, for the sequencing according to priority, the application program run in the system is cleared up, Discharge the memory that the application program occupies;
Wherein, the memory value of release meets the maximum consumption value.
Above-mentioned electronic equipment, it is preferred that when in first period without application program launching, further includes:
Control module, for generating control signal, the control signal enters off working state for control system.
A kind of memory method for cleaning provided by the invention, this method are applied in the system of electronic equipment, energy in the system At least one application program is run, the detection cycle of free memory value first in acquisition detection system, and obtain present period pair The maximum consumption value of application program memory in the system answered, when the system spare memory value detected in a certain detection cycle is small When the maximum consumption value of the application program memory, since the maximum consumption value of a certain application program in the system is greater than the system Remaining memory value, since the memory value of system spare is inadequate, causes this to answer if opening the application program in follow-up time It is opened and is limited with program, Installed System Memory cleared up at this time, to guarantee that the application program can be opened normally.It is mentioned in the program The memory method for cleaning of confession, when application program is not switched on, according to systematic difference program committed memory in the time cycle Maximum consumption value clears up memory in time for subsequent opening application program, guarantees that Installed System Memory is sufficient, guarantees the performance of electronic equipment Stablize.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is an a kind of flow chart of memory method for cleaning embodiment 1 provided by the present application;
Fig. 2 is a kind of another flow chart of memory method for cleaning embodiment 1 provided by the present application;
Fig. 3 is a kind of flow chart of memory method for cleaning embodiment 2 provided by the present application;
Fig. 4 is a kind of flow chart of memory method for cleaning embodiment 3 provided by the present application;
Fig. 5 is a kind of flow chart of memory method for cleaning embodiment 4 provided by the present application;
Fig. 6 is a kind of flow chart of memory method for cleaning embodiment 5 provided by the present application;
Fig. 7 is a kind of flow chart of memory method for cleaning embodiment 6 provided by the present application;
Fig. 8 is a structural schematic diagram of a kind of electronic equipment embodiment 1 provided by the present application;
Fig. 9 is another structural schematic diagram of a kind of electronic equipment embodiment 1 provided by the present application;
Figure 10 is the structural schematic diagram of a kind of electronic equipment embodiment 2 provided by the present application;
Figure 11 is the structural schematic diagram of a kind of electronic equipment embodiment 3 provided by the present application;
Figure 12 is the structural schematic diagram of a kind of electronic equipment embodiment 4 provided by the present application;
Figure 13 is the structural schematic diagram of a kind of electronic equipment embodiment 5 provided by the present application;
Figure 14 is the structural schematic diagram of a kind of electronic equipment embodiment 6 provided by the present application.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, being a kind of flow chart of memory method for cleaning embodiment 1 provided by the present application, this method is applied to In the system of electronic equipment, which can run at least one application program, and the electronic equipment electronic equipment is specifically as follows The electronic equipments such as desktop computer, notebook, tablet computer, mobile phone, smart television, smartwatch, wearable device, the preferred electricity Sub- equipment is the lesser equipment of memory, needs in time to clear up the memory.
This method can be realized by following steps:
Step S101: obtain respectively detection cycle in the first period and in first period application program memory most Big consumption value;
Wherein, which is at least two obtained according to preset Time segments division rule to preset time interval division Any time period in a period.
Wherein, which is specifically as follows 24 hours one day, or needs to be implemented one section of this method Time.
It should be noted that can clear up in real time the memory of the system in the present embodiment, then first period can be with For the period corresponding with current time.
For example, multiple periods that the division obtains are to divide 4 obtained periods for 24 hours one day, respectively 0-8 point, 8-12 point, 12-18 point and 18-24 point, wherein when current time is 10, then corresponding with the current time first Period be 8-12 point, then to the maximum consumption value of the application program in the detection cycle and the period of the 8-12 point period into Row obtains.
Wherein, the acquisition modes of the detection cycle and maximum consumption value can be explained in detail in subsequent embodiment, this reality It applies in example and is not detailed.
It should be noted that the maximum consumption value is in the system in each application program occupied by some application program Maximum memory, also, the memory that the application program is occupied in different time may be different, then take the application program in the time Maximum value is compared with the maximum value that other applications occupy in the period in section, is obtained in detection cycle using journey The memory maximum consumption value of sequence.
It should be noted that the maximum consumption value characterized in the period, each application program can be independent in system The maximum memory value occupied can be to closing in system since there is the system of electronic equipment memory to clear up ability at any time The process of application program is handled, therefore, should as long as guaranteeing that the application for occupying maximum memory has enough memories can be used The application that other in system occupy smaller memory can operate normally.
Step S102: according to the detection cycle, the free memory of the system is detected, is obtained described in each detection cycle The free memory value of system;
Wherein, the interior of system saves as certain value in the electronic equipment, multiple when running multiple application programs in system Application program occupies partial memory, detects to the free memory value of the system, whether to determine the remaining memory value It can be used enough for the subsequent application program that may be will start, if not enough, the memory for the system of clearing up being needed, if enough If, processing can not had to.
Specifically, being detected according to free memory of the detection cycle to system, detection is obtained in each detection cycle The free memory value of the system.
It should be noted that in specific implementation, every primary detection of completion obtains the residue in the detection cycle of the system After memory value, it is carried out primary subsequent step S103-104, is not that detection cycles all in the period are all detected into completion Step S103 is just executed afterwards, in such manner, it is possible to guarantee when there is sacred and inadequate memory value situation, at any time in system Capable cleaning is deposited into, cleaning is timely.
For example, when the detection cycle is 1 minute, then every the free memory value of 1 minute detection primary system, and complete After primary detection, step S103 is executed, after completing primary detection again, executes step S103 again.
Step S103: the free memory value and the maximum consumption value are compared;
Wherein, which is that maximum system memory is occupied in the multiple application programs run in first period Application program.
It should be noted that when the application program of the current time occupancy maximum system memory is turned off, then to prevent this The situation that Installed System Memory is inadequate when application program is again turned on occurs, then needs the free memory of the system otherwise be less than the maximum Consumption value;And when the occupancy maximum system memory application program also at runtime, then subsequent other applications are due to accounting for Memory is both less than the maximum consumption value, as long as then guaranteeing that system spare memory value is not less than the maximum consumption value, then transports Capable any application program can operate normally, and ensure that the performance of electronic equipment is stablized.
It is compared specifically, detection in step S102 is obtained free memory value with the maximum consumption value, is tied when comparing The occupancy is most when fruit shows that the free memory value is greater than the maximum consumption value, in the enough current slots of memory value in the system The normal operation of the application of big memory, then since there is system memory to clear up ability, then other application also can be normal in the system Operation;When the comparison result shows that free memory value is less than the maximum consumption value in the system, step S104 is executed.
Step S104: when comparison result shows that the free memory value is less than the maximum consumption value, to the system Memory is cleared up.
Wherein, it is pre-stored with the rule for carrying out Installed System Memory cleaning in electronic equipment, such as frequency can be used according to application Rate is cleared up, it is possible to use preset priority is cleared up.
Specifically, when the frequency of use according to application is cleared up, can using LRU (Least Recently Used, It is minimum in the recent period to use) algorithm, cleaning application program is carried out according to the sequence of recent frequency of use from low to high, cleaning first is recent Then the memory that the application program not used occupies successively clears up the memory that the application program being of little use occupies, guaranteeing user While experience, the memory of system is cleaned up.
Specifically, this can be explained in detail in subsequent embodiment according to the mode that preset priority is cleared up, The present embodiment is not detailed.
As shown in Fig. 2, being a kind of another flow chart of memory method for cleaning embodiment 1 provided by the present application, this method can It is realized by following steps:
Step S201: enabling signal is received;
Wherein, which is used to indicate the signal for opening detecting function.
In specific implementation, it is raw which can trigger preset key or touch area in electronic equipment for user At.
It should be noted that electronic equipment carries out remaining in the maximum consumption value and detection cycle of automatic detection system memory Remaining memory value, and need to consume certain memory and power consumption, however, such as 0-6 point, electronic equipment can in certain periods Can be in operating status, but run seldom even one or two of application program, then it at this time can not be to being deposited into the electronic equipment Row cleaning, will not generate any influence to the operation of electronic equipment, and other periods, due to the user's operation electronic equipment, It may will start in the system of electronic equipment, close multiple application programs, the memory of system must be cleared up at this time.
In specific implementation, when the time entering the first period of the multiple application programs of the operation, user controllable system electronics Equipment is operated, and electronic equipment responds control operation, generates enabling signal, and start acquisition first according to the starting information The memory maximum consumption value of system in detection cycle and the detection cycle in period starts to carry out the memory of system automatic The process of monitoring and cleaning.
Step S202: it is obtained in detection cycle and first period in the first period respectively according to the enabling signal The memory maximum consumption value of system;
Step S203: according to the detection cycle, the free memory of the system is detected, is obtained described in each detection cycle The free memory value of system;
Step S204: the free memory value and the maximum consumption value are compared;
Step S205: when comparison result shows that the free memory value is less than the maximum consumption value, to the system Memory is cleared up.
Wherein, step S202-205 is consistent with the step S101-104 in Fig. 1, this place repeats no more.
To sum up, it in a kind of memory method for cleaning provided in this embodiment, obtains first to free memory value in detection system Detection cycle, and the maximum consumption value of application program memory in the corresponding system of detection cycle is obtained, when a certain detection cycle When the system spare memory value that interior detection obtains is less than the maximum consumption value of the application program memory, answered due to a certain in the system It is greater than the memory value of the system spare with the maximum consumption value of program, if opening the application program in follow-up time, due to The memory value of system spare is inadequate, causes the application program to be opened limited, clears up at this time Installed System Memory, to guarantee that this is answered It can normally be opened with program.The memory method for cleaning provided in the program, when application program is not switched on, according to the week time The maximum consumption value of systematic difference program committed memory in phase clears up memory in time for subsequent opening application program, guarantees system Memory of uniting is sufficient, guarantees that the performance of electronic equipment is stablized.
As shown in figure 3, being a kind of flow chart of memory method for cleaning embodiment 2 provided by the present application, this method can pass through Following steps are realized:
Step S301: obtaining historical operation record, and the historical operation record is any using journey in the starting system The record of sequence;
Wherein, which is that the background process of detection system records to obtain, and is recorded in background process record There are the operation beginning and ending time of each application program and the Installed System Memory information of occupancy of each moment.
In specific implementation, by detecting the background process of the system, the process of each application in system can be obtained, thus It can be seen that the memory situation that the application run in a certain period and the application occupy.
Step S302: first period is calculated according to preset period computation rule and the historical operation record Detection cycle;
Wherein, according to the temporal information in the beginning and ending time of the first period and the historical operation record, source can be screened Historical operation record within first period, and then can determine operation or the application program started in first period and be somebody's turn to do The memory value that application program occupies.
Wherein, a period computation rule is preset in the electronic equipment, which illustrates that historical operation is remembered Relationship between record and detection cycle.
Wherein, which carried out to the committed memory value of the application program run in system and the application program The period of detection.
In specific implementation, the detection cycle is related to historical operation record situation in its affiliated period, historical operation note The corresponding application opened is more frequent in record, and the detection cycle is shorter, to guarantee in time to clear up the memory of system.
Step S303: the memory maximum consumption value of application program in first period is obtained;
Step S304: according to the detection cycle, the free memory of the system is detected, is obtained described in each detection cycle The free memory value of system;
Step S305: the free memory value and the maximum consumption value are compared;
Step S306: when comparison result shows that the free memory value is less than the maximum consumption value, to the system Memory is cleared up.
Wherein, step S304-306 is consistent with the step S102-104 in embodiment 1, and this embodiment is not repeated.
To sum up, in a kind of memory method for cleaning provided in this embodiment, the detection cycle in first period of acquisition includes: Historical operation record is obtained, the historical operation record is the record of any application program in the starting system;According to default Period computation rule and the historical operation record detection cycle of first period is calculated.Using this method, root According to the historical operation record of application program in activation system, the detection cycle of first period is calculated, so that subsequent to system Free memory value detected, and based on the maximum consumption value in the free memory value and first period to Installed System Memory into Row cleaning is calculated, history in the detection cycle and its affiliated period since the detection cycle is based on the historical operation record Operation note situation is related, and the period of detection is determined according to the historical operation situation in the period, which combines spy The historical operation situation of period belonging to the moment is surveyed, there is stronger specific aim, the memory of system can be cleared up in time.
As shown in figure 4, being a kind of flow chart of memory method for cleaning embodiment 3 provided by the present application, this method can pass through Following steps are realized:
Step S401: it since first period corresponding initial time, is carried according to the historical operation record The number that each application program is opened in time value statistical system;
Wherein, the corresponding period is counted, can be corresponding the first current period at current time, when can also be current Corresponding first period of history is carved, which can also be the previous day or the period on preset date.
Wherein, when should count the first period that the corresponding period is current, then this step can specifically: from described the One period corresponding initial time adds up described to current time according to the starting record of each application in system background process First number of each application execution starting operation in system;The first time number is recorded as the first statistical result.
Wherein, when should to count the corresponding period be corresponding first period of history at current time, then this step can have Body are as follows: each in the system from being obtained in system background process in first period according to the first period corresponding start/stop time Second number of a application execution starting operation;Recording second number is the second statistical result.
It should be noted that the starting operation can repeatedly open in first period for same apply, then to this The multiple opening operation of same application repeats to record, and such as in first period, certain application is opened 3 times, then time of the record It is recorded 3 times in number.
Step S402: according to first Period Length and the detection week opened number and present period is calculated Phase;
Wherein, first Period Length be preset time span, as first period be 8-12 point when, first period Length is 4 hours or 240 minutes.
Specifically, calculating the detection cycle using preset algorithm, which can be used following formula and is calculated: T0= Ti/fi
Wherein, T0For the detection cycle in first period i, TiFor the time span of first period i, the fiFor this The number that each application program is opened in statistical system in one period.
In specific implementation, according to formula as above, the detection cycle in first period can be calculated, and then can root According to the free memory of the detection cycle detection system.
It should be noted that in first period detection cycle be according to the length of the period and the number of starting application into What row was calculated, the starting application is more frequent, and the detection cycle is shorter, guarantees in time to carry out the memory of system clear Reason clears up memory in time for subsequent opening application program.
Step S403: the memory maximum consumption value of application program in the first period is obtained;
Wherein, the corresponding portion one in first period of acquisition in the memory maximum consumption value of application program and embodiment 1 It causes, the part can be described in detail in subsequent embodiment, be not detailed in the present embodiment.
Step S404: according to the detection cycle, the free memory of the system is detected, is obtained described in each detection cycle The free memory value of system;
Step S405: the free memory value and the maximum consumption value are compared;
Step S406: when comparison result shows that the free memory value is less than the maximum consumption value, to the system Memory is cleared up.
Wherein, step S404-406 is consistent with the step S102-104 in embodiment 1, and this embodiment is not repeated.
To sum up, in a kind of memory method for cleaning provided in this embodiment, this is according to preset period computation rule and described The detection cycle that historical operation record was calculated for the first period specifically includes: opening from first period corresponding initial time Begin, the number that each application program is opened in the time value statistical system carried according to the historical operation record;According to described in First Period Length and the detection cycle opened number and present period is calculated.Using this method, using the first period Length and starting application number carry out that detection cycle in first period is calculated, then according to the detection cycle detect The memory maximum consumption value of application program in first period, since the detection cycle is opened according to what is applied in first period Dynamic number, the starting application is more frequent, and the detection cycle is shorter, guarantees in time to clear up the memory of system, in time Memory is cleared up for subsequent opening application program.
As shown in figure 5, being a kind of flow chart of memory method for cleaning embodiment 4 provided by the present application, this method can pass through Following steps are realized:
Step S501: obtaining historical operation record, and the historical operation record is any using journey in the starting system The record of sequence;
Step S502: first period is calculated according to preset period computation rule and the historical operation record Detection cycle;
Wherein, step S501-502 is consistent with the step S301-302 in embodiment 2, and this embodiment is not repeated.
Step S503: it since first period corresponding initial time, is carried according to the historical operation record The memory value that each application program occupies in time value statistical system;
Wherein, which is that the background process of detection system records to obtain, and is recorded in background process record There are the operation beginning and ending time of each application program and the Installed System Memory information of occupancy of each moment, that is, the historical operation record In include the start/stop time of application program and the memory value of occupancy.
Specifically, statistics is corresponding in first period according to the initial time of the application program in the historical operation information Time range in starting, the application program of operation and its memory value that occupies.
Wherein, according to the temporal information in the beginning and ending time of the first period and the historical operation record, source can be screened Historical operation record within first period, and then can determine operation or the application program started in first period and be somebody's turn to do The memory value that application program occupies.
Wherein, the statistics corresponding period can be corresponding the first current period at current time, can also be current Corresponding first period of history at moment, first period of history can also be the previous day or the period on preset date.
Wherein, when should count the first period that the corresponding period is current, then this step can specifically: from described the One period corresponding initial time obtains each to current time according to the log of each application in system background process The memory value occupied using operation.
Wherein, when should to count the corresponding period be corresponding first period of history at current time, then this step can have Body are as follows: according to first period corresponding start/stop time, from obtaining each application in the system in system background process Log obtains each application and runs the memory value occupied.
Step S504: the memory value occupied to each application program in first period is compared, and obtains most imperial palace Value is deposited, the maximum memory value is denoted as maximum consumption value;
Wherein, when obtaining the log of each application program of first period starting, this can be obtained using journey The memory that application program each in first period occupies is compared, obtains maximum memory value by the memory value that sequence occupies, should Maximum memory value is memory maximum consumption value in first period.
It should be noted that since the memory size occupied in application program operational process can change, then the maximum Memory value is the maximum memory that the application program occupies, rather than average value.For example, three application occupy respectively in save as 10M, 20M, 30M, then taking 30M is maximum consumption value, a certain to apply the consumption value in different moments also different, takes its maximum consumption value.
In specific implementation, the methods of bubbling method can be used and be compared, finally obtains the maximum of memory in first period Consumption value.
It should be noted that the maximum consumption value of memory was characterized in first period in first period got In, maximum residual memory needed for Installed System Memory then causes when different due to using different applications in different periods user Section, maximum residual memory needed for Installed System Memory is not identical, such as the time-division in morning, it is only necessary to which open system operation is necessary several The program of a bottom, and daytime, the operation that user executes is more, then needs to open the application program of each user's operation, so By dividing different period, the memory maximum consumption value in different periods is obtained, it can be targetedly to being deposited into system Row cleaning, clears up the occupied memory of system, ensure that the flexibility ratio and specific aim of memory cleaning.
Step S505: according to the detection cycle, the free memory of the system is detected, is obtained described in each detection cycle The free memory value of system;
Step S506: the free memory value and the maximum consumption value are compared;
Step S507: when comparison result shows that the free memory value is less than the maximum consumption value, to the system Memory is cleared up.
Wherein, step S505-507 is consistent with the step S304-306 in embodiment 2, and this embodiment is not repeated.
To sum up, in a kind of memory method for cleaning provided in this embodiment, application program in the acquisition first period Memory maximum consumption value includes: to carry since first period corresponding initial time according to the historical operation record Time value statistical system in the memory value that occupies of each application program;Each application program in first period is occupied Memory value is compared, and obtains maximum memory value, and the maximum memory value is denoted as maximum consumption value.Using this method by drawing Divide the different periods, obtain the memory maximum consumption value in different periods, targetedly the memory of system can be cleared up, The occupied memory of cleaning system ensure that the flexibility ratio and specific aim of memory cleaning.
As shown in fig. 6, being a kind of flow chart of memory method for cleaning embodiment 5 provided by the present application, this method can pass through Following steps are realized:
Step S601: obtain respectively detection cycle in the first period and in first period application program memory most Big consumption value;
Step S602: according to the detection cycle, the free memory of the system is detected, is obtained described in each detection cycle The free memory value of system;
Step S603: the free memory value and the maximum consumption value are compared;
Wherein, step S601-603 is consistent with the step S101-103 in embodiment 1, and this embodiment is not repeated.
Step S604: excellent according to presetting when comparison result shows that the free memory value is less than the maximum consumption value First grade determines each application priorities;
Wherein, multiple application programs are run in electronic equipment, however, general majority is in background operation state, and it is each Application program has the priority of operation.
For example, user's frequency of use is higher or system runs necessary application program, running priority grade with higher, And user does not operate for a long time or the application program of backstage self-starting, then has lower running priority grade.
Therefore, during clearing up Installed System Memory, it can first determine that the priority of the application program in the system, And then the priority is combined to clear up Installed System Memory in subsequent steps.
Step S605: according to the sequencing of priority, clearing up the application program run in the system, discharges The memory that the application program occupies.
Wherein, the memory value of release meets the maximum consumption value.
Wherein, according to application program running priority sequence each in the system determined in step S604, according to from low to high Sequence, successively close at least one application program so that release memory value meet the maximum consumption value.
It should be noted that the maximum consumption value in the first period as belonging to the current time is to need in the period The Installed System Memory of occupancy then in order to guarantee that subsequent program is run not by the limitation of the low memory then needs that this will be occupied The certain applications stop of the operation of memory, to provide the Installed System Memory value for meeting and needing to occupy.
For example, operation has running priority grade 4 programs from high to low: A, B, C, D, wherein program A occupies memory in system 20M, program B occupy memory 10M, and program C occupies memory 5M, and program D occupies memory 8M, and the maximum of Installed System Memory disappears in this period Consumption value is 12M, the then memory of liquidation procedures C and D, releasing memory 5+8=13M > 12M, guarantees the surplus of Installed System Memory in this period Residual value is greater than the maximum consumption value.
It should be noted that the priority of the application program, can be the running priority grade proposed in the present embodiment, then clear When managing memory, according to being cleared up from low to high from running priority grade, in specific implementation, the priority of the application program It can also be the priority of cleaning, the priority of the cleaning and the running priority grade are on the contrary, when clear up memory, according to excellent from cleaning First grade is successively cleared up from high in the end.
It should be noted that the memory value discharged in the present embodiment meets the maximum consumption value, however, not limited to this, when being It is more to run program in system, and when the memory that can clear up is less, can also first discharge a part of memory so that release obtain it is interior Remaining value satisfaction and the maximum consumption value are deposited, in not influence system while other operation programs, in turn ensures offer Enough free memories.
To sum up, in a kind of memory method for cleaning provided in this embodiment, carrying out cleaning to the Installed System Memory includes: foundation Pre-set priority determines each application priorities;According to the sequencing of priority, the application to being run in the system Program is cleared up, and the memory that the application program occupies is discharged;Wherein, the memory value of release meets the maximum consumption value. Using this method, during clearing up Installed System Memory, the priority of the application program in the system can first determine that, And then the priority is combined to clear up Installed System Memory, to guarantee subsequent program operation not by the limit of the low memory System provides the Installed System Memory value for meeting and needing to occupy.
As shown in fig. 7, being a kind of flow chart of memory method for cleaning embodiment 6 provided by the present application, this method can pass through Following steps are realized:
Step S701: it since first period corresponding initial time, is carried according to the historical operation record The number that each application program is opened in time value statistical system;
Step S701 is consistent with the step S401 in embodiment 3, and this embodiment is not repeated.
Wherein, when the opening number is 0, step S702 is executed, otherwise, executes step S703.
Step S702: generating control signal, and the control signal enters off working state for control system;
Wherein, in certain periods, since user does not do any operation to electronic equipment, such as the period in morning, then at this time should Counting the number that obtained application program is opened is 0, then without to carry out memory cleaning in the period, with reduce electronic equipment by In the power consumption for executing memory cleanup action and generating.
Specifically, when no application program is opened, then can control electronic equipment to enter when statistics obtained in first period Off working state, the off working state can be dormant state or off-mode.
Specifically, generating control signal, and the control signal is sent to power supply or correlation control unit, so that it is controlled Electronic equipment processed enters off working state, reduces the power consumption of electronic equipment.
Step S703: according to first Period Length and the detection week opened number and present period is calculated Phase;
Step S704: the memory maximum consumption value of application program in the first period is obtained;
Step S705: according to the detection cycle, the free memory of the system is detected, is obtained described in each detection cycle The free memory value of system;
Step S706: the free memory value and the maximum consumption value are compared;
Step S707: when comparison result shows that the free memory value is less than the maximum consumption value, to the system Memory is cleared up.
Wherein, step S703-706 is consistent with the step S402-406 in embodiment 3, and this embodiment is not repeated.
To sum up, in a kind of memory method for cleaning provided in this embodiment, when being opened in first period without application program When dynamic, then in the time value statistical system carried according to the historical operation record each application program opening number it Afterwards, further includes: generate control signal, the control signal enters off working state for control system.Using this method, when When being opened in first period without application program, then it can control electronic equipment to enter off working state, reduce the function of electronic equipment Consumption.
With a kind of above-mentioned embodiment of memory method for cleaning provided by the present application correspondingly, present invention also provides one kind to answer With the electronic equipment embodiment of the memory method for cleaning.
As shown in Figure 8, it is a structural schematic diagram of a kind of electronic equipment embodiment 1 provided by the present application, which sets At least one application program can be run in standby system, which includes: that the first acquisition module 801, second obtains module 802, detecting module 803, comparison module 804 and cleaning modul 805;
Wherein, first module 801 is obtained, for obtaining the detection cycle in the first period;
Wherein, second module 802 is obtained, for obtaining the memory maximum consumption value of application program in first period, First period is to appoint at least two periods obtained according to preset Time segments division rule to preset time interval division One period;
Wherein, detecting module 803, for detecting the free memory of the system, obtaining each according to the detection cycle The free memory value of system described in detection cycle;
Wherein, comparison module 804, for comparing the free memory value and the maximum consumption value;
Wherein, cleaning modul 805, for showing that the free memory value is less than the maximum consumption value when comparison result When, the Installed System Memory is cleared up.
As shown in Figure 9, it is another structural schematic diagram of a kind of electronic equipment embodiment 1 provided by the present application, the electronics Equipment includes that the first acquisition module 901, second obtains module 902, detecting module 903, comparison module 904 and cleaning modul 905, Further include: starting module 906;
Wherein, starting module 906 are obtained for receiving enabling signal, and according to enabling signal triggering described first Module and second obtains module.
To sum up, in a kind of electronic equipment provided in this embodiment, the spy to free memory value in detection system is obtained first The period is surveyed, and obtains the maximum consumption value of application program memory in the corresponding system of detection cycle, is visited when in a certain detection cycle When the system spare memory value measured is less than the maximum consumption value of the application program memory, journey is applied due to a certain in the system The maximum consumption value of sequence is greater than the memory value of the system spare, if the application program is opened in follow-up time, due to system Remaining memory value is inadequate, causes the application program to be opened limited, clears up at this time Installed System Memory, to guarantee this using journey Sequence can be opened normally.In the program, when application program is not switched on, occupied according to systematic difference program in the time cycle The maximum consumption value of memory clears up memory in time for subsequent opening application program, guarantees that Installed System Memory is sufficient, guarantees electronic equipment Performance stablize.
As shown in Figure 10, it is the structural schematic diagram of a kind of electronic equipment embodiment 2 provided by the present application, the electronic equipment It include: that the first acquisition module 1001, second obtains module 1002, detecting module 1003, comparison module 1004 and cleaning modul 1005;
Wherein, the first acquisition module includes acquiring unit 1006 and computing unit 1007.
Wherein, the structure function of the second acquisition module 1002, detecting module 1003, comparison module 1004 and cleaning modul 1005 Can be consistent with the corresponding construction in embodiment 1, the present embodiment does not repeat them here.
Wherein, acquiring unit 1006, for obtaining historical operation record, the historical operation record is to start the system In any application program record;
Wherein, computing unit 1007, for being calculated according to preset period computation rule and the historical operation record To the detection cycle of first period;
Wherein, the period computation rule illustrates the relationship between the historical operation record and the detection cycle.
To sum up, in a kind of electronic equipment provided in this embodiment, which includes: acquiring unit, for obtaining Historical operation record is taken, the historical operation record is the record of any application program in the starting system;Computing unit is used In the detection cycle that first period is calculated according to preset period computation rule and the historical operation record;Its In, the period computation rule illustrates the relationship between the historical operation record and the detection cycle.It is according to starting The historical operation record of application program in system, calculates the detection cycle of first period, so that in the subsequent residue to system It deposits value to be detected, and Installed System Memory is cleared up based on the maximum consumption value in the free memory value and first period, It is calculated since the detection cycle is based on the historical operation record, historical operation record in the detection cycle and its affiliated period Situation is related, and the period of detection is determined according to the historical operation situation in the period, which combines detection moment institute The historical operation situation of the period of category has stronger specific aim, can clear up in time the memory of system.
As shown in figure 11, it is the structural schematic diagram of computing unit in a kind of electronic equipment embodiment 3 provided by the present application, The electronic equipment includes: the first acquisition module, the second acquisition module, detecting module, comparison module and cleaning modul;
Wherein, which includes acquiring unit and computing unit.
Wherein, second module, detecting module, comparison module, the structure function and reality of cleaning modul and acquiring unit are obtained The corresponding construction applied in example 2 is consistent, and the present embodiment does not repeat them here.
And the computing unit includes: statistics subelement 1101 and computation subunit 1102.
Wherein, subelement 1101 is counted, for since first period corresponding initial time, according to the history The number that each application program is opened in the time value statistical system that operation note carries;
Wherein, computation subunit 1102, for being calculated and working as according to first Period Length and the opening number The detection cycle of preceding period.
To sum up, in a kind of electronic equipment provided in this embodiment, which includes: statistics subelement, is used for from institute The first period corresponding initial time is stated to start, it is each in the time value statistical system carried according to the historical operation record to answer The number opened with program;Computation subunit, for being calculated and working as according to first Period Length and the opening number The detection cycle of preceding period.Be calculated in first period and visit using the length of the first period and the number of starting application The period is surveyed, the memory maximum consumption value of application program in first period is then detected according to the detection cycle, due to the detection Period, the starting application was more frequent, and the detection cycle is shorter, guarantees according to the number of starts applied in first period The memory of system is cleared up in time, clears up memory in time for subsequent opening application program.
As shown in figure 12, it is the structural schematic diagram of a kind of electronic equipment embodiment 4 provided by the present application, the electronic equipment It include: that the first acquisition module 1201, second obtains module 1202, detecting module 1203, comparison module 1204 and cleaning modul 1205;
Wherein, which includes acquiring unit 1206 and computing unit 1207.
Wherein, which includes statistic unit 1208 and comparing unit 1209.
Wherein, the structure function of the first acquisition module 1201, detecting module 1203, comparison module 1204 and cleaning modul 1205 Can be consistent with the corresponding construction in embodiment 2, the present embodiment does not repeat them here.
Wherein, statistic unit 1208, for being grasped according to the history since first period corresponding initial time The memory value that each application program occupies in the time value statistical system of carrying of noting down;
Wherein, comparing unit 1209, the memory value for occupying to each application program in first period compare It is right, maximum memory value is obtained, the maximum memory value is denoted as maximum consumption value.
To sum up, it in a kind of electronic equipment provided in this embodiment, by dividing the different periods, obtains in different periods Memory maximum consumption value can targetedly clear up the memory of system, clear up the occupied memory of system, ensure that interior Deposit the flexibility ratio and specific aim of cleaning.
It as shown in fig. 13 that, is the structural schematic diagram of a kind of electronic equipment embodiment 5 provided by the present application, the electronic equipment It include: that the first acquisition module 1301, second obtains module 1302, detecting module 1303, comparison module 1304 and cleaning modul 1305;
Wherein, cleaning modul 1305 includes prioritization unit 1306 and cleaning unit 1307;
Wherein, first the knot that module 1301, second obtains module 1302, detecting module 1303, comparison module 1304 is obtained Structure function is consistent with the corresponding construction in embodiment 1, and the present embodiment does not repeat them here.
Wherein, prioritization unit 1306, for determining each application priorities according to pre-set priority;
Wherein, unit 1307 is cleared up, for the sequencing according to priority, to the application program run in the system It is cleared up, discharges the memory that the application program occupies;
Wherein, the memory value of release meets the maximum consumption value.
It to sum up,, can be first during clearing up Installed System Memory in a kind of electronic equipment provided in this embodiment It determines the priority of the application program in the system, and then Installed System Memory is cleared up in conjunction with the priority, it is subsequent to guarantee Program operation do not limited by the low memory, provide to meet and need the Installed System Memory value that occupies.
As shown in figure 14, it is the structural schematic diagram of a kind of electronic equipment embodiment 6 provided by the present application, the electronic equipment It include: that the first acquisition module 1401, second obtains module 1402, detecting module 1403, comparison module 1404, cleaning modul 1405 With control module 1406;
Wherein, first the acquisition of module 1401, second module 1402, detecting module 1403, comparison module 1404, cleaning are obtained The structure function of module 1405 is consistent with the corresponding construction in embodiment 1, and the present embodiment does not repeat them here.
Wherein, control module 1406, for when in first period without application program launching, generating control letter Number, the control signal enters off working state for control system.
To sum up, in a kind of electronic equipment provided in this embodiment, when being opened in first period without application program, then Controllable electronic equipment enters off working state, reduces the power consumption of electronic equipment.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
A kind of memory method for cleaning provided herein and electronic equipment are described in detail above, answered herein With specific case, the principle and implementation of this application are described, and the explanation of above example is only intended to help to manage Solve the present processes and its core concept;At the same time, for those skilled in the art, according to the thought of the application, There will be changes in specific embodiment and application range, in conclusion the content of the present specification should not be construed as to this Shen Limitation please.

Claims (14)

1. a kind of memory method for cleaning, which is characterized in that applied in the system of electronic equipment, the system can run at least one A application program, which comprises
Obtain respectively detection cycle in the first period and in first period application program memory maximum consumption value, it is described When first period was any at least two periods obtained according to preset Time segments division rule to preset time interval division Section, the memory maximum consumption value are by each application program distinguishes the maximum value of committed memory in system in first time period It is compared, the maximum memory value that obtained application program can be occupied independently;
According to the detection cycle, the free memory of the system is detected, is obtained in the residue of system described in each detection cycle Deposit value;
Compare the free memory value and the maximum consumption value;
When comparison result shows that the free memory value is less than the maximum consumption value, the Installed System Memory is cleared up.
2. the method according to claim 1, wherein the detection cycle obtained in the first period includes:
Historical operation record is obtained, the historical operation record is the record of any application program in the starting system;
The detection cycle of first period is calculated according to preset period computation rule and the historical operation record;
Wherein, the period computation rule illustrates the relationship between the historical operation record and the detection cycle.
3. according to the method described in claim 2, it is characterized in that, described according to preset period computation rule and the history The detection cycle that operation note was calculated for the first period includes:
Time value statistical system since first period corresponding initial time, according to historical operation record carrying In the number opened of each application program;
According to first Period Length and the detection cycle opened number and present period is calculated.
4. according to the method described in claim 2, it is characterized in that, the memory for obtaining application program in first period is maximum Consumption value includes:
Time value statistical system since first period corresponding initial time, according to historical operation record carrying In the memory value that occupies of each application program;
The memory value occupied to each application program in first period is compared, and obtains maximum memory value, by described in most Big memory value is denoted as maximum consumption value.
5. the method according to claim 1, wherein the detection cycle obtained in the first period respectively and institute Before the memory maximum consumption value for stating application program in the first period, further includes:
Enabling signal is received, and executes the detection cycle obtained in the first period respectively and described according to the enabling signal The memory maximum consumption value step of system in detection cycle.
6. the method according to claim 1, wherein to the Installed System Memory carry out cleaning include:
According to pre-set priority, each application priorities are determined;
According to the sequencing of priority, the application program run in the system is cleared up, the application program is discharged The memory occupied;
Wherein, the memory value of release meets the maximum consumption value.
7. according to the method described in claim 3, it is characterized in that, when in first period without application program launching, The time value statistical system since first period corresponding initial time, carried according to the historical operation record In after the number opened of each application program, further includes:
Control signal is generated, the control signal enters off working state for control system.
8. a kind of electronic equipment, which is characterized in that at least one application program can be run in the system of the electronic equipment, wrapped It includes:
First obtains module, for obtaining the detection cycle in the first period;
Second obtains module, for obtaining the memory maximum consumption value of application program in first period, first period For any time period at least two periods for being obtained according to preset Time segments division rule to preset time interval division, it is described in Deposit maximum consumption value be by the maximum value of each application program committed memory respectively is compared in system in first time period, The maximum memory value that obtained application program can be occupied independently;
Detecting module, for detecting the free memory of the system, obtaining described in each detection cycle according to the detection cycle The free memory value of system;
Comparison module, for comparing the free memory value and the maximum consumption value;
Cleaning modul, for when comparison result show the free memory value be less than the maximum consumption value when, to the system Memory is cleared up.
9. electronic equipment according to claim 8, which is characterized in that described first, which obtains module, includes:
Acquiring unit, for obtaining historical operation record, the historical operation record is any using journey in the starting system The record of sequence;
Computing unit, for first period to be calculated according to preset period computation rule and the historical operation record Detection cycle;
Wherein, the period computation rule illustrates the relationship between the historical operation record and the detection cycle.
10. electronic equipment according to claim 9, which is characterized in that the computing unit includes:
Subelement is counted, for being carried since first period corresponding initial time according to the historical operation record Time value statistical system in the number opened of each application program;
Computation subunit, for according to first Period Length and the detection week opened number and present period is calculated Phase.
11. electronic equipment according to claim 9, which is characterized in that second, which obtains module, includes:
Statistic unit, for being carried according to the historical operation record since first period corresponding initial time The memory value that each application program occupies in time value statistical system;
Comparing unit, the memory value for occupying to each application program in first period are compared, and obtain most imperial palace Value is deposited, the maximum memory value is denoted as maximum consumption value.
12. electronic equipment according to claim 8, which is characterized in that further include:
Starting module is obtained for receiving enabling signal, and according to enabling signal triggering the first acquisition module and second Modulus block.
13. electronic equipment according to claim 8, which is characterized in that the cleaning modul includes:
Prioritization unit, for determining each application priorities according to pre-set priority;
Unit is cleared up, for the sequencing according to priority, the application program run in the system is cleared up, is discharged The memory that the application program occupies;
Wherein, the memory value of release meets the maximum consumption value.
14. electronic equipment according to claim 10, which is characterized in that when being opened in first period without application program When dynamic, further includes:
Control module, for generating control signal, the control signal enters off working state for control system.
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 CN105786552A (en) 2016-07-20
CN105786552B true 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)

Families Citing this family (7)

* 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
CN107766128B (en) 2016-08-17 2021-01-29 华为技术有限公司 Method and device for starting application
CN108509261B (en) * 2018-03-07 2022-04-15 海信视像科技股份有限公司 Method and device for setting object in terminal equipment and terminal equipment
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

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN103544063A (en) * 2013-09-30 2014-01-29 三星电子(中国)研发中心 Method and device for removing processes 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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6804766B1 (en) * 1997-11-12 2004-10-12 Hewlett-Packard Development Company, L.P. Method for managing pages of a designated memory object according to selected memory management policies
JP5891722B2 (en) * 2011-11-10 2016-03-23 セイコーエプソン株式会社 Control device, electro-optical device, electronic apparatus, and control method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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 三星电子(中国)研发中心 Method and device for removing processes 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

Also Published As

Publication number Publication date
CN105786552A (en) 2016-07-20

Similar Documents

Publication Publication Date Title
CN105786552B (en) A kind of memory method for cleaning and electronic equipment
US9247502B2 (en) Method and apparatus for power management on mobile devices and associated mobile devices
CN108804231B (en) Memory optimization method and device, readable storage medium and mobile terminal
CN106125896A (en) A kind of application program freezing method and mobile terminal
US20100100755A1 (en) Power management method for input device
CN103221899B (en) Tactile input device, microprocessor system and the method for control tactile input device
CN107357673A (en) A kind of method, terminal and computer-readable recording medium for detecting abnormal power consumption
CN103890694A (en) System and method for managing clock speed based on task urgency
CN106959386B (en) A kind of creepage detection method and mobile terminal
CN106471455A (en) Low-power capacitance type sensor button
CN104516475A (en) Method and apparatus for managing global chip power on multicore system on chip
CN103645794A (en) Chip and method for achieving sleep mode wake-up through edge detection circuit
WO2014187431A1 (en) Method and device for determining resource leakage and for predicting resource usage state
CN109964198A (en) Clock control based on voltage associated with microprocessor
CN102099762B (en) System and method for power management
CN106471518A (en) Based on conversion between two kinds of power supply status for user's coherent signal
CN107465801A (en) The method and device of management equipment alarm clock
CN101567850A (en) Packet processing apparatus
CN103530195B (en) There is the observation circuit of Windowed watchdog
CN107704317A (en) Smart machine and its application management method and the device with store function
CN109992079A (en) Terminal device and control method applied to terminal device
CN108038050B (en) Performance adjusting method and device, storage medium and electronic equipment
CN103345440B (en) Statistical method and device of accumulated running time of electronic equipment and electronic equipment
CN109461231B (en) Door lock control method and device, control equipment and readable storage medium
CN107454252A (en) The processing method and mobile terminal of a kind of information about power

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