CN102129287B - Mobile terminal and power supply management method for application program thereof - Google Patents

Mobile terminal and power supply management method for application program thereof Download PDF

Info

Publication number
CN102129287B
CN102129287B CN 201110064460 CN201110064460A CN102129287B CN 102129287 B CN102129287 B CN 102129287B CN 201110064460 CN201110064460 CN 201110064460 CN 201110064460 A CN201110064460 A CN 201110064460A CN 102129287 B CN102129287 B CN 102129287B
Authority
CN
China
Prior art keywords
application program
power management
state
broadcast message
switches
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN 201110064460
Other languages
Chinese (zh)
Other versions
CN102129287A (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN 201110064460 priority Critical patent/CN102129287B/en
Publication of CN102129287A publication Critical patent/CN102129287A/en
Application granted granted Critical
Publication of CN102129287B publication Critical patent/CN102129287B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a power supply management method for an application program of a mobile terminal. The method comprises the following steps of: establishing at least one power supply management strategy, and establishing an application program list corresponding to each power supply management strategy; judging whether the current running application program is in the application program list; if so, performing power supply management according to the power supply management strategy corresponding to the application program list; or otherwise, performing power supply management according to the set power supply management strategy of a system. The embodiment of the invention also discloses a mobile terminal. By adopting the method and the mobile terminal, the problem of fussy operation caused when a user needs to frequency carry out power supply management setting in the prior art is solved, the third-party application program with careless omission on the aspect of power supply management can run according to the power supply management strategy required by the user, and intelligent power supply management is realized.

Description

A kind of application program for mobile terminal method for managing power supply and portable terminal
Technical field
The present invention relates to electronic communication field, relate in particular to a kind of application program for mobile terminal method for managing power supply and a kind of portable terminal.
Background technology
Along with the continuous development of electronic science and technology, portable terminal (as mobile phone etc.) possesses increasing function, and its extensibility constantly is improved, as various application programs and recreation etc. can be installed; This application software is no longer developed by the equipment supplier, but developed by the third party, the ocr software of some novels for example, web page browsing software etc., these derive from third-party application program and have the incomplete problem of design, as aspect the power management, when the user when using third party software to read novel, screen can be adjusted screen backlight according to the Power Management Setup of acquiescence, Power Management Setup as acquiescence is through standby in ten seconds or standby in tens seconds, screen backlight will be closed, when the user did not do operation in ten seconds or tens seconds in reading process so, screen backlight can be closed because of the setting of power management, makes the user need to do the starting state that screen backlight is kept in some unnecessary actions in reading process.
In the prior art, the user can arrange longlyer by duration is closed in the standby of the screen backlight in the power management, as a few minutes or dozens of minutes, yet when this application program is closed, the system of portable terminal still adopts this Power Management Setup, make portable terminal can not reach better power saving effect, the user need be after closing application toward contact, in the Power Management Setup of system, arranging, original pattern is set back, make user's operation become loaded down with trivial details, be not easy to the user and use.
Summary of the invention
Embodiment of the invention technical matters to be solved is, a kind of application program for mobile terminal method for managing power supply and a kind of portable terminal are provided.Solve the problem that user in the prior art need frequently carry out the complex operation that Power Management Setup causes, realized the power supply smart management.
In order to solve the problems of the technologies described above, the embodiment of the invention provides a kind of application program for mobile terminal method for managing power supply, comprising:
Set up at least one power management policy, and set up each power management policy corresponding application program tabulation;
Whether the application program of judging current operation is present in described the application list;
When judged result when being, then the power management policy according to described the application list correspondence carries out power management; When judged result for not the time, then the power management policy according to system's setting carries out power management.
Wherein, the described application program of judging current operation also comprises before whether being present in step in described the application list:
Whether the generation state switches the monitoring application program;
When monitoring result when being, the state that generates described application program switches broadcast message; Described state switches broadcast message and carries the sign of described application program and the information that described application program is carried out the state switching;
Send described state to power management module and switch broadcast message, judge to trigger described power management module execution whether the application program of current operation is present in the step in described the application list.
Wherein, describedly send the step that described state switches broadcast message to power management module and be specially: before described application program completion status is switched, send described state to power management module and switch broadcast message.
Wherein, the state of described application program switch comprise following any one:
Application program switches to startup from closing;
Application program switches to time-out from startup;
Application program switches to recovery from time-out;
Application program switches to from startup and stops.
Wherein, the method for described power management also comprises: the application program during described each power management policy corresponding application program is tabulated is added and/or is deleted, and/or described power management policy is made amendment;
Described power management policy comprises following any one or combination:
Adjust the luminance parameter of screen backlight;
Adjust the standby of screen backlight and close duration;
Open and close screen and respond to rotation automatically;
The size parameter of Adjustment System volume;
The open and close system wireless connections;
Open and close system vibration sense of touch.
Correspondingly, the embodiment of the invention also discloses a kind of application program for mobile terminal electric power controller, comprising:
Set up the unit for the strategy of setting up at least one power management policy;
Set up the unit for the application list of setting up each power management policy corresponding application program tabulation;
Be used for judging whether the application program of current operation is present in the judging unit of described the application list;
Be used for when the judged result of described judging unit when being, then the power management policy according to described the application list correspondence carries out power management, and when the judged result of described judging unit when denying, then carry out the management control unit of power management according to the power management policy of system's setting;
Be used for the monitoring application program monitoring modular whether the generation state switches;
Be used for when the monitoring result of monitoring modular when being, generate the broadcast message generation module of the state switching broadcast message of described application program; Wherein, described state switching broadcast message carries the sign of described application program and the information that described application program is carried out the state switching;
Be used for sending described state to power management module and switch broadcast message, judge to trigger described power management module execution whether the application program of current operation is present in the sending module in described the application list.
Wherein, described sending module specifically is used for sending described state to described power management module before described application program completion status is switched and switches broadcast message, judges to trigger described power management module execution whether the application program of current operation is present in described the application list.
Wherein, the state of described application program switch comprise following any one:
Application program switches to startup from closing;
Application program switches to time-out from startup;
Application program switches to recovery from time-out;
Application program switches to from startup and stops.
Wherein, described application program for mobile terminal electric power controller also comprises for the application program of described each power management policy corresponding application program tabulation being added and/or delete, and/or the modification unit that described power management policy is made amendment;
Described power management policy comprises following any one or combination:
Adjust the luminance parameter of screen backlight;
Adjust the standby of screen backlight and close duration;
Open and close screen and respond to rotation automatically;
The size parameter of Adjustment System volume;
The open and close system wireless connections;
Open and close system vibration sense of touch.
Implement the embodiment of the invention, have following beneficial effect:
Switch broadcast message by the state that obtains application program, and carry out power management according to the power management policy of current application program correspondence in default the application list, solved the problem that user in the prior art need frequently carry out the complex operation that Power Management Setup causes, making has the third party application of careless omission to move according to the power management policy that the user needs aspect power management, has realized the power supply smart management; Send this state switching broadcast message by the power management module to system before switching in the application program completion status, so that power management module carries out power management in advance, so for some application programs that carry good power management policy itself, can after finishing, the state switching carry out power management according to carrying good power management policy again, the present invention can't impact the application program that self has the good electrical source control, can not hinder effective work of application program; The user can also make amendment according to the power management policy that needs the application program correspondence in the application programs tabulation of self, has further improved the power management hommization.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of application program for mobile terminal method for managing power supply first embodiment of the present invention;
Fig. 2 is the schematic flow sheet of application program for mobile terminal method for managing power supply second embodiment of the present invention;
Fig. 3 is the first use view that the applied power source management of the embodiment of the invention arranges;
Fig. 4 is the second use view that the applied power source management of the embodiment of the invention arranges;
Fig. 5 is the structural representation of first embodiment of portable terminal of the present invention;
Fig. 6 is the structural representation of second embodiment of portable terminal of the present invention;
Fig. 7 is the structural representation of the power management module of the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The schematic flow sheet of application program for mobile terminal method for managing power supply first embodiment of the present invention as shown in Figure 1 comprises:
Step S101: set up at least one power management policy, and set up each power management policy corresponding application program tabulation;
Step S102: whether the application program of judging current operation is present in described the application list;
Particularly, when judged result when being, execution in step S103 then, when judged result for not the time, execution in step S104 then.
Step S103: the power management policy according to described the application list correspondence carries out power management;
Step S104: the power management policy according to system's setting carries out power management.
Particularly, this power management policy can comprise following any one or combination: the luminance parameter of adjusting screen backlight; Adjust the standby of screen backlight and close duration; Open and close screen and respond to rotation automatically; The size parameter of Adjustment System volume; The open and close system wireless connections; Open and close system vibration sense of touch etc.Each power management policy correspondence establishes the application list, and the power management module of portable terminal carries out power management according to the power management policy of each application program correspondence in this application list; There is power management policy in the system of portable terminal also default setting, if the current application program that needs operation is in this application list the time, the power management policy that portable terminal will set according to system default automatically carries out power management.
Further, the schematic flow sheet of application program for mobile terminal method for managing power supply second embodiment of the present invention as shown in Figure 2 comprises:
Step S201: set up at least one power management policy, and set up each power management policy corresponding application program tabulation;
Step S202: whether the generation state switches the monitoring application program;
Particularly, portable terminal can be provided with scheduler module, this scheduler module can monitor automatically application program whether the generation state switch, when monitoring result when being, execution in step S203 then; When monitoring result for not the time, then continue execution in step S202.
Step S203: the state that generates described application program switches broadcast message;
Step S204: send described state to power management module and switch broadcast message;
Particularly, this state switching broadcast message carries the sign of described application program and the information that described application program is carried out the state switching; This state switches the ACTION type of broadcast message can be self-defined by the system development personnel, and the msg content of carrying can be the sign of application program (as title etc.) and the status information that is about to switch to; The state that generates described application program switches after the broadcast message and to send this state to the power management module of system and switch broadcast message, carries out power management to trigger described power management module.
Step S205: the state that obtains application program switches broadcast message, and judges according to described state switching broadcast message whether the application program of current operation is present in described the application list;
Particularly, after the application program of the power management module of portable terminal in getting access to this portable terminal carried out the state switching broadcast message of state switching, can switch the application program of the current needs operation of broadcast message perception according to this state, switch broadcast message as state and show that application A will start, portable terminal perceives that current to need the application program of operation be application A so; It is and for example current that moving is application program B, running background be application A, this state switches broadcast message and shows that application program B will close, portable terminal perceives that current to need the application program of operation be application A so; Whether the application program of judging current operation then is present in described the application list, when judged result when being, execution in step S206 then, when judged result for not the time, execution in step S207 then.
Step S206: the power management policy according to described the application list correspondence carries out power management;
Step S207: the power management policy according to system's setting carries out power management.
Need to prove, the state of the application program in the embodiment of the invention switch can comprise following any one: application program switches to startup from closing; Application program switches to time-out from startup; Application program switches to recovery from time-out; Or application program switches to from startup and stops.This state switches the information that broadcast message comprises that above-mentioned any one state switches; The life cycle of application program can be divided into 4 states, be respectively and start start, recovery resume, time-out pause and stop (or closing) stop, when application program generation state switches, switch broadcast message with producing corresponding state, so that portable terminal obtains and switch the application program of the current needs operation of broadcast message perception according to this state.
Also need to prove, for the application program in the Android Android operating system, when application program when being closed to startup, application program will be carried out start-up course earlier automatically, carry out rejuvenation then, at last operation; When application program is closed from running to, application program will be carried out the time-out process earlier automatically, close at last; Therefore, switch for the state of the application program in the Android operating system in the embodiment of the invention and can include only in following two any one: recover and from returning to time-out from closing to switch to.
Again further, step S204 can be specially: sent described state to power management module and switch broadcast message before described application program completion status is switched.Particularly:
Be not that all third party applications are not all set power management policy, that some third party application itself just carries is good, be suitable for very much the power management policy of self application program, before the application program completion status is switched, send described state to power management module in the embodiment of the invention and switch broadcast message, thereby can the application program that self has the good electrical source control not impacted; Even if because before the application program completion status is switched, power management module switches broadcast message according to this state and carries out power management, but after the Application Status switching is finished, the power management policy that power management module will carry according to this application program again carries out power management, thereby the power management that carries out before eliminating, the embodiment of the invention can not hinder effective work of application program.
Again further, the embodiment of the invention can also comprise: the application program during described each power management policy corresponding application program is tabulated is added and/or is deleted, and/or the power management policy of the application program correspondence in described the application list is made amendment; Particularly:
The first use view that the applied power source management of the embodiment of the invention as shown in Figure 3 arranges, the portable terminal of the embodiment of the invention has the function of Power Management Setup, for example be provided with standby among Fig. 3 and closed the application list backlight in 10 seconds, the application list backlight was closed in standby in 10 minutes, the application list of the application list backlight and standby Chang Liang was closed in standby in 30 minutes, the user can arrange by the applied power source management and set up at least a power management policy, but the application list of several power management policies of this that is not limited to show among Fig. 3, the user can be according to the self-defined power management policy of the hobby of self;
The second use view that the applied power source management of the embodiment of the invention as shown in Figure 4 arranges, closing the application list backlight in 10 minutes with standby is example, closed in 10 minutes as this standby among Fig. 4 and to comprise 3 application programs in the application list backlight, so-and-so browser, so-and-so edit tool and so-and-so reading tool, but this several application programs that is not limited to show among Fig. 4, the user can be according to the application list in self-defined certain power management policy of the hobby of self, portable terminal is used in 5 can each application program of drop-down demonstration, so that user's application programs in this application list is added and/or deleted.
Need to prove that the portable terminal in the embodiment of the invention includes but not limited to mobile phone, mobile notebook computer, portable electronic terminal etc.
Be example with the mobile phone below, describe for example:
1, current phone is in holding state, and foreground and backstage all do not have application program in operation; System is provided with certain browser in advance in the application list power management policy for the standby of screen backlight is closed duration be adjusted into standby closed in 10 minutes backlight (certainly, power management policy can comprise above-mentioned enumerate multiple, only enumerates a kind of describing here):
The user opens the operation of the application program of certain browser, portable terminal will monitor certain browser the state switching will have taken place so, switch from the state that is closed to startup, the state that then generates certain browser switches broadcast message, this state switches broadcast message and carries the sign of this certain browser and this certain browser from being closed to the state handover information of startup, and sends described state to power management module switch broadcast message before this certain browser starts; After portable terminal gets access to this state switching broadcast message, the application program of switching the current needs operation of broadcast message perception according to this state is certain browser, search certain browser whether default the application list contains described current needs operation, and the power management policy that finds this certain browser correspondence to be that standby was closed in 10 minutes backlight, carry out power management according to this power management policy then.
2, current phone is being moved certain browser, and open on the backstage has certain games and be in halted state; It is backlight that system is provided with this certain browser in advance in the application list power management policy is that standby was closed in 10 minutes, and the power management policy that is provided with these certain games is adjusted into standby and closed backlight in 30 minutes for the standby of screen backlight being closed duration:
The user closes the operation of the application program of certain browser, portable terminal will monitor certain browser the state switching will have taken place so, switch from starting to closing state, the state that then generates certain browser switches broadcast message, this state switches broadcast message and carries the sign of this certain browser and this certain browser from starting to the closing state handover information, and sends described state to power management module switch broadcast message before this certain browser cuts out; After portable terminal gets access to this state switching broadcast message, certain games on backstage have been become from certain browser according to the application program of the current needs operation of this state switching broadcast message perception, search certain games whether default the application list contains described current needs operation so, and the power management policy that finds this certain games correspondence is that standby was closed backlight in 30 minutes, carry out power management according to this power management policy then, namely portable terminal was closed power management policy backlight in 10 minutes from standby automatically and is changed standby into and closed power management policy backlight in 30 minutes.
Implement the embodiment of the invention, switch broadcast message by the state that obtains application program, and carry out power management according to the power management policy of current application program correspondence in default the application list, solved the problem that user in the prior art need frequently carry out the complex operation that Power Management Setup causes, making has the third party application of careless omission to move according to the power management policy that the user needs aspect power management, has realized the power supply smart management; Send this state switching broadcast message by the power management module to system before switching in the application program completion status, so that power management module carries out power management in advance, so for some application programs that carry good power management policy itself, can after finishing, the state switching carry out power management according to carrying good power management policy again, the present invention can't impact the application program that self has the good electrical source control, can not hinder effective work of application program; The user can also make amendment according to the power management policy that needs the application program correspondence in the application programs tabulation of self, has further improved the power management hommization.
Describe the application program for mobile terminal method for managing power supply of the embodiment of the invention above in detail, below accordingly, describe the structure of the portable terminal of the embodiment of the invention in detail.
The structural representation of first embodiment of portable terminal of the present invention as shown in Figure 5, portable terminal 5 comprises power management module 51, power management module 51 comprises that strategy is set up unit 511, the application list is set up unit 512, judging unit 513 and management control unit 514, wherein
Strategy is set up unit 511 and is used for setting up at least one power management policy;
The application list is set up unit 512 and is used for setting up each power management policy corresponding application program tabulation;
Judging unit 513 is used for judging whether the application program of current operation is present in described the application list;
Management control unit 514 be used for when the judged result of judging unit 513 when being, then the power management policy according to described the application list correspondence carries out power management; When the judged result of judging unit 513 for not the time, then the power management policy according to system's setting carries out power management.
Particularly, this power management policy can comprise following any one or combination: the luminance parameter of adjusting screen backlight; Adjust the standby of screen backlight and close duration; Open and close screen and respond to rotation automatically; The size parameter of Adjustment System volume; The open and close system wireless connections; Open and close system vibration sense of touch etc.Each power management policy correspondence establishes the application list, and the power management module of portable terminal carries out power management according to the power management policy of each application program correspondence in this application list; There is power management policy in the system of portable terminal also default setting, if the current application program that needs operation is in this application list the time, the power management policy that portable terminal will set according to system default automatically carries out power management.
Further, the structural representation of second embodiment of portable terminal of the present invention as shown in Figure 6, portable terminal 5 comprise outside the power management module 51, can also comprise monitoring modular 52, broadcast message generation module 53 and sending module 54, wherein
Monitoring modular 52 is used for the monitoring application program, and whether the generation state switches;
Broadcast message generation module 53 be used for when the monitoring result of monitoring modular 52 when being, generate the state switching broadcast message of described application program; Described state switches broadcast message and carries the sign of described application program and the information that described application program is carried out the state switching;
Sending module 54 is used for sending the state switching broadcast message that broadcast message generation module 53 generates to power management module 51, carries out power management to trigger power management module 51.
Particularly, this state switching broadcast message carries the sign of described application program and the information that described application program is carried out the state switching; This state switches the ACTION type of broadcast message can be self-defined by the system development personnel, and the msg content of carrying can be the sign of application program (as title etc.) and the status information that is about to switch to; After broadcast message generation module 53 generated the state switching broadcast message of described application program, sending module 54 sent this states to power management module 51 and switches broadcast message, carried out power management to trigger power management module 51;
After the application program of power management module 51 in this portable terminal that gets access to sending module 54 transmissions carried out the state switching broadcast message of state switching, can switch the application program of the current needs operation of broadcast message perception according to this state, switch broadcast message as state and show that application A will start, portable terminal perceives that current to need the application program of operation be application A so; It is and for example current that moving is application program B, running background be application A, this state switches broadcast message and shows that application program B will close, portable terminal perceives that current to need the application program of operation be application A so; Judge by judging unit 513 whether the application program of current operation is present in described the application list then.
Particularly, sending module 54 is concrete for sending described state switching broadcast message to power management module 51 before switching in described application program completion status, carries out power management to trigger power management module 51.Particularly:
Be not that all third party applications are not all set power management policy, that some third party application itself just carries is good, be suitable for very much the power management policy of self application program, sending module 54 sent described state switching broadcast message to power management module 51 in the embodiment of the invention before the application program completion status is switched, thereby can the application program that self has the good electrical source control not impacted; Even if because before the application program completion status is switched, power management module 51 switches broadcast message according to this state and carries out power management, but after the Application Status switching is finished, the power management policy that power management module 51 will carry according to this application program again carries out power management, thereby the power management that carries out before eliminating, the embodiment of the invention can not hinder effective work of application program.
Need to prove, monitoring modular 52, broadcast message generation module 53 and sending module 54 can be the standalone module in the portable terminal 5, also can be integrated with power management module 51 in, namely power management module 51 has the function of monitoring modular 52, the function of broadcast message generation module 53 and the function of sending module 54.
Need to prove that the monitoring modular 52 in the embodiment of the invention, broadcast message generation module 53 and sending module 54 can be formed the scheduler module of portable terminal 5, with the function of finishing monitoring, broadcast message generation and sending.
Also need to prove, the state of the application program in the embodiment of the invention switch can comprise following any one: application program switches to startup from closing; Application program switches to time-out from startup; Application program switches to recovery from time-out; Or application program switches to from startup and stops.This state switches the information that broadcast message comprises that above-mentioned any one state switches; The life cycle of application program can be divided into 4 states, be respectively and start start, recovery resume, time-out pause and stop (or closing) stop, when application program generation state switches, switch broadcast message with producing corresponding state, so that portable terminal 5 obtains and switch the application program of the current needs operation of broadcast message perception according to this state.
Also need to prove, for the application program in the Android Android operating system, when application program when being closed to startup, application program will be carried out start-up course earlier automatically, carry out rejuvenation then, at last operation; When application program is closed from running to, application program will be carried out the time-out process earlier automatically, close at last; Therefore, switch for the state of the application program in the Android operating system in the embodiment of the invention and can include only in following two any one: recover and from returning to time-out from closing to switch to.
Further, the structural representation of the power management module of the embodiment of the invention as shown in Figure 7, power management module 51 comprises that strategy is set up unit 511, the application list is set up outside unit 512, judging unit 513 and the management control unit 514, can also comprise and revise unit 515, be used for to be used for the application program of described each power management policy corresponding application program tabulation is added and/or deleted, and/or described power management policy is made amendment; Particularly:
The first use view that the applied power source management of the embodiment of the invention as shown in Figure 3 arranges, the portable terminal 5 of the embodiment of the invention has the function of Power Management Setup, for example be provided with standby among Fig. 3 and closed the application list backlight in 10 seconds, the application list backlight was closed in standby in 10 minutes, the application list of the application list backlight and standby Chang Liang was closed in standby in 30 minutes, the user can arrange by the applied power source management and set up at least a power management policy, but the application list of several power management policies of this that is not limited to show among Fig. 3, the user can be by revising unit 515 according to the self-defined power management policy of the hobby of self;
The second use view that the applied power source management of the embodiment of the invention as shown in Figure 4 arranges, closing the application list backlight in 10 minutes with standby is example, closed in 10 minutes as this standby among Fig. 4 and to comprise 3 application programs in the application list backlight, so-and-so browser, so-and-so edit tool and so-and-so reading tool, but this several application programs that is not limited to show among Fig. 4, the user can revise unit 516 according to the application list in self-defined certain power management policy of the hobby of self, portable terminal is used in 5 can each application program of drop-down demonstration, so that user's application programs in this application list is added and/or deleted.
Need to prove that the portable terminal 5 in the embodiment of the invention includes but not limited to mobile phone, mobile notebook computer, portable electronic terminal etc.
Need to prove that also under the situation of not conflicting, embodiment and the feature among the embodiment among the present invention can mutually combine.
In sum, switch broadcast message by the state that obtains application program, and carry out power management according to the power management policy of current application program correspondence in default the application list, solved the problem that user in the prior art need frequently carry out the complex operation that Power Management Setup causes, making has the third party application of careless omission to move according to the power management policy that the user needs aspect power management, has realized the power supply smart management; Send this state switching broadcast message by the power management module to system before switching in the application program completion status, so that power management module carries out power management in advance, so for some application programs that carry good power management policy itself, can after finishing, the state switching carry out power management according to carrying good power management policy again, the present invention can't impact the application program that self has the good electrical source control, can not hinder effective work of application program; The user can also make amendment according to the power management policy that needs the application program correspondence in the application programs tabulation of self, has further improved the power management hommization.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
Above disclosed is a kind of preferred embodiment of the present invention only, can not limit the present invention's interest field certainly with this, and therefore the equivalent variations of doing according to claim of the present invention still belongs to the scope that the present invention is contained.

Claims (8)

1. an application program for mobile terminal method for managing power supply is characterized in that, comprising:
Set up at least one power management policy, and set up each power management policy corresponding application program tabulation;
Whether the application program of judging current operation is present in described the application list;
When judged result when being, then the power management policy according to described the application list correspondence carries out power management; When judged result for not the time, then the power management policy according to system's setting carries out power management;
Wherein, the described application program of judging current operation also comprises before whether being present in step in described the application list:
Whether the generation state switches the monitoring application program;
When monitoring result when being, the state that generates described application program switches broadcast message; Described state switches broadcast message and carries the sign of described application program and the information that described application program is carried out the state switching;
Send described state to power management module and switch broadcast message, judge to trigger described power management module execution whether the application program of current operation is present in the step in described the application list.
2. the method for claim 1, it is characterized in that, describedly send the step that described state switches broadcast message to power management module and be specially: before described application program completion status is switched, send described state to power management module and switch broadcast message.
3. as each described method of claim 1-2, it is characterized in that, the state of described application program switch comprise following any one:
Application program switches to startup from closing;
Application program switches to time-out from startup;
Application program switches to recovery from time-out;
Application program switches to from startup and stops.
4. as each described method of claim 1-2, it is characterized in that, also comprise: the application program during described each power management policy corresponding application program is tabulated is added and/or is deleted, and/or described power management policy is made amendment;
Described power management policy comprises following any one or combination:
Adjust the luminance parameter of screen backlight;
Adjust the standby of screen backlight and close duration;
Open and close screen and respond to rotation automatically;
The size parameter of Adjustment System volume;
The open and close system wireless connections;
Open and close system vibration sense of touch.
5. an application program for mobile terminal electric power controller is characterized in that, comprising:
Set up the unit for the strategy of setting up at least one power management policy;
Set up the unit for the application list of setting up each power management policy corresponding application program tabulation;
Be used for judging whether the application program of current operation is present in the judging unit of described the application list;
Be used for when the judged result of described judging unit when being, then the power management policy according to described the application list correspondence carries out power management, and when the judged result of described judging unit when denying, then carry out the management control unit of power management according to the power management policy of system's setting;
Be used for the monitoring application program monitoring modular whether the generation state switches;
Be used for when the monitoring result of monitoring modular when being, generate the broadcast message generation module of the state switching broadcast message of described application program; Wherein, described state switching broadcast message carries the sign of described application program and the information that described application program is carried out the state switching;
Be used for sending described state to power management module and switch broadcast message, judge to trigger described power management module execution whether the application program of current operation is present in the sending module in described the application list.
6. application program for mobile terminal electric power controller as claimed in claim 5, it is characterized in that, described sending module specifically is used for sending described state to described power management module before described application program completion status is switched and switches broadcast message, judges to trigger described power management module execution whether the application program of current operation is present in described the application list.
7. as each described application program for mobile terminal electric power controller of claim 5-6, it is characterized in that, the state of described application program switch comprise following any one:
Application program switches to startup from closing;
Application program switches to time-out from startup;
Application program switches to recovery from time-out;
Application program switches to from startup and stops.
8. as each described application program for mobile terminal electric power controller of claim 5-6, it is characterized in that, also comprise for the application program of described each power management policy corresponding application program tabulation being added and/or delete, and/or the modification unit that described power management policy is made amendment;
Described power management policy comprises following any one or combination:
Adjust the luminance parameter of screen backlight;
Adjust the standby of screen backlight and close duration;
Open and close screen and respond to rotation automatically;
The size parameter of Adjustment System volume;
The open and close system wireless connections;
Open and close system vibration sense of touch.
CN 201110064460 2011-03-17 2011-03-17 Mobile terminal and power supply management method for application program thereof Active CN102129287B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110064460 CN102129287B (en) 2011-03-17 2011-03-17 Mobile terminal and power supply management method for application program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110064460 CN102129287B (en) 2011-03-17 2011-03-17 Mobile terminal and power supply management method for application program thereof

Publications (2)

Publication Number Publication Date
CN102129287A CN102129287A (en) 2011-07-20
CN102129287B true CN102129287B (en) 2013-08-14

Family

ID=44267397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110064460 Active CN102129287B (en) 2011-03-17 2011-03-17 Mobile terminal and power supply management method for application program thereof

Country Status (1)

Country Link
CN (1) CN102129287B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106774811A (en) * 2016-12-30 2017-05-31 维沃移动通信有限公司 A kind of electricity saving method and mobile terminal

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102377880B (en) * 2011-10-10 2014-12-03 深圳桑菲消费通信有限公司 Mobile phone and power saving method thereof
CN102523355A (en) * 2011-10-31 2012-06-27 深圳市五巨科技有限公司 Power management method of music player
CN103095932B (en) * 2011-11-01 2014-10-22 北京瓦力网络科技有限公司 Method and device for mobile terminal power saving
CN102497469A (en) * 2011-11-25 2012-06-13 深圳市五巨科技有限公司 Method and device for operating music player in screen lock state
CN103246559B (en) * 2012-02-10 2016-12-14 联想(北京)有限公司 Application processing method and electronic equipment
CN102647527B (en) * 2012-03-28 2015-07-29 华为终端有限公司 A kind of intelligent communications terminal and service operation method, device
EP3296868A1 (en) * 2012-06-06 2018-03-21 Huawei Device (Dongguan) Co., Ltd. Application management method and terminal
CN103513748A (en) * 2012-06-29 2014-01-15 联想(北京)有限公司 Method for processing information, information processor and electronic device
CN103593038B (en) * 2012-08-14 2016-01-20 腾讯科技(深圳)有限公司 A kind of method and apparatus controlling to apply
CN102917123B (en) * 2012-09-27 2016-12-21 东莞宇龙通信科技有限公司 Mobile terminal and the dormancy processing method for mobile terminal
CN103607758B (en) * 2013-11-06 2018-01-23 中兴通讯股份有限公司 Terminal screen power-saving processing method, device and terminal
CN104731611A (en) * 2013-12-24 2015-06-24 联芯科技有限公司 Mobile terminal operation mode configuring method and system based on application programs
US9351254B2 (en) 2014-01-22 2016-05-24 Seven Networks, Llc Method for power saving in mobile devices by optimizing wakelocks
CN105308941A (en) * 2014-05-16 2016-02-03 华为技术有限公司 Method and apparatus for resource configuration
CN107393484A (en) * 2014-07-04 2017-11-24 联想(北京)有限公司 A kind of system control method and electronic equipment
US20160071480A1 (en) * 2014-09-05 2016-03-10 Mediatek Inc. Low-power operation method and associated electronic device
CN104375624B (en) * 2014-12-11 2017-04-26 深圳市奇虎智能科技有限公司 Mobile terminal and power saving suggestion method for same
CN104516806B (en) * 2014-12-26 2017-12-08 北京奇虎科技有限公司 The testing result methods of exhibiting and system of the power consumption information of mobile terminal
CN104503563A (en) * 2014-12-30 2015-04-08 中科创达软件股份有限公司 Electricity saving method and device of electronic equipment
CN104753927B (en) * 2015-03-12 2018-09-04 新华三技术有限公司 A kind of method and apparatus of unified verification
CN105630493A (en) * 2015-12-22 2016-06-01 周奇 Method and device for regulating sleep time of mobile terminal
CN106468943A (en) * 2016-09-29 2017-03-01 北京金山安全软件有限公司 Application control method and device and terminal
US10310757B2 (en) 2017-08-23 2019-06-04 Qualcomm Incorporated Systems and methods for memory power saving via kernel steering to memory balloons
CN109673043B (en) * 2018-11-27 2022-01-07 Oppo广东移动通信有限公司 Control method and device of split type electronic equipment, storage medium and electronic equipment
CN113434373A (en) * 2021-07-15 2021-09-24 维沃移动通信有限公司 Application icon display method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067757A (en) * 2007-06-01 2007-11-07 惠州市Tcl电脑科技有限责任公司 Intelligent power source management method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1248431B1 (en) * 2001-03-27 2007-10-31 Sony Deutschland GmbH Method for achieving end-to-end quality of service negotiation for distributed multimedia applications
FI20041517A0 (en) * 2004-11-25 2004-11-25 Nokia Corp Procedure for safe interpretation of programs in electronic devices

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067757A (en) * 2007-06-01 2007-11-07 惠州市Tcl电脑科技有限责任公司 Intelligent power source management method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JP特表2004-537187A 2004.12.09
US 7,444,624 B2,2008.10.28,全文.

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106774811A (en) * 2016-12-30 2017-05-31 维沃移动通信有限公司 A kind of electricity saving method and mobile terminal

Also Published As

Publication number Publication date
CN102129287A (en) 2011-07-20

Similar Documents

Publication Publication Date Title
CN102129287B (en) Mobile terminal and power supply management method for application program thereof
CN106604369B (en) Terminal equipment with dual-mode switching function
CN103593039B (en) The method of power-saving control and device
CN103199311B (en) The battery power saving method of portable type electronic product, equipment and mobile terminal
EP2608500B1 (en) Mobile terminal and controlling method thereof
CN102799481A (en) Method and device for switching modes on terminal
CN104811930B (en) A kind of method for controlling network flow and system of mobile terminal
CN103593038B (en) A kind of method and apparatus controlling to apply
CN110176643B (en) Charging method, power supply management equipment and terminal equipment
CN103809726A (en) Terminal equipment and display method
CN104427124A (en) Method, device and terminal for controlling terminal temperature
CN102420911A (en) Switching device and switching method for dual systems of smart phone
CN108170252B (en) Terminal power saving method and device
CN104391554A (en) Method for adjusting terminal temperature
CN102883058A (en) Startup method and terminal
CN106873978A (en) A kind of screen update method and apparatus of terminal
CN103838620A (en) Method and device for processing application programs
CN105811508A (en) Mobile terminal charging method and mobile terminal
CN104394675A (en) Terminal
CN109217409B (en) Charging method and device and electronic equipment
CN108121435A (en) Electricity saving of mobile terminal operation method, device and computer readable storage medium
CN105262890A (en) Information update control system and method for applications on portable electronic device
CN102156535A (en) Energy-saving processing method and energy-saving processing device for hardware
CN103529925A (en) Method and device for switching central processing unit (CPU) working modes according to application scenarios
CN106843445A (en) The method and mobile terminal of a kind of power saving

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant