CN104731302A - Power-saving operation method and power-saving operation system of mobile terminal - Google Patents

Power-saving operation method and power-saving operation system of mobile terminal Download PDF

Info

Publication number
CN104731302A
CN104731302A CN201310714717.8A CN201310714717A CN104731302A CN 104731302 A CN104731302 A CN 104731302A CN 201310714717 A CN201310714717 A CN 201310714717A CN 104731302 A CN104731302 A CN 104731302A
Authority
CN
China
Prior art keywords
application program
mobile terminal
described application
server end
need
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
CN201310714717.8A
Other languages
Chinese (zh)
Other versions
CN104731302B (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.)
Shell Internet Beijing Security Technology Co Ltd
Original Assignee
Shell Internet Beijing Security 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 Shell Internet Beijing Security Technology Co Ltd filed Critical Shell Internet Beijing Security Technology Co Ltd
Priority to CN201310714717.8A priority Critical patent/CN104731302B/en
Publication of CN104731302A publication Critical patent/CN104731302A/en
Application granted granted Critical
Publication of CN104731302B publication Critical patent/CN104731302B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Stored Programmes (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

An embodiment of the invention discloses a power-saving operation method and a power-saving operation system of a mobile terminal and relates to the technical field of mobile terminal power saving, aiming to be capable of achieving power-saving operation of users. The power-saving operation method of the mobile terminal includes confirming whether or not an application program is converted from foreground running to background running; if yes, clearing the application program automatically. The power-saving operation system of the mobile terminal comprises a monitoring unit and a processing unit, wherein the monitoring unit is used for confirming whether or not the application program is converted from foreground running to background running, and the processing unit is used for clearing the application program automatically when the application program is confirmed to be converted from foreground running to background running. The power-saving operation method and the power-saving operation system are applicable to power-saving operation of the mobile terminal.

Description

A kind of method and system of electricity saving of mobile terminal operation
Technical field
The present invention relates to electricity saving of mobile terminal technical field, particularly relate to the method and system of a kind of electricity saving of mobile terminal operation.
Background technology
Along with popularizing of the mobile terminal such as mobile phone and panel computer, the use of Android system is more and more extensive.And to regenerate along with the continuous renewal of hardware, the power consumption problem that the mobile device of Android system is housed highlights out gradually.Analyze according to the power consumption of mobile terminal as mobile phone, finding that there is very most mobile phone power consumption is unnecessary in fact.These power consumptions also at running background, can take central processing unit, internal memory etc. hardware device, cause electric quantity consumption when user does not use mainly due to application program.And these consumption are nonsensical to user.
For the process of the application program of power consumption in mobile terminal, current common way is a key cleaning, namely after using some application program, is manually cleaned out by user.Still can in backstage power consumption after application program can be avoided in this way to use, but this mode uses inconvenience.User manually must click a key cleaning at every turn and close application program, uses and bothers very much.If user forgets, then cannot normally power saving.
Summary of the invention
In view of this, the method and system that the embodiment of the present invention provides a kind of electricity saving of mobile terminal to operate, effectively can reduce the power-save operation of user.
On the one hand, a kind of method that the embodiment of the present invention provides electricity saving of mobile terminal to operate, comprising:
Determine whether application program transfers running background to from front stage operation;
When determining that described application program transfers running background to from front stage operation, then Automatic clearance is carried out to described application program.
The method of a kind of electricity saving of mobile terminal operation of the embodiment of the present invention, can determine whether application program transfers running background to from front stage operation, when determining that described application program transfers running background to from front stage operation, then Automatic clearance is carried out to described application program, do not need user's manual operation, effectively can reduce the power-save operation of user thus, can also avoid simultaneously the mobile terminal power consumption caused because of forgeing of user need not increase.
On the other hand, the system that the embodiment of the present invention provides a kind of electricity saving of mobile terminal to operate, comprising:
Monitoring means, for determining whether application program transfers running background to from front stage operation;
Processing unit, for when determining that described application program transfers running background to from front stage operation, carries out Automatic clearance to described application program.
The system of a kind of electricity saving of mobile terminal operation of the embodiment of the present invention, whether running background can be transferred to from front stage operation by monitoring means determination application program, when determining that described application program transfers running background to from front stage operation, processing unit then carries out Automatic clearance to described application program, do not need user's manual operation, effectively can reduce the power-save operation of user thus, can also avoid simultaneously the mobile terminal power consumption caused because of forgeing of user need not increase.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art 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 prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of method one embodiment of electricity saving of mobile terminal of the present invention operation;
Fig. 2 is a schematic flow sheet of S1 in Fig. 1;
Fig. 3 is another schematic flow sheet of S1 in Fig. 1;
Fig. 4 is the schematic flow sheet of another embodiment of method of electricity saving of mobile terminal of the present invention operation;
Fig. 5 is a schematic flow sheet of S133 in Fig. 4;
Fig. 6 is the schematic flow sheet of another embodiment of method of electricity saving of mobile terminal of the present invention operation;
Fig. 7 is a schematic flow sheet of S2 in Fig. 1;
Fig. 8 is the frame structure schematic diagram of system one embodiment of electricity saving of mobile terminal of the present invention operation;
Fig. 9 is the frame structure schematic diagram of another embodiment of system of electricity saving of mobile terminal of the present invention operation;
Figure 10 is the frame structure schematic diagram applying judgment sub-unit one embodiment in Fig. 9;
Figure 11 is the frame structure schematic diagram applying another embodiment of judgment sub-unit in Fig. 9;
Figure 12 is the frame structure schematic diagram inquiring about submodule one embodiment in Figure 11;
Figure 13 is the frame structure schematic diagram of the another embodiment of system of electricity saving of mobile terminal of the present invention operation;
Figure 14 is the frame structure schematic diagram of the system embodiment again of electricity saving of mobile terminal of the present invention operation;
Figure 15 is the frame structure schematic diagram of Automatic clearance subelement one embodiment in Fig. 9.
Embodiment
Be described in detail below in conjunction with the method and system of accompanying drawing to a kind of electricity saving of mobile terminal operation of the embodiment of the present invention.
Should be clear and definite, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Referring to Fig. 1, a kind of method that the embodiment of the present invention provides electricity saving of mobile terminal to operate, comprising:
S1, determine whether application program transfers running background to from front stage operation;
S2, when determining that described application program transfers running background to from front stage operation, then Automatic clearance is carried out to described application program.
The method of a kind of electricity saving of mobile terminal operation of the embodiment of the present invention, can determine whether application program transfers running background to from front stage operation, when determining that described application program transfers running background to from front stage operation, then Automatic clearance is carried out to described application program, do not need user's manual operation, effectively can reduce the power-save operation of user thus, can also avoid simultaneously the mobile terminal power consumption caused because of forgeing of user need not increase.
Referring to Fig. 2, in method one embodiment of a kind of electricity saving of mobile terminal of the present invention operation, describedly determine whether application program transfers running background (S1) to from front stage operation and can comprise:
S11, every after a while, obtained the application program of the stack top of current active storehouse by system application DLL (dynamic link library);
S12, the application program of stack top of current active storehouse that will obtain, compare with the application program of the stack top of the active stack obtained before, if the described application program of current acquisition is different from the described application program obtained before, then the described application program obtained before thinking transfers running background to.
By creating separately a process, this process is every after a while, if 5S is by system application DLL (dynamic link library) (Application Programming Interface, API) current active (Activity) storehouse is obtained, and obtaining the application of storehouse stack top, the application of this storehouse stack top is foreground application.
Referring to Fig. 3, in method one embodiment of electricity saving of mobile terminal operation of the present invention, in order to improve the accuracy of cleaning, prevent from impacting the application of mobile terminal because clearing up improper, preferably, when determining that described application program transfers running background to from front stage operation, comprised before described application program being carried out to Automatic clearance (S2):
S13, judge that whether described application program is need cleaned application program;
If S14 determines that described application program needs cleaned application program, then, when described application program transfers running background to from front stage operation, Automatic clearance is carried out to described application program.
Referring to Fig. 4, alternatively, describedly judge that whether described application program is need cleaned application program (S13) to comprise:
S131, judge whether described application program is system application;
If the described application program of S132 is system application, then determine that described application program is not need cleaned application program.
If this application program is system application, then may there is counter productive in cleaning, so first can carry out the judgement of application program kind when clearing up, remakes cleaning after first filtering out system application.
After filtering out system application, can directly clear up, to obtain good power saving effect.But, because the normal running status of some application program needs to keep background process, if cleared up this kind of application program, then this kind of application program may be caused normally to use.
Therefore, in order to not affect the normal use of user to this kind of application program, referring to Fig. 4, in method one embodiment of electricity saving of mobile terminal operation of the present invention, preferably, describedly judge that whether described application program is need cleaned application program (S13) to comprise:
If S133 judges that described application program is not system application, then according to the attribute list of the application program of preserving in advance, judge whether described application program is need cleaned application program; Wherein, in the attribute list of described application program, at least include the mark of described application program, and described application program resides the mark that could normally run the need of background process.
The attribute of described application program, locates to obtain by application program operator, or is obtained by the use operation of application programs.Table one exemplarily gives a kind of attribute list of application program.
Table one:
Application sequence number Apply Names Application identities accords with Whether there is background process The need of background process
1 Electric torch com.shoudiantong Have Do not need
2 Music player com.backmusic Have Need
In upper table, Apply Names is the name of application program, and application identities symbol is the mark of application program, usually represents by application package name.Whether there is background process to represent this application program and whether can have process on backstage.Whether the background process representing this application program the need of background process is that application program is normally run necessary.
As above the application program 1 in table, it has background process, but this application program does not need, and background process is resident could normally be run.Now the background process of this application program can cause the extra consumes power of user.And application program 2, its background process can play music to allow user on backstage, if cleaning can cause Background music function unavailable.
The form of content by database can be preserved, as preserved in the client of cleaning tool in the terminal, find certain nonsystematic application program proceeded to backstage can according on table in data carry out intelligence clear up, as above the application program 1 in table proceeds to backstage, then clear up this application program immediately.If application program 2 proceeds to backstage, then it is not cleared up.
Following table exemplarily gives the attribute list of another kind of application program.
Table two:
Application sequence number Apply Names Application identities accords with MD5 Whether there is background process The need of background process
1 Electric torch com.shoudiantong …… Have Do not need
2 Music player com.backmusic …… Have Need
The informative abstract of described application program is also included, as MD5(Message Digest Algorithm5, message digest algorithm the 5th edition in table two) value, this value can ensure that the bag in the bag of user and database is completely the same, can not produce erroneous judgement.
In method one embodiment of electricity saving of mobile terminal operation of the present invention, the attribute list of the application program that described basis is preserved in advance, judge whether described application program is need cleaned application program (S133) to comprise: the attribute list inquiring about the application program being kept at this locality in advance or be kept at server end in advance, judge in described attribute list, whether have described application program to need background process to reside the mark that could normally run, if without this mark, then determine that described application program needs cleaned application program.
The attribute list of described application program can be kept at this locality in advance.In order to the dirigibility that the attribute information strengthening described application program is preserved, and the space of mobile terminal shared by saving, the attribute information that server end stores application program can be optimized for, by the mode of client real-time query.Referring to Fig. 5, when the attribute list of described application program is kept at server end, described inquiry is kept at the attribute list of the application program of server end in advance, judges that whether having described application program to need background process to reside in described attribute list could the normal mark run comprise:
S1331, report the identification information of described application program to server end; Wherein said identification information comprises the mark of described application program, or described identification information comprises the mark of described application program and the informative abstract of described application program;
S1332, reception server end carry out inquiring about the rear Query Result returned according to the attribute list of described identification information to the application program being kept at server end in advance; Wherein, include described application program in described Query Result and reside the information that could normally run the need of background process.
Above table is kept at server end with the form of database, when client terminal to discover money application program prepares to process time, then reports mark and the MD5 value of this application program.Now server end is according to the information in these data query servers, and returns to client query result.Client can process for returning results.
Referring to Fig. 5, in order to save customer flow, the embodiment of the method for described electricity saving of mobile terminal operation, can also comprise:
S1333, after receiving the described Query Result that described server end returns, described Query Result is kept at this locality.Like this, client query after receiving result, can retain the information of this application program to servers' data in this locality.If again find this application program, then use local data of preserving to process, avoid repeating inquiry.
Referring to Fig. 6, in method one embodiment of electricity saving of mobile terminal operation of the present invention, can comprise:
S01, could normally to run to the local mounted application program of server end inquiry the need of background process is resident in advance;
S02, reception server end carry out inquiring about the rear Query Result returned to the described attribute list being kept at server end in advance; Wherein, include described application program in described Query Result and reside the information that could normally run the need of background process;
S03, described Query Result is kept at this locality;
S04, determine whether application program transfers running background to from front stage operation;
S05, when determining that described application program transfers running background to from front stage operation, local according to being kept at
Described Query Result, determines whether described application program is need cleaned application program;
If S06 determines that described application program needs cleaned application program, then Automatic clearance is carried out to described application program.
In the present embodiment, the described attribute information of the local all application programs of user can be kept in advance at server end, and in advance the described attribute information that server end is preserved is inquired about, during as just run, just going server end to inquire about the attribute information of local all application programs, and Query Result is kept at this locality, like this when certain application program is proceeded to backstage by user, the local described attribute information having had this application program, without the need to going server end to inquire about again, can increase the efficiency of process.
In another embodiment of method of electricity saving of mobile terminal operation of the present invention, after new application program is installed in this locality, the application program of described new installation can be inquired about the need of the normal operation of the resident ability of background process to server end; Reception server end carries out inquiring about the rear Query Result returned to the described attribute list being kept at server end in advance; Wherein, the application program including described new installation in described Query Result resides the information that could normally run the need of background process; Described Query Result is kept at this locality.
Like this when the application program of this new installation is proceeded to backstage by user, the local described attribute information having had the application program of this new installation, inquiring about without the need to arriving server end again, can increase the efficiency of process.
In the aforementioned embodiment, when could normally run to the local mounted application program of server end inquiry the need of background process is resident in advance, if described attribute that is some or certain several application program is not kept at server end in advance, then eject inquiry session frame to user, whether inquiry user agrees to clean out described some or certain several application program; If user selects to agree to cleaning, then the data of described some or certain several application program (as the mark of application program and/or MD5 value etc.) are reported to server end; Server end judges according to the described data of reporting of user, if the user being greater than predetermined threshold (as 80%) agrees to clear up this some or certain several application program, then or certain several application program increase some to this does not need the mark of background process automatically, otherwise then increases the mark needing background process.
In order to improve the accuracy of server intelligent decision, can set when the data volume of the same a application program that client reports is enough large, as more than 10000, just server intelligent judgment function can come into force.
Referring to Fig. 7, in method one embodiment of electricity saving of mobile terminal of the present invention operation, describedly Automatic clearance (S2) carried out to described application program comprise:
The administration authority of S21, acquisition mobile terminal operating system; Wherein, described operating system is Android operation system;
S22, started the class libraries collection be pre-created by system process (app_process), i.e. jar bag;
The entrance function that S23, described class libraries are concentrated, the activity to mobile terminal operating system is forced to stop function (activityManagerNative.forceStopPackage ()) to import the bag name parameter of the program process that will clear up into;
Movable pressure described in the execution function call that S24, described class libraries are concentrated stops function, clears up in the internal memory of mobile terminal operating system to the process of described application program.
Referring to Fig. 8, the system that the embodiment of the present invention also provides a kind of electricity saving of mobile terminal to operate, comprising: monitoring means 1, for determining whether application program transfers running background to from front stage operation; Processing unit 2, for when determining that described application program transfers running background to from front stage operation, carries out Automatic clearance to described application program.
The system of a kind of electricity saving of mobile terminal operation of the embodiment of the present invention, can determine whether application program transfers running background to from front stage operation by monitoring means 1, when determining that described application program transfers running background to from front stage operation, processing unit 2 carries out Automatic clearance to described application program, do not need user's manual operation, effectively can reduce the power-save operation of user thus, can also avoid simultaneously the mobile terminal power consumption caused because of forgeing of user need not increase.
Referring to Fig. 9, system one embodiment of electricity saving of mobile terminal operation of the present invention, described monitoring means 1 can comprise: first obtains subelement 11, for often after a while, is obtained the application program of the stack top of current active storehouse by system application DLL (dynamic link library); First compares subelement 12, for obtaining the application program of the stack top of the current active storehouse that subelement obtains by described first, compare with the application program of the stack top of the active stack obtained before, if the described application program of current acquisition is different from the described application program obtained before, then the described application program obtained before thinking transfers running background to.
By creating separately a process, this process is every after a while, if 5S is by system application DLL (dynamic link library) (Application Programming Interface, API) current active (Activity) storehouse is obtained, and obtaining the application program of storehouse stack top, the application program of this storehouse stack top is foreground application.
In order to improve the accuracy of cleaning, prevent from impacting the application of mobile terminal because clearing up improper, referring to Fig. 9, system one embodiment of electricity saving of mobile terminal operation of the present invention, described processing unit 2 comprises: application judgment sub-unit 21, for before carrying out Automatic clearance to described application program, judge whether described application program is need cleaned application program; Automatic clearance subelement 22, if for determining that described application program needs cleaned application program, then, when described application program transfers running background to from front stage operation, carry out Automatic clearance to described application program.
Referring to Figure 10, system one embodiment of electricity saving of mobile terminal operation of the present invention, described application judgment sub-unit 21 can comprise: the first judge module 211, for judging whether described application program is system application, if described application program is system application, then determine that described application program is not need cleaned application program.
If this application program is system application, then may there is counter productive in cleaning, so first can carry out the judgement of application program kind when clearing up, remakes cleaning after first filtering out system application.
After filtering out system application, can directly clear up, to obtain good power saving effect.But, because the normal running status of some application program needs to keep background process, if cleared up this kind of application program, then this kind of application program may be caused normally to use.
Therefore, in order to not affect the normal use of user to this kind of application program, referring to Figure 10, another embodiment of system of electricity saving of mobile terminal operation of the present invention, described application judgment sub-unit 21 can also comprise: the first memory module 212, be positioned at this locality and/or server end, for preserving the attribute list of application program; Wherein, in the attribute list of described application program, at least include the mark of described application program, and described application program resides the mark that could normally run the need of background process; Second judge module 213, for when described first judge module determines that described application program is not system application, the attribute list of the application program of then preserving in advance according to described first memory module, judges whether described application program is need cleaned application program.
The attribute of described application program, locates to obtain by application program operator, or is obtained by the use operation of application programs, and its structure can referring to shown in aforementioned table one.
In order to when clearing up, avoid the erroneous judgement of application programs, referring to shown in aforementioned table two, in the system embodiment of aforementioned mobile terminal power-save operation, in the attribute list of the described application program of preserving in described first memory module, can also include the informative abstract of described application program.As MD5(Message Digest Algorithm5, message digest algorithm the 5th edition) value, this value can ensure that the bag in the bag of user and database is completely the same, can not produce erroneous judgement.
Referring to Figure 11, in the system embodiment of aforementioned mobile terminal power-save operation, the system of described electricity saving of mobile terminal operation, described second judge module 213 can comprise: inquiry submodule 2131, for inquiring about the attribute list of the described application program be kept in advance in described first sub module stored; Judge submodule 2132, for the Query Result according to described inquiry submodule, judge in described attribute list, whether have described application program to need background process to reside the mark that could normally run, if without this mark, then determine that described application program needs cleaned application program.
Described first memory module 212, can this locality be positioned at, in order to the dirigibility that the attribute information strengthening described application program is preserved, and the space of mobile terminal shared by saving, can be optimized for and described first memory module 212 is arranged on server end, by the mode of client real-time query.When described first memory module 212 is arranged on server end, referring to Figure 12, in the system embodiment of aforementioned mobile terminal power-save operation, described inquiry submodule 2131 comprises: identification-information reporting assembly 21311, for reporting the identification information of described application program to server end; Wherein said identification information comprises the mark of described application program, or described identification information comprises the mark of described application program and the informative abstract of described application program; Receiving unit 21312, carries out inquiring about the rear Query Result returned according to the attribute list of described identification information to the application program being kept at server end in advance for reception server end; Wherein, include described application program in described Query Result and reside the information that could normally run the need of background process.
In time finding that certain application program prepares to process, identification-information reporting assembly 21311 reports the mark of this application program, or reports mark and the MD5 value of this application program.Now server end is according to the information in these data query servers, and returns to client query result.Processing unit 2 can return results and process according to receiving unit 21312 introduction.
In order to save customer flow, the system embodiment of aforementioned mobile terminal power-save operation, described inquiry submodule 2131 can also comprise: storer 21313, is positioned at this locality, for preserving the described Query Result that described receiving unit 21312 receives.
Like this, inquiry submodule 2131 inquires servers' data and after receiving result, can retain the information of this application program in this locality.If again find this application program, then use local data of preserving to process, avoid repeating inquiry.
Referring to Figure 13, the another embodiment of system of electricity saving of mobile terminal operation of the present invention, except comprising described monitoring means 1 and processing unit 2, can also comprise: the second storage unit 3, is positioned at server end, for storing the attribute list of application program; Wherein, in the attribute list of described application program, at least include the mark of described application program, and described application program resides the mark that could normally run the need of background process; Query unit 4, for could normally running to the local mounted application program of server end inquiry the need of background process is resident in advance, and the Query Result that reception server end returns according to described inquiry; Wherein, include described application program in described Query Result and reside the information that could normally run the need of background process; 3rd storage unit 5, is positioned at this locality, for described Query Result is kept at this locality.
In the present embodiment, the described attribute information of the local all application programs of user can be kept in advance in the second storage unit 3 being arranged in server end, and in advance the described attribute information preserved in described second storage unit 3 is inquired about by query unit 4, during as just run, just server end is gone to inquire about the described attribute information preserved in described second storage unit 3 by query unit 4, and the Query Result that reception server end returns, 3rd storage unit 5, is kept at this locality by described Query Result.Like this when certain application program is proceeded to backstage by user, the local described attribute information having had this application program, without the need to going server end to inquire about again, can increase the efficiency of process.
Referring to Figure 14, in system one embodiment of electricity saving of mobile terminal operation of the present invention, can also comprise: Tip element 6, for when described query unit is inquired about, if described attribute that is some or certain several application program is not kept at server end in advance, then eject inquiry session frame to user, whether inquiry user agrees to clean out described some or certain several application program; Data report unit 7, if select to agree to cleaning for user, then described data that are some or certain several application program are reported to server end; Lookup protocol unit 8, be located at server end, judge for the described data according to reporting of user, if the user being greater than predetermined threshold agrees to clear up this some or certain several application program, then or certain several application program increase some to this does not need the mark of background process automatically, otherwise then increases the mark needing background process.
In the system embodiment of aforementioned mobile terminal power-save operation, described query unit 4, after being also used in the new application program of local installation, the application program that the second storage unit 3 to server end inquires about described new installation could normally be run the need of background process is resident, and the Query Result that reception server end returns, this Query Result is kept at this locality by the 3rd storage unit 5.Like this when the application program of this new installation is proceeded to backstage by user, the local described attribute information having had the application program of this new installation, inquiring about without the need to arriving server end again, can increase the efficiency of process.
Referring to Figure 15, system one embodiment of electricity saving of mobile terminal operation of the present invention, described Automatic clearance subelement 22 comprises: authority acquiring module 221, for obtaining the administration authority of mobile terminal operating system; Wherein, described operating system is Android operation system; Class libraries collection module 222, for importing the bag name parameter of the program process that will clear up into the activityManagerNative.forceStopPackage () (movable pressure stops function) of mobile terminal operating system, and call described activityManagerNative.forceStopPackage (), in the internal memory of mobile terminal operating system, the process of described application program is cleared up.
Wherein, described class libraries collection module 222 can be the jar bag be pre-created.
The method and system of a kind of electricity saving of mobile terminal operation of inventive embodiments can be applicable to the mobile terminal that Android operation system is housed, but the present invention is not limited thereto, and are also applicable to the mobile terminal that other operating systems are housed.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (26)

1. a method for electricity saving of mobile terminal operation, is characterized in that, comprising:
Determine whether application program transfers running background to from front stage operation;
When determining that described application program transfers running background to from front stage operation, then Automatic clearance is carried out to described application program.
2. the method for electricity saving of mobile terminal according to claim 1 operation, is characterized in that, describedly determines whether application program transfers running background to from front stage operation and comprise:
Often after a while, the application program of the stack top of current active storehouse is obtained by system application DLL (dynamic link library);
By the application program of the stack top of the current active storehouse of acquisition, compare with the application program of the stack top of the active stack obtained before, if the described application program of current acquisition is different from the described application program obtained before, then the described application program obtained before thinking transfers running background to.
3. the method for electricity saving of mobile terminal according to claim 1 operation, is characterized in that, comprised before carrying out Automatic clearance to described application program: judge that whether described application program is the cleaned application programs of needs;
If determine, described application program needs cleaned application program, then, when described application program transfers running background to from front stage operation, carry out Automatic clearance to described application program.
4. the method for electricity saving of mobile terminal according to claim 2 operation, is characterized in that, describedly judges whether described application program is need cleaned application program to comprise:
Judge whether described application program is system application, if described application program is system application, then determine that described application program is not need cleaned application program.
5. the method for electricity saving of mobile terminal operation according to claim 4, it is characterized in that, if judge, described application program is not system application, then according to the attribute list of the application program of preserving in advance, judge whether described application program is need cleaned application program;
Wherein, in the attribute list of described application program, at least include the mark of described application program, and described application program resides the mark that could normally run the need of background process.
6. the method for electricity saving of mobile terminal operation according to claim 5, is characterized in that, also include the informative abstract of described application program in the attribute list of described application program.
7. the method for the electricity saving of mobile terminal operation according to claim 5 or 6, is characterized in that, the attribute list of the application program that described basis is preserved in advance, judges whether described application program is need cleaned application program to comprise:
Inquire about the attribute list of the application program being kept at this locality in advance or be kept at server end in advance, judge in described attribute list, whether have described application program to need background process to reside the mark that could normally run, if without this mark, then determine that described application program needs cleaned application program.
8. the method for electricity saving of mobile terminal operation according to claim 7, it is characterized in that, described inquiry is kept at the attribute list of the application program of server end in advance, judges that whether having described application program to need background process to reside in described attribute list could the normal mark run comprise:
The identification information of described application program is reported to server end; Wherein said identification information comprises the mark of described application program, or described identification information comprises the mark of described application program and the informative abstract of described application program;
Reception server end carries out inquiring about the rear Query Result returned according to the attribute list of described identification information to the application program being kept at server end in advance; Wherein, include described application program in described Query Result and reside the information that could normally run the need of background process.
9. the method for electricity saving of mobile terminal according to claim 8 operation, is characterized in that, also comprise: after receiving the described Query Result that described server end returns, described Query Result is kept at this locality.
10. the method for electricity saving of mobile terminal according to claim 1 operation, is characterized in that, before determining that whether application program transfers running background to from front stage operation, comprising:
Could normally run to the local mounted application program of server end inquiry the need of background process is resident in advance;
Reception server end carries out inquiring about the rear Query Result returned to the described attribute list being kept at server end in advance; Wherein, include described application program in described Query Result and reside the information that could normally run the need of background process;
Described Query Result is kept at this locality;
When determining that described application program transfers running background to from front stage operation, according to being kept at described in this locality
Query Result, determines whether described application program is need cleaned application program;
If determine, described application program needs cleaned application program, then carry out Automatic clearance to described application program.
The method of 11. electricity saving of mobile terminal operations according to claim 10, is characterized in that, after new application program is installed in this locality, the application program to the described new installation of server end inquiry could normally be run the need of background process is resident;
Reception server end carries out inquiring about the rear Query Result returned to the described attribute list being kept at server end in advance; Wherein, the application program including described new installation in described Query Result resides the information that could normally run the need of background process;
Described Query Result is kept at this locality.
The method of 12. electricity saving of mobile terminal operations according to claim 10, is characterized in that,
When could normally run to the local mounted application program of server end inquiry the need of background process is resident in advance, if described attribute that is some or certain several application program is not kept at server end in advance, then eject inquiry session frame to user, whether inquiry user agrees to clean out described some or certain several application program;
If user selects to agree to cleaning, then described data that are some or certain several application program are reported to server end;
Server end judges according to the described data of reporting of user, if the user being greater than predetermined threshold agrees to clear up this some or certain several application program, then or certain several application program increase some to this does not need the mark of background process automatically, otherwise then increases the mark needing background process.
13. according to claim 1 to 6,8, the method for electricity saving of mobile terminal operation described in any one of 9-12, it is characterized in that, describedly Automatic clearance is carried out to described application program comprise:
Obtain the administration authority of mobile terminal operating system; Wherein, described operating system is Android operation system;
The class libraries collection be pre-created is started by system process;
The entrance function that described class libraries is concentrated, the activity to mobile terminal operating system is forced to stop function importing the bag name parameter of the program process that will clear up into;
Movable pressure described in the execution function call that described class libraries is concentrated stops function, clears up in the internal memory of mobile terminal operating system to the process of described application program.
The system of 14. 1 kinds of electricity saving of mobile terminal operations, is characterized in that, comprising:
Monitoring means, for determining whether application program transfers running background to from front stage operation;
Processing unit, for when determining that described application program transfers running background to from front stage operation, carries out Automatic clearance to described application program.
The system of 15. electricity saving of mobile terminal operations according to claim 14, it is characterized in that, described monitoring means comprises:
First obtains subelement, for often after a while, is obtained the application program of the stack top of current active storehouse by system application DLL (dynamic link library);
First compares subelement, for obtaining the application program of the stack top of the current active storehouse that subelement obtains by described first, compare with the application program of the stack top of the active stack obtained before, if the described application program of current acquisition is different from the described application program obtained before, then the described application program obtained before thinking transfers running background to.
The system of 16. electricity saving of mobile terminal operations according to claim 14, it is characterized in that, described processing unit comprises:
Application judgment sub-unit, for before carrying out Automatic clearance to described application program, judges whether described application program is need cleaned application program;
Automatic clearance subelement, if for determining that described application program needs cleaned application program, then, when described application program transfers running background to from front stage operation, carry out Automatic clearance to described application program.
The system of 17. electricity saving of mobile terminal operations according to claim 16, it is characterized in that, described application judgment sub-unit comprises:
First judge module, for judging whether described application program is system application, if described application program is system application, then determines that described application program is not need cleaned application program.
The system of 18. electricity saving of mobile terminal operations according to claim 17, it is characterized in that, described application judgment sub-unit also comprises:
First memory module, is positioned at this locality and/or server end, for preserving the attribute list of application program; Wherein, in the attribute list of described application program, at least include the mark of described application program, and described application program resides the mark that could normally run the need of background process.
Second judge module, for when described first judge module determines that described application program is not system application, the attribute list of the application program of then preserving in advance according to described first memory module, judges whether described application program is need cleaned application program.
The system of 19. electricity saving of mobile terminal operations according to claim 18, is characterized in that, also include the informative abstract of described application program in the attribute list of the described application program of preserving in described first memory module.
20. according to claim 18 or 19 electricity saving of mobile terminal operation system, it is characterized in that, described second judge module comprises:
Inquiry submodule, for inquiring about the attribute list of the described application program be kept in advance in described first sub module stored;
Judge submodule, for the Query Result according to described inquiry submodule, judge in described attribute list, whether have described application program to need background process to reside the mark that could normally run, if without this mark, then determine that described application program needs cleaned application program.
The system of 21. electricity saving of mobile terminal operations according to claim 20, it is characterized in that, described inquiry submodule comprises:
Identification-information reporting assembly, for reporting the identification information of described application program to server end; Wherein said identification information comprises the mark of described application program, or described identification information comprises the mark of described application program and the informative abstract of described application program;
Receiving unit, carries out inquiring about the rear Query Result returned according to the attribute list of described identification information to the application program being kept at server end in advance for reception server end; Wherein, include described application program in described Query Result and reside the information that could normally run the need of background process.
The system of 22. electricity saving of mobile terminal operations according to claim 21, it is characterized in that, described inquiry submodule also comprises:
Storer, is positioned at this locality, for preserving the described Query Result that described receiving unit receives.
The system of 23. electricity saving of mobile terminal operations according to claim 14, is characterized in that, also comprise:
Second storage unit, is positioned at server end, for storing the attribute list of application program; Wherein, in the attribute list of described application program, at least include the mark of described application program, and described application program resides the mark that could normally run the need of background process;
Query unit, for could normally running to the local mounted application program of server end inquiry the need of background process is resident in advance, and the Query Result that reception server end returns according to described inquiry; Wherein, include described application program in described Query Result and reside the information that could normally run the need of background process;
3rd storage unit, is positioned at this locality, for described Query Result is kept at this locality.
The system of 24. electricity saving of mobile terminal operations according to claim 23, is characterized in that,
Described enquiry module, also for after installing new application program in this locality, the application program to the described new installation of server end inquiry could normally be run the need of background process is resident.
The system of 25. electricity saving of mobile terminal operations according to claim 23, is characterized in that,
Tip element, for when described query unit is inquired about, if described attribute that is some or certain several application program is not kept at server end in advance, then eject inquiry session frame to user, whether inquiry user agrees to clean out described some or certain several application program;
Data report unit, if select to agree to cleaning for user, then described data that are some or certain several application program are reported to server end;
Lookup protocol unit, be located at server end, judge for the described data according to reporting of user, if the user being greater than predetermined threshold agrees to clear up this some or certain several application program, then or certain several application program increase some to this does not need the mark of background process automatically, otherwise then increases the mark needing background process.
26. according to claim 16-19, any one of 21-25 electricity saving of mobile terminal operation system, it is characterized in that, described Automatic clearance subelement comprises:
Authority acquiring module, for obtaining the administration authority of mobile terminal operating system; Wherein, described operating system is Android operation system;
Class libraries collection module, for forcing to stop function importing the bag name parameter of the program process that will clear up into the activity of mobile terminal operating system, and call described activity pressure stopping function, in the internal memory of mobile terminal operating system, the process of described application program is cleared up.
CN201310714717.8A 2013-12-20 2013-12-20 A kind of method and system of electricity saving of mobile terminal operation Active CN104731302B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310714717.8A CN104731302B (en) 2013-12-20 2013-12-20 A kind of method and system of electricity saving of mobile terminal operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310714717.8A CN104731302B (en) 2013-12-20 2013-12-20 A kind of method and system of electricity saving of mobile terminal operation

Publications (2)

Publication Number Publication Date
CN104731302A true CN104731302A (en) 2015-06-24
CN104731302B CN104731302B (en) 2018-01-12

Family

ID=53455277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310714717.8A Active CN104731302B (en) 2013-12-20 2013-12-20 A kind of method and system of electricity saving of mobile terminal operation

Country Status (1)

Country Link
CN (1) CN104731302B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105068867A (en) * 2015-08-21 2015-11-18 广东欧珀移动通信有限公司 Screen locking method and apparatus
CN105511965A (en) * 2015-12-01 2016-04-20 上海斐讯数据通信技术有限公司 Optimization method and system of current interface application program
CN105653323A (en) * 2015-12-28 2016-06-08 小米科技有限责任公司 Application program management method and device
CN105868624A (en) * 2016-03-23 2016-08-17 北京小米移动软件有限公司 Application program authority management method and device
CN106201683A (en) * 2016-06-30 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of manage the method for application, device and terminal
CN106250222A (en) * 2016-07-28 2016-12-21 北京金山安全软件有限公司 Method and device for managing application program and electronic equipment
CN106371481A (en) * 2015-07-21 2017-02-01 中兴通讯股份有限公司 Terminal energy-saving management method and apparatus, and terminal
CN106372502A (en) * 2016-08-23 2017-02-01 广东欧珀移动通信有限公司 Application closure limiting method and apparatus, and terminal
CN106662907A (en) * 2015-10-29 2017-05-10 华为技术有限公司 Terminal based wake-up lock control method, device and terminal
CN106708501A (en) * 2016-10-25 2017-05-24 腾讯科技(深圳)有限公司 Activity monitoring method and device
CN106909407A (en) * 2015-12-23 2017-06-30 北京金山安全软件有限公司 Background application program closing method and device and terminal
CN107436805A (en) * 2016-05-27 2017-12-05 宇龙计算机通信科技(深圳)有限公司 A kind of method and device for freezing application
WO2018018690A1 (en) * 2016-07-28 2018-02-01 宇龙计算机通信科技(深圳)有限公司 Process clearing method and mobile terminal
CN108268116A (en) * 2017-01-03 2018-07-10 中兴通讯股份有限公司 A kind of method, device and mobile terminal for solving mobile terminal exception power consumption

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101859261A (en) * 2010-06-09 2010-10-13 中兴通讯股份有限公司 Control method and control equipment for releasing memory
CN102866908A (en) * 2012-07-25 2013-01-09 广东欧珀移动通信有限公司 Method for cleaning Android background applications and services
CN102946486A (en) * 2012-11-20 2013-02-27 惠州Tcl移动通信有限公司 Background application automatic clearing method based on mobile phone and mobile phone
US20130162198A1 (en) * 2011-12-27 2013-06-27 Kabushiki Kaisha Toshiba Information processing apparatus and control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101859261A (en) * 2010-06-09 2010-10-13 中兴通讯股份有限公司 Control method and control equipment for releasing memory
US20130162198A1 (en) * 2011-12-27 2013-06-27 Kabushiki Kaisha Toshiba Information processing apparatus and control method
CN102866908A (en) * 2012-07-25 2013-01-09 广东欧珀移动通信有限公司 Method for cleaning Android background applications and services
CN102946486A (en) * 2012-11-20 2013-02-27 惠州Tcl移动通信有限公司 Background application automatic clearing method based on mobile phone and mobile phone

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371481A (en) * 2015-07-21 2017-02-01 中兴通讯股份有限公司 Terminal energy-saving management method and apparatus, and terminal
CN105068867A (en) * 2015-08-21 2015-11-18 广东欧珀移动通信有限公司 Screen locking method and apparatus
CN106662907A (en) * 2015-10-29 2017-05-10 华为技术有限公司 Terminal based wake-up lock control method, device and terminal
US10788881B2 (en) 2015-10-29 2020-09-29 Huawei Technologies Co., Ltd. Terminal-based wakelock control method and apparatus and terminal
CN106662907B (en) * 2015-10-29 2019-10-22 华为技术有限公司 Wake-up lock control method, device and terminal based on terminal
CN105511965A (en) * 2015-12-01 2016-04-20 上海斐讯数据通信技术有限公司 Optimization method and system of current interface application program
CN106909407B (en) * 2015-12-23 2020-07-03 北京金山安全软件有限公司 Background application program closing method and device and terminal
CN106909407A (en) * 2015-12-23 2017-06-30 北京金山安全软件有限公司 Background application program closing method and device and terminal
US10282561B2 (en) 2015-12-28 2019-05-07 Xiaomi Inc. Method and apparatus for managing application
CN105653323A (en) * 2015-12-28 2016-06-08 小米科技有限责任公司 Application program management method and device
CN105868624A (en) * 2016-03-23 2016-08-17 北京小米移动软件有限公司 Application program authority management method and device
CN107436805A (en) * 2016-05-27 2017-12-05 宇龙计算机通信科技(深圳)有限公司 A kind of method and device for freezing application
CN106201683A (en) * 2016-06-30 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of manage the method for application, device and terminal
WO2018018690A1 (en) * 2016-07-28 2018-02-01 宇龙计算机通信科技(深圳)有限公司 Process clearing method and mobile terminal
CN106250222A (en) * 2016-07-28 2016-12-21 北京金山安全软件有限公司 Method and device for managing application program and electronic equipment
CN106372502A (en) * 2016-08-23 2017-02-01 广东欧珀移动通信有限公司 Application closure limiting method and apparatus, and terminal
CN106372502B (en) * 2016-08-23 2019-04-16 Oppo广东移动通信有限公司 A kind of method, apparatus and terminal limiting closing application program
CN106708501A (en) * 2016-10-25 2017-05-24 腾讯科技(深圳)有限公司 Activity monitoring method and device
CN108268116A (en) * 2017-01-03 2018-07-10 中兴通讯股份有限公司 A kind of method, device and mobile terminal for solving mobile terminal exception power consumption
CN108268116B (en) * 2017-01-03 2022-06-07 中兴通讯股份有限公司 Method and device for solving abnormal power consumption of mobile terminal and mobile terminal

Also Published As

Publication number Publication date
CN104731302B (en) 2018-01-12

Similar Documents

Publication Publication Date Title
CN104731302A (en) Power-saving operation method and power-saving operation system of mobile terminal
CN102902752B (en) Method and system for monitoring log
CN104714984A (en) Database optimization method and device
CN111737023B (en) Vehicle-mounted event processing method, cloud server and computer readable storage medium
CN105677789A (en) Method and system for managing directory capacity of distributed file system
CN110063042B (en) Database fault response method and terminal thereof
CN104866296A (en) Data processing method and device
CN102254001A (en) Efficient data management method and system
CN112148779A (en) Method, device and storage medium for determining service index
CN115913872A (en) Server monitoring operation and maintenance method, device, equipment and medium
CN109558165B (en) Configuration optimization method, device, equipment and storage medium
KR20100039140A (en) Computer power saving method
US20090292742A1 (en) System, Method, and Computer Readable Media for Identifying a Log File Record in a Log File
CN114840272A (en) Multi-data-source dynamic planning and monitoring system and method
CN101510156A (en) Information system resource recovery method and device
CN104104666B (en) Method of detecting abnormal cloud service and device
CN102855297B (en) A kind of method of control data transmission and connector
CN104734896A (en) Method and system for acquiring running situations of service sub-systems
CN111614674A (en) Abnormal access behavior detection method, system, medium and equipment thereof
CN113472881B (en) Statistical method and device for online terminal equipment
CN105553717A (en) Calling center and monitoring system thereof
CN115599982A (en) Data query method and device of hybrid cloud
CN100444554C (en) Method for dynamic real time capturing logic commands input from UNIX terminal user
CN113656172A (en) Method, device and equipment for optimizing snowflake algorithm and storage medium
CN113886497A (en) Bidirectional real-time data monitoring method and 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
CB02 Change of applicant information

Address after: 100041 Beijing, Shijingshan District Xing Xing street, building 30, No. 3, building 2, A-0071

Applicant after: Beijing cheetah Mobile Technology Co., Ltd.

Address before: 100041 Beijing, Shijingshan District Xing Xing street, building 30, No. 3, building 2, A-0071

Applicant before: BEIKE INTERNET (BEIJING) SECURITY TECHNOLOGY CO., LTD.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant