CN105700922A - Method and device for automatically cleaning memory when charging is carried out and mobile terminal - Google Patents

Method and device for automatically cleaning memory when charging is carried out and mobile terminal Download PDF

Info

Publication number
CN105700922A
CN105700922A CN201610013527.7A CN201610013527A CN105700922A CN 105700922 A CN105700922 A CN 105700922A CN 201610013527 A CN201610013527 A CN 201610013527A CN 105700922 A CN105700922 A CN 105700922A
Authority
CN
China
Prior art keywords
mobile terminal
charging
virtual memory
internal memory
monitoring
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.)
Pending
Application number
CN201610013527.7A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610013527.7A priority Critical patent/CN105700922A/en
Publication of CN105700922A publication Critical patent/CN105700922A/en
Pending legal-status Critical Current

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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a method and device for automatically cleaning a memory when charging is carried out and a mobile terminal. The method comprises following steps of monitoring a local machine wireless or USB wire charging operation by the mobile terminal; when it is monitored that the local machine carries out the charging operation, obtaining a current virtual memory value occupied by a current background operation program; according to the current virtual memory value, through invoking the initial virtual memory value when the mobile terminal is started, obtaining the operated and loaded virtual memory value in the using process of the mobile terminal; starting memory cleaning; and closing the current background operation program corresponding to the operated and loaded virtual memory value. According to the method, through adoption of the technical scheme that the current background operation application program is automatically cleaned through detecting whether the mobile terminal whether the charging is carried out or not, the power loss resulting from the background application program of the mobile terminal is avoided; the charging speed and the operation speed of the mobile terminal are improved; the operation step of cleaning the memory by the user is simplified; convenience is provided for the user; and the user experience is increased.

Description

A kind of automatically clear up the method for internal memory, device and mobile terminal when charging
Technical field
The present invention relates to the communication technical field of mobile terminal, during particularly to a kind of charging, automatically clear up the method for internal memory, device and mobile terminal。
Background technology
Along with the quickening of people's Working Life rhythm and the raising to quality of the life requirement, mobile terminal enjoys the favor of users with its powerful function, and is used widely。Along with terminal unit, such as mobile phone, personal digital assistant (PersonalDigitalAssistant, the expansion of the internal memory capacity of equipment such as PDA), the becoming stronger day by day of operation apparatus function, the application program that can develop installation in terminal unit gets more and more, while these abundant application bring various Consumer's Experience to user, also the substantial amounts of internal memory of mobile terminal is occupied, cause that the processing speed of mobile terminal is more and more slower, accelerate the electric quantity consumption of mobile terminal simultaneously, cause often thinking that the not enough needs of electricity are charged。Mobile terminal is when charging, it is currently running if any program, influences whether charging rate, in order to save the internal memory of mobile terminal, reduce the power attenuation that mobile terminal brings due to application program operation, need in time the internal memory of mobile terminal to be cleared up, thus release is by the unnecessary memory headroom taken, internal memory is removed and is favorably improved charging rate。
The program run in mobile terminal device divides two kinds: one be called must program, be, basic function properly functioning for the maintenance terminal equipment program that normally uses and open, it is necessary to program can not arbitrarily be closed or stop;Another kind is called function program, is the program for realizing some application specific functionality, and function program can be opened along with the unlatching of this function, closes along with the closedown of this function, as taken pictures, the program such as short message and player。And in described function program, a part of program can use end to completely close no longer committed memory along with function;Another part is then that function uses and terminates rear program and be transferred to backstage and continue to run with, still committed memory, this function program is run more many, the internal memory taken will be more many, the space distributing to the operation of other programs is more few, power consumption is also more many, and user will feel that handset response speed is slow, open new program response time length, battery standby time is short, and Consumer's Experience is had a greatly reduced quality。
For this, user can realize mobile terminal by releasing memory on the mobile terminal device and accelerate, entrance multiple task management, entrance cleaning internal memory software or the floating window small tool of desktop is generally adopted to perform releasing memory operation at present, but such scheme or need user to manually boot internal memory liquidation procedures, complicated operation;Or when the application program committed memory of mobile terminal is only small, the internal memory of mobile terminal also can be taken according to timed task frequent starting internal memory liquidation procedures, reduce the processing speed of mobile terminal, affect the performance of mobile terminal。
Summary of the invention
It is an object of the invention to overcome the shortcoming of prior art with not enough, it is provided that a kind of automatically to clear up the method for internal memory, device and mobile terminal when charging。
According to disclosed embodiment, a kind of method automatically clearing up internal memory when a first aspect of the present invention proposes charging, described method comprises the following steps:
The machine is charged operation monitoring by mobile terminal, when monitoring the machine and being charged operating, obtains current background and runs the current virtual memory value that program takies;
According to described current virtual memory value and transfer described mobile terminal-opening start time initial virtual memory value, it is thus achieved that described mobile terminal use procedure runs the virtual memory value of loading;
Start internal memory cleaning, close and run program with described current background corresponding to the virtual memory value loaded that run。
Further, the monitoring of described charging operations includes wireless charging monitoring and the wired charging monitoring of USB。
Further, the machine is charged operation monitoring by described mobile terminal, and when monitoring the machine and being charged operating, the current virtual memory value that acquisition current background operation program takies includes:
It is charged if be detected that described mobile terminal is connecting charging device, then starts timing, after timing time reaches the duration specified, it is judged that in described timing time, whether described mobile terminal is performed continuously over charging;
If it is, described mobile terminal obtains current background by the application programming interfaces of call operation internal system runs the current virtual memory value that program takies。
Further, the machine is charged operation monitoring by described mobile terminal, when monitoring the machine and being charged operating, before obtaining the current virtual memory value that current background operation program takies, also includes:
Described acquisition for mobile terminal initial virtual memory value when storing starting up。
Further, described method also includes:
Application program white list is set, application program in described application program white list is added by user or deletes, when described mobile terminal starts internal memory cleaning, if the application program in described application program white list is at running background, then this application program will remain in running background。
According to disclosed embodiment, automatically clearing up the device of internal memory when a second aspect of the present invention proposes a kind of charging, described device includes:
Monitoring modular, is charged operation monitoring for mobile terminal to the machine, when monitoring the machine and being charged operating, obtains current background and run the current virtual memory value that program takies;
First acquisition module, is used for according to described current virtual memory value and transfers initial virtual memory value when described mobile terminal-opening starts, it is thus achieved that running the virtual memory value of loading in described mobile terminal use procedure;
Internal memory cleaning module, is used for starting internal memory cleaning, closes and runs program with described current background corresponding to the virtual memory value loaded that run。
Further, the monitoring of described charging operations includes wireless charging monitoring and the wired charging monitoring of USB。
Further, described monitoring modular includes:
Charging judging unit, for if be detected that described mobile terminal is connecting charging device is charged, then starting timing, after timing time reaches the duration specified, it is judged that in described timing time, whether described mobile terminal is performed continuously over charging;
Second acquisition unit, if the judged result return for described charging judging unit is that then described mobile terminal obtains current background by the application programming interfaces of call operation internal system and runs the current virtual memory value that program takies。
Further, described device also includes:
3rd acquisition module, the initial virtual memory value for described acquisition for mobile terminal and when storing starting up。
Further, described device also includes:
List arranges module, for arranging application program white list, application program in described application program white list is added by user or deletes, when described mobile terminal starts internal memory cleaning, if the application program in described application program white list is at running background, then this application program will remain in running background。
According to disclosed embodiment, a third aspect of the present invention proposes a kind of mobile terminal, and described mobile terminal includes above-mentioned a kind of device automatically clearing up internal memory when charging。
The present invention has such advantages as relative to prior art and effect:
The invention discloses a kind of by detecting mobile terminal and whether being charged thus the application program technical scheme that is currently running of cleaning backstage automatically, avoid the power attenuation that mobile terminal background application brings, improve mobile terminal charging rate and the speed of service, simplify user and clear up the operating procedure of internal memory, provide the user conveniently, improve the experience of user。
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme in the embodiment of the present invention, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings。
Fig. 1 is the method flow diagram that a kind of disclosed in embodiment one clears up internal memory when charging automatically;
Fig. 2 clears up the method flow diagram of internal memory automatically when being another charging disclosed in embodiment one;
Fig. 3 clears up the method flow diagram of internal memory automatically when being the another kind charging disclosed in embodiment one;
Fig. 4 is the device composition frame chart that a kind of disclosed in embodiment two clears up internal memory when charging automatically;
Fig. 5 is the structure composition frame chart of monitoring modular in embodiment two;
Fig. 6 clears up the device composition frame chart of internal memory automatically when being another charging disclosed in embodiment two;
Fig. 7 clears up the device composition frame chart of internal memory automatically when being the another kind charging disclosed in embodiment two。
Detailed description of the invention
For the technological means making the present invention realize, creation characteristic, reaching purpose and effect and be easy to understand, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment。Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention。
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second ", " the 3rd " and " the 4th " etc. are for distinguishing different object, rather than are used for describing particular order。Additionally, term " including " and " having " and their any deformation, it is intended that cover non-exclusive comprising。Such as contain series of steps or the process of unit, method, system, product or equipment are not limited to step or the unit listed, but also include step or the unit do not listed alternatively, or also include other step intrinsic for these processes, method, product or equipment or unit alternatively。
It is described in detail respectively below according to embodiment。
Embodiment one
Referring to Fig. 1, Fig. 1 is a kind of method flow diagram automatically clearing up internal memory when charging in the present embodiment one。Automatically a kind of method clearing up internal memory when shown in Fig. 1 charges, it is applied to intelligent mobile terminal, described intelligent mobile terminal includes but not limited to mobile phone, notebook computer, panel computer and palm equipment for surfing the net, multimedia equipment, stream media equipment, mobile internet device (MID, mobileinternetdevice), wearable device or other kinds of terminal unit。
Automatically a kind of method clearing up internal memory when as shown in Figure 1 charges, the method includes following concrete steps:
The machine is charged operation monitoring by S1, mobile terminal, when monitoring the machine and being charged operating, obtains current background and runs the current virtual memory value that program takies。
In the present embodiment, whether mobile terminal monitoring local terminal is charged operation and includes wireless charging monitoring and USB wired charging monitoring。
Wherein, wireless charging is to realize charging by electromagentic resonance technology, and first its work process for convert electrical current into magnetic field, and then magnetic field is converted again to electric current and flows to intelligent mobile terminal after being transmitted by air。
Wherein, the wired charging of USB is that traditional being connected by the USB port of mobile terminal self is charged operation, the D+ of the USB port of usual mobile terminal, D-, USB_ID, the U_CHAR pin height position when mobile terminal charging connection and disconnection is different, by the D+ to USB port, the real-time status detection of D-, USB_ID, U_CHAR pin can realize the monitoring of the wired charged state of mobile terminal USB。
It is charged if be detected that mobile terminal is connecting charging device, then starts timing, after timing time reaches the duration specified, it is judged that in described timing time, whether mobile terminal is performed continuously over charging;
If it is, described mobile terminal obtains current background by the application programming interfaces (API) of call operation internal system runs the current virtual memory value that program takies。
This step compares by charging is carried out time threshold values, only when duration of charge exceedes the appointment time, just it is judged as monitoring charging operations, by the erroneous judgement that above-mentioned steps can be prevented effectively from daily life to the mistake charging operations of mobile terminal or charging operations。
S2, initial virtual memory value when starting according to described current virtual memory value and described mobile terminal-opening, it is thus achieved that run the virtual memory value loaded。
The program run in mobile terminal device divides two kinds: one is called necessary program, it is properly functioning for maintenance terminal equipment, the program that basic function normally uses and opens, generally such program must be generally the start i.e. subsidiary program started, program can not must arbitrarily close or stop, this part must program carry out internal memory cleaning time, also must be retained, another kind is called function program, it it is the program for realizing some application specific functionality, function program can be opened along with the unlatching of this function, close along with the closedown of this function, as taken pictures, the program such as short message and player, this partial function program is typically hidden within backstage, occupy the memory headroom of mobile terminal, consume the power resources that mobile terminal is limited, it it is the object of internal memory cleaning。
Mobile terminal is when starting up, the initial virtual memory value of start and startup optimization program is obtained and stores by the application programming interfaces (API) of call operation internal system, when mobile terminal detects charging operations, the application programming interfaces (API) again by call operation internal system obtain and memory mobile terminal current virtual memory value。In mobile terminal use procedure after starting up, when user starts new operation program (including application, service and process etc.), first judge whether the initial virtual memory value of this operation program is described, if being described, not record again, if not being described, it is recorded。
This step is by obtaining the initial virtual memory value that takies when starting up of mobile terminal and obtaining the current virtual memory value that backstage current operation program takies before cleaning internal memory and obtain the virtual memory value of mobile terminal in use load operating。
S3, startup internal memory cleaning, close and run, with described, the current background operation program that the virtual memory value loaded is corresponding。
The virtual memory value of the load operating by obtaining in above-mentioned steps, search the background application (including application, service and process etc.) that in internal memory, the virtual memory value of above-mentioned load operating is corresponding, then running background program corresponding for the virtual memory value of load operating is closed。
Another preferred embodiment in, idiographic flow is referred to shown in accompanying drawing 2, and disclosed in the present embodiment, a kind of method automatically clearing up internal memory when charging, also comprises the following steps:
S4, application program white list is set, application program in described application program white list is added by user or deletes, when described mobile terminal starts internal memory cleaning, if the application program in described application program white list is at running background, this application program will remain in running background and do not cleared up closedown by force。
The setting of this application program white list, user is facilitated to carry out the application program management in internal memory more flexibly, due to application program white list application program carry out internal memory cleaning time can not by killing, so mobile phone users can by day after normally open will altofrequency use program add in application program white list。Such as mail applications APP, user is not intended to just be started in start, but often work hours every day start mail applications APP process work transaction, this mail applications APP has again in work process and frequently uses and detect whether the function that new mail is received in real time by this application program simultaneously, and this application A PP needs in core resident background program。By arranging application program white list, this mail applications APP is added in the middle of white list, when mobile terminal detects that charging carries out internal memory cleaning, releases the memory headroom that background application takies, meanwhile, do not affect again user and normally use mobile terminal。
Another preferred embodiment in, a kind of method automatically clearing up internal memory when charging disclosed in the present embodiment, idiographic flow is referred to shown in accompanying drawing 3, and the method also comprises the following steps:
S0, described acquisition for mobile terminal initial virtual memory value when storing starting up。
This step is when each starting up of mobile terminal, obtain and store initial virtual memory value during starting up by the application programming interfaces (API) of call operation internal system, in order to mobile terminal determines cleaned destination application in the cleaning internal memory operation that subsequent charge operates。
In sum, automatically the method clearing up internal memory during charging disclosed in the present embodiment, when detecting that mobile terminal is charged operating, by reading the initial virtual memory value that takies when starting up of mobile terminal and obtaining the current virtual memory value that backstage current operation program takies before cleaning internal memory and obtain the virtual memory value of mobile terminal in use load operating, then start cleaning internal memory operation and carry out the cleaning of background application, smart machine need not be restarted without being performed manually by internal memory cleaning, save clearance time, do not affect the use of user simultaneously。
Embodiment two
For provide a kind of mobile terminal be charged operate time automatically clear up background program in mobile terminal internal memory avoid manually clear up troublesome operation step purpose original intention, the present embodiment clears up the device of internal memory automatically when proposing a kind of charging, by detecting whether mobile terminal is charged operation, then the initial virtual memory value that mobile terminal takies and the current virtual memory value that acquisition backstage current operation program takies before cleaning internal memory are read when starting up, calculate the virtual memory value obtaining mobile terminal in use load operating, finally start cleaning internal memory operation and carry out the cleaning of background application, automatically its structured flowchart of device of internal memory is cleared up as shown in Figure 4 during charging disclosed in the present embodiment two, described device includes: monitoring modular 201, first acquisition module 202 and internal memory cleaning module 203, wherein:
Monitoring modular 201, is charged operation monitoring for mobile terminal to the machine, when monitoring the machine and being charged operating, obtains current background and run the current virtual memory value that program takies。
Wherein monitoring modular 201 includes again:
Charging judging unit 2011, for if be detected that described mobile terminal is connecting charging device is charged, then starting timing, after timing time reaches the duration specified, it is judged that in described timing time, whether described mobile terminal is performed continuously over charging;
Second acquisition unit 2012, if the judged result return for described charging judging unit is that then described mobile terminal obtains current background by the application programming interfaces of call operation internal system and runs the current virtual memory value that program takies。
The structure composition frame chart of above-mentioned monitoring modular 201 is as shown in Figure 5。
Above-mentioned monitoring modular is in charging operations monitoring process, it may be achieved include wireless charging monitoring and the wired charging monitoring of USB。
First acquisition module 202, is used for according to described current virtual memory value and transfers initial virtual memory value when described mobile terminal-opening starts, it is thus achieved that running the virtual memory value of loading in described mobile terminal use procedure。
Internal memory cleaning module 203, is used for starting internal memory cleaning, closes and runs program with described current background corresponding to the virtual memory value loaded that run。
Another preferred embodiment in, described a kind of device automatically clearing up internal memory when charging, also include:
3rd acquisition module 20X, the initial virtual memory value for described acquisition for mobile terminal and when storing starting up。
The structured flowchart of the device automatically clearing up internal memory during the charging comprising above-mentioned 3rd acquisition module 20X can refer to shown in accompanying drawing 6。
Another preferred embodiment in, described a kind of device automatically clearing up internal memory when charging, also include:
List arranges module 204, for arranging application program white list, application program in described application program white list is added by user or deletes, when described mobile terminal starts internal memory cleaning, if the application program in described application program white list is at running background, then this application program will remain in running background。
The structured flowchart comprising the device automatically clearing up internal memory when above-mentioned list arranges the charging of module 204 can refer to shown in accompanying drawing 7。
The embodiment of the present invention also provides for a kind of mobile terminal, a kind of device automatically clearing up internal memory when charging specifically including as shown in Figures 4 to 7。
Based on same inventive concept, automatically device and the mobile terminal of internal memory is cleared up during the charging that the embodiment of the present invention provides, the problem of solution principle to aforementioned a kind of charge time automatically to clear up the method for internal memory similar, therefore the enforcement of this device and mobile terminal may refer to the enforcement of preceding method, the module of foregoing description and the specific works process of unit, it is referred to the corresponding process in preceding method embodiment, does not repeat them here。
In sum, automatically device and the mobile terminal of internal memory is cleared up during charging disclosed in the present embodiment, monitoring modular 201 in said apparatus, first acquisition module 202 and internal memory cleaning module 203 cooperate work, wherein monitoring modular detection mobile terminal is charged operation, obtain current background and run the current virtual memory value that program takies, then the first acquisition module obtains the virtual memory value running loading in described mobile terminal use procedure, finally cleared up module 203 by internal memory and carry out dynamic internal memory cleaning, close and run program with described current background corresponding to the virtual memory value loaded that run。Whether this device is being charged thus automatically clearing up the application program that backstage is currently running by monitoring mobile terminal, avoid the power attenuation that mobile terminal background application brings, improve mobile terminal charging rate and the speed of service, simplify user and clear up the operating procedure of internal memory, providing the user conveniently, lifting operation is experienced。
In each embodiment of the method for the present invention; the sequence number of described each step can not be used for limiting the sequencing of each step; for those of ordinary skill in the art, under the premise not paying creative work, the priority of each step is changed also within protection scope of the present invention。
The module of foregoing description and the specific works process of unit, it is possible to reference to the corresponding process in preceding method embodiment, do not repeat them here。
It should be noted that in said apparatus and terminal embodiment, included modules and unit are carry out dividing according to function logic, but are not limited to above-mentioned division, as long as being capable of corresponding function;It addition, the concrete title of each module and unit is also only to facilitate mutually distinguish, it is not limited to protection scope of the present invention。
In several embodiments provided herein, it should be understood that disclosed equipment and method, it is possible to realize by another way。Such as, terminal embodiment described above is merely schematic, such as, the division of described module or unit, being only a kind of logic function to divide, actual can have other dividing mode when realizing, for instance multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can ignore, or do not perform。Another point, shown or discussed coupling each other or direct-coupling or communication connection can be through INDIRECT COUPLING or the communication connection of some interfaces, module or unit, it is possible to be electrical, machinery or other form。
Additionally, each functional module or unit in each embodiment of the present invention can be integrated in a processing module or unit, can also be modules or unit is individually physically present, it is also possible to two or more modules or unit are integrated in a module or unit。
Above-described embodiment is the present invention preferably embodiment; but embodiments of the present invention are also not restricted to the described embodiments; the change made under other any spirit without departing from the present invention and principle, modification, replacement, combination, simplification; all should be the substitute mode of equivalence, be included within protection scope of the present invention。

Claims (11)

1. the method automatically clearing up internal memory when charging, it is characterised in that described method comprises the following steps:
The machine is charged operation monitoring by mobile terminal, when monitoring the machine and being charged operating, obtains current background and runs the current virtual memory value that program takies;
According to described current virtual memory value and transfer described mobile terminal-opening start time initial virtual memory value, it is thus achieved that described mobile terminal use procedure runs the virtual memory value of loading;
Start internal memory cleaning, close and run program with described current background corresponding to the virtual memory value loaded that run。
2. a kind of method automatically clearing up internal memory when charging according to claim 1, it is characterised in that the monitoring of described charging operations includes wireless charging monitoring and the wired charging monitoring of USB。
3. a kind of method automatically clearing up internal memory when charging according to claim 2, it is characterised in that
The machine is charged operation monitoring by described mobile terminal, and when monitoring the machine and being charged operating, the current virtual memory value that acquisition current background operation program takies includes:
It is charged if be detected that described mobile terminal is connecting charging device, then starts timing, after timing time reaches the duration specified, it is judged that in described timing time, whether described mobile terminal is performed continuously over charging;
If it is, described mobile terminal obtains current background by the application programming interfaces of call operation internal system runs the current virtual memory value that program takies。
4. a kind of method automatically clearing up internal memory when charging according to claim 1, it is characterized in that, the machine is charged operation monitoring by described mobile terminal, when monitoring the machine and being charged operating, before obtaining the current virtual memory value that current background operation program takies, also include:
Described acquisition for mobile terminal initial virtual memory value when storing starting up。
5. a kind of method automatically clearing up internal memory when charging according to claim 1, it is characterised in that described method also includes:
Application program white list is set, application program in described application program white list is added by user or deletes, when described mobile terminal starts internal memory cleaning, if the application program in described application program white list is at running background, then this application program will remain in running background。
6. the device automatically clearing up internal memory when charging, it is characterised in that described device includes:
Monitoring modular, is charged operation monitoring for mobile terminal to the machine, when monitoring the machine and being charged operating, obtains current background and run the current virtual memory value that program takies;
First acquisition module, is used for according to described current virtual memory value and transfers initial virtual memory value when described mobile terminal-opening starts, it is thus achieved that running the virtual memory value of loading in described mobile terminal use procedure;
Internal memory cleaning module, is used for starting internal memory cleaning, closes and runs program with described current background corresponding to the virtual memory value loaded that run。
7. a kind of device automatically clearing up internal memory when charging according to claim 6, it is characterised in that the monitoring of described charging operations includes wireless charging monitoring and the wired charging monitoring of USB。
8. a kind of device automatically clearing up internal memory when charging according to claim 7, it is characterised in that described monitoring modular includes:
Charging judging unit, for if be detected that described mobile terminal is connecting charging device is charged, then starting timing, after timing time reaches the duration specified, it is judged that in described timing time, whether described mobile terminal is performed continuously over charging;
Second acquisition unit, if the judged result return for described charging judging unit is that then described mobile terminal obtains current background by the application programming interfaces of call operation internal system and runs the current virtual memory value that program takies。
9. a kind of device automatically clearing up internal memory when charging according to claim 6, it is characterised in that described device also includes:
3rd acquisition module, the initial virtual memory value for described acquisition for mobile terminal and when storing starting up。
10. a kind of device automatically clearing up internal memory when charging according to claim 6, it is characterised in that described device also includes:
List arranges module, for arranging application program white list, application program in described application program white list is added by user or deletes, when described mobile terminal starts internal memory cleaning, if the application program in described application program white list is at running background, then this application program will remain in running background。
11. a mobile terminal, it is characterised in that include the arbitrary described a kind of device automatically clearing up internal memory when charging of claim 6 to 10。
CN201610013527.7A 2016-01-07 2016-01-07 Method and device for automatically cleaning memory when charging is carried out and mobile terminal Pending CN105700922A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610013527.7A CN105700922A (en) 2016-01-07 2016-01-07 Method and device for automatically cleaning memory when charging is carried out and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610013527.7A CN105700922A (en) 2016-01-07 2016-01-07 Method and device for automatically cleaning memory when charging is carried out and mobile terminal

Publications (1)

Publication Number Publication Date
CN105700922A true CN105700922A (en) 2016-06-22

Family

ID=56227075

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610013527.7A Pending CN105700922A (en) 2016-01-07 2016-01-07 Method and device for automatically cleaning memory when charging is carried out and mobile terminal

Country Status (1)

Country Link
CN (1) CN105700922A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018222374A1 (en) * 2017-06-01 2018-12-06 Apple Inc. Electronic device with activity-based power management
CN110958353A (en) * 2019-11-29 2020-04-03 深圳传音控股股份有限公司 Terminal charging method, electronic device and storage medium
WO2021114699A1 (en) * 2019-12-13 2021-06-17 Tcl通讯(宁波)有限公司 Signal strength reporting method and apparatus, storage medium and terminal device
CN115421820A (en) * 2022-11-03 2022-12-02 深圳市江元智造科技有限公司 Automatic cleaning method and system based on android application and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324575A (en) * 2012-03-23 2013-09-25 腾讯科技(深圳)有限公司 Memory clearing method and mobile terminal
CN103345397A (en) * 2013-07-11 2013-10-09 北京奇虎科技有限公司 Method and device for cleaning processes of mobile terminal
CN103530235A (en) * 2013-10-18 2014-01-22 北京奇虎科技有限公司 Method and device for clearing internal storage in mobile terminal
CN104238713A (en) * 2013-06-21 2014-12-24 贝壳网际(北京)安全技术有限公司 Charging method and system of intelligent mobile terminal
CN104298612A (en) * 2014-09-30 2015-01-21 北京金山安全软件有限公司 Method and device for cleaning memory in mobile terminal and mobile terminal
CN105005534A (en) * 2014-04-23 2015-10-28 联想移动通信科技有限公司 Memory cleanup method and apparatus, and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324575A (en) * 2012-03-23 2013-09-25 腾讯科技(深圳)有限公司 Memory clearing method and mobile terminal
CN104238713A (en) * 2013-06-21 2014-12-24 贝壳网际(北京)安全技术有限公司 Charging method and system of intelligent mobile terminal
CN103345397A (en) * 2013-07-11 2013-10-09 北京奇虎科技有限公司 Method and device for cleaning processes of mobile terminal
CN103530235A (en) * 2013-10-18 2014-01-22 北京奇虎科技有限公司 Method and device for clearing internal storage in mobile terminal
CN105005534A (en) * 2014-04-23 2015-10-28 联想移动通信科技有限公司 Memory cleanup method and apparatus, and terminal
CN104298612A (en) * 2014-09-30 2015-01-21 北京金山安全软件有限公司 Method and device for cleaning memory in mobile terminal and mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018222374A1 (en) * 2017-06-01 2018-12-06 Apple Inc. Electronic device with activity-based power management
US10862329B2 (en) 2017-06-01 2020-12-08 Apple Inc. Electronic device with activity-based power management
US11923917B2 (en) 2017-06-01 2024-03-05 Apple Inc. Electronic device with activity-based power management
CN110958353A (en) * 2019-11-29 2020-04-03 深圳传音控股股份有限公司 Terminal charging method, electronic device and storage medium
CN110958353B (en) * 2019-11-29 2024-05-03 深圳传音控股股份有限公司 Terminal charging method, electronic device and storage medium
WO2021114699A1 (en) * 2019-12-13 2021-06-17 Tcl通讯(宁波)有限公司 Signal strength reporting method and apparatus, storage medium and terminal device
CN115421820A (en) * 2022-11-03 2022-12-02 深圳市江元智造科技有限公司 Automatic cleaning method and system based on android application and readable storage medium

Similar Documents

Publication Publication Date Title
CN105760229A (en) Method and device for cleaning backstage running programs and mobile terminal
CN103324500B (en) A kind of method and device reclaiming internal memory
CN104221445B (en) A kind of method and terminal waking up terminal system
CN105700922A (en) Method and device for automatically cleaning memory when charging is carried out and mobile terminal
CN101882092B (en) Management method and device for application program
CN106060909B (en) A kind of method for connecting network and mobile terminal
CN102651785A (en) Remote wakeup of application processor of mobile device
CN101859261A (en) Control method and control equipment for releasing memory
CN106020415B (en) Application control method and device under smart machine standby mode
CN112165140B (en) Charging and discharging control method and device and power supply equipment
CN106292998A (en) The management method of a kind of running background program and terminal
CN104503828A (en) Process management method and terminal
CN101431241A (en) Method and apparatus for charging dual-core mobile phone in power-off state and processing power-on problem caused by charging
CN102594999A (en) Method and system for performing adaptive mobile phone energy conservation through face identification
CN104092822A (en) Mobile phone state switching method and system based on face detection and eyeball tracking
CN106455016A (en) Method for controlling mobile terminal, and mobile terminal
CN103067570A (en) Mobile phone, processing method and processing system based on mobile phone and call floating window display
CN109753348A (en) The management-control method and terminal of background application
CN106095492A (en) The method for closing of a kind of application program and device
CN103902011A (en) Electronic device controlling method and electronic device
CN106200866B (en) A kind of application freezing method and mobile terminal
CN110429678A (en) Mobile terminal method of supplying power to, system, storage medium and mobile terminal
CN107104478A (en) A kind of information processing method and electronic equipment
CN106445516B (en) External wireless network card drive loading method and device
CN106502558A (en) Terminal device and its method of operating and operation device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160622

RJ01 Rejection of invention patent application after publication