CN106912091B - Control method and device and electronic equipment - Google Patents
Control method and device and electronic equipment Download PDFInfo
- Publication number
- CN106912091B CN106912091B CN201710128210.2A CN201710128210A CN106912091B CN 106912091 B CN106912091 B CN 106912091B CN 201710128210 A CN201710128210 A CN 201710128210A CN 106912091 B CN106912091 B CN 106912091B
- Authority
- CN
- China
- Prior art keywords
- user
- power consumption
- time interval
- electronic equipment
- activity
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000000694 effects Effects 0.000 claims abstract description 143
- 238000001514 detection method Methods 0.000 claims description 30
- 230000004044 response Effects 0.000 claims description 27
- 238000004891 communication Methods 0.000 claims description 16
- 230000001960 triggered effect Effects 0.000 abstract description 3
- 230000007958 sleep Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 8
- 230000002035 prolonged effect Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 239000000203 mixture Substances 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000036772 blood pressure Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 230000008921 facial expression Effects 0.000 description 1
- 230000006266 hibernation Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
- H04W52/0258—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity controlling an operation mode according to history or models of usage information, e.g. activity schedule or time of day
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The application provides a control method, a control device and electronic equipment, wherein the time interval for detecting the electronic equipment is determined based on the activity state information of a user by acquiring the activity state information representing the user, and the electronic equipment can be detected based on the detected time interval to judge whether to switch between different power states, so that the electronic equipment is ensured to be in a low-power consumption state and can also detect an application prompt message in time, and the electronic equipment can be triggered to switch to a high-power state in time based on the application prompt message if needed, such as a normal working state of the electronic equipment, so that the state of the electronic equipment is flexibly controlled, and great convenience is provided for life, work and the like of the user.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a control method and apparatus, and an electronic device.
Background
At present, in order to improve the endurance time of electronic equipment, a low power consumption state is added in the working state of the electronic equipment, namely, after the electronic equipment is detected not to use a mobile phone for a period of time, a low power consumption working mode is started, the electronic equipment is controlled to enter the low power consumption state to work, and therefore some application programs which are networked when unnecessary standby is cut off, the standby time is prolonged, and the flow is saved.
Therefore, after the electronic equipment enters a low-power-consumption state to work, the application message cannot be obtained in time, so that a user cannot check important prompt messages in time, and much inconvenience is brought to work, life and the like of the user.
Disclosure of Invention
In view of this, the present invention provides a control method, an apparatus and an electronic device, which can correspondingly adjust a time interval for detecting the electronic device according to an actual activity state of a user, so as to ensure that an application prompt message can be detected in time when the electronic device is in a low power consumption state, thereby avoiding inconvenience brought to the user by missing an important application message.
In order to achieve the above object, the present application provides the following technical solutions:
a method of controlling, the method comprising:
acquiring activity state information representing a user;
determining a detected time interval based on the activity state information, the detected time interval being used for an electronic device to detect the electronic device and determine whether to switch between different power consumption states based on the detected time interval.
Preferably, the adjusting the detected time interval based on the activity status information includes:
determining that the activity state information represents that the user is in a relatively few activity states, and setting a relatively long detection time interval;
determining that the activity state information characterizes the user in a relatively large number of activity states, setting a relatively short detection time interval.
Preferably, the detecting the time interval is used for the electronic device to detect the electronic device and determine whether to switch between a low power consumption state and a high power consumption state based on the detected time interval, and the detecting includes:
the frequency of the response information of the electronic equipment in the low power consumption state is lower than that of the response information in the high power consumption state, or;
the number of response messages of the electronic device in the low power consumption state is less than the number of response messages in the high power consumption state.
Preferably, the activity state information comprises physiological parameters of the user, wherein:
the physiological parameter is smaller than a corresponding preset threshold parameter, and the user is determined to be in a relatively less active state;
and determining that the user is in relatively more active states when the physiological parameter is not less than the corresponding preset threshold parameter.
Preferably, the method further comprises:
establishing a communication connection with a second electronic device, wherein the second electronic device monitors activity state information representing a user;
and obtaining the activity state information sent by the second electronic equipment.
A control device, the device comprising:
the information acquisition module is used for acquiring activity state information representing a user;
a control module, configured to determine a detected time interval based on the activity state information, where the detected time interval is used for an electronic device to detect the electronic device and determine whether to switch between different power consumption states based on the detected time interval.
An electronic device, the electronic device comprising:
the controller is used for acquiring activity state information representing a user and determining a detected time interval based on the activity state information, wherein the detected time interval is used for detecting the electronic equipment by the electronic equipment based on the detected time interval so as to judge whether to switch between different power consumption states;
a timer for timing the detected time interval.
Preferably, the controller is specifically configured to determine that the activity status information indicates that the user is in a relatively less active state, and set a relatively long detection time interval; determining that the activity status information characterizes the user as being in a relatively large number of activity states, setting a relatively short detection time interval.
Preferably, the electronic device further includes:
the counter is used for recording the number of response messages of the electronic equipment in different power consumption states;
wherein the number of response messages of the electronic device in the low power consumption state is less than the number of response messages in the high power consumption state.
Preferably, the electronic device further includes:
the communication module is used for establishing communication connection with second electronic equipment, and the second electronic equipment is used for monitoring activity state information representing a user;
the controller is specifically configured to obtain the activity status information sent by the second electronic device.
Therefore, compared with the prior art, the application provides a control method, a control device and electronic equipment, the time interval for detecting the electronic equipment is determined based on the activity state information of the user by acquiring the activity state information representing the user, and the electronic equipment can detect the time interval based on the detected time interval and judge whether to switch between different power states, so that the electronic equipment is ensured to be in a low power consumption state and can detect the application prompt message in time, and the electronic equipment can be triggered to switch to a high power state in time based on the application prompt message if necessary, such as a normal working state of the electronic equipment, so that the state of the electronic equipment is flexibly controlled, and great convenience is provided for life, work and the like of the user.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a control method according to an embodiment of the present application;
FIG. 2 is a flow chart of another control method provided by an embodiment of the present application;
fig. 3 is a block diagram of a structure of a control device according to an embodiment of the present disclosure;
fig. 4 is a block diagram of a structural body of another control device according to an embodiment of the present application;
fig. 5 is a block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 6 is a hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a structural diagram of a control system according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In practical application of the present application, through research, the applicant finds that when a user is inconvenient to check an application message received by an electronic device, for example, in a state of sleep or the like, the electronic device is usually controlled to be in a low power consumption state, for example, a standby state or a dormant state, and at this time, only key system services of the electronic device, such as a clock, are kept to normally operate, and other system services are stopped or the operation duration is shortened, so that the effects of reducing the power consumption of the electronic device and prolonging the endurance time of the electronic device are achieved.
During the period that other system servers of the electronic device stop operating, although the electronic device can save energy consumption, the electronic device cannot receive the application message due to the limitation of background services, often resulting in that a user cannot check important application messages in time, which affects normal work, study and life of the user and is very inconvenient.
In order to improve the above situation and avoid missing important application messages, the applicant proposes to adaptively control the time interval of the electronic device entering the normal operating state (i.e. the high power consumption state) from the low power consumption state according to the activity state of the user, and adjust the time length of the electronic device entering the normal operating state, so that the electronic device can be ensured to receive the application messages in time and inform the user while considering the reduction of the power consumption of the electronic device, thereby avoiding the inconvenience brought to the life, work, learning and the like of the user due to the fact that the electronic device cannot receive the application messages for a long time and delay the reception of the important messages when the user needs to check the application messages.
In order to make the aforementioned objects, features and advantages of the present invention more comprehensible, the present invention is described in detail with reference to the accompanying drawings and the detailed description thereof.
As shown in fig. 1, a flowchart of a control method provided in an embodiment of the present application may include the following steps:
step S11, obtaining the activity state information of the representation user;
in this embodiment, the activity state information may include physiological information such as a heart rate signal, an electroencephalogram signal, a blood pressure signal, and/or motion information of the user, and the like. For example, when it is desired to determine whether the user is in a deep sleep, shallow sleep, awake phase, or the like, the activity state information may be physiological information of the user.
In practical application, in order to determine the activity state of the user so as to complete the control of the time interval detected by the electronic device, the activity state information of the user can be detected in real time or periodically, that is, the activity state of the user at the current moment is represented by using the current activity state information detected in real time, or the activity state of the user at the current stage is determined by using the activity state information detected in a preset time period, and the time corresponding to the activity state information representing the activity state of the user is not limited.
Optionally, in the present application, activity state information of a user may be monitored by a second electronic device (i.e., other electronic devices different from the electronic device in the present application), and sent to the electronic device, where the second electronic device is generally a user device carried by the user, so as to ensure accuracy of the obtained activity state information of the user.
As another embodiment of the present application, the activity state information representing the user may also be obtained by a detector of the electronic device itself, and the obtaining manner of obtaining the activity state information representing the activity state of the user is not limited in the present application.
Step S12, determining a detected time interval for the electronic device to detect the electronic device to determine whether to switch between different power consumption states based on the activity state information.
In the application, when it is determined that the user does not need to view the application message received by the electronic device at the current stage or does not need to view the application message frequently or timely based on the obtained activity state information, in order to reduce the power consumption of the electronic device, the electronic device is generally controlled to enter a low power consumption state, and after a long period of time (marked as a first time period), the electronic device enters a normal operating state (namely a high power consumption state) to receive the application message generated during the low power consumption state of the electronic device and the application message generated in the current state, so that the user views the application message which is not read before.
When it is determined that the user needs to frequently view or timely view the application messages received by the electronic device, the electronic device is controlled to enter the low-power-consumption state in consideration of the power consumption of the electronic device, but in this case, the electronic device is controlled to be switched from the low-power-consumption state to the normal operating state through a time period which is less than the first time period of the above situation and is recorded as a second time period, and the application messages which are not received before are timely received, so that the viewing of important application messages is prevented from being delayed.
Based on this, the application may use a time interval for the electronic device to switch between two power consumption states, especially a time interval for switching from the low power consumption state to the high power consumption state, such as the first time period and the second time period, as a time interval for the electronic device to detect, and according to the analysis, after the electronic device enters the low power consumption state, the electronic device may be triggered to switch to the high power consumption state according to the determined time interval for the detection, and the received application message is detected and output.
The low power consumption state may refer to a state in which only a key system service (i.e., a basic function service) in the electronic device is running, such as a standby state, a sleep state, or a hibernation state of the electronic device, at which the electronic device is in a power saving mode, the network communication module and the background service are both suspended from running, and a display screen of the electronic device is also in a screen-off state under normal conditions; on the contrary, the high power consumption state of the electronic device is different from the low power consumption state, and the electronic device is in a running state except for the key system service, and may refer to a normal working state of the electronic device.
It should be noted that, in the present application, the specific operating condition of the electronic device and the specific power consumption value of the electronic device are not limited in the low power consumption state and the high power consumption state of the electronic device, and both the low power consumption and the high power consumption are relatively general, that is, the power consumption value of the electronic device in the low power consumption state is smaller than the power consumption value of the electronic device in the high power consumption state.
In combination with the above analysis, the duration of the detected time interval can be adjusted according to the activity degree or the exercise intensity of the user, and specifically, when it is determined that the obtained activity state information represents that the user is in a relatively less activity state, a relatively long detection time interval can be set; otherwise, the obtained state information is determined to represent that the user is in a relatively large number of active states, and a relatively short detection time interval can be set, so that the user is ensured to be in a relatively large number of active states
It should be noted that the relatively few active states and the relatively many active states are two relatively general states, and the present application does not limit the specific contents of the two states. In the present application, it is considered that the amount of activity when the user is in a relatively small activity state is smaller than the amount of activity when the user is in a relatively large activity state.
Optionally, in practical applications, feature information (i.e., the activity state information) used for representing content such as the activity amount or the activity degree of the user may be detected, and the feature information is compared according to a corresponding preset rule, and if the feature information is smaller than a preset threshold, it may be considered that the user is in a relatively small activity state; otherwise, if the characteristic information is not less than the preset threshold, it may be considered that the user is in a relatively large number of active states.
The preset threshold may be adjusted according to different content of the characteristic information, the application does not limit the specific value, and the characteristic information, i.e., the activity state information, may include user physiological information or motion information, etc.
For example, the activity state of the user is represented by the exercise intensity of the user, the embodiment may represent the exercise intensity of the user by using the heart rate of the user, specifically, it is determined that the detected heart rate value is smaller than a preset threshold (which may be a specific value or a preset value range), and it may be considered that the user is in a relatively less activity state; conversely, determining that the detected heart rate value is not less than the preset threshold may consider the user to be in a relatively more active state.
In addition, the exercise intensity of the user can be represented by parameters such as the exercise distance and the exercise speed within the preset time, corresponding preset threshold values are set according to different parameters, and the detected parameters are compared with the preset threshold values, so that whether the user is in a relatively less active state or a relatively more active state is determined.
It should be noted that the dividing manner of the relatively few active states and the relatively many active states is not limited to the above listed several manners, and may be determined according to a requirement that a user needs to view the application message received by the electronic device in different scenes, and details of the application are not described herein any more.
Based on the above analysis, when the user is in a relatively few active states, such as a sleep state, a meeting scene, in flight, and the like, the user usually does not need or cannot view the application message received by the electronic device, and in order to reduce the power consumption of the electronic device, the time for the electronic device to enter the normal operating state may be reduced, that is, the time interval for switching the electronic device from the low power consumption state to the normal operating state, such as 1 hour or even longer, is prolonged, so in this case, a relatively long detection time interval needs to be set, and the increase of the power consumption caused by frequent starting and detection of the application message by the electronic device is avoided.
On the contrary, when the user is in a relatively large number of active states, the user can conveniently and timely check the application messages received by the electronic device, so that inconvenience is brought to the user in order to avoid delaying the reception of important messages, the time interval of switching the electronic device from the low power consumption state to the normal working state can be shortened, such as 10 minutes, even 0 minute and the like, and the specific numerical value of the time interval is not limited by the application. That is, in such a case, the application will trigger the electronic device to set a relatively short time interval for detection.
For the set relatively long detection time interval and the relatively short detection time interval, the application does not limit the specific duration, and the requirement that the detection time interval set by the user in the relatively few activity states is greater than the detection time interval set by the user in the relatively many activity states is met.
Moreover, in practical application of the present application, when the user is in a relatively small activity state, the corresponding detection time interval may be set according to the specific activity amount of the user, that is, the corresponding relatively long detection time interval is not fixed and unchanged for different activity amounts in the relatively small activity state, so as to improve the control accuracy of the electronic device. Similarly, when the user is in a relatively large number of activity states, the corresponding detection time interval can be set according to the specific activity amount of the user. The application does not limit the corresponding relationship between different activity amounts of the user and the detected time interval, and may be that one activity amount range corresponds to one time value, but is not limited thereto.
As a further embodiment of the present application, the time interval detected in step S12 may be used for the electronic device to detect whether to switch between the low power consumption state and the high power consumption state based on the detected time interval.
In the present application, since the electronic device is in the low power consumption state, usually only the key system service such as the clock is running, and other system services stop running, most application programs of the electronic device cannot receive the application message any more, obviously,
the frequency of responding information by the electronic equipment in the low power consumption state is lower than that of responding information in the high power consumption state; alternatively, the electronic device may be in a lower power consumption state and may respond to a smaller amount of information than in a higher power consumption state.
It should be noted that, because the influence factor of the frequency of the response information of the electronic device includes a plurality of factors, such as the number of the received information of the electronic device, the response time itself, and the like, the frequency of the response information is relatively high and low under the same precondition, and if the number of the received information of the electronic device is the same, the number (how many pieces of information are responded each time) or the time (how long the information is responded after the information is received) of the response information of the electronic device in the low power consumption state is smaller than the number or the time of the response information of the electronic device in the high power consumption state.
In any case, the application does not limit the number and time of the response messages of the electronic device, and the response operation may be performed after determining that a preset number of messages are received, or may be performed after receiving a preset time period, and the like.
Based on the above analysis of the control scheme for implementing the electronic device provided by the present application, the scheme will be described below with a specific embodiment, but the scheme is not limited to the implementation described in the embodiment, and can be adaptively adjusted according to actual needs, all of which belong to the protection scope of the present application, and the present application is not described in detail.
As shown in fig. 2, which is a flowchart of another control method provided in the embodiment of the present application, the method may include:
step S21, establishing communication connection with a second electronic device, and obtaining the physiological parameters of the user monitored by the second electronic device;
in this embodiment, the second electronic device may be a wearable electronic device such as a smart band and a smart watch worn by a user, or another electronic device capable of monitoring an activity state of the user.
The second electronic device monitors activity state information representing an activity state of the user during operation, the embodiment takes the case that the activity state information is a physiological parameter of the user as an example for description, and control processing procedures of activity state information of other contents are similar, and detailed descriptions of the embodiments are omitted here.
Step S22, judging whether the physiological parameter is smaller than the corresponding first preset threshold parameter, if yes, executing step S23; if not, go to step S24;
in practical application, with the analysis of the above embodiment, when the activity state of the user changes, the physiological parameter of the user also changes correspondingly, for example, after the user enters a sleep state, the heart rate of the user becomes relatively small; and when the user is in the running state, the heart rate of the user is relatively increased, so that the activity state of the user can be determined according to the change of the physiological parameters of the user.
The method comprises the steps that the physiological parameters of the user are obtained according to the preset threshold parameters, and the physiological parameters are compared with the preset threshold parameters to judge whether the activity state of the user at the current stage is more or less. Therefore, the preset threshold parameter may be a critical value for dividing the user activity state into more or less, and the application does not limit the specific value thereof.
It should be noted that, regarding the more or less division criteria of the user activity status, reference may be made to the description of the corresponding parts of the above embodiments, the two are relative, and for different users, the preset threshold parameter may be adjusted accordingly according to their actual needs.
Step S23, controlling the electronic device to enter a low power consumption state, and prolonging the detection time interval to a first time;
optionally, in this embodiment, it is determined that the physiological parameter of the user at the current time or in a period before the current time is smaller than the corresponding first preset threshold parameter, and it may be considered that the activity amount of the user in the stage is relatively small, for example, in a stage of shifting from the moderate sleep to the deep sleep, obviously, in the stage and in a certain period after the stage, the user does not check the application message of the electronic device, and in order to reduce the power consumption of the electronic device, the electronic device may suspend receiving the application message in the stage, for example, the electronic device may enter a sleep state or a sleep state, and specifically may enter a Doze mode of the electronic device, so as to prolong the duration time.
The detected time interval may be a time interval from the suspension of the network connection of the electronic device and the service such as the background task to the restart, or may be a time interval from the low power consumption state to the high power consumption state of the electronic device, or may be a duration of the electronic device being in the low power consumption state.
In combination with the above analysis, the physiological parameter of the user is smaller than the first preset threshold parameter, and it may be considered that the user is in a relatively less active state at this time, and the user may not need to check the application message received by the electronic device in real time, at this time, the time interval detected by the electronic device may be appropriately prolonged, and the first time may be a time interval prolonged after the condition is met, but the application does not limit a specific value of the first time, and may be a preset maximum time interval, such as 1 hour, even 2 hours, and the like, and may be set according to factors such as work and rest habits of the user.
For example, after the user is in a deep sleep state and adjusted in the above manner, the electronic device may restart the electronic device once every 1 hour, and make the electronic device in a normal working state, and receive the application message; after a period of time or after the time interval, the electronic equipment is controlled to enter the standby state again, the activity of the background is limited, and the endurance time is prolonged.
Step S24, judging whether the physiological parameter is larger than a second preset threshold parameter, if not, entering step S25; if yes, go to step S26;
and when the physiological parameter reaches the second preset threshold parameter, the activity state of the user is more active relative to the first preset threshold parameter.
In the present application, in combination with the above analysis, the activity status of the user can be divided into three stages by the first preset threshold parameter and the second preset threshold parameter, that is, the activity level of the user is divided into three levels. The specific value of the second preset threshold parameter is not limited, and can be determined according to the specific content of the physiological parameter, the specific work and rest habits of the user and other factors.
Step S25, controlling the electronic device to enter a low power consumption state, and prolonging the detection time interval to a second time;
in this embodiment, the first time is greater than the second time, but the specific time values of the first time and the second time are not limited.
When it is determined that the physiological parameter of the user is not less than the first preset threshold parameter and not greater than the second preset threshold parameter, the activity state of the user may be considered to be in the second stage, and the activity level of the user is higher in this stage relative to the first stage described in the above-mentioned step S23 of the embodiment, and the frequency of the user needing to view the application messages received by the electronic device is higher in the first stage, then the time interval detected by the electronic device may be appropriately reduced relative to the first stage.
For example, the first time of the first stage may be 1 hour, in an actual application, after the electronic device enters the low power consumption state, the electronic device is usually in the screen-off state at this time, and is switched to the high power consumption state (i.e., the normal operating state) every 1 hour, each application of the electronic device system will normally operate, receive the application message and output the application message, so that the user can view the application message that has not been received before, and then, the electronic device will screen-off again and enter the low power consumption state, and such a cycle is performed, so that high power consumption caused by the fact that the electronic device is always in the high power consumption state is avoided.
As described above, the second time of the second stage may be 10 minutes, taking the sleep of the user as an example, the first stage may consider that the user is in a deep sleep state and does not view the electronic device for a short time, and the second stage may consider that the user has shifted to a shallow sleep state, and at this time, the user may view the electronic device wakefully at any time.
In step S26, the electronic device is controlled to enter and maintain a high power consumption state.
For the condition that the physiological parameter of the user is greater than the second preset threshold parameter, it is described that the activity degree of the user is higher at this time, and the user still sleeps, at this time, the user can be considered to be awake, in order to ensure that the user can check the application message received by the electronic device in time after being awake, the electronic device can be switched from the high power consumption state to the low power consumption state at intervals, and then the electronic device is directly controlled to enter the high power consumption state, so that the electronic device can receive the application message in time, the user can check the required application message at any time, and the problem that the electronic device misses the important application message due to being in the low power consumption state for a long time is solved.
In summary, in the application, the time interval of the electronic device switching between the low power consumption state and the high power consumption state can be correspondingly adjusted according to the actual activity condition of the user, that is, the adjustment of the detected time interval is realized, so that not only is the unnecessary power consumption of the electronic device reduced, but also the endurance time is prolonged, and moreover, the electronic device is prevented from missing the receiving and checking of important application messages in the low power consumption state (such as in the Doze mode), and inconvenience is brought to the user.
It should be noted that, the implementation manner of how to judge the actual activity of the user is not limited in the present application, that is, the present application is not limited to the judgment of the actual activity of the user based on the physiological parameters of the user described in the above embodiments, and the actual activity of the user may also be judged by detecting the facial state of the user, such as the eye state, etc., that is, whether the application message needs to be viewed at the current stage of the user, how long the application message needs to be viewed, etc., which is not described in detail herein.
The detected physiological parameter of the user may be detected by the second electronic device, which is a third party, and transmitted to the electronic device as described in the above embodiment.
As shown in fig. 3, a block diagram of a control device provided in an embodiment of the present application may include:
an information obtaining module 31, configured to obtain activity state information representing a user;
in the present application, the activity state information representing the activity state of the user may be a physiological parameter, a motion state, a facial expression, or the like of the user, and the present application does not limit the specific content included in the activity state information.
A control module 32, configured to determine a detected time interval based on the activity state information, where the detected time interval is used for an electronic device to detect the electronic device and determine whether to switch between different power consumption states based on the detected time interval.
In practical applications, the control module 32 may set a relatively long detection time interval if it is determined that the obtained activity status information indicates that the user is in a relatively few activity statuses, or may set a relatively short detection time interval if it is determined that the activity status information indicates that the user is in a relatively many activity statuses.
It should be noted that, the number of the activity states is relatively large or small, and the time interval of the detection is relatively long or short, and the present application does not limit specific values, and after the specific description, reference may be made to the description of the corresponding part of the foregoing method embodiment, and this embodiment is not described again.
Optionally, in this embodiment, the frequency of responding to the information when the electronic device is in the low power consumption state is lower than the frequency of responding to the information when the electronic device is in the high power consumption state; in other words, the amount of response information of the electronic device in the low power consumption state is less than the amount of response information of the electronic device in the high power consumption state. For the analysis of the frequency of the response information, reference may be made to the description of the method embodiment described above, and this embodiment is not described herein again.
As another embodiment of the present application, if the detected activity status information includes a physiological parameter of the user, as shown in fig. 4, the control module 32 may include:
a first determining unit 321, configured to determine that the user is in a relatively low activity state and set a relatively long detection time interval when the physiological parameter is smaller than the corresponding preset threshold parameter;
the second determining unit 322 determines that the physiological parameter is not less than the corresponding preset threshold parameter, and sets a relatively short detection time interval when the user is in a relatively large number of active states.
It should be noted that, the specific value of the preset threshold parameter is not limited in the present application, and may be determined according to the specific content of the detected physiological parameter and other factors.
Optionally, for the physiological parameter of the user, the physiological parameter may be detected by the second electronic device and sent to the information obtaining module 31 of the apparatus, and thus, the information obtaining module 31 may include a communication module, and receive activity state information, which is sent by the second electronic device and represents the activity state of the user, by establishing a communication connection with the second electronic device. Of course, if the physiological parameter is detected by a device, the information obtaining module 31 may include a detecting module for detecting the physiological parameter of the user, wherein a specific structure of the detecting module may be determined according to the content of the detected physiological parameter, which is not limited in this application.
In summary, the control device provided in the present application can determine the time interval detected by the electronic device based on the activity state of the user, thereby implementing adjustment of the time interval for switching the electronic device between different power states, and under the condition that the normal use of the electronic device is not affected, by flexibly controlling the working state of the electronic device, it is avoided that the electronic device is in a screen-off state for a long time, important application messages are missed, great inconvenience is brought to the user, and meanwhile, it is also avoided that the electronic device is always in a high power state to cause high power consumption and affect the endurance of the electronic device.
As shown in fig. 5, a block diagram of an electronic device provided in an embodiment of the present application is shown, where the electronic device may include:
a controller 51, configured to obtain activity state information representing a user, and determine a detected time interval based on the activity state information, where the detected time interval is used for an electronic device to detect the electronic device based on the detected time interval and determine whether to switch between different power consumption states;
for the implementation process of the function of the controller 51, reference may be made to the description of the corresponding parts of the above method embodiments, and the details of the embodiment are not described herein.
A timer 52 for timing the detected time interval.
In practical application, in order to reduce the power consumption of the electronic device, the electronic device is usually not controlled to be in a high power consumption state all the time, but in order to avoid that the electronic device cannot receive the application message in time for the user to check at any time, the electronic device is also not controlled to be in a low power consumption state all the time, therefore, the application realizes flexible control of the working state of the electronic device by controlling the time interval of switching the electronic device between different power consumption states, the time interval can be timed by the timer 52, and then the controller 51 realizes control according to the time output by the timer 52.
It should be noted that, as for the structural composition of the electronic device, as shown in the hardware structure diagram of the electronic device shown in fig. 6, the electronic device may further include a display 53, a communication module 54, a memory 55, a communication bus 56, and the like as needed, and the structural composition of the electronic device is not limited in the present application.
In this embodiment, the communication module 54 may establish a communication connection with a second electronic device, and receive activity state information, which is monitored by the second electronic device and represents an activity state of a user.
As shown in fig. 7, a smart watch 71 worn by a user at any time is taken as an example, but not limited to this, the second electronic device 71 and the electronic device 72 may be bound in advance in the present application, so that after the smart watch detects a physiological parameter of the user, the physiological parameter may be directly sent to the local electronic device 71 in a wireless manner, and then the physiological parameter is used to determine an activity state of the user at the current time or at the current stage.
The memory 55 may store an application program and data generated by the application program, and may specifically include a high-speed RAM memory, and may further include a non-volatile memory (non-volatile memory), such as at least one disk memory.
The controller 51 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present invention.
In this embodiment, the controller 51 may execute an application program stored in the memory 55 to implement the following control functions:
acquiring activity state information representing a user;
determining a detected time interval based on the activity state information, the detected time interval being used for an electronic device to detect the electronic device and determine whether to switch between different power consumption states based on the detected time interval.
Optionally, the electronic device may further include a counter, configured to record the number of response messages when the electronic device is in different power consumption states;
wherein the number of response messages of the electronic device in the low power consumption state is less than the number of response messages in the high power consumption state.
In summary, the embodiment of the present invention realizes flexible control of the operating state of the electronic device, and can reasonably determine the operating state of the electronic device and the time interval for switching between different power consumption states according to the actual activity state of the user, so as to ensure the endurance time of the electronic device and ensure that the user using the electronic device can view important application messages in time, thereby avoiding inconvenience to life, work, etc. of the user due to missing important application messages.
Finally, it should be noted that, in the embodiments, relational terms such as first, second and the like are only used for distinguishing one operation, unit or module from another operation, unit or module, and do not necessarily require or imply any actual relation or order between the units, the units or modules. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method or system that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device and the electronic equipment disclosed by the embodiment correspond to the method disclosed by the embodiment, so that the description is relatively simple, and the relevant points can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (8)
1. A control method, characterized in that the method comprises:
establishing communication connection with second electronic equipment, wherein the second electronic equipment monitors activity state information representing a user, and the second electronic equipment is user equipment carried by the user;
obtaining activity state information of the user, which is sent by the second electronic equipment and used for representing the activity degree and/or the movement intensity of the user;
adjusting a time interval for switching between different power consumption states based on the activity state information, including: setting the size of a corresponding switching time interval according to the activity of a user, wherein the switching time interval between different power consumption states is used for detecting the electronic equipment to judge whether to switch between different power consumption states or not based on the switching time interval between different power consumption states by the electronic equipment;
in a case that the activity state information of the user includes a physiological parameter of the user, the adjusting a time interval of switching between different power consumption states based on the activity state information includes:
judging whether the physiological parameter is smaller than a corresponding first preset threshold parameter or not;
if the physiological parameter is smaller than the corresponding first preset threshold parameter, controlling the electronic equipment to enter a low power consumption state, and prolonging the detection time interval to the first time;
if the physiological parameter is not less than the corresponding first preset threshold parameter, judging whether the physiological parameter is greater than a second preset threshold parameter;
if the physiological parameter is not larger than a second preset threshold parameter, controlling the electronic equipment to enter a low power consumption state, and prolonging the detection time interval to a second time, wherein the first time is larger than the second time;
and if the physiological parameter is larger than a second preset threshold parameter, controlling the electronic equipment to enter and maintain a high power consumption state.
2. The method of claim 1, wherein adjusting a time interval for switching between different power consumption states based on the activity state information comprises:
determining that the activity state information represents that the user is in a relatively few activity states, and setting a relatively long time interval for switching between power consumption states;
determining that the activity state information characterizes the user in a relatively large number of activity states, setting a relatively short time interval for switching between power consumption states.
3. The method of claim 1, further comprising:
the frequency of the response information of the electronic equipment in the low power consumption state is lower than that of the response information in the high power consumption state, or;
the number of response messages of the electronic device in the low power consumption state is less than the number of response messages in the high power consumption state.
4. The method according to claim 1 or 2, wherein the activity state information comprises a physiological parameter of the user, wherein:
determining that the user is in a relatively low activity state when the physiological parameter is less than a corresponding preset threshold parameter;
and determining that the user is in relatively more active states when the physiological parameter is not less than the corresponding preset threshold parameter.
5. A control device, characterized in that the device comprises:
the information acquisition module is used for establishing communication connection with second electronic equipment, the second electronic equipment monitors activity state information representing a user, and the second electronic equipment is user equipment carried by the user; obtaining activity state information of the user, which is sent by the second electronic equipment and used for representing the activity degree and/or the movement intensity of the user;
a control module configured to adjust a time interval for switching between different power consumption states based on the activity state information, comprising: setting the size of a corresponding switching time interval according to the activity of a user, wherein the switching time interval between different power consumption states is used for detecting the electronic equipment to judge whether to switch between different power consumption states or not based on the switching time interval between different power consumption states by the electronic equipment;
in a case that the activity state information of the user includes a physiological parameter of the user, the control module is specifically configured to:
judging whether the physiological parameter is smaller than a corresponding first preset threshold parameter or not;
if the physiological parameter is smaller than the corresponding first preset threshold parameter, controlling the electronic equipment to enter a low power consumption state, and prolonging the detection time interval to the first time;
if the physiological parameter is not less than the corresponding first preset threshold parameter, judging whether the physiological parameter is greater than a second preset threshold parameter;
if the physiological parameter is not larger than a second preset threshold parameter, controlling the electronic equipment to enter a low power consumption state, and prolonging the detection time interval to a second time, wherein the first time is larger than the second time;
and if the physiological parameter is larger than a second preset threshold parameter, controlling the electronic equipment to enter and maintain a high power consumption state.
6. An electronic device, characterized in that the electronic device comprises:
the communication module is used for establishing communication connection with second electronic equipment, the second electronic equipment monitors activity state information representing a user, and the second electronic equipment is user equipment carried by the user;
a controller, configured to obtain activity state information of a user, sent by the second electronic device, for characterizing user activity and/or exercise intensity, and adjust a time interval for switching between different power consumption states based on the activity state information, including: setting the size of a corresponding switching time interval according to the activity of a user, wherein the switching time interval between different power consumption states is used for detecting the electronic equipment to judge whether to switch between different power consumption states or not based on the switching time interval between different power consumption states by the electronic equipment;
in a case that the activity state information of the user comprises a physiological parameter of the user, the adjusting a time interval of switching between different power consumption states based on the activity state information comprises:
judging whether the physiological parameter is smaller than a corresponding first preset threshold parameter or not;
if the physiological parameter is smaller than the corresponding first preset threshold parameter, controlling the electronic equipment to enter a low power consumption state, and prolonging the detection time interval to the first time;
if the physiological parameter is not less than the corresponding first preset threshold parameter, judging whether the physiological parameter is greater than a second preset threshold parameter;
if the physiological parameter is not greater than a second preset threshold parameter, controlling the electronic equipment to enter a low power consumption state, and prolonging the detection time interval to a second time, wherein the first time is greater than the second time;
if the physiological parameter is larger than a second preset threshold parameter, controlling the electronic equipment to enter and maintain a high power consumption state;
a timer for timing the detected time interval.
7. The electronic device of claim 6, wherein the controller is specifically configured to determine that the activity state information characterizes the user as being in a relatively less active state, setting a relatively long time interval for switching between power consumption states; and determining that the activity state information represents that the user is in relatively more activity states, and setting a relatively short time interval for switching between power consumption states.
8. The electronic device of claim 6, further comprising:
the counter is used for recording the number of response messages of the electronic equipment in different power consumption states;
wherein the number of response messages of the electronic device in the low power consumption state is less than the number of response messages in the high power consumption state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710128210.2A CN106912091B (en) | 2017-03-06 | 2017-03-06 | Control method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710128210.2A CN106912091B (en) | 2017-03-06 | 2017-03-06 | Control method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106912091A CN106912091A (en) | 2017-06-30 |
CN106912091B true CN106912091B (en) | 2022-08-19 |
Family
ID=59186175
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710128210.2A Active CN106912091B (en) | 2017-03-06 | 2017-03-06 | Control method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106912091B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107682120A (en) * | 2017-09-29 | 2018-02-09 | 联想(北京)有限公司 | A kind of data processing method, node device, data processing equipment and system |
CN108111683B (en) * | 2017-12-20 | 2020-12-01 | Oppo广东移动通信有限公司 | Mobile terminal and control method, device and storage medium for its working mode |
CN108495186B (en) * | 2018-03-21 | 2020-12-15 | Oppo广东移动通信有限公司 | Video marking method, apparatus, electronic device, and computer-readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102300298A (en) * | 2011-09-16 | 2011-12-28 | 惠州Tcl移动通信有限公司 | Mobile phone and power saving method for mobile phone in sleep mode |
CN105517025A (en) * | 2014-09-22 | 2016-04-20 | 中兴通讯股份有限公司 | Terminal state processing method and terminal state processing device |
CN105791518A (en) * | 2014-12-23 | 2016-07-20 | 联想(北京)有限公司 | Information processing method and electronic device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102196508A (en) * | 2010-03-17 | 2011-09-21 | 中兴通讯股份有限公司 | Method and system for achieving sleep for terminal |
CN105530665B (en) * | 2014-09-28 | 2020-06-09 | 中兴通讯股份有限公司 | Method and device for adjusting DRX period of intelligent terminal in idle state |
-
2017
- 2017-03-06 CN CN201710128210.2A patent/CN106912091B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102300298A (en) * | 2011-09-16 | 2011-12-28 | 惠州Tcl移动通信有限公司 | Mobile phone and power saving method for mobile phone in sleep mode |
CN105517025A (en) * | 2014-09-22 | 2016-04-20 | 中兴通讯股份有限公司 | Terminal state processing method and terminal state processing device |
CN105791518A (en) * | 2014-12-23 | 2016-07-20 | 联想(北京)有限公司 | Information processing method and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN106912091A (en) | 2017-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12219482B2 (en) | Terminal state transition method, network device and terminal | |
CN111405610B (en) | Method and equipment for receiving data by D2D | |
CN101601264B (en) | Control of awake time in mobile device | |
WO2015196763A1 (en) | Power saving management method and device for intelligent terminal | |
US9474022B2 (en) | Saving power in a mobile terminal | |
US20170026869A9 (en) | Portable Communication Device with Multi-Tiered Power Save Operation | |
CN110493855B (en) | Communication mode control method, device, storage medium and terminal | |
CN109982417B (en) | Sensor control method, sensor control device, sensor, and storage medium | |
JP2015532821A (en) | Adaptive fast pause controller | |
CN111586812A (en) | Method for receiving energy-saving signal by terminal and terminal | |
EP2241140A1 (en) | Mobile network device battery conservation system and methods | |
CN106912091B (en) | Control method and device and electronic equipment | |
EP3190771B1 (en) | Method and device for managing instant communication application program, and mobile terminal thereof | |
CN104714620A (en) | Method and device for adjusting wakeup frequency of intelligent terminal | |
CN110572868B (en) | Method and device for reducing power consumption of electronic device | |
CN112616178A (en) | Energy consumption management method and device, electronic equipment and storage medium | |
WO2016045525A1 (en) | Method and apparatus for processing state of terminal | |
CN110032431A (en) | Application processing method and device, electronic equipment and computer readable storage medium | |
CN104219746B (en) | Method, device and terminal for autonomously adjusting wake-up time | |
CN110691399B (en) | Internet of things terminal, awakening method and device thereof and storage medium | |
CN112867107B (en) | Wireless fidelity WIFI chip control method and related equipment thereof | |
CN104052861B (en) | A kind of terminal and its awakening method | |
CN110928586A (en) | APP background keep-alive method and device | |
CN112118590A (en) | Terminal DRX configuration method, terminal and base station | |
CN113691930B (en) | Mobile terminal, control method thereof, internet of things system and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |