CN109407813A - A kind of electricity-saving control method and wearable device of wearable device - Google Patents
A kind of electricity-saving control method and wearable device of wearable device Download PDFInfo
- Publication number
- CN109407813A CN109407813A CN201811248205.6A CN201811248205A CN109407813A CN 109407813 A CN109407813 A CN 109407813A CN 201811248205 A CN201811248205 A CN 201811248205A CN 109407813 A CN109407813 A CN 109407813A
- Authority
- CN
- China
- Prior art keywords
- wearable device
- duration
- sleep
- preset
- static
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/329—Power saving characterised by the action undertaken by task scheduling
Abstract
The present embodiments relate to wearable device fields, disclose the electricity-saving control method and wearable device of a kind of wearable device.This method comprises: obtaining wearable device user when wearable device user is in sleep state and being in dormant prolonged sleep duration;When wearable device remains static, the lasting static duration that wearable device remains static is obtained;When prolonged sleep duration reaches preset first duration threshold value and the lasting static duration reaches preset second duration threshold value, start the battery saving mode of wearable device.Implement the embodiment of the present invention, the accuracy rate for judging whether user needs using wearable device can be improved, to reduce the influence that wearable device triggering starting battery saving mode uses user wearable device, improves power-saving control effect and user experience.
Description
Technical field
The present invention relates to wearable device fields, and in particular to the electricity-saving control method of a kind of wearable device and wearable
Equipment.
Background technique
With the development of science and technology, the wearable device including smartwatch, Intelligent bracelet all has many joys
Happy leisure function.These amusement and leisure functions in actual use, can bring very big electric energy loss to wearable device,
In order to reduce the electric energy that wearable device consumes in use, extends the cruise duration of battery, can take various
Electricity-saving control method.Current electricity-saving control method is to be considered as user when detecting that screen extinguishes not needing using can wear
Equipment is worn, therefore triggers starting battery saving mode, part application program is closed, to save electric quantity consumption.But this power-saving control
Method judges whether user needs using wearable device by the way that whether detection wearable device puts out screen, and this detection method can
It can cause to judge by accident.Such as when wearable device puts out screen, the application programs such as music player may be still in running background, this
Shi Ruguo directly triggers starting battery saving mode, and music player may be forced closed, and user cannot be the case where putting out screen
Under continue to listen to music.
As it can be seen that judge whether user needs lower using the accuracy rate of wearable device for current electricity-saving control method, lead
Triggering starting battery saving mode is caused to be affected user using wearable device, user experience is bad.
Summary of the invention
In view of the foregoing drawbacks, it the embodiment of the invention discloses a kind of electricity-saving control method of wearable device and wearable sets
It is standby, the accuracy rate for judging whether user needs using wearable device can be improved, to reduce wearable device triggering starting
Battery saving mode uses user the influence of wearable device, improves power-saving control effect and user experience.
First aspect of the embodiment of the present invention discloses a kind of electricity-saving control method of wearable device, comprising:
When wearable device user is in sleep state, obtains the wearable device user and be in the sleep state
Prolonged sleep duration;
When the wearable device remains static, obtains the wearable device and be in holding for the stationary state
Continue static duration;
When the prolonged sleep duration reach preset first duration threshold value and it is described continue static duration reach preset
When the second duration threshold value, start the battery saving mode of the wearable device.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described to work as wearable device user
When in sleep state, obtains the wearable device user and is in the dormant prolonged sleep duration, comprising:
Detect whether the wearable device user enters sleep state;If so, starting is set to the wearable device
Timer carry out timing, the timing duration for reading the timer is in the sleep shape as the wearable device user
The prolonged sleep duration of state;
And the method also includes:
When detecting that the wearable device user is transformed into non-sleep state from the sleep state, the province is exited
Power mode controls the timer and stops timing and clear history chronometric data.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the detection is described wearable to be set
Whether standby user enters sleep state, comprising:
The heart rate data of wearable device user described in real-time detection, and it is preset to judge whether the heart rate data belongs to
In sleep heart rate data area;
If the heart rate data belongs in preset sleep heart rate data area, determine that the wearable device user enters
The sleep state.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the method also includes:
The slosh frequency of the wearable device is detected, and judges whether the slosh frequency is less than preset slosh frequency
Threshold value;If being less than, determine that the wearable device remains static, and executes described when the wearable device is in static
When state, obtains the wearable device and be in the step of continuing static duration of the stationary state;Or
Judge whether the wearable device receives button operation instruction in preset third duration threshold value;If it is not,
Determine that the wearable device remains static, and executes described when the wearable device remains static, acquisition
The wearable device is in the step of continuing static duration of the stationary state;Or
Judge whether the wearable device has spinning movement in the preset third duration threshold value;If it is not, determining
The wearable device remains static, and execution is described when the wearable device remains static, described in acquisition
Wearable device is in the step of continuing static duration of the stationary state.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the starting is described wearable to be set
Standby battery saving mode, comprising:
Closing unit time power consumption in the application program that the wearable device is currently running is more than answering for specified threshold
With the wireless communication switch of program, and the closing wearable device.
Second aspect of the embodiment of the present invention discloses a kind of wearable device, comprising:
First acquisition unit is used for when wearable device user is in sleep state, obtaining the wearable device
Family is in the dormant prolonged sleep duration;
Second acquisition unit, for obtaining at the wearable device when the wearable device remains static
Continue static duration in the stationary state;
Execution unit, for the prolonged sleep duration reach preset first duration threshold value and it is described continue it is static when
When length reaches preset second duration threshold value, start the battery saving mode of the wearable device.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the first acquisition unit includes:
Detection sub-unit, for detecting whether the wearable device user enters sleep state;
Timing subelement, for detecting that the wearable device user enters the sleep shape in the detection sub-unit
When state, the timer that starting is set to the wearable device carries out timing;And it is detected in the detection sub-unit described
When wearable device user is transformed into non-sleep state from the sleep state, controls the timer and stop timing and empty to go through
History chronometric data;
Reading subunit, the timing duration for reading the timer are in described as the wearable device user
Dormant prolonged sleep duration;
And the execution unit, it is also used to detect the wearable device user from institute in the detection sub-unit
When stating sleep state and being transformed into non-sleep state, the battery saving mode is exited.
As an alternative embodiment, the detection sub-unit is for examining in second aspect of the embodiment of the present invention
Survey whether the wearable device user enters dormant mode specifically:
The detection sub-unit for the heart rate data of wearable device user described in real-time detection, and judges the heart
Whether rate data belong in preset sleep heart rate data area, if the heart rate data belongs to preset sleep heart rate data model
In enclosing, determine that the wearable device user enters the sleep state.
As an alternative embodiment, in second aspect of the embodiment of the present invention, further includes:
Judging unit for detecting the slosh frequency of the wearable device, and judges whether the slosh frequency is less than
Preset slosh frequency threshold value;
Determination unit, for judging that the slosh frequency is less than preset slosh frequency threshold value in the judging unit
When, determine that the wearable device remains static, and trigger the second acquisition unit and obtain at the wearable device
Continue static duration in the stationary state;
The judging unit, is also used to judge whether the wearable device receives in preset third duration threshold value
Button operation instruction;
The determination unit is also used to judge the wearable device in preset third duration in the judging unit
When being not received by button operation instruction in threshold value, determine that the wearable device remains static, and trigger described second
Acquiring unit obtains the lasting static duration that the wearable device is in the stationary state;
The judging unit, is also used to judge whether the wearable device has in the preset third duration threshold value
Spinning movement;
The determination unit is also used to judge the wearable device in preset third duration in the judging unit
When there is no spinning movement in threshold value, determine that the wearable device remains static, and triggers the second acquisition unit and obtain
The wearable device is taken to be in the lasting static duration of the stationary state.
As an alternative embodiment, the execution unit is for starting in second aspect of the embodiment of the present invention
The mode of the battery saving mode of the wearable device specifically:
The execution unit, for closing unit time power consumption in the application program that the wearable device is currently running
More than the application program of specified threshold, and close the wireless communication switch of the wearable device.
The third aspect of the embodiment of the present invention discloses a kind of wearable device, comprising:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes the embodiment of the present invention the
A kind of electricity-saving control method of wearable device disclosed in one side.
Fourth aspect of the embodiment of the present invention discloses a kind of computer readable storage medium, stores computer program, wherein
It is automatically controlled that the computer program makes computer execute a kind of province of wearable device disclosed in first aspect of the embodiment of the present invention
Method processed.
The 5th aspect of the embodiment of the present invention discloses a kind of computer program product, when the computer program product is calculating
When being run on machine, so that the computer executes all or part of the steps of any one method of first aspect.
The aspect of the embodiment of the present invention the 6th disclose a kind of using distribution platform, and the application distribution platform is for publication calculating
Machine program product, wherein when the computer program product is run on computers, so that the computer executes first party
The all or part of the steps of any one method in face.
Compared with prior art, the embodiment of the present invention has the advantages that
The present invention is by judging whether wearable device user is in sleep state and whether prolonged sleep duration reaches pre-
If the first duration threshold value, and judge whether wearable device remains static and continue whether static duration reaches default the
Two duration threshold values, therefore, it is determined that wearable device is in non-working condition, the case where wearable device is in non-working condition
The battery saving mode of lower triggering starting wearable device, can be improved and judge whether user needs using the accurate of wearable device
Rate improves power-saving control to reduce the influence that wearable device triggering starting battery saving mode uses user wearable device
Effect and user experience.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is a kind of flow diagram of the electricity-saving control method of wearable device disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of the electricity-saving control method of another wearable device disclosed by the embodiments of the present invention;
Fig. 3 is the flow diagram of the electricity-saving control method of another wearable device disclosed by the embodiments of the present invention;
Fig. 4 is a kind of structural schematic diagram of wearable device disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of another wearable device disclosed by the embodiments of the present invention;
Fig. 6 is the structural schematic diagram of another wearable device disclosed by the embodiments of the present invention.
Specific embodiment
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 description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this
Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts
Example is applied, shall fall within the protection scope of the present invention.
It should be noted that term " first ", " second ", " third " etc. in description and claims of this specification
It is to be not use to describe a particular order for distinguishing different objects.The term " includes " of the embodiment of the present invention and " having "
And their any deformation, it is intended that cover it is non-exclusive include, for example, containing the mistake of a series of steps or units
Journey, method, system, product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include unclear
Other step or units that ground is listed or intrinsic for these process, methods, product or equipment.
The embodiment of the invention discloses a kind of electricity-saving control method of wearable device and wearable devices, can be improved and sentence
Whether disconnected user needs the accuracy rate using wearable device, to reduce wearable device triggering starting battery saving mode to user
Using the influence of wearable device, improves power-saving control effect and user experience, be described in detail below in conjunction with attached drawing.
Embodiment one
Referring to Fig. 1, the process that Fig. 1 is a kind of electricity-saving control method of wearable device disclosed by the embodiments of the present invention is shown
It is intended to.Wherein, method shown in the embodiment of the present invention is suitable for smartwatch, and Intelligent bracelet, even intelligent glasses etc. can be worn
Wear equipment.As shown in Figure 1, the electricity-saving control method of the wearable device may comprise steps of:
101, when wearable device user is in sleep state, wearable device, which obtains wearable device user and is in, sleeps
The prolonged sleep duration of dormancy state.
In the embodiment of the present invention, starting battery saving mode can be triggered when user does not need using wearable device,
Part application program is closed, to save electric quantity consumption.And in order to improve the standard for judging whether user needs using wearable device
True rate, takes double condition to judge, under the premise of meeting double condition, starts the battery saving mode of wearable device.
As an alternative embodiment, reaching when wearable device user is in dormant prolonged sleep duration
When specified duration, wearable device can open offline mode.Implement the embodiment, the sleep state phase can be in user
Between, forbid wearable device to send connection signal to cellular mobile communication base station, electric quantity consumption can be saved.
102, when wearable device remains static, what wearable device obtained that it remains static continues static
Duration.
As an alternative embodiment, a gyroscope can be arranged in wearable device, gyroscope is detected
Angular speed presets duration of the angular speed of angular speed and gyroscope less than default angular speed when the angular speed of gyroscope is less than
When equal to or more than preset duration, determine that wearable device remains static.Implement the embodiment, it can with accurate judgement
Whether wearable device remains static, and then improves and judge whether user needs the accuracy rate using wearable device.
103, reach preset second when prolonged sleep duration reaches preset first duration threshold value and continues static duration
When duration threshold value, wearable device starts battery saving mode.
In the embodiment of the present invention, above-mentioned step 101 synchronous can be executed with step 102.As another optional real
Mode is applied, step 101 can also be first carried out, then execute step 102, concrete implementation mode can be with are as follows: first passing through judgement can wear
Wear whether equipment user is in sleep state and whether prolonged sleep duration reaches default first duration threshold value, then judges wearable
Whether equipment remains static and continues whether static duration reaches default second duration threshold value to determine that user does not need to make
The case where with wearable device.
As it can be seen that whether method described in Fig. 1, can be in sleep state by judging wearable device user and continue
Whether sleep duration reaches default first duration threshold value, and judges whether wearable device remains static and continue static
Whether duration reaches default second duration threshold value, therefore, it is determined that wearable device is in non-working condition, at wearable device
In the case where non-working condition triggering starting wearable device battery saving mode, can be improved judge user whether need using
The accuracy rate of wearable device, to reduce the shadow that wearable device triggering starting battery saving mode uses user wearable device
It rings, improves power-saving control effect and user experience.
Embodiment two
Referring to Fig. 2, Fig. 2 is the process of the electricity-saving control method of another wearable device disclosed by the embodiments of the present invention
Schematic diagram.As shown in Fig. 2, the electricity-saving control method of the wearable device may comprise steps of:
201, the heart rate data of wearable device real-time detection wearable device user, and judge whether heart rate data belongs to
In preset sleep heart rate data area.If so, executing step 202;Conversely, terminating this process.
202, wearable device determines that wearable device user enters sleep state.
In the embodiment of the present invention, wearable device can recorde several wearable device user's histories and be in sleep state
Under heart rate data, analyze the heart rate data that several wearable device user's histories are under sleep state, obtain reasonable
Sleep heart rate fluctuation range.Further, when real-time detection to heart rate data belong to reasonably default sleep heart rate data model
When enclosing interior, determine that wearable device user enters sleep state.
As an alternative embodiment, wearable device can also be by the wearable device user's that real-time detection arrives
The difference that heart rate data and the average heart rate value of pre-stored user in a sleep state both be calculated, when obtaining
Difference when belonging to reservation threshold and maintaining the state in the given time, it is possible to determine that user enters sleep state.Implement
The embodiment can more accurately determine that user enters sleep state, and then improve and judge whether user needs using can wear
Wear the accuracy rate of equipment.
203, wearable device starting timer carries out timing, and the timing duration for reading timer is used as wearable device
Family is in dormant prolonged sleep duration.
In the embodiment of the present invention, after detecting that wearable device user enters sleep state, it can also be performed following
Step: when detecting that wearable device user is transformed into non-sleep state from sleep state, wearable device exits power saving mould
Formula, control timer stop timing and clear history chronometric data.
204, when wearable device remains static, what wearable device obtained that it remains static continues static
Duration.
In the embodiment of the present invention, optionally, wearable device can be opened when determining that wearable device enters stationary state
Dynamic timer carries out timing, so that wearable device remains static and lower continues timing of the static duration equal to timer
Duration.
205, reach preset second when prolonged sleep duration reaches preset first duration threshold value and continues static duration
When duration threshold value, wearable device closes the application that unit time power consumption in the application program being currently running is more than specified threshold
Program, and close wireless communication switch.
In the embodiment of the present invention, the mode that wearable device exits battery saving mode specifically may is that unlatching wearable device
Wireless communication switch, and opening the unit time power consumption that is forced closed in a power-save mode is more than answering for specified threshold
Use program.
Optionally, in the embodiment of the present invention, when detecting that wearable device user is transformed into non-sleep shape from sleep state
When state, wearable device controls timer and stops timing and clear history chronometric data, can use in wearable device each time
When family enters sleep state, starting timer is started from scratch timing, and the prolonged sleep duration of wearable device user can be improved
Accuracy, and then improve judge whether user needs the accuracy rate using wearable device.
As it can be seen that whether method described in Fig. 2, can be in sleep state by judging wearable device user and continue
Whether sleep duration reaches default first duration threshold value, and judges whether wearable device remains static and continue static
Whether duration reaches default second duration threshold value, therefore, it is determined that wearable device is in non-working condition, at wearable device
In the case where non-working condition triggering starting wearable device battery saving mode, can be improved judge user whether need using
The accuracy rate of wearable device, to reduce the shadow that wearable device triggering starting battery saving mode uses user wearable device
It rings, improves power-saving control effect and user experience.
In addition to this, method described in Fig. 2 can also improve the accurate of the prolonged sleep duration of wearable device user
Property, and then improve and judge whether user needs the accuracy rate using wearable device.
Further, it is also possible to more accurately determine that user enters sleep state, so improve judge user whether need using
The accuracy rate of wearable device.
Embodiment three
Referring to Fig. 3, Fig. 3 is the process of the electricity-saving control method of another wearable device disclosed by the embodiments of the present invention
Schematic diagram.As shown in figure 3, the electricity-saving control method of the wearable device may comprise steps of:
301, the heart rate data of wearable device real-time detection wearable device user, and judge whether heart rate data belongs to
In preset sleep heart rate data area.If so, executing step 302;Conversely, terminating this process.
302, wearable device determines that wearable device user enters sleep state.
303, wearable device starting timer carries out timing, and the timing duration for reading timer is used as wearable device
Family is in dormant prolonged sleep duration.
In the embodiment of the present invention, after detecting that wearable device user enters sleep state, it can also be performed following
Step: when detecting that wearable device user is transformed into non-sleep state from sleep state, wearable device exits power saving mould
Formula, control timer stop timing and clear history chronometric data.
304, the slosh frequency of wearable device detection wearable device, and judge whether slosh frequency is less than preset rolling
Dynamic frequency threshold value.If so, executing step 305;Conversely, terminating this process.
In embodiments of the present invention, wearable device judges whether wearable device is in quiet by detection slosh frequency
Only state.In some possible embodiments, wearable device can also judge wearable device by detection button operation
Whether remain static, specific embodiment may include: that wearable device judges in preset third duration threshold value
Whether button operation instruction is received;If it is not, executing step 305;Conversely, terminating this process.Alternatively, wearable device can be with
Judge whether wearable device remains static by detection spinning movement, specific embodiment may include: that can wear
It wears equipment and judges whether there is spinning movement in preset third duration threshold value;If it is not, executing step 305;Conversely, terminating this stream
Journey.
305, wearable device determines that wearable device remains static.
As an alternative embodiment, wearable device can also judge wearable device in preset third duration
Whether there is spinning movement in threshold value.If it is not, wearable device determines that wearable device remains static.
306, wearable device obtains its lasting static duration to remain static.
307, reach preset second when prolonged sleep duration reaches preset first duration threshold value and continues static duration
When duration threshold value, wearable device closes the application that unit time power consumption in the application program being currently running is more than specified threshold
Program, and close wireless communication switch.
As an alternative embodiment, when prolonged sleep duration reaches preset first duration threshold value and continues static
When duration reaches preset second duration threshold value, wearable device can also close the amusement type application program being currently running, and protect
Stay basic type application program.Wherein, basic type application program may include and the instant positioning function of wearable device, mobile electricity
The relevant application program of function and alarm clock function etc. is answered or dialed to words.
As an alternative embodiment, wearable device can be with the mobile communications network of real-time detection wearable device
Signal determines the mobile communication of wearable device at this time when the mobile communications network signal of wearable device is weaker than specified threshold
Network signal is not enough to that wearable device is supported to carry out mobile phone communication.It, can be logical in the movement of wearable device based on this
When communication network signal is not enough to that wearable device is supported to carry out mobile phone communication, start the offline mode function of wearable device
Can, to save electric quantity consumption.
As it can be seen that whether method described in Fig. 3, can be in sleep state by judging wearable device user and continue
Whether sleep duration reaches default first duration threshold value, and judges whether wearable device remains static and continue static
Whether duration reaches default second duration threshold value, therefore, it is determined that wearable device is in non-working condition, at wearable device
In the case where non-working condition triggering starting wearable device battery saving mode, can be improved judge user whether need using
The accuracy rate of wearable device, to reduce the shadow that wearable device triggering starting battery saving mode uses user wearable device
It rings, improves power-saving control effect and user experience.
In addition to this, method described in Fig. 3 can also more accurately determine that wearable device remains static,
And then it improves and judges whether user needs the accuracy rate using wearable device.Further, it is also possible in the movement of wearable device
When communication network signal is not enough to that wearable device is supported to carry out mobile phone communication, start the offline mode function of wearable device
Can, to save electric quantity consumption.
Example IV
Referring to Fig. 4, Fig. 4 is a kind of structural schematic diagram of wearable device disclosed by the embodiments of the present invention.Such as Fig. 4 institute
Show, which may include:
First acquisition unit 401, for obtaining wearable device user when wearable device user is in sleep state
In dormant prolonged sleep duration.
Second acquisition unit 402 is in static for when wearable device remains static, obtaining wearable device
State continues static duration.
Execution unit 403, for being up to when prolonged sleep duration reaches preset first duration threshold value and continues static
When to preset second duration threshold value, start the battery saving mode of wearable device.
As an alternative embodiment, above-mentioned execution unit 403 is used to reach preset in prolonged sleep duration
First duration threshold value and continue static duration when reaching preset second duration threshold value, starts the battery saving mode of wearable device
Mode specifically may is that
Above-mentioned execution unit 403, for reaching preset first duration threshold value in prolonged sleep duration and continuing static
When duration reaches preset second duration threshold value, the amusement type application program being currently running is closed, retains basic type application program.
Wherein, basic type application program may include answering or dialing function with the instant positioning function of wearable device, mobile phone
The relevant application program with alarm clock function etc..
As an alternative embodiment, above-mentioned execution unit 403, is also used to obtain in first acquisition unit 401
When being in dormant prolonged sleep duration to wearable device user and reaching specified duration, offline mode is opened.Implementing should
Embodiment can forbid wearable device to send to cellular mobile communication base station and connect during user is in sleep state
Signal can save electric quantity consumption.
As it can be seen that wearable device described in Fig. 4, it can be by judging whether wearable device user is in sleep state
And whether prolonged sleep duration reaches default first duration threshold value, and judges whether wearable device remains static and hold
Continue whether static duration reaches default second duration threshold value, therefore, it is determined that wearable device is in non-working condition, wearable
Equipment triggers the battery saving mode of starting wearable device in the case where being in non-working condition, can be improved and judge whether user needs
The accuracy rate of wearable device is used, user is set using wearable to reduce wearable device triggering starting battery saving mode
Standby influence improves power-saving control effect and user experience.
In addition to this, wearable device described in Fig. 4 can also be forbidden to wear during user is in sleep state
It wears equipment and sends connection signal to cellular mobile communication base station, electric quantity consumption can be saved.
Embodiment five
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of another wearable device disclosed by the embodiments of the present invention.Wherein, scheme
Wearable device shown in 5 is that wearable device as shown in Figure 4 optimizes, shown in fig. 5 compared with Fig. 4
Wearable device can also include:
Judging unit 404, for detecting the slosh frequency of wearable device, and it is preset to judge whether slosh frequency is less than
Slosh frequency threshold value.
Determination unit 405, for judging unit 404 judge slosh frequency be less than preset slosh frequency threshold value when,
Determine that wearable device remains static, and triggers second acquisition unit 402 and obtain what wearable device remained static
Continue static duration.
Above-mentioned judging unit 404, is also used to judge whether wearable device receives in preset third duration threshold value
It is instructed to button operation.
Above-mentioned determination unit 405 is also used to judge wearable device in preset third duration in judging unit 404
When being not received by button operation instruction in threshold value, determine that wearable device remains static, and trigger second acquisition unit
What 402 acquisition wearable devices remained static continues static duration.
Above-mentioned judging unit 404, is also used to judge whether wearable device has rotation in preset third duration threshold value
Rotation is made.
Above-mentioned determination unit 405 is also used to judge wearable device in preset third duration in judging unit 404
When there is no spinning movement in threshold value, determine that wearable device remains static, and trigger the acquisition of second acquisition unit 402 to wear
Wear the lasting static duration that equipment remains static.
As an alternative embodiment, above-mentioned first acquisition unit 401 may include:
Detection sub-unit 4011, for detecting whether wearable device user enters sleep state.
Timing subelement 4012, for detecting that wearable device user enters sleep state in detection sub-unit 4011
When, the timer that starting is set to wearable device carries out timing;And wearable device is detected in detection sub-unit 4011
When user is transformed into non-sleep state from sleep state, control timer stops timing and clear history chronometric data.
Reading subunit 4013, the timing duration for reading timer are in sleep state as wearable device user
Prolonged sleep duration.
And above-mentioned execution unit 403, it is also used to detect wearable device user from sleeping in detection sub-unit 4011
When dormancy state is transformed into non-sleep state, battery saving mode is exited.
As an alternative embodiment, above-mentioned execution unit 403 can for detecting in detection sub-unit 4011
When wearable device user is transformed into non-sleep state from sleep state, the mode for exiting battery saving mode specifically be may is that
Above-mentioned execution unit 403, for detecting wearable device user from sleep state in detection sub-unit 4011
When being transformed into non-sleep state, the wireless communication switch of wearable device is opened, and opens and is forced to close in a power-save mode
The unit time power consumption closed is more than the application program of specified threshold.
As an alternative embodiment, detection sub-unit 4011 is for detecting wearable device user, whether entrance is slept
The mode of dormancy state specifically:
Above-mentioned detection sub-unit 4011, for the heart rate data of real-time detection wearable device user, and judges heart rate
Whether data belong in preset sleep heart rate data area, if heart rate data belongs in preset sleep heart rate data area,
Determine that wearable device user enters the sleep state.
As an alternative embodiment, execution unit 403 is used to start the battery saving mode of the wearable device
Mode specifically:
Above-mentioned execution unit 403, for closing unit time power consumption in the application program that wearable device is currently running
Amount is more than the application program of specified threshold, and closes the wireless communication switch of wearable device.
As an alternative embodiment, wearable device can also include:
Third acquiring unit, for obtaining the angular speed for being set to the gyroscope of wearable device;
Above-mentioned determination unit, the angular speed for the gyroscope for being also used to get in third acquiring unit are less than preset angle speed
When the duration that the angular speed of degree and gyroscope is less than default angular speed is equal to or more than preset duration, wearable device is determined
It remains static.
Implement the embodiment, whether can be remained static with accurate judgement wearable device, and then improves judgement and use
Whether family needs the accuracy rate using wearable device.
As an alternative embodiment, detection sub-unit 4011 is for detecting wearable device user, whether entrance is slept
The mode of dormancy state is specifically as follows:
Above-mentioned detection sub-unit 4011, the heart rate data of the wearable device user for arriving real-time detection and in advance
The difference that the average heart rate value of the user of storage in a sleep state both be calculated, when obtained difference belong to it is predetermined
Threshold values and when maintaining the state in the given time, determines that user enters sleep state.Implement the embodiment, it can be more
It is accurate to determine that user enters sleep state, and then improve and judge whether user needs the accuracy rate using wearable device.
As an alternative embodiment, above-mentioned judging unit 404, is also used to the shifting of real-time detection wearable device
Dynamic communication network signal, and judge whether the mobile communications network signal of wearable device is weaker than specified threshold.
Correspondingly, above-mentioned determination unit 405 is also used to judge that the movement of wearable device is logical in judging unit 404
When communication network signal is weaker than specified threshold, it is wearable to determine that the mobile communications network signal of wearable device at this time is not enough to support
Equipment carries out mobile phone communication, and triggers the offline mode function that above-mentioned execution unit 403 starts wearable device, with section
Save electric quantity consumption.
As it can be seen that wearable device described in Fig. 5, it can be by judging whether wearable device user is in sleep state
And whether prolonged sleep duration reaches default first duration threshold value, and judges whether wearable device remains static and hold
Continue whether static duration reaches default second duration threshold value, therefore, it is determined that wearable device is in non-working condition, wearable
Equipment triggers the battery saving mode of starting wearable device in the case where being in non-working condition, can be improved and judge whether user needs
The accuracy rate of wearable device is used, user is set using wearable to reduce wearable device triggering starting battery saving mode
Standby influence improves power-saving control effect and user experience.
In addition to this, whether wearable device described in Fig. 5 can be in static shape with accurate judgement wearable device
State, and then improve and judge whether user needs the accuracy rate using wearable device;It can also more accurately determine that user enters
Sleep state, and then improve and judge whether user needs the accuracy rate using wearable device.
Embodiment six
Referring to Fig. 6, Fig. 6 is the structural schematic diagram of another wearable device disclosed by the embodiments of the present invention.Such as Fig. 6 institute
Show, which may include:
It is stored with the memory 601 of executable program code;
The processor 602 coupled with memory 601;
Wherein, processor 602 calls the executable program code stored in memory 601, and it is any one to execute FIG. 1 to FIG. 3
The electricity-saving control method of kind wearable device.
The processor 602 is for executing the executable module stored in memory, such as computer program.The storage
Device 601 may include high-speed random access memory (RAM, Random Access Memory), it is also possible to further include non-shakiness
Fixed memory (non-volatile memory), for example, at least a magnetic disk storage.Pass through at least one network interface
(can be wired or wireless) realizes the communication connection between the mobile-terminal gateway and at least one other network element, can make
With internet, wide area network, local network, Metropolitan Area Network (MAN) etc..
In some embodiments of the invention, above-mentioned memory 601 can be used to store: the heart rate of wearable device user
Data, wearable device user are in dormant prolonged sleep duration, wearable device remains static continue it is quiet
Only when duration, preset first duration threshold value, preset second duration threshold value, the timing duration of timer and history timing number
According to.
In some embodiments of the invention, above-mentioned memory 601 can also be used to store: the shaking frequency of wearable device
Rate, preset slosh frequency threshold value, button operation instruction, the unit time power consumption of preset third duration threshold value, application program
Amount and specified unit time power consumption threshold value.
In some embodiments, program instruction is stored in the memory 601, program instruction can be with device processed
602 execute, and the processor 602 specifically executes following steps:
The heart rate data of real-time detection wearable device user, and judge whether heart rate data belongs to preset sleep heart rate
In data area;
If heart rate data belongs in preset sleep heart rate data area, determine that wearable device user enters sleep shape
State;
Start timer and carry out timing, the timing duration for reading timer is in sleep state as wearable device user
Prolonged sleep duration;
When wearable device remains static, the lasting static duration that wearable device remains static is obtained;
Reach preset second duration when prolonged sleep duration reaches preset first duration threshold value and continues static duration
When threshold value, start the battery saving mode of wearable device;
When detecting that wearable device user is transformed into non-sleep state from sleep state, battery saving mode is exited, is controlled
Timer stops timing and clear history chronometric data.
In some embodiments of the invention, following steps can also be performed in above-mentioned processor 602:
The slosh frequency of wearable device is detected, and judges whether slosh frequency is less than preset slosh frequency threshold value;If
It is less than, determines that wearable device remains static;Or
Judge whether wearable device receives button operation instruction in preset third duration threshold value;If it is not, determining
Wearable device remains static;
When wearable device user is in sleep state, obtains wearable device user and persistently slept in dormant
Dormancy duration;
When wearable device remains static, its lasting static duration to remain static is obtained;
Reach preset second duration when prolonged sleep duration reaches preset first duration threshold value and continues static duration
When threshold value, the application journey that unit time power consumption in the application program that wearable device is currently running is more than specified threshold is closed
Sequence, and close the wireless communication switch of wearable device.
The embodiment of the present invention discloses a kind of computer readable storage medium, stores computer program, wherein the computer
Program makes the electricity-saving control method of computer execution any one wearable device of FIG. 1 to FIG. 3.
A kind of computer program product is also disclosed in the embodiment of the present invention, wherein when computer program product on computers
When operation, so that computer executes all or part of the steps such as the method in the above each method embodiment.
The embodiment of the present invention is also disclosed a kind of using distribution platform, wherein using distribution platform for issuing computer journey
Sequence product, wherein when computer program product is run on computers, so that computer executes such as the above each method embodiment
In method all or part of the steps.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory,
RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits
Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only memory (One-
Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory
(Electrically-Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact
Disc Read-Only Memory, CD-ROM) or other disc memories, magnetic disk storage, magnetic tape storage or can
For carrying or any other computer-readable medium of storing data.
The electricity-saving control method to a kind of wearable device disclosed by the embodiments of the present invention and wearable device carry out above
It is discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, above embodiments
Explanation be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art,
According to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion in this specification
Appearance should not be construed as limiting the invention.
Claims (10)
1. a kind of electricity-saving control method of wearable device characterized by comprising
When wearable device user is in sleep state, obtains the wearable device user and be in described and dormant hold
Continuous sleep duration;
When the wearable device remains static, obtains the wearable device and be in the lasting quiet of the stationary state
Only duration;
When the prolonged sleep duration reach preset first duration threshold value and it is described continue static duration reach preset second
When duration threshold value, start the battery saving mode of the wearable device.
2. the method according to claim 1, wherein described when wearable device user is in sleep state,
It obtains the wearable device user and is in the dormant prolonged sleep duration, comprising:
Detect whether the wearable device user enters sleep state;If so, starting is set to the meter of the wearable device
When device carry out timing, read the timing duration of the timer as the wearable device user and be in described dormant
Prolonged sleep duration;
And the method also includes:
When detecting that the wearable device user is transformed into non-sleep state from the sleep state, the power saving mould is exited
Formula controls the timer and stops timing and clear history chronometric data.
3. according to the method described in claim 2, it is characterized in that, whether the detection wearable device user enters sleeps
Dormancy state, comprising:
The heart rate data of wearable device user described in real-time detection, and judge whether the heart rate data belongs to preset sleep
Within the scope of heart rate data;
If the heart rate data belongs in preset sleep heart rate data area, determine described in the wearable device user entrance
Sleep state.
4. the method according to claim 1, wherein the method also includes:
The slosh frequency of the wearable device is detected, and judges whether the slosh frequency is less than preset slosh frequency threshold
Value;If being less than, determine that the wearable device remains static, and executes described when the wearable device is in static shape
When state, obtains the wearable device and be in the step of continuing static duration of the stationary state;Or
Judge whether the wearable device receives button operation instruction in preset third duration threshold value;If it is not, determining
The wearable device remains static, and execution is described when the wearable device remains static, described in acquisition
Wearable device is in the step of continuing static duration of the stationary state;Or
Judge whether the wearable device has spinning movement in the preset third duration threshold value;If it is not, described in determining
Wearable device remains static, and execution is described when the wearable device remains static, and can wear described in acquisition
It wears equipment and is in the step of continuing static duration of the stationary state.
5. method according to any one of claims 1 to 4, which is characterized in that the province of the starting wearable device
Power mode, comprising:
Close the application journey that unit time power consumption in the application program that the wearable device is currently running is more than specified threshold
Sequence, and close the wireless communication switch of the wearable device.
6. a kind of wearable device characterized by comprising
First acquisition unit, for obtaining at the wearable device user when wearable device user is in sleep state
In the dormant prolonged sleep duration;
Second acquisition unit is in institute for when the wearable device remains static, obtaining the wearable device
That states stationary state continues static duration;
Execution unit, for the prolonged sleep duration reach preset first duration threshold value and it is described continue it is static when be up to
When to preset second duration threshold value, start the battery saving mode of the wearable device.
7. wearable device according to claim 6, which is characterized in that the first acquisition unit includes:
Detection sub-unit, for detecting whether the wearable device user enters sleep state;
Timing subelement, for detecting that the wearable device user enters the sleep state in the detection sub-unit
When, the timer that starting is set to the wearable device carries out timing;And it can described in being detected in the detection sub-unit
When wearable device user is transformed into non-sleep state from the sleep state, controls the timer and stop timing and clear history
Chronometric data;
Reading subunit, the timing duration for reading the timer are in the sleep as the wearable device user
The prolonged sleep duration of state;
And the execution unit, it is also used to detect that the wearable device user sleeps from described in the detection sub-unit
When dormancy state is transformed into non-sleep state, the battery saving mode is exited.
8. wearable device according to claim 7, which is characterized in that the detection sub-unit described can be worn for detecting
Wear whether equipment user enters dormant mode specifically:
The detection sub-unit for the heart rate data of wearable device user described in real-time detection, and judges the heart rate number
According to whether belonging in preset sleep heart rate data area, if the heart rate data belongs to preset sleep heart rate data area
It is interior, determine that the wearable device user enters the sleep state.
9. wearable device according to claim 6, which is characterized in that further include:
Judging unit, for detecting the slosh frequency of the wearable device, and it is default to judge whether the slosh frequency is less than
Slosh frequency threshold value;
Determination unit, for sentencing when the judging unit judges that the slosh frequency is less than preset slosh frequency threshold value
The fixed wearable device remains static, and triggers the second acquisition unit and obtain the wearable device in described
Stationary state continues static duration;
The judging unit, is also used to judge whether the wearable device receives key in preset third duration threshold value
Operational order;
The determination unit is also used to judge the wearable device in preset third duration threshold value in the judging unit
When being inside not received by button operation instruction, determine that the wearable device remains static, and triggers described second and obtain
Unit obtains the lasting static duration that the wearable device is in the stationary state;
The judging unit, is also used to judge whether the wearable device has rotation in the preset third duration threshold value
Movement;
The determination unit is also used to judge the wearable device in preset third duration threshold value in the judging unit
When there is no spinning movement inside, determine that the wearable device remains static, and triggers the second acquisition unit and obtain institute
State the lasting static duration that wearable device is in the stationary state.
10. according to the described in any item wearable devices of claim 6~9, which is characterized in that the execution unit is for starting
The mode of the battery saving mode of the wearable device specifically:
The execution unit is more than for closing unit time power consumption in the application program that the wearable device is currently running
The application program of specified threshold, and close the wireless communication switch of the wearable device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811248205.6A CN109407813A (en) | 2018-10-25 | 2018-10-25 | A kind of electricity-saving control method and wearable device of wearable device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811248205.6A CN109407813A (en) | 2018-10-25 | 2018-10-25 | A kind of electricity-saving control method and wearable device of wearable device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109407813A true CN109407813A (en) | 2019-03-01 |
Family
ID=65469155
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811248205.6A Pending CN109407813A (en) | 2018-10-25 | 2018-10-25 | A kind of electricity-saving control method and wearable device of wearable device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109407813A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112213941A (en) * | 2020-09-28 | 2021-01-12 | 泰州市盛祥纸制品有限公司 | Power saving control method of wearable device and wearable device |
CN112218358A (en) * | 2020-09-28 | 2021-01-12 | 泰州市盛祥纸制品有限公司 | Control method of wearable device and wearable device |
CN112401838A (en) * | 2020-11-16 | 2021-02-26 | 上海创功通讯技术有限公司 | Method for detecting sleep state of wearable device and wearable device |
WO2021169636A1 (en) * | 2020-02-27 | 2021-09-02 | Oppo广东移动通信有限公司 | Wearable device control method and apparatus, electronic device, and readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104375623A (en) * | 2014-11-28 | 2015-02-25 | 北京华网汇通技术服务有限公司 | Wearable intelligent device and electricity-saving control method thereof |
CN104917902A (en) * | 2015-06-30 | 2015-09-16 | 苏州寅初信息科技有限公司 | Method and system for controlling music playing status of terminal |
US20160091952A1 (en) * | 2014-09-30 | 2016-03-31 | Inventec Appliances (Pudong) Corporation | Wearable Equipment and Mode Switching Method Using the Same |
CN106304296A (en) * | 2016-09-05 | 2017-01-04 | 广东小天才科技有限公司 | The electricity-saving control method of a kind of wearable device and device, wearable device |
CN106308752A (en) * | 2016-08-23 | 2017-01-11 | 广东小天才科技有限公司 | Sleep monitoring method based on wearable equipment and sleep monitoring system based on wearable equipment |
-
2018
- 2018-10-25 CN CN201811248205.6A patent/CN109407813A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160091952A1 (en) * | 2014-09-30 | 2016-03-31 | Inventec Appliances (Pudong) Corporation | Wearable Equipment and Mode Switching Method Using the Same |
CN104375623A (en) * | 2014-11-28 | 2015-02-25 | 北京华网汇通技术服务有限公司 | Wearable intelligent device and electricity-saving control method thereof |
CN104917902A (en) * | 2015-06-30 | 2015-09-16 | 苏州寅初信息科技有限公司 | Method and system for controlling music playing status of terminal |
CN106308752A (en) * | 2016-08-23 | 2017-01-11 | 广东小天才科技有限公司 | Sleep monitoring method based on wearable equipment and sleep monitoring system based on wearable equipment |
CN106304296A (en) * | 2016-09-05 | 2017-01-04 | 广东小天才科技有限公司 | The electricity-saving control method of a kind of wearable device and device, wearable device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021169636A1 (en) * | 2020-02-27 | 2021-09-02 | Oppo广东移动通信有限公司 | Wearable device control method and apparatus, electronic device, and readable storage medium |
CN112213941A (en) * | 2020-09-28 | 2021-01-12 | 泰州市盛祥纸制品有限公司 | Power saving control method of wearable device and wearable device |
CN112218358A (en) * | 2020-09-28 | 2021-01-12 | 泰州市盛祥纸制品有限公司 | Control method of wearable device and wearable device |
CN112401838A (en) * | 2020-11-16 | 2021-02-26 | 上海创功通讯技术有限公司 | Method for detecting sleep state of wearable device and wearable device |
CN112401838B (en) * | 2020-11-16 | 2023-07-14 | 上海创功通讯技术有限公司 | Method for detecting sleep state by wearable device and wearable device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109407813A (en) | A kind of electricity-saving control method and wearable device of wearable device | |
CN103399483B (en) | The method and apparatus of wearable device power management | |
CN102204232B (en) | Method for reducing mobile phone power consumption, apparatus and mobile phone | |
CN104615097B (en) | A kind of method and apparatus of remote control mobile terminal | |
CN108076218A (en) | A kind of charging reminding method and mobile terminal | |
CN104092822A (en) | Mobile phone state switching method and system based on face detection and eyeball tracking | |
CN106502371A (en) | A kind of electricity-saving control method and device | |
CN104937520A (en) | Method and apparatus for automatically adjusting the operation of notifications based on changes in physical activity level | |
CN105407237B (en) | Control method, control device and wearable smart machine | |
CN104038632B (en) | A kind of intelligent terminal management method and device | |
CN104635928A (en) | Mobile terminal having intelligent alarm clock function | |
CN107197418A (en) | A kind of intelligent control method worn based on wrist-watch and system | |
CN104750483B (en) | A kind of method and device for controlling terminal alarm clock | |
CN103582093A (en) | Apparatus and method for energy efficient location sensing | |
CN113055530A (en) | Mode switching method and device | |
CN109938720A (en) | Based reminding method, wearable device and computer readable storage medium based on heart rate | |
CN105528076A (en) | Terminal alarm control method and device | |
CN105929927A (en) | Method and device for reducing power consumption of intelligent equipment | |
CN109345767A (en) | Safety prompt function method, apparatus, equipment and the storage medium of wearable device user | |
CN107794699A (en) | The automatic washing methods and device of a kind of washing machine | |
CN106714288A (en) | Electric quantity processing method and apparatus, and terminal | |
CN107566604A (en) | The control method and user terminal of a kind of prompting message | |
CN107018231A (en) | A kind of message prompt method and terminal device | |
CN108494945A (en) | A kind of sun-proof based reminding method, mobile terminal | |
CN104375929A (en) | Method for processing information and electronic equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190301 |