CN109298772A - Electricity-saving control method, device and mobile terminal and computer readable storage medium - Google Patents

Electricity-saving control method, device and mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN109298772A
CN109298772A CN201710604823.9A CN201710604823A CN109298772A CN 109298772 A CN109298772 A CN 109298772A CN 201710604823 A CN201710604823 A CN 201710604823A CN 109298772 A CN109298772 A CN 109298772A
Authority
CN
China
Prior art keywords
business
terminal
electricity
saving control
power
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.)
Withdrawn
Application number
CN201710604823.9A
Other languages
Chinese (zh)
Inventor
邵敏茹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201710604823.9A priority Critical patent/CN109298772A/en
Publication of CN109298772A publication Critical patent/CN109298772A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3212Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling

Abstract

The invention discloses a kind of electricity-saving control method, device and mobile terminal and computer readable storage mediums, the described method comprises the following steps: whether detection terminal is in business stable state, and the business stable state is the state of one target service of long-play;When the terminal is in business stable state, power-saving control strategy is executed, to inhibit the operation with the incoherent business of the target service.The electricity-saving control method of the embodiment of the present invention, the business stable state for whether being in one target service of long-play by detecting terminal, when being in business stable state, then execute power-saving control strategy, the operation with the incoherent business of target service is inhibited to reduce the calorific value of terminal at work to reduce the power consumption of terminal at work, to achieve the purpose that save the fever of terminal power controlling terminal, it is greatly improved user experience.

Description

Electricity-saving control method, device and mobile terminal and computer readable storage medium
Technical field
The present invention relates to electronic technology field more particularly to a kind of electricity-saving control method, device and mobile terminal and calculating Machine readable storage medium storing program for executing.
Background technique
With the development of terminal technology, current terminal is other than telephone service, more meet user social activity, Entertainment requirements, game, take pictures, more and more functions such as social software have been integrated into terminal, user uses these function Time needed for energy is longer than using the time of telephone service.And with the development of virtual reality technology, people can also be used Terminal watches 3D film, plays 3D game etc., while virtual reality (Virtual Reality, VR) technology is also gradually integrated into In terminal.
As the function of terminal increases, the increase of power consumption also at double, to reduce the cruising ability of terminal.Existing skill In art, the technical solution of controlling terminal power consumption focuses primarily upon the power consumption control of terminal in an idle state, including idle state Judgement, enable, go it is enabled etc..Such as application No. is 201080041008.2 patent disclose it is a kind of control power consumption method and Terminal, processor carry out suspend mode in idle state, so that terminal is left idle mode according to the data that sensor acquires, at wake-up Device is managed, to reduce the power consumption of terminal in an idle state.
When terminal in the operating condition when, especially operation VR application, Video Applications etc. power consumption greatly in application, terminal function Consume larger, and it is also very serious to generate heat, but in the prior art without controlling the solution of the power consumption of the terminal under working condition. Therefore, the power consumption for how controlling the terminal under working condition is current technical problem urgently to be solved.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of electricity-saving control method, device and mobile terminal and computers Readable storage medium storing program for executing, to solve the terminal technical problem that power consumption is larger at work and fever is serious.
It is as follows that the present invention solves technical solution used by above-mentioned technical problem:
According to an aspect of an embodiment of the present invention, a kind of electricity-saving control method provided, the method includes following steps It is rapid:
Whether detection terminal is in business stable state, and the business stable state is one target service of long-play State;
When the terminal is in business stable state, power-saving control strategy is executed, to inhibit with the target service not The operation of relevant business.
Optionally, the target service includes VR business, and whether the detection terminal, which is in business stable state, includes:
VR application is detected whether in front stage operation, and detects whether sensor of interest is in preset state;
If so, adjudicating the terminal is in business stable state.
Optionally, the sensor of interest includes angular-rate sensor and/or light sensor, the detection target sensing Device whether in preset state include:
Judge data that the angular-rate sensor detects whithin a period of time whether persistently variation and/or the light Whether the data that sensor detects whithin a period of time are continuously less than luminance threshold;
If so, adjudicating the sensor of interest is in preset state.
Optionally, the execution power-saving control strategy includes:
Judge whether the electricity of the terminal is lower than the first power threshold and/or whether the temperature of the terminal is higher than first Temperature threshold;
If so, inhibiting the operation of the first ladder business, the first ladder business is to be associated with the target service The minimum business of property.
Optionally, after the step of operation for inhibiting the first ladder business further include:
Judge whether the electricity of the terminal is lower than the second power threshold and/or whether the temperature of the terminal is higher than second Temperature threshold;
If so, inhibiting the operation of the second ladder business;
Wherein, second power threshold is lower than first power threshold, and the second temperature threshold value is higher than described the The relevance of one temperature threshold, the second ladder business and the target service is greater than the first ladder business and the mesh The relevance of mark business.
Optionally, after the step of operation for inhibiting the second ladder business further include:
Judge whether the electricity of the terminal is lower than third power threshold and/or whether the temperature of the terminal is higher than third Temperature threshold;
If so, user is reminded to close the target service;
Wherein, the third power threshold is lower than second power threshold, and the third temperature threshold is higher than described the Two temperature thresholds.
Optionally, after the step for executing power-saving control strategy further include:
Detect whether the terminal exits the business stable state;
When the terminal exits the business stable state, restore the normal operation of repressed business
Other side according to an embodiment of the present invention, a kind of power-saving control device provided, described device include:
State detection module, for detecting whether terminal is in business stable state, when the business stable state is long Between run the state of a target service;
Strategic control module, for executing power-saving control strategy when the terminal is in business stable state, to inhibit With the operation of the incoherent business of the target service.
Optionally, the target service includes VR business, and the state detection module includes:
First detection unit, for whether detecting VR application in front stage operation;
Second detection unit, for detecting whether sensor of interest is in preset state;
Decision unit, for when the VR apply front stage operation and target sensing it is no in preset state when, sentence The certainly described terminal is in business stable state.
Optionally, the strategic control module includes:
First judging unit, for judging whether the electricity of the terminal is lower than the first power threshold and/or the terminal Temperature whether be higher than the first temperature threshold;
First control unit, for the electricity when the terminal lower than the first power threshold and/or the temperature of the terminal Higher than the first temperature threshold, inhibit the operation of the first ladder business, the first ladder business is the pass with the target service The minimum business of connection property.
Optionally, the strategic control module further include:
Second judgment unit, for judging whether the electricity of the terminal is lower than the second power threshold and/or the terminal Temperature whether be higher than second temperature threshold value;
Second control unit, for the electricity when the terminal lower than the second power threshold and/or the temperature of the terminal Higher than second temperature threshold value, inhibit the operation of the second ladder business;
Wherein, second power threshold is lower than first power threshold, and the second temperature threshold value is higher than described the The relevance of one temperature threshold, the second ladder business and the target service is greater than the first ladder business and the mesh The relevance of mark business.
Optionally, the strategic control module further include:
Third judging unit, for judging whether the electricity of the terminal is lower than third power threshold and/or the terminal Temperature whether be higher than third temperature threshold;
Third control unit, for the electricity when the terminal lower than third power threshold and/or the temperature of the terminal When higher than third temperature threshold, user is reminded to close the target service;
Wherein, the third power threshold is lower than second power threshold, and the third temperature threshold is higher than described the Two temperature thresholds.
The embodiment of the present invention also proposes a kind of mobile terminal, the mobile terminal include memory, processor and at least one It is stored in the memory and is configured as the application program executed by the processor, the application program is configured as For executing aforementioned electricity-saving control method.
The embodiment of the present invention also proposes a kind of computer readable storage medium, stores on the computer readable storage medium There is power-saving control program, when the power-saving control program is executed by processor, the step of realizing aforementioned electricity-saving control method.
The electricity-saving control method of the embodiment of the present invention, by detecting whether terminal is in one target service of long-play Business stable state then executes power-saving control strategy when being in business stable state, inhibits and the incoherent industry of target service The operation of business reduces the calorific value of terminal at work to reduce the power consumption of terminal at work, to reach section The purpose for saving the fever of terminal power controlling terminal, is greatly improved user experience.
Detailed description of the invention
Fig. 1 is the flow chart of electricity-saving control method first embodiment of the invention;
Fig. 2 is the flow chart for the step that terminal executes power-saving control strategy in the embodiment of the present invention;
Fig. 3 is the another flow chart for the step that terminal executes power-saving control strategy in the embodiment of the present invention;
Fig. 4 is the another flow chart for the step that terminal executes power-saving control strategy in the embodiment of the present invention;
Fig. 5 is the flow chart of electricity-saving control method second embodiment of the invention;
Fig. 6 is the module diagram of one embodiment of power-saving control device of the invention;
Fig. 7 is the module diagram of the state detection module in Fig. 6;
Fig. 8 is the module diagram of the strategic control module in Fig. 6;
Fig. 9 is the another module diagram of the strategic control module in Fig. 6;
Figure 10 is the another module diagram of the strategic control module in Fig. 6.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
In order to be clearer and more clear technical problems, technical solutions and advantages to be solved, tie below Drawings and examples are closed, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only To explain the present invention, it is not intended to limit the present invention.
Referring to Fig. 1, the electricity-saving control method first embodiment of the embodiment of the present invention is proposed, the method includes following steps It is rapid:
Whether S11, detection terminal are in business stable state, which is one target service of long-play State.When terminal is in business stable state, S12 is entered step;Otherwise, judgement is continued to test.
S12, power-saving control strategy is executed, to inhibit the operation with the incoherent business of target service.
Business stable state described in the embodiment of the present invention refers to terminal for a long time (as more than 20 minutes, 30 minutes, one A hour etc.) one target service of operation state, i.e., a possibility that user switches usage scenario whithin a period of time minimum shape State.Here terminal refers mainly to the mobile terminals such as mobile phone, plate.Described target service such as VR business, video traffic etc. may be long The business of time operation.
By taking VR business as an example, when VR is applied in front stage operation, user can generally put on VR glasses, and removing non-user at this time will Terminal is taken out from VR mode glasses, otherwise will not exit VR application, terminal is then in business stable state at this time.
By taking video traffic as an example, when user plays film by Video Applications at the terminal, except non-movie finishes, Video Applications will not be generally exited, terminal is then in business stable state at this time.
In step S11, when target service is VR business, can detecting terminal in the following manner, whether to be in business steady Determine state: whether terminal detects VR application in front stage operation, and detects whether sensor of interest is in preset state, when VR is applied In front stage operation and when sensor of interest is in preset state, judgement terminal is in business stable state.
Sensor of interest includes angular-rate sensor (such as gyroscope), light sensor, in range sensor sensor One kind or at least two, the corresponding preset state of angular-rate sensor is that the data detected whithin a period of time persistently change State, the corresponding preset state of light sensor is the shape of the data that detect whithin a period of time continuously less than luminance threshold State, the corresponding preset state of range sensor are the state of the data that detect whithin a period of time continuously less than distance threshold.
For example, terminal judges whether the data that angular-rate sensor detects whithin a period of time persistently change, light is passed Whithin a period of time continuously less than luminance threshold and/or range sensor whether the data that sensor detects whithin a period of time Whether the data detected are continuously less than distance threshold;If the data that angular-rate sensor detects whithin a period of time persistently become Change, the data that light sensor detects whithin a period of time are continuously less than luminance threshold and/or range sensor at one section The interior data detected then adjudicate sensor of interest and are in preset state continuously less than distance threshold.Wherein, luminance threshold and Distance threshold can be set according to actual needs, and aforementioned a period of time is such as more than 1 minute, 5 minutes, 10 minutes.
In step S11, when target service is video traffic, it can detect in the following manner whether terminal is in business Stable state: terminal detects whether Video Applications are more than preset time (such as 10 minutes) in front stage operation, and detects currently playing Video whether be more than preset duration (such as 30 minutes), if Video Applications are more than preset time and currently playing in front stage operation Video is more than preset duration, then adjudicates terminal and be in business stable state.
Foregoing illustrate the situation that target service is VR business and video traffic, those skilled in the art can be managed Solution, in addition to this it is possible to will likely long-play other business as target service, the present invention no longer arranges this one by one Act repeats.
In step S12, when detecting that terminal is in business stable state, then preset power-saving control plan is executed Slightly, to inhibit to make terminal enter half power consumption state with the operation of the incoherent business of target service (application and/or service) and (be situated between Between total power dissipation state and low power consumpting state), power consumption of terminal is reduced, terminal power is saved.
When it is implemented, power-saving control strategy can be executed in the following manner:
Optionally, as shown in Fig. 2, the detailed process of terminal execution power-saving control strategy is as follows:
S121, the electricity and/or temperature for detecting terminal, judge whether electricity is lower than the first power threshold and/or temperature is It is no to be higher than the first temperature threshold.When electricity is higher than the first temperature threshold lower than the first power threshold and/or temperature, enter step S122;Otherwise, judgement is continued to test.
When detecting temperature, it can detecte the surface temperature of terminal, also can detecte the battery temperature of terminal, also can detecte The cpu temperature of terminal or the temperature of other devices.First power threshold and the first temperature threshold can be set according to actual needs It is fixed, it can be specified by system, setting can also be customized by the user.
S122, the operation for inhibiting the first ladder business.
When the electricity for detecting terminal is higher than the first temperature threshold lower than the first power threshold and/or temperature, terminal is then Inhibit the operation of the first ladder business.Suppressor mode such as closes, suspend mode, reduces running frequency.First ladder business is and works as The minimum business of the relevance (or coupling, correlation) of the target service of preceding stable operation, such as all backstage nonsystematics are answered With to reduce the power consumption of terminal.Preferably, if user has carried out special setting (as setting application is white to certain applications List), then inhibit backstage nonsystematic in application, not handling the application that special setting is crossed then.
Optionally, as shown in figure 3, the detailed process of terminal execution power-saving control strategy is as follows:
S121, the electricity and/or temperature for detecting terminal, judge whether electricity is lower than the first power threshold and/or temperature is It is no to be higher than the first temperature threshold.When electricity is higher than the first temperature threshold lower than the first power threshold and/or temperature, enter step S122;Otherwise, it continues to test.
S122, the operation for inhibiting the first ladder business.
S123, detect terminal electricity and/or temperature, judge the electricity of terminal whether be lower than the second power threshold and/or Whether the temperature of terminal is higher than second temperature threshold value.When electricity is higher than second temperature threshold lower than the second power threshold and/or temperature When value, S124 is entered step;Otherwise, judgement is continued to test.
After inhibiting the operation of the first ladder business, the electricity and/or temperature of terminal are continued to test.In the present embodiment, Second power threshold is lower than the first power threshold, and second temperature threshold value is higher than the first temperature threshold.First power threshold, the second electricity Amount threshold value, the first temperature threshold and second temperature threshold value can be set according to actual needs, can be specified by system, can also be by The customized setting of user.
S124, the operation for inhibiting the second ladder business.
When the electricity for detecting terminal is higher than second temperature threshold value lower than the second power threshold and/or temperature, terminal is then Further suppress the operation of the second ladder business.The relevance of second ladder business and target service be greater than the first ladder business with The relevance of target service, i.e. the second ladder business are the business low with the relevance of target service time.
By taking the target service of current steady operation is VR business as an example, when determining the second ladder business, terminal can be to working as Preceding VR business use application and/or service detected, including network specifics, input method service, camera (Camera) service, Positioning service etc., it is notable that time low associated second ladder business at this time is needed by detailed screening, it is ensured that right VR business is without influence.For example, user is minimum in this case can be carried out when VR business uses cellular mobile network WIFI and data service switch, it can thus be assumed that WIFI service is time low associated second ladder business.
Optionally, as shown in figure 4, the detailed process of terminal execution power-saving control strategy is as follows:
S121, the electricity and/or temperature for detecting terminal, judge whether electricity is lower than the first power threshold and/or temperature is It is no to be higher than the first temperature threshold.When electricity is higher than the first temperature threshold lower than the first power threshold and/or temperature, enter step S122;Otherwise, it continues to test.
S122, the operation for inhibiting the first ladder business.
S123, detect terminal electricity and/or temperature, judge the electricity of terminal whether be lower than the second power threshold and/or Whether the temperature of terminal is higher than second temperature threshold value.When electricity is higher than second temperature threshold lower than the second power threshold and/or temperature When value, S124 is entered step;Otherwise, it continues to test.
S124, the operation for inhibiting the second ladder business.
S125, detect terminal electricity and/or temperature, judge the electricity of terminal whether be lower than third power threshold and/or Whether the temperature of terminal is higher than third temperature threshold.When electricity is higher than third temperature threshold lower than third power threshold and/or temperature When value, S126 is entered step;Otherwise, judgement is continued to test.
After inhibiting the operation of the second ladder business, the electricity and/or temperature of terminal are continued to test.In the present embodiment, Third power threshold<the second power threshold<the first power threshold, third temperature threshold>second temperature threshold value>the first temperature threshold Value.First power threshold, the second power threshold, third power threshold, the first temperature threshold, second temperature threshold value and third temperature Threshold value can be set according to actual needs, can be specified by system, and setting can also be customized by the user.Wherein, third electricity Threshold value can be set as 5%-10%, and third temperature threshold can be set as the temperature that may be caused danger as defined in certain standard value Value.
S126, user is reminded to close target service.
When the electricity of terminal is higher than third temperature threshold lower than third power threshold and/or temperature, terminal then passes through sound One of modes such as sound, vibration or at least two alerting patterns remind user to close target service.Such as mentioned by alarm, voice Show that equal voice modes remind user, or reminds user in a manner of fixed frequency vibration.Optionally, when target service is VR industry When business, terminal can demonstrate the mode for reminding user to close target service to user when VR business starts.
Further, when user is still not turned off target service after reminding user to be more than the predetermined time, terminal is then strong System closes target service, so that terminal exits business stable state, if forced to kill VR process, exits VR application.Prevent electricity It exhausts.
Alternatively it is also possible to omit the step S123 and S124 in this programme, new power-saving control strategy is formed.
Optionally, when executing power-saving control strategy, the electricity and/or temperature of terminal can not also be detected, is directly inhibited With the operation of the incoherent business of target service.Alternatively, with the continuity of time, gradually inhibiting the first rank using the time as foundation Terraced business, reminds user to close target service etc. at the second ladder business.
Further, it as shown in figure 5, in electricity-saving control method second embodiment of the invention, is also wrapped after step S12 Include following steps:
Whether S13, detection terminal have exited business stable state.When terminal has exited business stable state, into step Rapid S14;When terminal does not exit business stable state, judgement is continued to test.
For exiting the identification of business stable state, can using with it is aforementioned assert recognize in business stable state is opposite Determine mode, other way can also be used.For example, exiting business stable state in application, assert when user exits VR;Work as terminal The events such as sent a telegram here, notified interrupt, and when having handled the events such as the incoming call, notice, business stable state is exited in identification.
S14, the normal operation for restoring repressed business.
When terminal has exited business stable state, then restore the normal operation of repressed business, to eliminate use The process that family is restored manually.
If terminal only inhibits the first ladder business, restores the normal operation of the first ladder business, that is, restore First ladder business is the state before being suppressed.
If terminal inhibits the first ladder business and the second ladder business, it is contemplated that user can very likely use at this time To the second ladder business, therefore only restore the normal operation of the second ladder business, that is, it is suppressed for restoring the second ladder business State before.For example, terminal closes WIFI service when running VR business, and the state before closing is recorded, when exiting VR When business, then WIFI service is opened, is the state before closing by WIFI service recovery.
It in other embodiments, can also be extensive simultaneously when terminal inhibits the first ladder business and the second ladder business The normal operation of multiple first ladder business and the second ladder business.
The electricity-saving control method of the embodiment of the present invention, by detecting whether terminal is in one target service of long-play Business stable state then executes power-saving control strategy when being in business stable state, inhibits and the incoherent industry of target service The operation of business reduces the calorific value of terminal at work to reduce the power consumption of terminal at work, to reach section The purpose for saving the fever of terminal power controlling terminal, is greatly improved user experience.
Referring to Fig. 6, one embodiment of power-saving control device of the invention is proposed, described device includes state detection module and plan Slightly control module, in which: state detection module, for detecting whether terminal is in business stable state, the business stable state For the state of one target service of long-play;Strategic control module, for executing province when terminal is in business stable state Electric control strategy, to inhibit the operation with the incoherent business of target service.
Business stable state described in the embodiment of the present invention refers to terminal for a long time (as more than 20 minutes, 30 minutes, one A hour etc.) one target service of operation state, i.e., a possibility that user switches usage scenario whithin a period of time minimum shape State.Here terminal refers mainly to the mobile terminals such as mobile phone, plate.Described target service such as VR business, video traffic etc. may be long The business of time operation.
By taking VR business as an example, when VR is applied in front stage operation, user can generally put on VR glasses, and removing non-user at this time will Terminal is taken out from VR mode glasses, otherwise will not exit VR application, terminal is then in business stable state at this time.
By taking video traffic as an example, when user plays film by Video Applications at the terminal, except non-movie finishes, Video Applications will not be generally exited, terminal is then in business stable state at this time.
State detection module can assert in the following manner business stable state:
Optionally, as shown in fig. 7, when target service is VR business, state detection module includes first detection unit, the Two detection units and decision unit, in which: first detection unit, for whether detecting VR application in front stage operation;Second detection Unit, for detecting whether sensor of interest is in preset state;Decision unit, for applying as VR in front stage operation and target Sense it is no in preset state when, judgement terminal is in business stable state.
Sensor of interest includes angular-rate sensor (such as gyroscope), light sensor, in range sensor sensor One kind or at least two, the corresponding preset state of angular-rate sensor is that the data detected whithin a period of time persistently change State, the corresponding preset state of light sensor is the shape of the data that detect whithin a period of time continuously less than luminance threshold State, the corresponding preset state of range sensor are the state of the data that detect whithin a period of time continuously less than distance threshold.
For example, second detection unit judges whether the data that angular-rate sensor detects whithin a period of time persistently become Change, the data that light sensor detects whithin a period of time whether continuously less than luminance threshold and/or range sensor one Whether the data detected in the section time are continuously less than distance threshold;If the number that angular-rate sensor detects whithin a period of time According to lasting variation, the data that light sensor detects whithin a period of time are continuously less than luminance threshold and/or range sensor The data detected whithin a period of time then adjudicate sensor of interest and are in preset state continuously less than distance threshold.Wherein, bright Degree threshold value and distance threshold can be set according to actual needs, and aforementioned a period of time is such as more than 1 minute, 5 minutes, 10 minutes.
Optionally, when target service is video traffic, whether state detection module detects Video Applications in front stage operation More than preset time (such as 10 minutes), and detect whether currently playing video is more than preset duration (such as 30 minutes), if video Applying is more than preset time in front stage operation and currently playing video is more than preset duration, then adjudicates terminal and be in business stabilization State.
Foregoing illustrate the situation that target service is VR business and video traffic, those skilled in the art can be managed Solution, in addition to this it is possible to will likely long-play other business as target service, the present invention no longer arranges this one by one Act repeats.
When detecting that terminal is in business stable state, strategic control module then executes preset power-saving control plan Slightly, to inhibit to make terminal enter half power consumption state with the operation of the incoherent business of target service (application and/or service) and (be situated between Between total power dissipation state and low power consumpting state), power consumption of terminal is reduced, terminal power is saved.
When it is implemented, strategic control module can execute in the following manner power-saving control strategy:
Optionally, as shown in figure 8, strategic control module includes the first judging unit and first control unit, in which: first Whether judging unit is higher than the first temperature for judging whether the electricity of terminal is lower than the temperature of the first power threshold and/or terminal Spend threshold value;First control unit is higher than the first temperature lower than the temperature of the first power threshold and/or terminal for the electricity when terminal Threshold value is spent, the operation of the first ladder business is inhibited.
When detecting temperature, the first judging unit can detect the surface temperature of terminal by temperature sensor, can also examine The battery temperature for surveying terminal, also can detecte the cpu temperature of terminal or the temperature of other devices.First power threshold and first Temperature threshold can be set according to actual needs, can be specified by system, and setting can also be customized by the user.
When the electricity for detecting terminal is higher than the first temperature threshold lower than the first power threshold and/or temperature, the first control Unit processed then inhibits the operation of the first ladder business.Suppressor mode such as closes, suspend mode, reduces running frequency.First ladder industry The minimum business of the relevance (or coupling, correlation) of target service of the business to be run with current steady, such as all backstages Nonsystematic application, to reduce the power consumption of terminal.Preferably, it (is such as set if user has carried out special setting to certain applications Set using white list), then inhibit backstage nonsystematic in application, not handling the application that special setting is crossed then.
Further, as shown in figure 9, strategic control module further includes second judgment unit and the second control unit, in which: Whether second judgment unit is higher than for judging whether the electricity of terminal is lower than the temperature of the second power threshold and/or terminal Two temperature thresholds;Second control unit is higher than the lower than the temperature of the second power threshold and/or terminal for the electricity when terminal Two temperature thresholds inhibit the operation of the second ladder business.
After inhibiting the operation of the first ladder business, second judgment unit continues through temperature sensor detection terminal Electricity and/or temperature.In the present embodiment, the second power threshold is lower than the first power threshold, and second temperature threshold value is higher than the first temperature Spend threshold value.First power threshold, the second power threshold, the first temperature threshold and second temperature threshold value can be set according to actual needs It is fixed, it can be specified by system, setting can also be customized by the user.
When the electricity for detecting terminal is higher than second temperature threshold value lower than the second power threshold and/or temperature, the second control Unit processed then further suppresses the operation of the second ladder business.The relevance of second ladder business and target service is greater than the first rank The relevance of terraced business and target service, i.e. the second ladder business are the business low with the relevance of target service time.
By taking the target service of current steady operation is VR business as an example, when determining the second ladder business, the second control is single The application and/or service that member can use current VR business detect, including network specifics, input method service, camera (Camera) service, positioning service etc., it is notable that time low associated second ladder business at this time is needed by detailed Screening, it is ensured that on VR business without influence.For example, when VR business uses cellular mobile network, user in this case It is minimum to can be carried out WIFI and data service switching, it can thus be assumed that WIFI service is time low associated second ladder business.
Further, as shown in Figure 10, strategic control module further includes third judging unit and third control unit, In: whether third judging unit is higher than for judging whether the electricity of terminal is lower than the temperature of third power threshold and/or terminal Third temperature threshold;Third control unit, the temperature for the electricity when terminal lower than third power threshold and/or terminal are higher than When third temperature threshold, user is reminded to close target service.
After inhibiting the operation of the second ladder business, third judging unit continues to test terminal by temperature sensor Electricity and/or temperature.In the present embodiment, third power threshold<the second power threshold<the first power threshold, third temperature threshold> Second temperature threshold value > the first temperature threshold.First power threshold, the second power threshold, third power threshold, the first temperature threshold Value, second temperature threshold value and third temperature threshold can be set according to actual needs, can be specified by system, can also be by user Customized setting.Wherein, third power threshold can be set as 5%-10%, and third temperature threshold can be set as certain standard value The defined temperature value that may be caused danger.
When the electricity of terminal is higher than third temperature threshold lower than third power threshold and/or temperature, third control unit Then user is reminded to close target service by one of modes such as sound, vibration or at least two alerting patterns.Such as pass through police The voice modes such as report, voice prompting remind user, or remind user in a manner of fixed frequency vibration.Optionally, work as target When business is VR business, terminal can demonstrate the mode for reminding user to close target service to user when VR business starts.
Further, when user is still not turned off target service after reminding user to be more than the predetermined time, third control Unit then forcibly closes target service, so that terminal exits business stable state, if forced to kill VR process, exits VR application. Prevent electricity from exhausting.
Alternatively it is also possible to omit the second judgment unit and the second control unit in Figure 10, new policy control is formed Module.
Optionally, strategic control module can not also detect the electricity and/or temperature of terminal when executing power-saving control strategy Degree directly inhibits the operation with the incoherent business of target service.Alternatively, using the time as foundation, with the continuity of time, gradually Inhibit the first ladder business, the second ladder business, user reminded to close target service etc..
Further, state detection module is also used to detect whether terminal has exited business stable state, policy control mould Block is also used to restore the normal operation of repressed business when terminal has exited business stable state.To eliminate user The process restored manually.
For exiting the identification of business stable state, state detection module can assert that the business of being in is stablized using with aforementioned The opposite identifying way of state can also use other way.For example, when user exits VR in application, state detection module is recognized Surely business stable state is exited;When the terminal events such as sent a telegram here, notified interrupt, and have handled the events such as the incoming call, notice, shape Business stable state is exited in state detection module identification.
Strategic control module can restore the normal operation of repressed business in the following manner:
When only inhibiting the first ladder business, strategic control module then restores the normal operation of the first ladder business, Restoring the first ladder business is the state before being suppressed.
When inhibiting the first ladder business and the second ladder business, it is contemplated that user can very likely use at this time this Two ladder business, therefore strategic control module only restores the normal operation of the second ladder business, that is, restoring the second ladder business is State before being suppressed.For example, terminal, when running VR business, strategic control module closes WIFI service, and records pass State before closing then opens WIFI service when exiting VR business, is the state before closing by WIFI service recovery.
In other embodiments, when inhibiting the first ladder business and the second ladder business, strategic control module can also To restore the normal operation of the first ladder business and the second ladder business simultaneously.
The power-saving control device of the embodiment of the present invention, by detecting whether terminal is in one target service of long-play Business stable state then executes power-saving control strategy when being in business stable state, inhibits and the incoherent industry of target service The operation of business reduces the calorific value of terminal at work to reduce the power consumption of terminal at work, to reach section The purpose for saving the fever of terminal power controlling terminal, is greatly improved user experience.
The present invention proposes a kind of mobile terminal simultaneously, the mobile terminal include memory, processor and at least one deposited The application program executed by processor is stored up in memory and is configured as, the application program is configurable for executing power saving Control method.The following steps are included: whether detection terminal is in business stable state, which stablizes the electricity-saving control method State is the state of one target service of long-play;When terminal is in business stable state, power-saving control strategy is executed, with Inhibit the operation with the incoherent business of target service.Electricity-saving control method as described in this embodiment is above-mentioned in the present invention Electricity-saving control method involved in embodiment, details are not described herein.
The present invention proposes a kind of computer readable storage medium simultaneously, is stored with province on the computer readable storage medium Electric control program, when the power-saving control program is executed by processor, realize electricity-saving control method the step of.The power-saving control For method the following steps are included: whether detection terminal is in business stable state, which is one mesh of long-play The state of mark business;When terminal is in business stable state, power-saving control strategy is executed, to inhibit uncorrelated to target service Business operation.Electricity-saving control method as described in this embodiment is that province involved in above-described embodiment is automatically controlled in the present invention Method processed, details are not described herein.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
It should be understood that the above is only a preferred embodiment of the present invention, the scope of the patents of the invention cannot be therefore limited, It is all to utilize equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content, it is applied directly or indirectly in Other related technical areas are included within the scope of the present invention.

Claims (10)

1. a kind of electricity-saving control method, which comprises the following steps:
Whether detection terminal is in business stable state, and the business stable state is the shape of one target service of long-play State;
When the terminal is in business stable state, power-saving control strategy is executed, to inhibit uncorrelated to the target service Business operation.
2. electricity-saving control method according to claim 1, which is characterized in that the target service includes VR business, described Whether detection terminal, which is in business stable state, includes:
VR application is detected whether in front stage operation, and detects whether sensor of interest is in preset state;
If so, adjudicating the terminal is in business stable state.
3. electricity-saving control method according to claim 2, which is characterized in that the sensor of interest includes angular speed sensing Device and/or light sensor, the detection sensor of interest whether in preset state include:
Judge data that the angular-rate sensor detects whithin a period of time whether persistently variation and/or the light level Whether the data that device detects whithin a period of time are continuously less than luminance threshold;
If so, adjudicating the sensor of interest is in preset state.
4. electricity-saving control method according to claim 1-3, which is characterized in that the execution power-saving control strategy Include:
Judge whether the electricity of the terminal is lower than the first power threshold and/or whether the temperature of the terminal is higher than the first temperature Threshold value;
If so, inhibit the operation of the first ladder business, the first ladder business be with the relevance of the target service most Low business.
5. electricity-saving control method according to claim 4, which is characterized in that the operation for inhibiting the first ladder business After step further include:
Judge whether the electricity of the terminal is lower than the second power threshold and/or whether the temperature of the terminal is higher than second temperature Threshold value;
If so, inhibiting the operation of the second ladder business;
Wherein, second power threshold is lower than first power threshold, and the second temperature threshold value is higher than first temperature Threshold value is spent, the relevance of the second ladder business and the target service is greater than the first ladder business and the target industry The relevance of business.
6. electricity-saving control method according to claim 5, which is characterized in that the operation for inhibiting the second ladder business After step further include:
Judge whether the electricity of the terminal is lower than third power threshold and/or whether the temperature of the terminal is higher than third temperature Threshold value;
If so, user is reminded to close the target service;
Wherein, the third power threshold is lower than second power threshold, and the third temperature threshold is higher than second temperature Spend threshold value.
7. electricity-saving control method according to claim 1-6, which is characterized in that the execution power-saving control strategy The step of after further include:
Detect whether the terminal exits the business stable state;
When the terminal exits the business stable state, restore the normal operation of repressed business.
8. a kind of power-saving control device characterized by comprising
State detection module, for detecting whether terminal is in business stable state, the business stable state is to transport for a long time The state of one target service of row;
Strategic control module, for executing power-saving control strategy when the terminal is in business stable state, with inhibition and institute State the operation of the incoherent business of target service.
9. a kind of mobile terminal, including memory, processor and at least one be stored in the memory and be configured as The application program executed by the processor, which is characterized in that the application program be configurable for perform claim require 1 to 7 described in any item electricity-saving control methods.
10. a kind of computer readable storage medium, which is characterized in that it is automatically controlled to be stored with province on the computer readable storage medium Processing procedure sequence when the power-saving control program is executed by processor, realizes that the province as described in any one of claims 1 to 7 is automatically controlled The step of method processed.
CN201710604823.9A 2017-07-24 2017-07-24 Electricity-saving control method, device and mobile terminal and computer readable storage medium Withdrawn CN109298772A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710604823.9A CN109298772A (en) 2017-07-24 2017-07-24 Electricity-saving control method, device and mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710604823.9A CN109298772A (en) 2017-07-24 2017-07-24 Electricity-saving control method, device and mobile terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109298772A true CN109298772A (en) 2019-02-01

Family

ID=65167414

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710604823.9A Withdrawn CN109298772A (en) 2017-07-24 2017-07-24 Electricity-saving control method, device and mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109298772A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647235A (en) * 2019-09-06 2020-01-03 Oppo广东移动通信有限公司 Data processing method and device based on terminal equipment and terminal equipment
CN111596745A (en) * 2020-05-13 2020-08-28 歌尔科技有限公司 Temperature detection device, method and system and electronic equipment
CN113534867A (en) * 2020-04-13 2021-10-22 成都鼎桥通信技术有限公司 Temperature control method of terminal
CN114397926A (en) * 2021-11-01 2022-04-26 南京林洋电力科技有限公司 Terminal CPU temperature control method based on automatic operation load adjustment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102510422A (en) * 2011-10-09 2012-06-20 惠州Tcl移动通信有限公司 Mobile terminal and method for regulating operating load thereof
JP2014038193A (en) * 2012-08-15 2014-02-27 Oki Electric Ind Co Ltd Method, program, and system for controlling power saving
US20140211676A1 (en) * 2013-01-31 2014-07-31 Apple Inc. Dynamic adaptation of a traffic inactivity timer
US20140325247A1 (en) * 2013-04-25 2014-10-30 Inder Sodhi Controlling power and performance in a system agent of a processor
CN105183139A (en) * 2015-10-23 2015-12-23 维沃移动通信有限公司 Automatic closing method and system of application programs and mobile terminal
CN105892616A (en) * 2016-03-29 2016-08-24 宇龙计算机通信科技(深圳)有限公司 Terminal control method, terminal control device and terminal
CN106293071A (en) * 2016-07-28 2017-01-04 宇龙计算机通信科技(深圳)有限公司 The mode switching method of a kind of wearable device and wearable device
CN106527659A (en) * 2016-10-24 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Terminal control method, terminal control device and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102510422A (en) * 2011-10-09 2012-06-20 惠州Tcl移动通信有限公司 Mobile terminal and method for regulating operating load thereof
JP2014038193A (en) * 2012-08-15 2014-02-27 Oki Electric Ind Co Ltd Method, program, and system for controlling power saving
US20140211676A1 (en) * 2013-01-31 2014-07-31 Apple Inc. Dynamic adaptation of a traffic inactivity timer
US20140325247A1 (en) * 2013-04-25 2014-10-30 Inder Sodhi Controlling power and performance in a system agent of a processor
CN105183139A (en) * 2015-10-23 2015-12-23 维沃移动通信有限公司 Automatic closing method and system of application programs and mobile terminal
CN105892616A (en) * 2016-03-29 2016-08-24 宇龙计算机通信科技(深圳)有限公司 Terminal control method, terminal control device and terminal
CN106293071A (en) * 2016-07-28 2017-01-04 宇龙计算机通信科技(深圳)有限公司 The mode switching method of a kind of wearable device and wearable device
CN106527659A (en) * 2016-10-24 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Terminal control method, terminal control device and terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647235A (en) * 2019-09-06 2020-01-03 Oppo广东移动通信有限公司 Data processing method and device based on terminal equipment and terminal equipment
CN113534867A (en) * 2020-04-13 2021-10-22 成都鼎桥通信技术有限公司 Temperature control method of terminal
CN111596745A (en) * 2020-05-13 2020-08-28 歌尔科技有限公司 Temperature detection device, method and system and electronic equipment
CN111596745B (en) * 2020-05-13 2022-03-01 歌尔科技有限公司 Temperature detection device, method and system and electronic equipment
CN114397926A (en) * 2021-11-01 2022-04-26 南京林洋电力科技有限公司 Terminal CPU temperature control method based on automatic operation load adjustment
CN114397926B (en) * 2021-11-01 2023-08-15 南京林洋电力科技有限公司 Terminal CPU temperature control method based on automatic operation load adjustment

Similar Documents

Publication Publication Date Title
CN109298772A (en) Electricity-saving control method, device and mobile terminal and computer readable storage medium
CN109213539B (en) Memory recovery method and device
KR101641174B1 (en) Method for enabling shutdown alarm clock and mobile terminal, and program, and recording medium for enabling shutdown alarm clock
AU2019204877B2 (en) Method for interaction between terminal and network device, and terminal
CN107209540B (en) Method, system, and medium for managing thermal remediation on a computing device
CN107544842B (en) Applied program processing method and device, computer equipment, storage medium
CN104662487A (en) Predicting user intent and future interaction from application activities
EP3008582B1 (en) Terminal and application synchronization method therefor
CN104750589B (en) A kind of memory parameter adjusting method and mobile terminal
CN111782295B (en) Application program running method and device, electronic equipment and storage medium
CN105245718A (en) Control method and device of breathing lamp and mobile terminal
CN106663164A (en) System and method for improved security for a processor in a portable computing device (pcd)
CN106708616A (en) Process control method and process control device
CN106055078B (en) A kind of sensor processing method of mobile terminal, device and mobile terminal
WO2019024646A1 (en) Application management and control method, apparatus, and electronic device
CN109117191A (en) A kind of method, apparatus that electric appliance is restarted, equipment and storage medium
CN112087771A (en) Communication control method and device, electronic equipment and computer readable storage medium
WO2016045525A1 (en) Method and apparatus for processing state of terminal
US11816200B2 (en) Terminal and method for managing launch of an application of a terminal
US20120324184A1 (en) Electronic device and method for preventing data loss
CN106686633A (en) Method for preventing WIFI malicious frequent awakening
CN109766198A (en) Stream Processing method, apparatus, equipment and computer readable storage medium
CN107491349B (en) Applied program processing method and device, computer equipment, storage medium
CN106127034B (en) A kind of method, apparatus that anti-locking system is maliciously closed and electronic equipment
CN106372502A (en) Application closure limiting method and apparatus, and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20190201