CN103869923B - A kind of method and device of state switching - Google Patents

A kind of method and device of state switching Download PDF

Info

Publication number
CN103869923B
CN103869923B CN201210525715.XA CN201210525715A CN103869923B CN 103869923 B CN103869923 B CN 103869923B CN 201210525715 A CN201210525715 A CN 201210525715A CN 103869923 B CN103869923 B CN 103869923B
Authority
CN
China
Prior art keywords
working condition
electronic equipment
condition
parameter
subparameter
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
CN201210525715.XA
Other languages
Chinese (zh)
Other versions
CN103869923A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210525715.XA priority Critical patent/CN103869923B/en
Publication of CN103869923A publication Critical patent/CN103869923A/en
Application granted granted Critical
Publication of CN103869923B publication Critical patent/CN103869923B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

An embodiment of the present invention provides a kind of method and devices of state switching, are related to the field of equipment state switching, for improving user experience.The method includes:When the electronic equipment is in the second working condition, the first parameter is obtained;Judge whether first parameter meets the first preset condition;If first parameter meets first preset condition, the electronic equipment is switched into third working condition from second working condition;Wherein, second working condition is differed with the third working condition, and the electronic equipment switches to the first working condition from second working condition and needs the first duration, first working condition is switched to from the third working condition and needs the second duration, and first duration and second duration are unequal.The present invention is suitable for the energy saving scene of equipment.

Description

A kind of method and device of state switching
Technical field
The present invention relates to the field of equipment state switching more particularly to a kind of method and devices of state switching.
Background technology
In recent years, with the development of science and technology, the equipment such as computer, television set have developed with booting, shutdown and standby etc. Several modes.Standby mode refer to equipment between bring into normal play function and completely disengage AC power and between thoroughly powering off A kind of intermediate operating mode.In order to reduce equipment power dissipation, device energy conservation is improved, standby mode can be divided into shallow sleep standby pattern With deep sleep standby mode.The transformation of standby mode can be realized according to the length of stand-by time.Standby mould is had just enter into equipment When formula, equipment can enter shallow sleep standby pattern, and with the growth of stand-by time, equipment can be turned by shallow sleep standby pattern Shift to deep sleep standby mode.
Equipment can quickly be restored under shallow sleep standby pattern to working condition.But equipment is standby in deep sleep When pattern, the time of recovery to working condition restores long to the working condition time compared with equipment under shallow sleep standby pattern, therefore, User needs the time waited for longer, reduces user experience.
Invention content
The embodiment of the present invention provides a kind of method and device of state switching, to improve user experience.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that:
A kind of method of state switching, including:When the electronic equipment is in the second working condition, the first ginseng is obtained Number;Judge whether first parameter meets the first preset condition;If first parameter meets first preset condition, The electronic equipment is switched into third working condition from second working condition;Wherein, second working condition and institute It states third working condition to differ, and the electronic equipment switches to the first working condition from second working condition and needs the One duration switches to first working condition from the third working condition and needs the second duration, first duration and institute It is unequal to state the second duration.
A kind of device of state switching, including:Acquiring unit, for being in the second working condition in the electronic equipment When, obtain the first parameter;Judging unit, for judging whether first parameter that the acquiring unit obtains meets first in advance If condition;Switch unit then will for judging that first parameter meets first preset condition in the judging unit The electronic equipment switches to third working condition from second working condition;Wherein, second working condition with it is described Third working condition differs, and the electronic equipment switches to the first working condition from second working condition and needs first Duration switches to first working condition from the third working condition and needs the second duration, first duration with it is described Second duration is unequal.
An embodiment of the present invention provides a kind of method and devices of state switching, at equipment in the second working condition, The first parameter is obtained, when judging that the first parameter meets the first preset condition, equipment is switched to the by the second working condition Three working conditions.In this way, third working condition can be switched to the electronic equipment for being in the second working condition so that electronics is set Time length ratio electronic equipment needed for the working condition of the standby output data for switching to electronic equipment by third working condition is by second The duration that working condition switches to needed for the working condition of the output data of electronic equipment is small, when being waited for reduce user Between, improve user experience.Alternatively, electronic equipment is switched to the work shape of the output data of electronic equipment by third working condition Needed for the working condition for the output data that time length ratio electronic equipment needed for state is switched to electronic equipment by the second working condition Shi Chang great improves user experience so as to reduce the power consumption of electronic equipment.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of schematic diagram of the method for state switching provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram of the method for another state switching provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of the method for another state switching provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of the device of state switching provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of the device of another state switching provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a kind of methods of state switching, as shown in Figure 1, including:
101, when the electronic equipment is in the second working condition, the first parameter is obtained.
Wherein, the first parameter is to switch relevant parameter with state of electronic equipment.
Optionally, the first parameter includes:Environmental parameter around electronic equipment, at this point, the first parameter of acquisition includes:It obtains Environmental parameter around electronic equipment.
Further, the environmental parameter around electronic equipment includes:Audio parameter around electronic equipment, at this point, obtaining Environmental parameter around electronic equipment includes:Obtain the audio parameter around the electronic equipment.
It should be noted that in embodiments of the present invention, the environmental parameter around electronic equipment can also be other parameters, example Such as the temperature parameter around electronic equipment, light source parameters can also be other parameters, and the present invention is without limitation.
Further, the first parameter includes:First subparameter and the second subparameter.At this point, the first parameter of acquisition includes:It obtains Take the first subparameter and the second subparameter.
Optionally, the first subparameter includes:Obtain the environmental parameter around the electronic equipment.Second subparameter includes: The electronic equipment is in the duration of second working condition.
At this point, the first subparameter of acquisition and the second subparameter include:Obtain environmental parameter around the electronic equipment and The electronic equipment is in the duration of second working condition.
102, judge whether first parameter meets the first preset condition.
Specifically, after obtaining the first parameter, judge whether the first parameter meets according to pre-set first preset condition First preset condition.
Optionally, if the first parameter includes:Environmental parameter around electronic equipment, the first preset condition include:Environment is joined Number is more than threshold value, at this point, after obtaining the first parameter, the first parameter is compared with threshold value, and whether the first parameter of detection More than threshold value, if the first parameter is more than threshold value, judge that the first parameter meets the first preset condition;If the first parameter is not More than threshold value, then judge that the first parameter is unsatisfactory for the first preset condition, then switches without state, electronic equipment is maintained In the second working condition.
It should be noted that threshold value is pre-set.
Illustratively, if the environmental parameter around electronic equipment is the audio parameter around electronic equipment.It is assumed that threshold value It it is 20 decibels for sound size, the first preset condition is that audio parameter is more than 20 decibels at this time.If the first parameter obtained is sound Sound size is 65 decibels, then is more than thresholding by comparing 65 decibels of the first parameter and 20 decibels of first parameters of determination of threshold value Value, so, judge that the first parameter meets the first preset condition.
It should be noted that threshold value can be the size of sound, can also be the frequency of sound or the vocal print of sound Deng, it can be merged with many kinds of parameters, it is of the invention without limitation.
It should be noted that if threshold value includes the frequency of sound, then electronic equipment can be determined by the frequency of sound Whether the sound of surrounding is effective sound.For example, the frequency of sound determines whether the sound around electronic equipment is to pass through use The sound that family is sent out, such as step, speak, rather than ambient noise, such as repairing noise, sound of the wind, the patter of rain.If threshold value includes Whether the vocal print of sound can then determine sound from default crowd by the vocal print of sound, such as, if source with Adult in kinsfolk, rather than children.Threshold value can be pre-set according to different needs, and the present invention does not do this Limitation.
Alternatively, the first preset condition includes:Environmental parameter is less than threshold value.At this point, after obtaining the first parameter, by the first ginseng Number is compared with threshold value, and whether the first parameter of detection is less than threshold value, if the first parameter less than threshold value, judges the One parameter meets the first preset condition;If the first parameter is not less than threshold value, it is default to judge that the first parameter is unsatisfactory for first Condition then switches without state, electronic equipment is maintained the second working condition.
Illustratively, if the environmental parameter around electronic equipment is the audio parameter around electronic equipment.It is assumed that threshold value It it is 20 decibels for sound size, the first preset condition is that audio parameter is less than 20 decibels at this time.If the first parameter obtained is sound Sound size is 15 decibels, then is less than thresholding by comparing 15 decibels of the first parameter and 20 decibels of first parameters of determination of threshold value Value, so, judge that the first parameter meets the first preset condition.
Further, if the first parameter includes:First subparameter and the second subparameter, then the first preset condition include:The One presets sub- condition and the second default sub- condition.
Wherein, first subparameter is corresponding with the described first default sub- condition.Second subparameter and described the Two default sub- conditions are corresponding.That is, needing to judge whether the first subparameter meets first and preset sub- condition, the second son ginseng Whether number meets the second preset condition.
Optionally, if the first subparameter includes:Environmental parameter around electronic equipment, first, which presets sub- condition, includes:Electricity Environmental parameter around sub- equipment is more than the first door restrictor value.Alternatively, the first default sub- condition includes:Ring around electronic equipment Border parameter is less than the first door restrictor value.If the second subparameter includes:Electronic equipment is in the duration of second working condition, the Two, which preset sub- condition, includes:The duration that electronic equipment is in second working condition is less than the second threshold value.Alternatively, second is pre- If sub- condition includes:The duration that electronic equipment is in second working condition is more than the second threshold value.
It should be noted that the first threshold value is default setting, for judging there is asonant door around electronic equipment Limit value.Second threshold value is default setting, is the longest duration that electronic equipment is in the second working condition.
Illustratively, it is assumed that the first subparameter is audio parameter, and the second subparameter is that electronic equipment is in second work Make the duration of state.First threshold value is that the size of sound is 20 decibels, and the second threshold value is 60 seconds.If the first of acquisition Subparameter is that sound size is 80 decibels, the second subparameter of acquisition be electronic equipment be in the second working condition when a length of 50 Second.
If first, which presets the size that sub- condition is audio parameter, is more than the first threshold value, the second preset condition is electronic equipment The duration for being in second working condition is less than the second threshold value.After obtaining the first subparameter, by the first subparameter and the One threshold value compares, and determines 80 decibels of 20 decibels of sound sizes for being more than the first threshold value of sound size of the first subparameter, the The electronic equipment of two subparameters is in the duration 50 seconds of the second working condition, and the electronic equipment less than the second threshold value is in second The duration of working condition 60 seconds then judges that the first subparameter meets first and presets sub- condition, and it is pre- that the second subparameter meets second If sub- condition.That is, judging that the first parameter meets the first preset condition.
If 103, first parameter meets first preset condition, the electronic equipment is worked from described second State switches to third working condition.
Wherein, second working condition is differed with the third working condition, and the electronic equipment is from described Two working conditions switch to the first working condition and need the first duration, and first work is switched to from the third working condition State needs the second duration, and first duration and second duration are unequal.
Further, first working condition refers to the working condition that the electronic equipment is in output data.It is described Second working condition and the third working condition refer to the working condition that the electronic equipment is in non-output data.Namely It says, when electronic equipment is in the first working condition, user can obtain data by electronic equipment.Electronic equipment goes out in the second work When making state or third working condition, user cannot obtain data by electronic equipment.
Further, when the electronic equipment is in first working condition, there is the first power consumption.The electronic equipment When being in second working condition, there is the second power consumption.When the electronic equipment is in the third working condition, have the Three power consumptions.Wherein, first power consumption is more than second power consumption;First power consumption is more than the third power consumption.
Specifically, after judging that the first parameter meets the first preset condition, electronic equipment is cut by the second working condition Shift to the third working condition different from the second working condition.According to the difference of the first preset condition, electronic equipment is by third work The duration needed for the first working condition, which is switched to, as state switches to first by the second working condition more than or less than electronic equipment Duration needed for working condition.
If including in first preset condition:In the case that environmental parameter is more than threshold value, if first parameter is full Foot first preset condition, then switch to third working condition by the electronic equipment from second working condition.Wherein, First duration is more than second duration.Further, second power consumption is less than the third power consumption.
Illustratively, if the second working condition is energy saving state 2, third working condition is energy saving state 1, at this point, electronic equipment It is in energy saving state 2.Assuming that it is 20 decibels that threshold value, which is sound size, it is 55 decibels that the environmental parameter of acquisition, which is sound size, then Environmental parameter is more than threshold value, meets the first preset condition, then at this point, electronic equipment is switched to energy saving state 1 by energy saving state 2, And electronic equipment shifts to the duration needed for the first working condition by energy saving state 2 and switches to first by energy saving state 1 more than electronic equipment Duration needed for working condition.That is, judging environmental parameter the first preset condition of satisfaction, illustrate around electronic equipment Someone, at this point, electronic equipment is switched to sleeping state by deep sleep state, to facilitate electronic equipment by sleeping state Switch the first working condition, reduce the stand-by period of user, to improve the experience of user.
Optionally, it is non-defeated can be that electronic equipment is directly switch to by the working condition of output data for third working condition Go out the working condition of data.
Illustratively, if the state of the non-output data of electronic equipment is divided into energy saving state 1, energy saving state 2, energy saving state 3, and section Energy state 4.Wherein, the energy-saving effect of energy saving state 1, energy saving state 2, energy saving state 3 and energy saving state 4 is incremented by successively, is switched to by energy saving state When operating conditions, energy saving state 1, energy saving state 2, it is incremented by successively that energy saving state 3 and energy saving state 4 switch to the duration needed for operating conditions.
At this point, electronic equipment switches first to energy saving state 1 by the working condition of output data, so, energy saving state 1 is third Working condition.Assuming that the second working condition is energy saving state 3, then electronic equipment is at present for energy saving state 3.If judging described One parameter meets the first preset condition and electronic equipment is then switched to third working condition by the second working condition, as by electronics Equipment directly switches to energy saving state 1 by energy saving state 3.
Optionally, third working condition is non-output number residing before electronic equipment switches to second working condition According to working condition.
Illustratively, described in example as above, if the second working condition is energy saving state 3, then electronic equipment is in energy saving at this time State 3.If judging, first parameter meets the first preset condition, and electronic equipment is switched to third by the second working condition Electronic equipment is as switched to equipment energy saving state residing before being switched to energy saving state 3, i.e., by working condition by energy saving state 3 For equipment is switched to energy saving state 2 by energy saving state 3.
It should be noted that if the second working condition is what electronic equipment was directly switch to by the working condition of output data The working condition of non-output data, then judge the first parameter meet the first preset condition after, due to the second working condition be by The working condition for the non-output data that first working condition is directly switch to, so, electronic equipment is maintained into the second work at this time Make state.Shown in example as above, if electronic equipment is in energy saving state 1, after judging that the first parameter meets the first preset condition, Since energy saving state 1 is the energy saving state that electronic equipment is directly switch to by the first operating conditions, so, electronic equipment is maintained energy saving State 1 switches without state.
If including in first preset condition:In the case that environmental parameter is less than threshold value, if the audio parameter is full Foot first preset condition, then switch to third working condition by the electronic equipment from second working condition.Wherein, First duration is less than second duration.Further, second power consumption is more than the third power consumption.
Illustratively, if, the second working condition be the second sleep state, third working condition be third sleep state this When, electronic equipment is in the second sleep state, and threshold value is that sound size is 20 decibels, and the environmental parameter of acquisition is sound size It it is 15 decibels, then environmental parameter is less than threshold value, meets the first preset condition, then at this point, by electronic equipment by the second sleep shape State switches to third sleep state, and the duration that electronic equipment is switched to by the second sleep state needed for the first working condition is less than Electronic equipment is switched to the duration needed for the first working condition by third sleep state.That is, judging environmental parameter Meet the first preset condition, illustrates around electronic equipment nobody, at this point, electronic equipment is switched to deep sleep by sleeping state State, to reduce the power consumption of electronic equipment, to improve the experience of user.
Further, if the first parameter includes:First subparameter and the second subparameter.If at this point, first subparameter Meet the first preset condition, and second subparameter meets second and presets sub- condition, then the electronic equipment is from described second Working condition switches to third working condition.
Specifically, if the first default sub- condition includes:Environmental parameter around electronic equipment is more than the first door restrictor value, the Two, which preset sub- condition, includes:The duration that electronic equipment is in second working condition is less than the second threshold value, then described the One subparameter meets the first preset condition, and second subparameter meet second it is default it is subconditional in the case of, the electronics Equipment switches to third working condition from second working condition, at this point, first duration is more than second duration.Into One step, second power consumption is less than the third power consumption.That is, electronic equipment is switched to shallow sleep by deep sleep state Dormancy state.
Include if first presets sub- condition:Environmental parameter around electronic equipment is less than the first door restrictor value, and second is default Sub- condition includes:The duration that electronic equipment is in second working condition is more than the second threshold value, in first subparameter Meet the first preset condition, and second subparameter meet second it is default it is subconditional in the case of, the electronic equipment is from institute It states the second working condition and switches to third working condition, at this point, first duration is less than second duration.Further, Second power consumption is more than the third power consumption.That is, electronic equipment is switched to deep sleep state by sleeping state.
It should be noted that if first subparameter, which meets described first, presets sub- condition, second subparameter is not Meet described second and preset sub- condition, then in the case where first duration is less than second duration, the electronics is set It is standby to maintain second working condition.
Specifically, if the first default sub- condition includes:Environmental parameter around electronic equipment is more than the first door restrictor value, the Two, which preset sub- condition, includes:The duration that electronic equipment is in second working condition is less than the second threshold value, then in the first son Parameter meets described first and presets sub- condition, and the second subparameter is unsatisfactory for the described second default sub- condition and as judges electronics Someone around equipment, and electronic equipment is equal to or more than the second threshold value in the duration of the second working condition, then sets this electronics It is standby to maintain the second working condition, and switch without state.
Illustratively, it is 20 decibels that the first threshold value, which is sound size, and the second threshold value is that electronic equipment is in the second work The maximum time for making state is 60 seconds.And first preset sub- condition include:Environmental parameter around electronic equipment is more than first Limits value, second, which presets sub- condition, includes:The duration that electronic equipment is in second working condition is less than the second threshold value.If Obtain the first subparameter be 25 decibels of sound size, the second subparameter be electronic equipment be in the second working condition when it is a length of 70 seconds, then judge that the first subparameter meets first and presets sub- condition, the second subparameter is unsatisfactory for second and presets sub- condition, then electric Sub- equipment maintains the second working condition.
An embodiment of the present invention provides a kind of methods of state switching, at equipment in the second working condition, obtain the Equipment is switched to third work by one parameter when judging that the first parameter meets the first preset condition by the second working condition State.In this way, third working condition can be switched to the electronic equipment for being in the second working condition so that electronic equipment is by Three working conditions switch to the time length ratio electronic equipment needed for the working condition of the output data of electronic equipment by the second work shape The duration that state switches to needed for the working condition of the output data of electronic equipment is small, to reduce period of reservation of number, improves User experience.Alternatively, electronic equipment is switched to by third working condition needed for the working condition of the output data of electronic equipment Time length ratio electronic equipment output data that electronic equipment is switched to by the second working condition working condition needed for when grow up, So as to reduce the power consumption of electronic equipment, user experience is improved.
Before step 101, as shown in Fig. 2, further including:
104, the first instruction is received.
Wherein, the first instruction is the finger for the working condition that electronic equipment is switched to non-output data by the first working condition It enables.
105, it is instructed according to described first, then the electronic equipment is switched into the second work shape by the first working condition State.
It should be noted that in step 105, the second working condition is the working condition of initial non-output data.Initially The working condition of non-output data refers to, the non-output data that electronic equipment is directly switch to by the working condition of output data Working condition.
Illustratively, if the working condition of the non-output data of electronic equipment is divided into energy saving state 1, energy saving state 2, energy saving state 3, And energy saving state 4.Wherein, the energy-saving effect of energy saving state 1, energy saving state 2, energy saving state 3 and energy saving state 4 is incremented by successively, is cut by energy saving state When shifting to operating conditions, energy saving state 1, energy saving state 2, it is incremented by successively that energy saving state 3 and energy saving state 4 switch to the time needed for operating conditions.
At this point, the working condition of initial non-output data is energy saving state 1.After receiving the first instruction, by electronic equipment Energy saving state 1 is switched to by the first operating conditions.
By step 104 and 105, equipment can be made to switch to energy saving state by operating conditions, so as to according to the first ginseng Number and the second parameter judge whether to switch over equipment between each energy saving state.In this way, meeting first in the first parameter Equipment in the case that the second parameter meets second condition, is switched to the second energy saving state by part by first segment energy state, is subtracted to realize Few period of reservation of number, improves user experience.
After step 103, as shown in figure 3, further including:
106, the second instruction is received.
Wherein, the second instruction is the finger that electronic equipment is switched to the first operating conditions by the working condition of non-output data It enables.
107, it is instructed according to described second, the electronic equipment is switched into the first work by the working condition of non-output data It poses.
Specifically, after receiving the second instruction, electronic equipment is directly switched to by the working condition of non-output data First operating conditions.That is, if electronic equipment is in third working condition, after receiving the second instruction, by electronic equipment by Third working condition switches to the first working condition.It, will after receiving the second instruction if electronic equipment is in the second working condition Electronic equipment switches to the first working condition by the second working condition.
Illustratively, if the working condition of the non-output data of equipment is divided into energy saving state 1, energy saving state 2, energy saving state 3, and section Energy state 4.Wherein, the energy-saving effect of energy saving state 1, energy saving state 2, energy saving state 3 and energy saving state 4 is incremented by successively, is switched to by energy saving state When operating conditions, energy saving state 1, energy saving state 2, it is incremented by successively that energy saving state 3 and energy saving state 4 switch to the time needed for operating conditions.
If the second energy saving state is energy saving state 2, after receiving the second instruction, directly there is energy saving state 2 to switch to equipment First operating conditions.
An embodiment of the present invention provides a kind of methods of state switching, at equipment in the second working condition, obtain the Equipment is switched to third work by one parameter when judging that the first parameter meets the first preset condition by the second working condition State.In this way, third working condition can be switched to the electronic equipment for being in the second working condition so that electronic equipment is by Three working conditions switch to the time length ratio electronic equipment needed for the working condition of the output data of electronic equipment by the second work shape The duration that state switches to needed for the working condition of the output data of electronic equipment is small, to reduce period of reservation of number, improves User experience.Alternatively, electronic equipment is switched to by third working condition needed for the working condition of the output data of electronic equipment Time length ratio electronic equipment output data that electronic equipment is switched to by the second working condition working condition needed for when grow up, So as to reduce the power consumption of electronic equipment, user experience is improved.
An embodiment of the present invention provides a kind of devices of state conversion, as shown in figure 4, including:
Acquiring unit 401, for when the electronic equipment is in the second working condition, obtaining the first parameter.
Specifically, the acquiring unit 401 is specifically used for, the environmental parameter around the electronic equipment is obtained.
Further, the environmental parameter around electronic equipment includes:Audio parameter.
Further, the acquiring unit 401 is specifically used for, and obtains the first subparameter and the second subparameter.
Judging unit 402, for judging it is default whether first parameter of the acquisition of the acquiring unit 401 meets first Condition.
Specifically, judging unit 402 is specifically used for, include in first preset condition:Environmental parameter is more than threshold value In the case of, the first parameter is compared with threshold value, judges whether the first parameter meets the first preset condition.
Include in first preset condition:In the case that environmental parameter is less than threshold value, by the first parameter and threshold value It is compared, judges whether the first parameter meets the first preset condition.
Further, first preset condition includes:First presets sub- condition and the second default sub- condition.Wherein, institute It is corresponding with the described first default sub- condition to state the first subparameter.Second subparameter is opposite with the described second default sub- condition It answers.
Judging unit 402 is specifically used for, and judges whether the first subparameter meets first and preset sub- condition, and judges the second son Whether parameter, which meets second, is preset sub- condition.
Switch unit 403, for judging that first parameter meets the described first default item in the judging unit 402 The electronic equipment is then switched to third working condition by part from second working condition.
Wherein, second working condition is differed with the third working condition, and the electronic equipment is from described Two working conditions switch to the first working condition and need the first duration, and first work is switched to from the third working condition State needs the second duration, and first duration and second duration are unequal.
Further, first working condition refers to the working condition that the electronic equipment is in output data.It is described Second working condition and the third working condition refer to the working condition that the electronic equipment is in non-output data.
Further, when the electronic equipment is in first working condition, there is the first power consumption.The electronic equipment When being in second working condition, there is the second power consumption.When the electronic equipment is in the third working condition, have the Three power consumptions.
Wherein, first power consumption is more than second power consumption;First power consumption is more than the third power consumption.
Specifically, the switch unit 403 is specifically used for, include in first preset condition:Environmental parameter is more than door In the case of limit value, if first parameter meets first preset condition, by the electronic equipment from second work Third working condition is switched to as state.Wherein, first duration is more than second duration.Further, described second Power consumption is less than the third power consumption.
The switch unit 403 is specifically used for, and includes in first preset condition:Environmental parameter is less than the feelings of threshold value Under condition, if the audio parameter meets first preset condition, the electronic equipment is cut from second working condition Shift to third working condition.Wherein, first duration is less than second duration.Further, second power consumption is more than The third power consumption.
Further, the switch unit 403 is specifically used for, if first subparameter meets the first preset condition, and Second subparameter meets second and presets sub- condition, then the electronic equipment switches to third work from second working condition Make state.
The state switching device, as shown in figure 5, further including:
Processing unit 404, if meeting described first for first subparameter presets sub- condition, second subparameter It is unsatisfactory for described second and presets sub- condition, then in the case where first duration is less than second duration, by the electronics Equipment maintains second working condition.
It should be noted that the device of state switching provided in an embodiment of the present invention can be integrated in the processing of electronic equipment It, can be of the invention without limitation independently with the processor of electronic equipment in device.
An embodiment of the present invention provides a kind of devices of state switching, at equipment in the second working condition, obtain the Equipment is switched to third work by one parameter when judging that the first parameter meets the first preset condition by the second working condition State.In this way, third working condition can be switched to the electronic equipment for being in the second working condition so that electronic equipment is by Three working conditions switch to the time length ratio electronic equipment needed for the working condition of the output data of electronic equipment by the second work shape The duration that state switches to needed for the working condition of the output data of electronic equipment is small, to reduce period of reservation of number, improves User experience.Alternatively, electronic equipment is switched to by third working condition needed for the working condition of the output data of electronic equipment Time length ratio electronic equipment output data that electronic equipment is switched to by the second working condition working condition needed for when grow up, So as to reduce the power consumption of electronic equipment, user experience is improved.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (8)

1. a kind of method of state switching, is applied to electronic equipment, which is characterized in that including:
When the electronic equipment is in the second working condition, the first parameter is obtained;Wherein, the first parameter of the acquisition includes: Obtain the environmental parameter around the electronic equipment;
Judge whether first parameter meets the first preset condition;First preset condition includes:Environmental parameter is more than door Limit value;
If first parameter meets first preset condition, the electronic equipment is switched from second working condition To third working condition;Wherein, second working condition is differed with the third working condition, and the electronic equipment from Second working condition switches to the first working condition and needs the first duration, and described the is switched to from the third working condition One working condition needs the second duration, first duration to be more than second duration;
When the electronic equipment is in first working condition, there is the first power consumption;
When the electronic equipment is in second working condition, there is the second power consumption;
When the electronic equipment is in the third working condition, there is third power consumption;Wherein, first power consumption is more than described Second power consumption;First power consumption is more than the third power consumption.
2. according to the method described in claim 1, it is characterized in that,
First working condition refers to the working condition that the electronic equipment is in output data;
Second working condition and the third working condition refer to the work shape that the electronic equipment is in non-output data State.
3. according to the method described in claim 1, it is characterized in that, second power consumption is less than the third power consumption.
4. according to claim 1-3 any one of them methods, which is characterized in that
The environmental parameter obtained around the electronic equipment includes:Obtain the audio parameter around the electronic equipment.
5. according to claim 1-3 any one of them methods, which is characterized in that
The first parameter of the acquisition includes:Obtain the first subparameter and the second subparameter;
First preset condition includes:First presets sub- condition and the second default sub- condition;Wherein, first subparameter with Described first default sub- condition is corresponding;Second subparameter is corresponding with the described second default sub- condition;
If first parameter meets first preset condition, by the electronic equipment from second working condition Switching to third working condition includes:
If first subparameter meets the first preset condition, and second subparameter meets second and presets sub- condition, then institute It states electronic equipment and switches to third working condition from second working condition.
6. according to the method described in claim 5, it is characterized in that,
The first subparameter of the acquisition and the second subparameter include:Obtain the environmental parameter around the electronic equipment and the electricity Sub- equipment is in the duration of second working condition.
7. a kind of device of state switching, which is characterized in that including:
Acquiring unit, for when electronic equipment is in the second working condition, obtaining the first parameter;Wherein, described to obtain first Parameter includes:Obtain the environmental parameter around the electronic equipment;
Judging unit, for judging whether first parameter that the acquiring unit obtains meets the first preset condition;It is described First preset condition includes:Environmental parameter is more than threshold value;
Switch unit, for judging that first parameter meets first preset condition in the judging unit, then by institute It states electronic equipment and switches to third working condition from second working condition;Wherein, second working condition and described the Three working conditions differ, and the electronic equipment from second working condition switch to the first working condition need first when It is long, it switches to first working condition from the third working condition and the second duration, first duration is needed to be more than described Second duration;
When the electronic equipment is in first working condition, there is the first power consumption;
When the electronic equipment is in second working condition, there is the second power consumption;
When the electronic equipment is in the third working condition, there is third power consumption;Wherein, first power consumption is more than described Second power consumption;First power consumption is more than the third power consumption.
8. device according to claim 7, which is characterized in that
The acquiring unit is specifically used for, and obtains the first subparameter and the second subparameter;
First preset condition includes:First presets sub- condition and the second default sub- condition;Wherein, first subparameter with Described first default sub- condition is corresponding;Second subparameter is corresponding with the described second default sub- condition;
The switch unit is specifically used for, if first subparameter meets the first preset condition, and second subparameter is full Foot second presets sub- condition, then the electronic equipment switches to third working condition from second working condition.
CN201210525715.XA 2012-12-07 2012-12-07 A kind of method and device of state switching Active CN103869923B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210525715.XA CN103869923B (en) 2012-12-07 2012-12-07 A kind of method and device of state switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210525715.XA CN103869923B (en) 2012-12-07 2012-12-07 A kind of method and device of state switching

Publications (2)

Publication Number Publication Date
CN103869923A CN103869923A (en) 2014-06-18
CN103869923B true CN103869923B (en) 2018-10-12

Family

ID=50908552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210525715.XA Active CN103869923B (en) 2012-12-07 2012-12-07 A kind of method and device of state switching

Country Status (1)

Country Link
CN (1) CN103869923B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106108848A (en) * 2016-06-24 2016-11-16 金进科技(深圳)有限公司 A kind of intelligent radio wearable device and charger thereof
CN106169038A (en) * 2016-06-30 2016-11-30 联想(北京)有限公司 A kind of changing method, electronic equipment and switching device
CN110459218A (en) * 2019-08-23 2019-11-15 珠海格力电器股份有限公司 A kind of interactive voice control method and system applied to culinary art household electrical appliances
CN114791705B (en) * 2022-06-23 2022-09-27 威海凯思信息科技有限公司 Control method and device for household equipment, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1722060A (en) * 2004-02-17 2006-01-18 微软公司 Always ready computing device
CN101727168A (en) * 2008-10-27 2010-06-09 金宝电子工业股份有限公司 Power supply management method of input device
CN102193612A (en) * 2010-03-04 2011-09-21 联想(北京)有限公司 Power adapter and portable computer
CN102227693A (en) * 2008-10-21 2011-10-26 力登美洲公司 Methods of achieving cognizant power management

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120207208A1 (en) * 2011-02-10 2012-08-16 David Wyatt Method and apparatus for controlling a self-refreshing display device coupled to a graphics controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1722060A (en) * 2004-02-17 2006-01-18 微软公司 Always ready computing device
CN102227693A (en) * 2008-10-21 2011-10-26 力登美洲公司 Methods of achieving cognizant power management
CN101727168A (en) * 2008-10-27 2010-06-09 金宝电子工业股份有限公司 Power supply management method of input device
CN102193612A (en) * 2010-03-04 2011-09-21 联想(北京)有限公司 Power adapter and portable computer

Also Published As

Publication number Publication date
CN103869923A (en) 2014-06-18

Similar Documents

Publication Publication Date Title
CN103869923B (en) A kind of method and device of state switching
CN102081553B (en) Portable equipment task processing method and device as well as portable equipment
CN103792985A (en) Electronic device and control method thereof
CN104182029A (en) Program wakeup time setting method and device and terminal
CN101859198A (en) Remote controller with griping recognition function and method thereof
CN103391364A (en) Synchronization method and device for controlled terminal and intelligent terminal serving as remote control terminal
CN103677981B (en) state switching method and device
CN107340723A (en) The mode switching method and device of intelligent electric appliance
CN110933739A (en) Electronic equipment awakening method and electronic equipment
CN103543878A (en) System and method for using electronic device touch screen for adjusting volume
JP2014512594A (en) System, apparatus and method for power management
CN111885447B (en) Electronic device, control method thereof, control device thereof, and readable storage medium
CN103269451A (en) Automatic shutdown method using video monitoring
CN106933362B (en) Mouse control method, mouse controller and electronic equipment
CN101661319A (en) Power socket device and method for controlling same
CN110348191A (en) Unlocked by fingerprint method, apparatus, system and electronic equipment
TWI224255B (en) Power-saving method and power-saving circuit for changing electronic apparatus with non-power-saving processor into power saving
CA3012877C (en) Fan driving device
JP4945656B2 (en) Remote control signal receiving apparatus and electrical equipment using the same
WO2016061962A1 (en) Set top box state control method and device, and set top box
CN105134636A (en) Environment-friendly fan and control method thereof
CN113568340B (en) Switch control method and device, electronic equipment and storage medium
CN110321039A (en) Touch-control implementation method, device and computer readable storage medium
US20060248357A1 (en) Wireless control system and method thereof
KR20130001554A (en) Apparatus and method for minimizing power consumption by changing mode step by step

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant