The content of the invention
For above-mentioned defect, it is an object of the invention to provide a kind of termination and its economize on electricity processing method, it canTo reduce the screen power consumption of termination, increase the use time of termination.
To achieve these goals, the present invention provides a kind of economize on electricity processing method of termination, and methods described includes:
Acquisition has responded the user interface controls in application event;
Brightness processed is carried out to the region outside the user interface controls and/or the user interface controls.
The economize on electricity processing method of termination of the invention, the acquisition has responded the user in application eventAlso include before interface control step:
The event scenarios of the application program with energy-saving mode are set;
Receive user command, the event scenarios for controlling the application program perform the energy-saving mode.
The economize on electricity processing method of termination of the invention, the acquisition has responded the user in application eventInterface control step includes:
Obtain the user interface layout of current event scene;
Detection has responded the user interface controls of event in the event scenarios;
The region to outside the user interface controls and/or the user interface controls carries out brightness processed stepIncluding:
The user interface controls brightening is processed;And/or
Region darkening outside the user interface controls is processed.
The economize on electricity processing method of termination of the invention, the termination is in the algebra of events with energy-saving modeWhen under scape, then automatic display mode toggle control;
The termination then can call the mould when not having under the event scenarios of energy-saving mode by predetermined registration operationFormula toggle control, and can receive user order current event scene setting is added into the energy-saving mode.
The economize on electricity processing method of termination of the invention, methods described also includes:
Select command of the receive user to the user interface controls of the application event;
The user interface controls brightening that the user is selected or darkening are processed.
The present invention also provides a kind of termination, including:
Control acquisition module, for obtaining the user interface controls responded in application event;
Brightness processed module, for entering to the region outside the user interface controls and/or the user interface controlsRow brightness processed.
Termination of the invention, the termination also includes:
Scene setting module, for arranging the event scenarios of the application program with energy-saving mode;
Pattern performing module, for receiving user command, the event scenarios for controlling the application program perform the economize on electricityPattern.
Termination of the invention, the control acquisition module includes:
Acquisition submodule, for obtaining the user interface layout of current event scene;
Detection sub-module, for the user interface controls that detection has responded event in the event scenarios;
The brightness processed module is used to process the user interface controls brightening;And/or
Region darkening outside the user interface controls is processed.
Termination of the invention, when the termination is under the event scenarios with energy-saving mode, then automaticallyDisplay mode toggle control;
The termination then can call the mould when not having under the event scenarios of energy-saving mode by predetermined registration operationFormula toggle control, and can receive user order current event scene setting is added into the energy-saving mode.
Termination of the invention, the termination also includes control selecting module, for receive user to instituteState the select command of the user interface controls of application event;
The brightness processed module is further used for the user interface controls brightening for selecting the user or darkening is processed.
The termination of the present invention can be obtained in its application program and respond dependent event when application program is runUser interface controls, it is possible to which these user interface controls and the screen area outside user interface controls are carried out at brightnessReason, such as, the region outside user interface controls is darkened, and is only retained and is shown the user interface controls for having responded dependent event,Greatly reduce the power consumption of termination screen whereby, the use time of termination can be extended.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, it is right below in conjunction with drawings and ExamplesThe present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, andIt is not used in the restriction present invention.
Referring to Fig. 1, the invention provides a kind of termination, it can be mobile terminal, such as mobile phone, PDA(Personal Digital Assistant, personal digital assistant), palm PC etc., may also be other and have what large-size screen monitors showedTouch terminal device.In the present embodiment, termination 100 includes control acquisition module 10 and brightness processed module 20, wherein:
Control acquisition module 10, for obtaining user interface (UI) control responded in application event.Specifically,When termination 100 runs certain application program, the event of certain application program is to there is one or more operation UI controls.ThanSuch as, during music, its play in UI interfaces it is upper one first/next, time-out, stopping, the UI controls such as the settings button of audio,It is in response to the UI controls of the music scene.Control acquisition module 10 is obtained after these UI controls, and acquisition information is transferred toBrightness processed module 20 is processed.
Brightness processed module 20, for carrying out brightness processed to the region outside the UI controls and/or the UI controls.Specifically, termination 100 is got after the UI controls for having responded application event, by 20 pairs of correlations of brightness processed moduleRegion carries out brightening or darkening is processed.In one specific embodiment of the present invention, the UI controls that can make response keep original brightness,And process the screen area darkening outside the UI controls, with reference to Fig. 5 A and Fig. 5 B, during music, only show related UIControl is as above one first/next, suspend, stop, the settings button of audio, other regions then do not show, screen is greatly reduced wherebyThe power consumption of curtain.
Referring back to Fig. 2, in another embodiment of the present invention, termination 100 is also held including scene setting module 30, patternRow module 40 and control selecting module 50, wherein:
Scene setting module 30, for arranging the event scenarios of the application program with energy-saving mode.In concrete application, andThe event scenarios of all application programs of nonterminal device 100 can use energy-saving mode, therefore by scene setting module 30User can be preferably reminded to enable energy-saving mode in the event scenarios using which application program.Such as, specifically may be usedMusic scenario is set, non-full frame video scene, unblock scene etc. is seen.
Pattern performing module 40, for receiving user command, the event scenarios for controlling the application program perform the sectionPower mode.During using terminal device 100, termination 100 is detected whether under default event scenarios user, ifIt is the mode toggle control for recalling switching economize on electricity and normal mode automatically, for user's free switching.System default shows normallyPattern, user can control to be switched to energy-saving mode, while remembering the pattern that last user uses, (even user is switched toEnergy-saving mode, next time is entered under the scene, is still energy-saving mode).Whereby, termination 100 is made to reduce under the event scenariosScreen power consumption.
Preferably, in the embodiment, the control acquisition module 10 includes:
Acquisition submodule 11, for obtaining the UI layouts of current event scene.
Detection sub-module 12, for the UI controls that detection has responded event in the event scenarios.
Under the energy-saving mode of event scenarios, then acquisition submodule 11 gets the UI layouts of current event scene, detectionIn UI layouts of the submodule 12 according to active user using scene search interface, which UI control has responded the event under the scene(such as listening under music scenario, which control has responded on play/on pause/lyric refresh etc.).This shows at thisIn UI layouts, these controls will perform corresponding operation under the scene.
The brightness processed module 20 is further used for having responded event in scene by what detection sub-module 12 was detectedThe UI controls brightening is processed;And/or process the region darkening outside the UI controls.Enforcement such as shown in Fig. 6 A and 6BExample, in the case where video this scene is seen, even if user wants to carry out certain operations in video clip, then important for a userIt is the buttons such as time-out, full frame setting in interface.Termination 100 drawn by the retrieval of control event and attribute, works as prezoneAbove-mentioned button is important to user in face, then these buttons are then highlighted, and then darkening is processed in other regions.Scheme for another example7A and Fig. 7 B illustrated embodiments, in the case where this event scenarios is unlocked, the conventional scene of user has two:One is the time of seeing;Two areFollowing unblock button of sliding is unlocked.Under this scene, termination 100 is by the text view on search interfaceWith on drag events, light time and unlock control, other regions darken, and the effect of economize on electricity is reached whereby.
Further, control selecting module 50 is used for selection life of the receive user to the UI controls of the application eventOrder, the brightness processed module 20 is further used for the UI controls brightening for selecting the user or darkening is processed.Need explanation, selection that can be with receive user to operational controls after the event scenarios application energy-saving mode of the present invention is processed, and to selectionUI controls and other regions carry out brightening or darkening is processed, more hommization.
When termination 100 is under the event scenarios with energy-saving mode, then its automatic display mode toggle control, forFamily unrestricted choice normal mode or energy-saving mode;When the termination 100 is under the not event scenarios with energy-saving mode, thenCan by predetermined registration operation such as user can by gesture, click, it is long by etc. mode call the mode toggle control, and can connectReceive user command and current event scene setting is added into the energy-saving mode, current scene is added under the bright screen scene of local.The scene for listening to the radio just can be also added to local bright screen by Source Music interface, user by having adjusted mode toggle controlIn scene.
Referring to Fig. 3, the invention provides a kind of economize on electricity processing method of termination, it can pass through as shown in Figure 1Termination 100 realizes that methods described includes:
Step S301, acquisition has responded the UI controls in application event.Specifically, termination 100 runs certain and answersWhen using program, the event of certain application program is to there is one or more operation UI controls.Such as, during music, its broadcastingIn UI interfaces it is upper one first/next, time-out, stopping, the UI controls such as the settings button of audio, be in response to the music fieldThe UI controls of scape.Termination 100 is obtained after these UI controls, execution step S302.
Step S302, to the region outside the UI controls and/or the UI controls brightness processed is carried out.Specifically, eventuallyEnd device 100 is got after the UI controls for having responded application event, and relevant range is carried out by brightness processed module 20Brightening or darkening are processed.In one specific embodiment of the present invention, the UI controls that can make response keep original brightness, and will be describedScreen area darkening outside UI controls is processed, and with reference to Fig. 5 A and Fig. 5 B, during music, only shows related UI controls as aboveIt is one first/next, suspend, stop, the settings button of audio, other regions then do not show, the power consumption of screen is greatly reduced wherebyAmount.
Referring to Fig. 4, the invention provides the economize on electricity processing method of another kind of termination, it can pass through as shown in Figure 2Termination 100 realizes that methods described includes:
Step S401, arranges the event scenarios of the application program with energy-saving mode.In concrete application, not terminationThe event scenarios of 100 all application programs can use energy-saving mode, therefore can be more preferable by scene setting module 30User is reminded to enable energy-saving mode in the event scenarios using which application program.Such as, music field specifically can be setScape, non-full frame see video scene, unblock scene etc..
Step S402, receives user command, and the event scenarios for controlling the application program perform the energy-saving mode.UserDuring using terminal device 100, termination 100 is detected whether under default event scenarios, if then adjusting automaticallyGo out the mode toggle control of switching economize on electricity and normal mode, for user's free switching.System default shows normal mode, Yong HukeTo control to be switched to energy-saving mode, at the same remember pattern that last user uses (even user has been switched to energy-saving mode, underIt is secondary under the scene, be still energy-saving mode).Whereby, make termination 100 that screen power consumption is reduced under the event scenarios.
Step S403, obtains the UI layouts of current event scene.
Step S404, detection has responded the UI controls of event in the event scenarios.Termination 100 is according to active userUsing in the UI layouts at scene search interface, which UI control responded event under the scene (such as listen under music scenario, whichControl has responded on play/on pause/lyric refresh etc.).This shows that in this UI layout these controls are willPerform corresponding operation under the scene.
Step S405, the UI controls brightening for having responded event in scene for detecting is processed;And/or by the UIRegion darkening outside control is processed.Embodiment shown in such as Fig. 6 A and Fig. 6 B, in the case where video this scene is seen, even if userWant to carry out certain operations in video clip, then for a user it is important that the button such as time-out, full frame setting in interface.Termination 100 show that above-mentioned button is important to user in current interface by the retrieval of control event and attribute, thenThese buttons are then highlighted, and then darkening is processed in other regions, and economize on electricity purpose is reached whereby.
It is preferred that termination 100 can be ordered the selection of the UI controls of the application event with receive userOrder, and be further used for processing the UI controls brightening of user selection or darkening.Need explanation, the algebra of events of the present inventionSelection that can be with receive user to operational controls after scape application energy-saving mode is processed, and the UI controls and other regions to selecting entersRow brightening or darkening are processed, more hommization.
In addition, when termination 100 is under the event scenarios with energy-saving mode, then its automatic display pattern switching controlPart, for user's unrestricted choice normal mode or energy-saving mode;The termination 100 is in the event scenarios without energy-saving modeWhen lower, then can by predetermined registration operation such as user can by gesture, click, it is long by etc. mode call the pattern switching controlPart, and can receive user order current event scene setting is added into the energy-saving mode, current scene is added to into local brightUnder screen scene.Source Music interface, user just can be also added to the scene for listening to the radio by having adjusted mode toggle controlIn the bright screen scene of local.
In sum, termination of the invention can be obtained in its application program and responded when application program is runThe UI controls of dependent event, it is possible to which brightness processed is carried out to these UI controls and the screen area outside UI controls, such as,Region outside UI controls is darkened, is only retained and is shown the UI controls for having responded dependent event, termination is greatly reduced wherebyThe power consumption of screen, can extend the use time of termination.
Certainly, the present invention can also have other various embodiments, ripe in the case of without departing substantially from spirit of the invention and its essenceKnow those skilled in the art and work as and various corresponding changes and deformation, but these corresponding changes and change can be made according to the present inventionShape should all belong to the protection domain of appended claims of the invention.