CN107943593A - A kind of memory automatic cleaning method for intelligent terminal - Google Patents

A kind of memory automatic cleaning method for intelligent terminal Download PDF

Info

Publication number
CN107943593A
CN107943593A CN201810005029.7A CN201810005029A CN107943593A CN 107943593 A CN107943593 A CN 107943593A CN 201810005029 A CN201810005029 A CN 201810005029A CN 107943593 A CN107943593 A CN 107943593A
Authority
CN
China
Prior art keywords
application program
memory
application
intelligent terminal
cleaning
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
CN201810005029.7A
Other languages
Chinese (zh)
Other versions
CN107943593B (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.)
Shanghai Chuanying Information Technology Co Ltd
Original Assignee
Shanghai Chuanying Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Chuanying Information Technology Co Ltd filed Critical Shanghai Chuanying Information Technology Co Ltd
Priority to CN201810005029.7A priority Critical patent/CN107943593B/en
Publication of CN107943593A publication Critical patent/CN107943593A/en
Application granted granted Critical
Publication of CN107943593B publication Critical patent/CN107943593B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Landscapes

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

Abstract

The present invention relates to a kind of intelligent terminal with the automatic clearing function of memory, the intelligent terminal includes touch screen, touching signals processing unit, central controller, memory and memory, it is characterized in that, one application manager is installed in the intelligent terminal, the front end run time for each application program run in the application manager monitoring intelligent terminal and running background time, and according to the front end run time and the hot value of each application program of the ratio calculation of running background time acquisition;When the application software quantity run in intelligent terminal memory is more than number of applications preset value, the application manager is according to the hot value of each application program, and the minimum application program of selection cleaning hot value is as application program for clearance;The protected application manifest of user's setting is stored with application manager, if the application program for clearance belongs to protected application program, does not perform cleanup step.

Description

A kind of memory automatic cleaning method for intelligent terminal
Technical field
The present invention relates to a kind of smart memory management method for intelligent terminal, a kind of intelligent terminal is specifically related to Automatic memory clean-up process.
Background technology
Current social, mobile intelligent terminal can provide various functions and service, and (social activity, entertain, take pictures, multi-medium data biography It is defeated, browse web page news etc.), to meet the diversified demand of user.Various intelligent terminals include mobile phone, Pad etc. except operation Outside system, various application software can be all installed.And many softwares are frequently necessary to frequently call, for example carrying out video stream media During broadcasting, short message or wechat prompting are received, it is necessary to reply at once, once short message or wechat reply software are switched into, it is original to regard Frequency streaming media playing can automatically exit from, and need to reenter video stream media broadcast interface after completing information-reply, so not Wish that reopening Video Applications software loses time.It is same it is other such as wechats, web browser, weather forecast software, lead Boat map, shopping APP etc. are also required to frequently call, thus user generally will not independently go to close consciously have already turned on it is various Application software, this large amount of application software long-term accumulation may result in mobile phone EMS memory resource and slowly exhaust, if do not closed soft The problems such as part or if being restarted, so operation will result in mobile phone interim card for a long time, and mobile phone power down is fast.These users beat The application software opened, each software are required for the one or more treatment progress of corresponding opening, backstage are in these application software During open mode, these processes are also at dormant state and cannot be handled well, if these treatment progress all clean up The common resource in part can be lost, a large amount of memory sources are expended if not clearing up, this state of facing a difficult choice.
Mobile phone operating system at this stage has a key clearing function, and a key cleaning is carried out to all application software, this category In forced liquidation, although memory is to clean up, these applications also lose in the lump to the function of user service, final to use Family still needs to open the application software of oneself needs.And the application software that part is important, user are to be not intended to be closed together Close, once key cleaning recovery be closed recovery can be cumbersome.After not enough interim card can also be caused finding resource, voluntarily Several application software are closed, the breviary of the application of all open modes can be checked generally by a special trigger button Figure, between different applications selection need the breviary window closed.But this method for closing user needs to close in voluntarily selection There is no any data foundation during the application software closed, be entirely with personal like or sensation.It can so cause to be possible to close several After a software, since these softwares take resource and few, effect unobvious.In addition allow to be turned off manually by using family Actual had resulted in when solving the problems, such as that memory source is inadequate, but voluntarily closed to user under user experience Drop, that is, user find before just there is the problem of resource scarcity, be not noticeable at the beginning simply and with generally To problem it is apparent when user can just consider to start to solve, this to mobile phone memory source equivalent to usually not carrying out intelligent prison Control, until the serious ability post of problem.
In recent years, the smart mobile phone with large touch screen was used widely, representative in smart mobile phone Operating system be Google release Android (AndroidTM) IOS that releases of system and Apple Inc.TMOperating system.Wherein adopt Version is continuously improved according to respective design requirement with each handset manufacturers of Android system, to improve operation ease.No Same operating system is slightly different in carrying out practically program setting, but is not all provided in these operating systems with automatic clear The idle application software of reason ensures the function of memory source abundance, thus it is mentioned above the problem of cannot all solve
So needing to set a kind of system software in the intelligent terminal such as mobile phone, this system software can be according to certain In the intelligent terminal operational process such as mobile phone idle software is automatically closed, and need to set according to user in algorithm or data Putting needs to protect the software not being automatically switched off, and optimal can also select the processing mode after closing to user.It is so comprehensive Mobile phone EMS memory intelligently cleaning system, the runnability of mobile phone can be improved but also do not interfere with application of the user to mobile phone just Profit.
The content of the invention
The object of the present invention is to provide a kind of intelligent terminal with the automatic clearing function of memory, the intelligent terminal includes Touch screen, touching signals processing unit, central controller, memory and memory, it is characterised in that installed in the intelligent terminal Have an application manager, the front end run time for each application program run in the application manager monitoring intelligent terminal and The running background time, and each application program is obtained according to the front end run time and the ratio calculation of running background time Hot value;When the number of applications run in intelligent terminal memory is more than number of applications pre-set limit, the application For manager according to the hot value of each application program, the application program for selecting hot value minimum applies journey as clearance Sequence;The protected application manifest of user's setting is stored with application manager, if the application program for clearance belongs to Protected application program, then do not perform cleanup step.Wherein number of applications pre-set limit is more than or equal to 6.
Wherein described application manager is only when the application program of new opening or front end operation switches at acquisition Front end run time and running background time in each application program of open mode, update the hot value of each application program Sorted lists.
The application manager further comprises that method for cleaning selects data, and the user of intelligent terminal is in application manager The middle each respective method for cleaning of application program of setting, the method for cleaning option include:Protected program, completely close application Program, close application program after preserving operation data.Application manager selects data according to the method for cleaning, performs to each The cleanup action of application program, wherein when closing the cleanup step of application program after performing preservation operation data, first should Stored with the data of program in memory in the virtual memory set into the memory of intelligent terminal, then by the number in memory According to deletion.
The control application manager includes a cleaning the results show interface, and the cleaning the results show interface is included respectively The cleaning record of a application program, clear up saved memory size, method for cleaning selection data and each application program Temperature coefficient, wherein the temperature coefficient can be selected to adjust by intelligent terminal user.
The application manager is calculated according to the temperature coefficient, the front end run time and running background time and obtained The revised hot value of each application program.User is each applied according to the autonomous amendment of the use habit of oneself The hot value sequence of program.
The cleaning options is the application program closed after preservation operation data, further includes application recovery step, The user of intelligent terminal is by clicking on the functional areas on the touch screen, and application manager is according to the number being stored in virtual memory According to reopening the application program so that the data in the application program are in state when being cleaned.In application program After recovering step performs, application manager obtains the front end run time of each application program in open mode with after at once Platform run time, updates the hot value sorted lists of each application program.
When the minimum application program of wherein described hot value belongs to protected application program, application not minimum to hot value Program performs cleanup step, and the application program low to hot value time performs cleanup step.
In conclusion the intelligent terminal with automatic cleaning memory function of the present invention, compared with prior art, tool Have the advantage that:The hot value sequence minimum application program of cleaning utilization rate, while also ensure automatically according to the definition of the present invention Important program will not be deleted by mistake, and by the setting of temperature coefficient can preferably adapt to different user or it is different should With the specific demand of program, meet the diversified demand of user, ensure that intelligent terminal is chronically at the state of health operation.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description simply to be introduced, it is clear that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the memory clean-up process schematic diagram of intelligent terminal;
Fig. 2 is the judgement flow diagram cleared up in Fig. 1 in judgment step;
Fig. 3 is various applications to be made whether to clear up on mobile phone after the automatic memory method for cleaning of the application present invention and the side of cleaning Formula sets interface schematic diagram;
Fig. 4 is cleaned Application Program Interface schematic diagram to be checked after the automatic memory method for cleaning of the application present invention;
Fig. 5 is process flow schematic diagram of the smart memory method for cleaning of the present invention in different method for cleaning;
Fig. 6 is the flow diagram of smart memory method for cleaning entirety of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is 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 All other embodiments obtained without making creative work, belong to the scope of protection of the invention.
It should be noted that herein, the relational terms (if present) such as " first ", " second ", " the 3rd " is only Only it is used for distinguishing one entity or operation from another entity or operation, without necessarily requiring or implying these realities There are any actual relationship or order between body or operation.It should be appreciated that the term so used is in the appropriate case Can exchange, so as to the embodiment of the present invention described herein, such as can with except illustrate or describe herein those with Outer order is implemented.In addition, term " comprising ", "comprising", " having " or its any other variant are intended to nonexcludability Include so that process, method, article or terminal device including a series of elements not only include those key elements, and And other elements that are not explicitly listed are further included, or further include as this process, method, article or terminal device institute Intrinsic key element.In the absence of more restrictions, the key element limited by sentence " including ... " or " including ... ", not Also there are other key element in the process including the key element, method, article or terminal device for exclusion.In addition, herein In, " being more than ", " being less than ", " exceeding " etc. are interpreted as not including this number;" more than ", " following ", " within " etc. be interpreted as including this Number.
Below in conjunction with Fig. 1-6, technical scheme is described in detail with specifically embodiment.Below these Specific embodiment can be combined with each other, and may be repeated no more for the same or similar concept or process in some embodiments.
Intelligent terminal of the present invention includes the intelligent terminal of smart mobile phone, PAD etc., wherein since mobile phone is due to application Most extensively, so illustrating the automatic memory method for cleaning of the intelligent terminal of the present invention by taking mobile phone as an example below.But other intelligence Energy terminal can also be not limited to the application of mobile phone using memory automatic cleaning method defined in the present invention.
Mobile phone generally includes touch screen, touching signals processing unit, central controller and display unit, further includes memory, And memory, wherein memory are used for the data for storing user for a long time and larger tens G or more of reaching of the usual capacity of file Big capacity, such as 100-200G.Memory provides the treatment progress for the application program formation that operating system stores various openings and faces When data, after power down data will disappear, generally much less than memory capacity, generally only several G.But the operation of memory is fast Operation of the rate to various application programs in mobile phone produces strong influence, can cause respectively if memory is exhausted by various application programs The kind application program speed of service is slower and slower, until crashing.And existing mobile phone user often largely installed in mobile phone it is various types of The application software of type, the contradiction of excessive software and limited built-in capacity so that mobile phone reasonably distributes and manage limited The function of memory size becomes extremely important.So need to develop a kind of application program in mobile phone with more preferable managing mobile phone Deposit and monitor the memory use state of various application programs.
It is using the memory clean-up process schematic diagram of intelligent terminal after memory method for cleaning of the present invention, memory as shown in Figure 1 Clean-up process includes step:
S0, program operation, various application programs are opened under user's operation and operate in front end or backstage;
S1, application manager operation, application manager proposed by the present invention are provided in one in mobile phone operating system Management software, can realize the monitoring of the parameters such as the memory consumption to all application programs, use state, standby time, set The cleaning rule of application program, priority of cleaning etc..Application manager can also provide one and set interface and an inquiry Interface, cleaning rule and cleaning priority to above-mentioned various application programs make choice.It can be seen that quilt in query interface The cleaning history of the application software of cleaning, memory source burst size etc., mobile phone user can according to these parameters and itself Use habit makes the parameter that free burial ground for the destitute optimizes each application program, the temperature correction value such as hereinafter mentioned so that using this hair by oneself Mobile phone after the bright automatic liquidation procedures of memory can be more intelligent the different use habit of each user of adaptation.
S2, more new application Thermometer, count and calculate the front end operation of each application program in operating status Time and running background time, and calculate front end run time and total run time (front end run time+running background time) Ratio, as shown in table 1 below is one group of typical temperature value calculating method.
Process name Front end usage time The rear end resting period Total time Temperature
App1 120s 60s 180s 0.667
App2 40s 200s 240s 0.167
App3 100s 10s 110s 0.909
...
Table 1
As shown in Table 1, application program 1 (App1) front end usage time 120 seconds, rear end has only been run 60 seconds, illustrates this The utilization rate of program is very high, so reaching 0.667 by the hot value that the present invention defines;The front end usage time of opposite App2 only has 40 seconds, rear end usage time but only had 200 seconds, and the use temperature that can be calculated App2 only has 0.167.When the front end of App3 uses Between ratio 100/110=0.909 with backstage usage time.So front end usage time and the ratio of total run time are reacted The utilization rate of the application software, is not being closed from the background if software is opened and left unused for a long time after use in the short time Words, since backstage usage time can gradually increase, so hot value can be also gradually reduced, can finally level off to zero.The present invention is fixed The temperature real reaction utilization rate of application software of justice, utilization rate is higher, and hot value is higher, need not more dispose.
S3, carry out cleaning judgement, in the Thermometer shown in table 1, if sorted by hot value, it is necessary to the application being cleaned Software should be application software 2, but enter step in S3 cleaning judgment steps, if the application software (App2) belongs to user The protective program of setting, then do not perform follow-up cleaning operation S4a, continues reservation application program 2 and runs in memory, performs step Rapid S4b.If the minimum application program of hot value is not belonging to protected program, directly performs step S4a and clear up the application Program.
By setting application manager in mobile phone, and performed by application manager all soft to what is run in memory The utilization rate of part is monitored, and the minimum software of utilization rate is cleared up automatically, while is needed in order to avoid deleting some mobile phone users by mistake Judgment step is further included, prevents from deleting by mistake and is protected in the application program of backstage longtime running, above-mentioned automatic memory clean-up process Application program.The application program that can thus cause the operation in mobile phone is largely that the very high either mobile phone of utilization rate is used The protected program that family is specified, remaining ineligible application program are being cleaned automatically from the background, do not increase mobile phone burden Also without the extra operation of mobile phone user.
But the flow shown in Fig. 1 still has some problems, the number of applications opened in mobile phone is very low, such as When there was only 3 altogether, the very sufficient reality of mobile phone EMS memory need not clear up automatically, the lasting operation of above application manager programs System burden only can be increased, do not bring benefit.In addition need to count the front end usage time of each application program and make from the background During with the time, if the usage time of the application program per second for all inquiring about all openings, such statistical method can cause should The collection data of long-time high load capacity are needed with manager, can also cause to bear to system resource, lose more than gain.Therefore the present invention Further improve Fig. 1 the embodiment described, it is proposed that automatic cleaning entry condition as shown in Figure 2.
Flow chart as shown in Figure 2 judges flow for the entry condition of the automatic clean-up process of memory of the present invention.The trip bar Part judges to include step:
S10, program switching are opened, and only new application program is opened, or current front-end application needs to cut When changing to another application program, just need to be collected by application manager and count each usage time of each application program, To calculate the hot value of each application software.Because only that it can cause to be switched to when front-end application switches The application program hot value of front end starts to increase, the hot values of other all application programs due to the increase of running background time, All synchronously reduce, it is that any change will not occur that the hot value between them, which sorts between two secondary program switching action, , numerical value monitoring is during this period of time persistently carried out without in all senses.Entry condition of the present invention can also open one newly Application program when because new application program is opened total application program number can be caused to increase, and memory consumption is also into one Step increase, it is crucial that, the application program newly opened is since the running background time is zero, so hot value is 1, this can cause Originally the sequence for all application programs having already turned on is to heel row one, so being also to carry out when newly opening an application program The preferable moment of usage time statistics.Hot statistics are proceeded by the two moment to find hot value most at the first time Low application program, and too many system resource will not be consumed, ensure the even running of mobile phone.
S11, program quantity judgment step, if finding to beat by application manager statistics at the time of described in step S10 The application program number opened is more than 6, just proceeds by follow-up step S12 operation cleanup steps or S13 retains resource step Suddenly.Judge described by step S3-S4a, S4b in the definition and Fig. 1 of operation cleanup step in wherein step S12 and perform step It is rapid identical.
Application manager that can be of the invention by the execution of above-mentioned steps S10-S13 is run more efficiently, this The resource of body consumption is less.
Although method for cleaning of the present invention can significantly reduce memory consumption automatically, and can keep important and answer Do not deleted by mistake with program, since application program species is various, although certain applications program is not critically important needs for a long time Protection, but also bring along certain trouble if be thoroughly cleaned.Such as partial game, it is necessary to form archive could be in next time Newest progress is read during opening, if the application manager in mobile phone is clear the Games Software in the case of user is unwitting Reason is fallen, it is possible to is not achieved in time, so the method for thorough cleaning is not necessarily to the best processing of user Scheme.It is other to need the application program for forming similar archive to be also required to corresponding more preferable liquidating plan.
Present invention further proposes improved technical solution, is illustrated in figure 3 using the automatic memory cleaning side of the present invention After method, application manager is made whether various application programs in the schematic diagram at cleaning and manner of cleaning up setting interface.In figure 3 APP1 is set as without automatic cleaning by user, it means that application program 1 (APP1) is shielded application program, even if Hot value is very low also without cleaning.APP2 is set as needing to be cleared up automatically by user, while has also carried out manner of cleaning up It is selected, data are preserved after closing, so the application program can read guarantor after the completion of cleaning in startup next time The data deposited, are more conducive to user and use the application program.Application program 3 (APP3) is set as that needs are cleared up by user, and And manner of cleaning up is thorough cleaning, relevant treatment process is thoroughly closed in cleaning.The selection and the choosing of above-mentioned APP2 of APP4 Select it is identical, APP5 selection it is identical with the selection of above-mentioned APP1.
By the selection interface shown in above-mentioned Fig. 3, mobile phone user can be according to oneself different need to various application software Ask, independently select whether each software needs to protect, and the method for selection cleaning during automatic cleaning so that partly it is cleaned Software can also recover the state before cleaning faster, improve the usage experience of user.
It is illustrated in figure 5 flow chart of the present invention when performing liquidation procedures after carrying out the cleaning selection setting shown in Fig. 3. Including:
S20, into cleanup step, by the hot value shown in Fig. 1 and Fig. 2 obtain and judgment step after enter it is improved Cleanup step;
S21, manner of cleaning up selection step in setting interface shown in the application program and Fig. 3 being cleaned, it is necessary to show Manner of cleaning up matches, and cleaning operation is carried out according to user's setting means.
If the setting of S23, user to the application program is to completely close, application manager is complete by the application program Cleaning, and cleaning record can be preserved.
It is if the setting of S22, user to the application program is to preserve data after closing, current application deposit is virtual interior To clear up in memory and apply after depositing, virtual memory can be set in memory, since the memory capacity of memory is much larger than memory, The data deposit memory of a small amount of application program has substantially no effect on the operational efficiency of mobile phone, it is possible to will be for clearance in memory The data of application program are stored in memory, to preserve related data.Again by the application program in memory after completing to store Thoroughly remove, and retain the record of cleaning.
S24, selection preserve the application program of data after being cleaned after closing, if user has been again turned on the program Then enter application recovery step S26.
S26, when being most likely initiated by a user next time, it is not necessary to reopen all treatment progress, can be by quilt in step S22 The data being stored in virtual memory are loaded into memory again, are again turned on applying.So although it is thorough to be employed manager for centre Closed once, but the information seen when being again turned on of mobile phone user and data be still on once the application program it is not busy State when putting to backstage, so the usage experience to the application program of user is close with not being cleaned, it is not necessary to Worry that automatic liquidation procedures cleans up the application program, when data mode when causing to be again turned on was switched to backstage with last time Or normal state is different in backstage automatic running.
Front end run time and running background time of the application manager of the present invention according to each application program detected Calculate the hot value of each application program automatically as basic parameter, disclosure satisfy that certain customers make certain applications program There is the application program of specific function with custom, but for the different user of part use habit, or in use, these heat Angle value is actually unable in reflecting the priority that these application program needs are cleaned.For example certain customers need while open multiple Application program (be more than 8), since sum has been over 6, so automatic liquidation procedures leave unused from the background at most should Cleaned up with program, but actually user still will open the application program soon, so the application program is simultaneously It is not the program that user has forgotten but will be handed over after a bit of time, belongs to " clearing up by mistake ".Same Certain applications program is since self character is also easy to " being cleared up " by mistake, for example monitors some parameter in real time, such as monitors user The application program of the data such as heartbeat, body temperature, or backstage carry out the program of data downloading data, all can for a long time in background work, But actually user is not intended to stop suddenly, but after reasonable time length, if still in running background Need to clean up again.Only provide and protected for above application and the user being accustomed to Special use, in previous embodiment Above-mentioned requirements can not be well adapted to by protecting application program and the hot value obtained being calculated according to default rule.So inventor into One step improves invention, it is proposed that as shown in Figure 4 to be cleaned application program using being checked after the automatic memory method for cleaning of the present invention Interface schematic diagram, as we can see from the figure user temperature correction value can be set defined in the interface.
Mobile phone user can open application manager during mobile phone use, be checked into the interface shown in Fig. 4 The nearest cleaning record of each application program.First row shows the cleaning record from application program 1 to 5, Yi Jitong in Fig. 4 Amount of ram that cleaning is saved is crossed from 10-50M etc..Secondary series shows the number of each application program cleaning from 1 time to 3 times not At the time of Deng specific generation cleanup action is shown at the same time;3rd row show cleaning selection of the user to this application program, Can completely close or preserve data after closing;If the 3rd column selection preserves data after closing, can in the 4th row To provide selection, the application program for recovering the preservation after touch screen is clicked directly on, user can be by being directly entered closing herein Application program afterwards, returns to last state of the application program when closing last time, without the point respectively in main menu of mobile telephone Impact is opened;5th row provide a visual temperature value coefficient setting frame, and user can be corresponding by clicking on or pulling Icon changes temperature coefficient.For application program 1, from cleaning record in it can be seen that, the application program in B days very (xx2-xx6) is cleared up twice in short time, this explanation actually first dressing does not simultaneously meet user's use habit, but should Application program is again without important to protected state is needed, so needing by the autonomous amendment temperature coefficient of user, by this The amendment of temperature coefficient can allow automatic liquidation procedures preferably to adapt to the use habit that each user oneself defines.System The temperature coefficient value of system acquiescence is 1, and application program 1 is due to needing to extend in backstage standby time, so corresponding temperature coefficient What can be set is more than 1, than as shown in Figure 4 1.55.So under same front end time and same backstage standby time, It is just 1.55 times bigger than legacy data that the revised hot value of gained is calculated by application manager, also can be by hot value Ordered arrangement is located further forward, and will not be cleaned up at once.And other application programs 2,3 are since the number of closing is few, explanation User is natively not required these application programs to open for a long time, can be cleaned, so specially modified temperature coefficient is not required, The customized default value 1.0 of holding system.Specifically application program 4, since the amount of memory saved in its scale removal process is special It is not big, reached 100M, so at user in order to further save memory the reason for can be by the calorific value coefficient value of application program 4 What is set is lower, and only 0.6, therefore application program 4 can only be given tacit consent to when application manager calculates hot value than normal The application program of temperature coefficient (1.0) is much lower, this can cause application program four to be faster cleaned out.
The present invention by shown in Fig. 4 display cleaning record and setting temperature correction value interface can user it is more clear In parameters such as the record for the application program being cleaned from the background, memory sizes by clearing up saving automatically in the understanding mobile phone of Chu, Can assess current temperature coefficient by these parameters user and set makes these application programs if appropriate for oneself With custom, the temperature coefficient of each application program of optimum choice so that temperature coefficient can in such as Fig. 4 the 5th heat that provides of row Independently selected within degree coefficient range of choice (0-2).The scope of temperature coefficient can be according to practical situations in practical application Further optimization, can cause scope bigger to reach 0-3 or 0-4 so that the scope bigger that user can change.It is but too big (being more than 5) also, because the temperature coefficient of bigger means hot value higher, is less susceptible to be cleared up automatically without actual meaning, It is not cleaned if user is strongly desired application-specific, can is protected program directly by the application setting, Need not be by the very big of temperature coefficient modifying.
Table 2
After the temperature coefficient shown in Fig. 4 is corrected, the front end of each application APP 1-APP3 shown in reference table 1 In the case that resting period of the usage time with after is identical, due to the difference of temperature coefficient value, form as shown in upper table 2 most Whole temperature numerical value.Wherein the hot value of APP1 is changed into the hot value of 1.03, APP3 from 0.667 and is changed into only 0.5454 from 0.909, APP2 is since temperature coefficient does not change so being still 0.167.Final result causes the sequence of APP1 to be raised to from second The sequence of first, APP3 fall below second from the 1st, this is meant that after after a period of time, APP2 is cleaned, and at once will Clear up APP3, rather than clear up when be 1.0 state acquiescence temperature coefficient be application APP 1 by needs.
By above-mentioned first embodiment and multiple descriptions for improving embodiment, the present invention can by multiple process flows and The improvement of parameter setting, so that automatic liquidation procedures can more be bonded the use habit of mobile phone user so that mobile phone user needs Application program to be protected is protected, it is desirable to using once in a while or account for the excessive application program of memory and be switched to backstage It is cleaned as early as possible afterwards, it is desirable to more long, etc. the various applications that time of the small routine often to be opened on backstage can continue Each embodiment that demand can be transferred through shown in Fig. 1-5 of the present invention is met., can be with by integrating above-mentioned each embodiment An automatic clean-up process of complete mobile phone EMS memory is obtained, is illustrated in fig. 6 shown below, the present invention is complete, and clean-up process includes:
Step S30, program operation, all programs maintain current state operation;
Step S31, program switching or unlatching, S32 is entered step when generating program switches or opens;
Step S32, application manager bring into operation, and initially enter automatic liquidation procedures, judge whether to need to clear up automatically;
Step S35, number of applications judge that application manager statistics is when the number of applications of front opening, if less than 6 It is a, then keep Current resource to return to step S30, enter next step S36 if greater than 6;
Step S36, renewal apply Thermometer, the calculating of the calorific value of each program are carried out, to obtain each application program Calorific value ordered list;
Step S37, clears up judgment step, judges whether the minimum application program of current standings belongs to the protection of user's setting Program, if prewired program, that is, protected application program, then return to step S30, perform whole flow process again;If not guarantor Program is stayed then to enter next step S38;
Step S38, manner of cleaning up selection step, is answered being currently needed for cleaning according to the user recorded in application manager With the setting of program, option is completely closed if having selected for current application program user, is directly entered cleanup step S39a;If setting of the current application program in application manager is closed after preserving data, step S39b is performed;
Step S39a, completely closes current application program, and stores the ginsengs such as cleaning moment, the memory size that cleaning is saved Number;
The data of the application program for being currently needed for cleaning in memory, are stored into the void delimited in memory by step S39b Intend in memory, complete after storing again by the application data complete deletion in actual physics memory.
Step S40, user recover the application program of cleaning, and what user's opening application manager found to be cleaned up automatically answers With program record, it is necessary to recover original routine data, (shown by clicking on the 4th row relevant position in interface as shown in Figure 4 " restarting " place) application program can be again turned on, and return to state when being cleaned.Journey is applied due to recovering one Sequence inherently newly opens an application program so that the application program number of opening adds one, so once applying Program recovery acts, and is equivalent to there occurs the unlatching or switching of a secondary program defined in a step S31, at this time due to answering With manager always in opening, so process flow automatic jumps to the number of applications judgment step of step S35, then press The above-mentioned process flow having been noted above is handled.
The present invention is managed by installing a monitoring in the intelligent terminals such as mobile phone and clearing up the software of mobile phone EMS memory with application Reason device realizes the daily monitoring to the application program opened in mobile phone EMS memory, and according to each application program the front end time and after The ratio calculation of platform time obtains the hot value of each application program, and an ordered list is formed according to hot value.Detecting (it is more than six or more, set according to mobile phone physical memory size and user demand) when application program is opened more, starts clear Excessive application program is managed, if the application program of hot value minimum belongs to protective program in inventory, hot value can be cleared up Next does not have protected application program, as long as the hot value application program of next is still in backstage idle state.Determine whether After needing cleaning, it is also an option that the option of cleaning application program is to completely close or closed after preserving data, number is preserved Can be by the data storage for the application program for needing to clear up to virtual memory according to rear the off option, turning off this after completion unloading should With program, so that the application program is maintained at last state when user recovers the application program next time.The application pipe of the present invention The setup parameters such as manner of cleaning up, temperature coefficient can be set in reason device, it is further seen that each application program occurred recently The memory size that cleaning record and cleaning are saved, so as to the reference detailed to user so that user can select according to these data Select setting temperature coefficient., can be more preferable by a kind of memory automatic cleaning method for intelligent terminal provided by the invention Managing mobile phone memory, in the case where mobile phone EMS memory is limited, adapts to the demand of the user of different use habits, and disclosure satisfy that The needs of more application programs with different application scene, improve usage experience of the user to intelligent terminal.
It should be understood by those skilled in the art that, the various embodiments described above can be provided as method, apparatus or computer program production Product.These embodiments can use the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Form.All or part of step in the method that the various embodiments described above are related to can instruct relevant hardware complete by program Into the program can be stored in the storage medium that computer equipment can be read, for performing the various embodiments described above method The all or part of step.
The various embodiments described above are with reference to method, equipment (system) and the computer program product according to embodiment Flowchart and/or the block diagram describes.It should be understood that it can be realized by computer program instructions every in flowchart and/or the block diagram The combination of flow and/or square frame in one flow and/or square frame and flowchart and/or the block diagram.These computers can be provided Programmed instruction is to the processor of computer equipment to produce a machine so that passes through the finger that the processor of computer equipment performs Order produces and is used for realization what is specified in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames The device of function.
Although present disclosure is discussed in detail by above preferred embodiment, but it should be appreciated that above-mentioned Description is not considered as limitation of the present invention.After those skilled in the art have read the above, for the present invention's A variety of modifications and substitutions all will be apparent.Therefore, protection scope of the present invention should be limited to the appended claims.

Claims (10)

1. a kind of intelligent terminal with the automatic clearing function of memory, the intelligent terminal includes touch screen, touching signals processing Unit, central controller, memory and memory, it is characterised in that an application manager is installed in the intelligent terminal, it is described The front end run time for each application program run in application manager monitoring intelligent terminal and running background time, and according to The front end run time and the ratio calculation of running background time obtain the hot value of each application program;
When the number of applications run in intelligent terminal memory is more than number of applications pre-set limit, the application management Device selects the minimum application program of hot value as application program for clearance according to the hot value of each application program;
The protected application manifest of user's setting is stored with application manager, if the application program for clearance belongs to Protected application program, then do not perform cleanup step.
2. there is the intelligent terminal of the automatic clearing function of memory as claimed in claim 1, it is characterised in that the application management Device only obtains each application program in open mode when the application program of new opening or front end operation switches Front end run time and the running background time, update the hot value sorted lists of each application program.
3. there is the intelligent terminal of the automatic clearing function of memory as claimed in claim 1, it is characterised in that the application management Device further comprises that method for cleaning selects data, and it is each that the user of intelligent terminal sets each application program in application manager From method for cleaning, the method for cleaning option includes:Protected program, completely close application program, preserve operation data after Close application program.
4. there is the intelligent terminal of the automatic clearing function of memory as claimed in claim 3, it is characterised in that the application management Device selects data according to the method for cleaning, performs the cleanup action to each application program, wherein preserving operation number performing According to it is rear closing application program cleanup step when, first by application program in memory data storage to intelligent terminal storage In the virtual memory set in device, then the data in memory are deleted.
5. a kind of intelligent terminal with the automatic clearing function of memory as claimed in claim 4, it is characterised in that the control should Include a cleaning the results show interface with manager, the cleaning the results show interface includes the cleaning of each application program The temperature coefficient of the saved memory size of record, cleaning, method for cleaning selection data and each application program, wherein described Temperature coefficient can be selected to adjust by intelligent terminal user.
6. there is the intelligent terminal of the automatic clearing function of memory as claimed in claim 5, it is characterised in that the application management After device calculates the amendment for obtaining each application program according to the temperature coefficient, the front end run time and running background time Hot value.
7. there is the intelligent terminal of the automatic clearing function of memory as claimed in claim 5, it is characterised in that the cleaning selection Item further includes application recovery step, the user of intelligent terminal passes through a little to preserve the application program closed after operation data Hit the functional areas on the touch screen, application manager reopens according to the data being stored in virtual memory and described applies journey Sequence so that the data in the application program are in state when being cleaned.
8. there is the intelligent terminal of the automatic clearing function of memory as claimed in claim 1, it is characterised in that the application program Quantity pre-set limit is more than or equal to 6.
9. there is the intelligent terminal of the automatic clearing function of memory as claimed in claim 7, it is characterised in that the application program After recovering step performs, application manager obtains the front end run time of each application program in open mode with after at once Platform run time, updates the hot value sorted lists of each application program.
10. there is the intelligent terminal of the automatic clearing function of memory as claimed in claim 1, it is characterised in that the hot value Minimum application program belongs to protected application program, then application program not minimum to hot value performs cleanup step, to heat The low application program of angle value time performs cleanup step.
CN201810005029.7A 2018-01-03 2018-01-03 Automatic memory cleaning method for intelligent terminal Active CN107943593B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810005029.7A CN107943593B (en) 2018-01-03 2018-01-03 Automatic memory cleaning method for intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810005029.7A CN107943593B (en) 2018-01-03 2018-01-03 Automatic memory cleaning method for intelligent terminal

Publications (2)

Publication Number Publication Date
CN107943593A true CN107943593A (en) 2018-04-20
CN107943593B CN107943593B (en) 2022-04-05

Family

ID=61937336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810005029.7A Active CN107943593B (en) 2018-01-03 2018-01-03 Automatic memory cleaning method for intelligent terminal

Country Status (1)

Country Link
CN (1) CN107943593B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109557995A (en) * 2018-11-21 2019-04-02 Tcl移动通信科技(宁波)有限公司 A kind of application program interrupt control method, mobile terminal and storage medium
CN109669706A (en) * 2018-12-24 2019-04-23 麒麟合盛网络技术股份有限公司 The management method and device of application
CN109726076A (en) * 2018-12-03 2019-05-07 百度在线网络技术(北京)有限公司 A kind of small routine life cycle management method and system
CN109739575A (en) * 2018-12-29 2019-05-10 上海掌门科技有限公司 Information processing method, electronic equipment and computer-readable medium
CN110096347A (en) * 2019-03-29 2019-08-06 努比亚技术有限公司 A kind of process back-stage management method, terminal and computer readable storage medium
CN110543365A (en) * 2019-08-20 2019-12-06 Oppo广东移动通信有限公司 Memory optimization method and device, computer readable medium and electronic device
CN111026462A (en) * 2019-12-10 2020-04-17 百度在线网络技术(北京)有限公司 Applet control method, apparatus, device and medium
CN112181515A (en) * 2020-09-18 2021-01-05 Oppo(重庆)智能科技有限公司 Application program control method, device, terminal and storage medium
CN112241322A (en) * 2020-10-20 2021-01-19 北京字节跳动网络技术有限公司 Memory management method and device and mobile device
CN113010279A (en) * 2021-02-20 2021-06-22 北京字节跳动网络技术有限公司 Application program process processing method and device for mobile terminal and electronic equipment
CN114528039A (en) * 2021-01-08 2022-05-24 蒋耕银 Background application cleaning system based on big data
CN116501162A (en) * 2023-04-23 2023-07-28 深圳中柏科技有限公司 Method and device for automatically adjusting power consumption of intelligent notebook computer and electronic equipment
CN112181515B (en) * 2020-09-18 2024-05-24 Oppo(重庆)智能科技有限公司 Application program control method, device, terminal and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090271776A1 (en) * 2008-04-25 2009-10-29 Microsoft Corporation Dynamic management of operating system resources
CN103324500A (en) * 2013-05-06 2013-09-25 广州市动景计算机科技有限公司 Method and device for recycling internal memory
CN103914365A (en) * 2012-12-31 2014-07-09 北京金山安全软件有限公司 Method and device for acquiring power consumption of mobile terminal application
CN105354093A (en) * 2015-12-09 2016-02-24 广东欧珀移动通信有限公司 Memory management method and mobile terminal
CN105893448A (en) * 2015-12-30 2016-08-24 乐视网信息技术(北京)股份有限公司 Method and system for generating application popularity list
CN106445604A (en) * 2016-09-29 2017-02-22 深圳市邦华电子有限公司 Clearing method and device for applications
CN107479967A (en) * 2017-07-04 2017-12-15 深圳天珑无线科技有限公司 A kind of automatic method and intelligent terminal for removing internal memory

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090271776A1 (en) * 2008-04-25 2009-10-29 Microsoft Corporation Dynamic management of operating system resources
CN103914365A (en) * 2012-12-31 2014-07-09 北京金山安全软件有限公司 Method and device for acquiring power consumption of mobile terminal application
CN103324500A (en) * 2013-05-06 2013-09-25 广州市动景计算机科技有限公司 Method and device for recycling internal memory
CN105354093A (en) * 2015-12-09 2016-02-24 广东欧珀移动通信有限公司 Memory management method and mobile terminal
CN105893448A (en) * 2015-12-30 2016-08-24 乐视网信息技术(北京)股份有限公司 Method and system for generating application popularity list
CN106445604A (en) * 2016-09-29 2017-02-22 深圳市邦华电子有限公司 Clearing method and device for applications
CN107479967A (en) * 2017-07-04 2017-12-15 深圳天珑无线科技有限公司 A kind of automatic method and intelligent terminal for removing internal memory

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109557995A (en) * 2018-11-21 2019-04-02 Tcl移动通信科技(宁波)有限公司 A kind of application program interrupt control method, mobile terminal and storage medium
CN109726076A (en) * 2018-12-03 2019-05-07 百度在线网络技术(北京)有限公司 A kind of small routine life cycle management method and system
CN109726076B (en) * 2018-12-03 2023-01-06 百度在线网络技术(北京)有限公司 Applet life cycle management method and system
CN109669706A (en) * 2018-12-24 2019-04-23 麒麟合盛网络技术股份有限公司 The management method and device of application
CN109739575A (en) * 2018-12-29 2019-05-10 上海掌门科技有限公司 Information processing method, electronic equipment and computer-readable medium
CN110096347A (en) * 2019-03-29 2019-08-06 努比亚技术有限公司 A kind of process back-stage management method, terminal and computer readable storage medium
CN110543365A (en) * 2019-08-20 2019-12-06 Oppo广东移动通信有限公司 Memory optimization method and device, computer readable medium and electronic device
CN110543365B (en) * 2019-08-20 2024-01-09 Oppo广东移动通信有限公司 Memory optimization method and device, computer readable medium and electronic equipment
CN111026462B (en) * 2019-12-10 2023-08-29 百度在线网络技术(北京)有限公司 Applet control method, device, apparatus and medium
CN111026462A (en) * 2019-12-10 2020-04-17 百度在线网络技术(北京)有限公司 Applet control method, apparatus, device and medium
CN112181515A (en) * 2020-09-18 2021-01-05 Oppo(重庆)智能科技有限公司 Application program control method, device, terminal and storage medium
CN112181515B (en) * 2020-09-18 2024-05-24 Oppo(重庆)智能科技有限公司 Application program control method, device, terminal and storage medium
CN112241322A (en) * 2020-10-20 2021-01-19 北京字节跳动网络技术有限公司 Memory management method and device and mobile device
CN114528039A (en) * 2021-01-08 2022-05-24 蒋耕银 Background application cleaning system based on big data
CN113010279A (en) * 2021-02-20 2021-06-22 北京字节跳动网络技术有限公司 Application program process processing method and device for mobile terminal and electronic equipment
CN116501162A (en) * 2023-04-23 2023-07-28 深圳中柏科技有限公司 Method and device for automatically adjusting power consumption of intelligent notebook computer and electronic equipment
CN116501162B (en) * 2023-04-23 2023-11-24 深圳中柏科技有限公司 Method and device for automatically adjusting power consumption of intelligent notebook computer and electronic equipment

Also Published As

Publication number Publication date
CN107943593B (en) 2022-04-05

Similar Documents

Publication Publication Date Title
CN107943593A (en) A kind of memory automatic cleaning method for intelligent terminal
CN103064716B (en) The method of mobile terminal device fast discharging application program
US20140195843A1 (en) Method and system for battery power saving
US9354686B2 (en) Monitoring and managing processor activity in power save mode of portable electronic device
CN110096294A (en) It is a kind of can break-point radio upgrade MCU application program method
CN110008008A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN105554550A (en) Video playing method and device
CN106201683A (en) A kind of manage the method for application, device and terminal
CN108112063A (en) Electric quantity managing method, power management device, terminal and readable storage medium storing program for executing
CN106775809A (en) A kind of method of mobile terminal internal memory cleaning, device and mobile terminal
CN106155777A (en) A kind of background application managing device, terminal and background application management method
CN103686354A (en) Smart television terminal and method for counting reporting key use behaviors
CN106502783A (en) A kind of EMS memory management process and terminal device
CN111045824A (en) Application control method and device, electronic equipment and computer readable medium
CN110798694A (en) Live broadcast room data processing method and device, electronic equipment and storage medium
CN108205402A (en) Mobile terminal and its background process processing method
CN107765948A (en) Application control method, terminal, computer installation and storage medium
CN106897100A (en) The method and terminal of a kind of firmware upgrade
CN107526637A (en) Applied program processing method, device, mobile terminal and storage medium
CN106502827A (en) A kind of data back up method and equipment
CN107894917A (en) Terminal and its method for closing background application, storage device
WO2023159821A1 (en) Method and device for determining operational behavior, storage medium, and electronic device
CN107526690A (en) Remove the method and device of caching
CN115714810A (en) Method and device for sending push message, storage medium and electronic device
CN105162985A (en) Recording method and device of mobile terminal

Legal Events

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