CN109101098A - A kind of method and apparatus for the wearing state detecting wearable device - Google Patents
A kind of method and apparatus for the wearing state detecting wearable device Download PDFInfo
- Publication number
- CN109101098A CN109101098A CN201810737514.3A CN201810737514A CN109101098A CN 109101098 A CN109101098 A CN 109101098A CN 201810737514 A CN201810737514 A CN 201810737514A CN 109101098 A CN109101098 A CN 109101098A
- Authority
- CN
- China
- Prior art keywords
- wearable device
- preset threshold
- wearing state
- acceleration
- value
- 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
- G06F1/3231—Monitoring the presence, absence or movement of users
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
The invention discloses method, apparatus, wearable device and the computer readable storage mediums of a kind of wearing state for detecting wearable device.The described method includes: when the current detection period starts, by the step counting output for checking the wearable device, judge whether there is step number variation in a upper detection cycle, have and then determine in wearing state, does not then detect whether acceleration transducer exports the acceleration value more than the first preset threshold in the current detection period;When currently surveying end cycle, judge whether detect the acceleration value more than the first preset threshold in detection cycle in this prior, be it is then determining in wearing state, wearing state is otherwise determined according to the output valve in the acceleration transducer cached in this prior period.Above-mentioned technical proposal can automatically detect the wearing state of wearable device, so as to automatically switch to low-power consumption mode when user does not wear, to save electricity, extend stand-by time.
Description
Technical field
The present invention relates to Intelligent hardware technical fields, and in particular to a kind of side for the wearing state for detecting wearable device
Method, device and a kind of wearable device and a kind of computer readable storage medium.
Background technique
Currently, wearable device (such as children's wrist-watch, motion bracelet) is increasingly liked by user.In order to keep to
The machine time is long, and low-power consumption mode can be set into existing wearable device, and low-power consumption mode is switched to when user does not wear
To save electricity.Wearable device can be switched to non-wearing regime, this operation pair manually when not wearing by general user
It is comparatively laborious for user, therefore low-power consumption mode is automatically switched in order to realize, how to detect the wearing shape of wearable device
The problem of state (including wear and do not wear) is urgent need to resolve.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind
State the method, apparatus and a kind of wearable device and a kind of calculating of a kind of wearing state of detection wearable device of problem
Machine readable storage medium storing program for executing.
According to one aspect of the present invention, a kind of method of wearing state for detecting wearable device is provided, comprising:
When the current detection period starts, by checking that the step counting of the wearable device exports, a upper detection is judged
Whether step number variation is had in period;
If there is step number changes, it is determined that wearable device is in wearing state;
If changed without step number, the acceleration transducer that the wearable device is detected in the current detection period is
Acceleration value of the no output more than the first preset threshold;
In current detection end cycle, judge whether detect in detection cycle in this prior more than the first preset threshold
Acceleration value;
If detecting the acceleration value more than the first preset threshold, it is determined that wearable device is in wearing state;
Surpass the first acceleration value for crossing preset threshold if be not detected, according to the wearable device cached
Output valve of the acceleration transducer in this prior in the period determines the wearing state of the wearable device.
Optionally, according to the output valve in the acceleration transducer of the wearable device cached in this prior period
The wearing state for determining the wearable device includes:
To all or part of output in the acceleration transducer of the wearable device cached in this prior period
Value, averages;
If average value is greater than or equal to the second preset threshold, it is determined that wearable device is in wearing state;
If average value is less than the second preset threshold, it is determined that wearable device is in non-wearing state.
Optionally, this method further comprises before described average:
Judge whether the maximum value in all or part of output valve meets exceptional condition, if so, removing the maximum
It averages again after value.
Optionally, this method further comprises:, can described in setting after determining that wearable device is in non-wearing state
Wearable device enters low-power consumption mode.
Optionally, whether the acceleration transducer that the wearable device is detected in the current detection period exports super
The acceleration value for crossing preset threshold include: detected in the current detection period wearable device acceleration transducer whether
Export the acceleration value more than the first preset threshold;If detecting the acceleration of the wearable device in the current detection period
The acceleration value for spending sensor output is greater than first preset threshold, then it is effective to set specified sign position;
It is described when currently surveying end cycle, whether judgement detects more than the first default threshold in detection cycle in this prior
The acceleration value of value includes: to judge whether the specified sign position is effective when currently surveying end cycle, is determined if effectively
The acceleration value more than the first preset threshold is detected in the current detection period.
Optionally, at the beginning of using the heartbeat timing wake-up moment of the wearable device as a detection cycle.
According to another aspect of the invention, a kind of device of wearing state for detecting wearable device is provided, comprising:
First detection module, suitable for when the current detection period starts, the step counting by checking the wearable device is defeated
Out, judge whether there is step number variation in a upper detection cycle;If there is step number changes, it is determined that wearable device, which is in, to be worn
State terminates testing process;If changed without step number, the acceleration of the wearable device is detected in the current detection period
Whether degree sensor exports the acceleration value more than the first preset threshold;
Second detection module is suitable for judging whether detect in detection cycle in this prior when currently surveying end cycle
More than the acceleration value of the first preset threshold;If detecting the acceleration value more than the first preset threshold, it is determined that wearable
Equipment is in wearing state;Surpass the first acceleration value for crossing preset threshold if be not detected, it can according to being cached
Output valve of the acceleration transducer of wearable device in this prior in the period determines the wearing state of the wearable device.
Optionally, second detection module, exists suitable for the acceleration transducer to the wearable device cached
All or part of output valve in the current period, averages;If average value is greater than or equal to the second preset threshold, really
Determine wearable device and is in wearing state;If average value is less than the second preset threshold, it is determined that wearable device is in and does not wear
Wear state.
Optionally, second detection module, is further adapted for before averaging, and judges that all or part is defeated
Whether the maximum value in value meets exceptional condition out, if so, averaging again after removing the maximum value.
Optionally, which further comprises: low-power consumption starting module, suitable for that can wear in the second detection module determination
It wears equipment to be in after non-wearing state, the wearable device is set and enters low-power consumption mode.
Optionally, the first detection module includes: main detection module and sub- detection module;
The main detection module, suitable for passing through the step counting of the inspection wearable device when the current detection period starts
Output, judges whether there is step number variation in a upper detection cycle;If there is step number changes, it is determined that wearable device, which is in, wears
Wear state;If changed without step number, detection instruction is sent to sub- detection module;
The sub- detection module, suitable for being detected in detection cycle in this prior described wearable after receiving detection instruction
Whether the acceleration transducer of equipment exports the acceleration value more than the first preset threshold, if examined in detection cycle in this prior
The acceleration value for measuring the acceleration transducer output of the wearable device is greater than first preset threshold, then sets specified mark
Will position is effective;
Second detection module is suitable in current detection end cycle, judges whether the specified sign position is effective,
It is effective then determination the acceleration value more than the first preset threshold is detected in the current detection period.
Optionally, the first detection module and second detection module, suitable for the heartbeat of the wearable device
At the beginning of the timing wake-up moment is as a detection cycle.
Another aspect according to the present invention provides a kind of wearable device, which includes:
Processor;And it is arranged to the memory of storage computer executable instructions, the executable instruction is being held
Execute the processor according to method described in any of the above embodiments.
Another aspect according to the present invention, provides a kind of computer readable storage medium, described computer-readable to deposit
Storage media stores one or more programs, and one or more of programs when being executed by a processor, realize any of the above-described institute
The method stated.
The technical scheme is that when the current detection period starts, by the step counting for checking the wearable device
Output, judge whether there is step number variation in a upper detection cycle, there is then that determining wearable device is in wearing state, it is no then
Whether the acceleration transducer that the wearable device is detected in the current detection period exports adding more than the first preset threshold
Velocity amplitude;When currently surveying end cycle, judge whether detect in detection cycle in this prior more than the first preset threshold
Acceleration value is that then determining wearable device is in wearing state, otherwise according to the acceleration of the wearable device cached
Output valve of the degree sensor in this prior in the period determines the wearing state of the wearable device.Pass through the technical program, energy
The wearing state of enough automatic detection wearable devices, so as to automatically switch to low-power consumption mode when user does not wear, with
Electricity is saved, stand-by time is extended.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the signal of the method for the wearing state of detection wearable device according to an embodiment of the invention
Figure;
Fig. 2 shows the method flows of the wearing state of detection wearable device accord to a specific embodiment of that present invention
Schematic diagram;
The structure that Fig. 3 shows the device of the wearing state of detection wearable device according to an embodiment of the invention is shown
It is intended to;
Fig. 4 shows the structural schematic diagram of wearable device according to an embodiment of the invention;
Fig. 5 shows the structural schematic diagram of computer readable storage medium according to an embodiment of the invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
Fig. 1 shows the signal of the method for the wearing state of detection wearable device according to an embodiment of the invention
Figure.As shown in Figure 1, a kind of method for the wearing state for detecting wearable device, comprising:
Step S110, by checking that the step counting of wearable device exports, judges upper one when the current detection period starts
Whether step number variation is had in detection cycle.
In an embodiment of the present invention, wearable device can be smartwatch (such as children's wrist-watch), motion bracelet.At this
It is illustrated by taking children's wrist-watch as an example in embodiment.Children's wrist-watch can maintain one with server end to maintain online data to communicate
A long connection heartbeat, the period of heartbeat timing wake-up are generally 5 minutes (min), certainly, the above-mentioned period can also with design requirement into
Row adjustment, and the limitation of non-present invention.It in one embodiment of the invention can be detection week with the heartbeat timing wake-up period
Phase thinks that a new detection cycle starts whenever heartbeat timing wake-up, while a upper detection cycle terminates.Intelligence is worn
Equipment is worn, as there is step function in children's wrist-watch, motion bracelet, generally by acceleration transducer (for example, 3-axis acceleration
Sensor) it realizes.When there is step counting output, user necessarily adorns oneself with wearable device, therefore, passes through inspection in the method
Step counting is exported as preliminary judgement.
Step S120, if there is step number changes, it is determined that wearable device is in wearing state, terminates testing process.
Still by taking children's wrist-watch as an example, if detecting, step number is changed in a 5min, for example, becoming 600 from 500 steps
Step, then illustrate that wrist-watch is in wearing state, terminate the testing process in this period.
Step S130, if changed without step number, the acceleration that wearable device is detected in the current detection period is passed
Whether sensor exports the acceleration value more than the first preset threshold.
Still by taking children's wrist-watch as an example, changes if detecting in a 5min without step number, detect the current detection period
5min in acceleration transducer output valve.It should be noted that can not illustrate children's wrist-watch even if step number does not change
Do not worn.Perhaps wear children's wrist-watch user do not move, such as user be in sit quietly, state of sleeping, step number is not
Variation.So the acceleration value in the 5min of current period need to be detected further, judge output acceleration value whether be more than
The acceleration value of first preset threshold.If there is the acceleration value output more than the first preset threshold, illustrate that wearable device is sent out
Biggish movement or vibration are given birth to.
Step S140, in current detection end cycle, whether judgement is detected in detection cycle in this prior more than the
The acceleration value of one preset threshold.
Step S150, if detecting the acceleration value more than the first preset threshold, it is determined that wearable device, which is in, wears
State is worn, testing process is terminated.
If there is more than the first preset threshold acceleration value output, illustrate wearable device have occurred biggish movement or
Vibration determines that the state of current wrist-watch is wearing state, terminates the testing process in this period.
Step S160, it is wearable according to what is cached if the acceleration value more than the first preset threshold is not detected
Output valve of the acceleration transducer of equipment in this prior in the period determines the wearing state of wearable device, terminates detection stream
Journey.
Still by taking children's wrist-watch as an example, after judgement, if the acceleration value more than the first preset threshold is not detected, i.e. root
The wearing state of children's wrist-watch is calculated according to the multiple groups value in the output of this detection cycle of acceleration transducer caching.For example, 1min
16 values are cached, and the size cached can be reserved for 48 values, then preserves the last 3min's of the detection cycle in caching at this time
The output valve of acceleration sensor.
From the foregoing, it will be observed that, by checking that the step counting output of wearable device is prejudged, sentencing when the current detection period starts
Whether there is step number variation in a upper detection cycle of breaking;If there is step number changes, it is determined that be in wearing state, terminate detection;
If changed without step number, detect whether acceleration transducer exports adding more than preset threshold in detection cycle in this prior
Velocity amplitude;It is more than if detected, it is determined that be in wearing state, terminate detection;It is more than if be not detected, according to delaying
The output valve for the acceleration transducer deposited determines wearing state.By the technical program, wearable device can automatically detect
Wearing state, to save electricity, extends stand-by time so as to automatically switch to low-power consumption mode when user does not wear.
In one embodiment of the invention, it is worn described in the step S160 in method shown in Fig. 1 according to what is cached
It wears the output valve of the acceleration transducer of equipment in this prior in the period and determines that the wearing state of wearable device includes: to delaying
The acceleration transducer for the wearable device deposited all or part of output valve in the period in this prior, averages;If flat
Mean value is greater than or equal to the second preset threshold, it is determined that wearable device is in wearing state;If average value is pre- less than second
If threshold value, it is determined that wearable device is in non-wearing state.
In one embodiment of the invention, when carrying out average computation to the output valve of the acceleration transducer of caching, it is
The error amount generated by burr or interference is prevented, need to remove maximum value.Therefore this method before described average, into
One step includes: to judge whether the maximum value in all or part of output valve meets exceptional condition, is to remove the maximum value
It averages again afterwards.A threshold value generally can be set, determine that it meets abnormal item if an output valve is greater than the threshold value
Part.
In an embodiment of the present invention, the first preset threshold and the second preset threshold are set according to the actual situation.
In an embodiment of the present invention, method shown in FIG. 1 further comprises: not wearing determining that wearable device is in
After state, setting wearable device enters low-power consumption mode.
In one embodiment of the invention, it is examined in detection cycle in this prior described in the step S130 of method shown in Fig. 1
Surveying the acceleration value whether acceleration transducer of wearable device exports more than the first preset threshold includes: to detect in this prior
Whether the acceleration transducer that wearable device is detected in the period exports the acceleration value more than the first preset threshold;If working as
It detects that the acceleration value of the acceleration transducer output of wearable device is greater than the first preset threshold in preceding detection cycle, then sets
Specified sign position is effective.A subprogram specifically can be set and carried out cost process.
Then described in step S140 when currently surveying end cycle, whether judgement detects in detection cycle in this prior is more than
The acceleration value of first preset threshold includes: to judge whether specified sign position is effective when currently surveying end cycle, effectively then really
It is scheduled in the first detection cycle and detects the acceleration value more than the first preset threshold.
In one embodiment of the invention, using the heartbeat timing wake-up moment of wearable device as a detection cycle
At the beginning of.In the present embodiment, at the beginning of setting detection cycle for the heartbeat timing wake-up moment, electricity can be saved
Energy.I.e. starting is primary, is performed simultaneously heartbeat and wakes up process and detect whether to wear process, reduces the number of starts, save electric energy and disappear
Consumption.
Fig. 2 shows the method flows of the wearing state of detection wearable device accord to a specific embodiment of that present invention
Figure.Still by taking children's wrist-watch as an example, as shown in Figure 2, comprising:
Step 210, heartbeat timing wake-up in children's wrist-watch, i.e. current detection period start.
Step 220, whether have step number increase, if so, thening follow the steps if detecting in a upper detection cycle for children's wrist-watch
280, it is no to then follow the steps 230.
Step 230, the acceleration that the first preset threshold whether is had more than in children's wrist-watch is detected within the current detection period
Value output, if so, thening follow the steps 240.
Step 240, setting specified sign position is effective.
Step 250, heartbeat timing wake-up in children's wrist-watch, i.e. current detection end cycle, next detection cycle start.
Step 260, whether effective specified sign position is judged, if so, 280 are thened follow the steps, if it is not, thening follow the steps 270.
Step 270, the acceleration value that children's wrist-watch is cached in the current detection period is read, calculates and whether is worn,
If so, thening follow the steps 280, children's wrist-watch is worn;If it is not, thening follow the steps 290, children's wrist-watch is not worn.
Step 280, it determines that children's wrist-watch is worn, terminates process.
Step 290, it determines that children's wrist-watch is not worn, terminates process.
In step 270, it to the acceleration value cached, averages after removing maximum value;If average value be greater than or
Equal to the second preset threshold, it is determined that wearable device is in wearing state, conversely, determining that wearable device is in does not wear shape
State.
The structure that Fig. 3 shows the device of the wearing state of detection wearable device according to an embodiment of the invention is shown
It is intended to.As shown in figure 3, a kind of device for the wearing state for detecting wearable device, the device 300 include:
First detection module 310, suitable for passing through the step counting of the inspection wearable device when the current detection period starts
Output, judges whether there is step number variation in a upper detection cycle;If there is step number changes, it is determined that wearable device, which is in, wears
Wear state;If changed without step number, the acceleration transducer that the wearable device is detected in the current detection period is
Acceleration value of the no output more than the first preset threshold.
In an embodiment of the present invention, wearable device can be smartwatch (such as children's wrist-watch), motion bracelet.At this
It is illustrated by taking children's wrist-watch as an example in embodiment.Children's wrist-watch can maintain one with server end to maintain online data to communicate
A long connection heartbeat, the period of heartbeat timing wake-up are generally 5 minutes (min).It in one embodiment of the invention can be with
The heartbeat timing wake-up period is detection cycle, i.e., thinks that a new detection cycle starts whenever heartbeat timing wake-up, simultaneously
A upper detection cycle terminates.Intelligent wearable device is general by adding as having step function in children's wrist-watch, motion bracelet
Velocity sensor (for example, 3-axis acceleration sensor) is realized.When there is step counting output, user necessarily adorns oneself with wearable set
It is standby, therefore, in the method by checking step counting output as preliminary judgement.
Still by taking children's wrist-watch as an example, if detecting, step number is changed in a 5min, for example, becoming 600 from 500 steps
Step, then illustrate that wrist-watch is in wearing state, terminate the testing process in this period.
Change if detecting in a 5min without step number, detects acceleration sensing in the 5min in current detection period
The output valve of device.It should be noted that can not illustrate that children's wrist-watch is not worn even if step number does not change.Perhaps it wears
The user for wearing children's wrist-watch does not move, such as user be in sit quietly, state of sleeping, step number is indeclinable.So need to be into one
Step detection current period 5min in acceleration value, judge output acceleration value whether more than the first preset threshold acceleration
Angle value.If there is the acceleration value output more than the first preset threshold, illustrate that biggish movement or shake has occurred in wearable device
It is dynamic.
Second detection module 320 is suitable for judging whether detect in detection cycle in this prior when currently surveying end cycle
To the acceleration value more than the first preset threshold;If detecting the acceleration value more than the first preset threshold, it is determined that can wear
It wears equipment and is in wearing state, terminate testing process;Surpass the first acceleration value for crossing preset threshold, basis if be not detected
Output valve of the acceleration transducer of the wearable device cached in this prior in the period determines the wearable device
Wearing state.
If there is more than the first preset threshold acceleration value output, illustrate wearable device have occurred biggish movement or
Vibration determines that the state of current wrist-watch is wearing state, terminates the testing process in this period.
Still by taking children's wrist-watch as an example, after judgement, if the acceleration value more than the first preset threshold is not detected, i.e. root
The wearing state of children's wrist-watch is calculated according to the multiple groups value in the output of this detection cycle of acceleration transducer caching.For example, 1min
16 values are cached, and the size cached can be reserved for 48 values, then preserves the last 3min's of the detection cycle in caching at this time
The output valve of acceleration sensor.
From the foregoing, it will be observed that, by checking that the step counting output of wearable device is prejudged, sentencing when the current detection period starts
Whether there is step number variation in a upper detection cycle of breaking;If there is step number changes, it is determined that be in wearing state, terminate detection;
If changed without step number, detect whether acceleration transducer exports adding more than preset threshold in detection cycle in this prior
Velocity amplitude;It is more than if detected, it is determined that be in wearing state, terminate detection;It is more than if be not detected, according to delaying
The output valve for the acceleration transducer deposited determines wearing state.By the technical program, wearable device can automatically detect
Wearing state, to save electricity, extends stand-by time so as to automatically switch to low-power consumption mode when user does not wear.
In one embodiment of the invention, the second detection module 320, suitable for the wearable device cached
Acceleration transducer all or part of output valve in the period in this prior, averages;If average value is greater than or equal to the
Two preset thresholds, it is determined that wearable device is in wearing state;If average value is less than the second preset threshold, it is determined that can wear
It wears equipment and is in non-wearing state.
In one embodiment of the invention, the second detection module 320, is further adapted for before averaging, judgement
Whether the maximum value in all or part output valve meets exceptional condition, if so, being averaging again after removing the maximum value
Value.In the present embodiment, when carrying out average computation to the output valve of the acceleration transducer of caching, in order to prevent because of burr or
The error amount generated is interfered, maximum value need to be removed.A threshold value generally can be set, if an output valve is greater than the threshold value
Determine that it meets exceptional condition.
In an embodiment of the present invention, the first preset threshold and the second preset threshold are set according to the actual situation.
In one embodiment of the invention, device 300 shown in Fig. 3 further comprises:
Low-power consumption starting module 330, be suitable for the second detection module 320 determine wearable device be in non-wearing state it
Afterwards, setting wearable device enters low-power consumption mode.
In one embodiment of the invention, first detection module 310 includes: main detection module 310-1 and son detection mould
Block 310-2;
Main detection module 310-1, suitable for when the current detection period starts, the step counting by checking wearable device is defeated
Out, judge whether there is step number variation in a upper detection cycle;If there is step number changes, it is determined that wearable device, which is in, to be worn
State terminates testing process;If changed without step number, detection instruction is sent to sub- detection module;
Sub- detection module 310-2, suitable for detecting wearable device in detection cycle in this prior after receiving detection instruction
Acceleration transducer whether export the acceleration value more than the first preset threshold, if detected in detection cycle in this prior
The acceleration value of the acceleration transducer output of wearable device is greater than the first preset threshold, then it is effective to set specified sign position;
Second detection module 320 is suitable in current detection end cycle, judges whether specified sign position is effective, effectively
Then determination detects the acceleration value more than the first preset threshold in the current detection period.
In one embodiment of the invention, first detection module 310 and the second detection module 320 are suitable for wearable
At the beginning of the heartbeat timing wake-up moment of equipment is as a detection cycle.In the present embodiment, by heartbeat timing wake-up
At the beginning of moment is set as detection cycle, electric energy can be saved.I.e. starting is primary, is performed simultaneously heartbeat and wakes up process and inspection
It surveys and whether wears process, reduce the number of starts, save power consumption.
The technical scheme is that first checking for wearable device has whether have step number variation, has and then determine in pendant
State is worn, does not detect whether acceleration transducer exports the acceleration value more than the first preset threshold then;It is, it is determining to be in
Otherwise wearing state determines wearing state according to the output valve in the acceleration transducer cached in this prior period.Pass through
The technical program can automatically detect the wearing state of wearable device, so as to automatically switch to when user does not wear
Low-power consumption mode extends stand-by time to save electricity.
It should be understood that
Algorithm and display be not inherently related to any certain computer, virtual bench or other equipment provided herein.
Various fexible units can also be used together with teachings based herein.As described above, it constructs required by this kind of device
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) realize the wearing shape of detection wearable device according to an embodiment of the present invention
The some or all functions of some or all components in the device of state.The present invention is also implemented as executing here
Some or all device or device programs of described method are (for example, computer program and computer program produce
Product).It is such to realize that program of the invention can store on a computer-readable medium, or can have one or more
The form of signal.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or to appoint
What other forms provides.
For example, Fig. 4 shows the structural schematic diagram of wearable device according to an embodiment of the invention.This is wearable to set
Standby 400 conventionally comprise processor 410 and are arranged to the memory 420 of storage computer executable instructions (program code).
Memory 420 can be such as flash memory, EEPROM (electrically erasable programmable read-only memory), EPROM, hard disk or ROM it
The electronic memory of class.Memory 420 has storage for executing any method and step in shown in FIG. 1 and each embodiment
Program code 440 memory space 430.For example, the memory space 430 for program code may include being respectively used to realize
Each program code 440 of various steps in above method.These program codes can be from one or more computer
It reads or is written in program product in this one or more computer program product.These computer program products include
Such as hard disk, the program code carrier of compact-disc (CD), storage card or floppy disk etc.Such computer program product is usual
For computer readable storage medium 500 as described in Figure 5.The computer readable storage medium 500 can have with Fig. 4 can
Memory paragraph, the memory space etc. of 420 similar arrangement of memory in wearable device.Program code can for example in a suitable form into
Row compression.In general, storage unit is stored with the program code 510 for executing steps of a method in accordance with the invention, it can by
The program code that such as 410 etc processor is read causes this that can wear when these program codes are run by wearable device
Wear each step in equipment execution method described above.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
The invention discloses A1, a kind of method for the wearing state for detecting wearable device, comprising:
When the current detection period starts, by checking that the step counting of the wearable device exports, a upper detection is judged
Whether step number variation is had in period;
If there is step number changes, it is determined that wearable device is in wearing state;
If changed without step number, the acceleration transducer that the wearable device is detected in the current detection period is
Acceleration value of the no output more than the first preset threshold;
In current detection end cycle, judge whether detect in detection cycle in this prior more than the first preset threshold
Acceleration value;
If detecting the acceleration value more than the first preset threshold, it is determined that wearable device is in wearing state;
Surpass the first acceleration value for crossing preset threshold if be not detected, according to the wearable device cached
Output valve of the acceleration transducer in this prior in the period determines the wearing state of the wearable device.
A2, method as described in a1, wherein deserved according to the acceleration transducer of the wearable device cached
Output valve in the preceding period determines that the wearing state of the wearable device includes:
To all or part of output in the acceleration transducer of the wearable device cached in this prior period
Value, averages;
If average value is greater than or equal to the second preset threshold, it is determined that wearable device is in wearing state;
If average value is less than the second preset threshold, it is determined that wearable device is in non-wearing state.
A3, as described in A2 method, wherein this method further comprises before described average:
Judge whether the maximum value in all or part of output valve meets exceptional condition, if so, removing the maximum
It averages again after value.
A4, method as described in a1, wherein this method further comprises:
After determining that wearable device is in non-wearing state, the wearable device is set and enters low-power consumption mode.
A5, method as described in a1, wherein
It is more than default that whether the acceleration transducer that the wearable device is detected in the current detection period, which exports,
The acceleration value of threshold value include: detected in the current detection period wearable device acceleration transducer whether export it is super
Cross the acceleration value of the first preset threshold;If detecting the acceleration sensing of the wearable device in the current detection period
The acceleration value of device output is greater than first preset threshold, then it is effective to set specified sign position;
It is described when currently surveying end cycle, whether judgement detects more than the first default threshold in detection cycle in this prior
The acceleration value of value includes: to judge whether the specified sign position is effective when currently surveying end cycle, is determined if effectively
The acceleration value more than the first preset threshold is detected in the current detection period.
A6, the method as described in any one of A1-A5, wherein
At the beginning of using the heartbeat timing wake-up moment of the wearable device as a detection cycle.
The invention also discloses B7, a kind of device for the wearing state for detecting wearable device, comprising:
First detection module, suitable for when the current detection period starts, the step counting by checking the wearable device is defeated
Out, judge whether there is step number variation in a upper detection cycle;If there is step number changes, it is determined that wearable device, which is in, to be worn
State terminates testing process;If changed without step number, the acceleration of the wearable device is detected in the current detection period
Whether degree sensor exports the acceleration value more than the first preset threshold;
Second detection module is suitable for judging whether detect in detection cycle in this prior when currently surveying end cycle
More than the acceleration value of the first preset threshold;If detecting the acceleration value more than the first preset threshold, it is determined that wearable
Equipment is in wearing state;Surpass the first acceleration value for crossing preset threshold if be not detected, it can according to being cached
Output valve of the acceleration transducer of wearable device in this prior in the period determines the wearing state of the wearable device.
B8, device as described in b7, wherein
Second detection module, it is all in this prior suitable for the acceleration transducer to the wearable device cached
Interim all or part of output valve, averages;If average value is greater than or equal to the second preset threshold, it is determined that wearable
Equipment is in wearing state;If average value is less than the second preset threshold, it is determined that wearable device is in non-wearing state.
B9, the device as described in B8, wherein
Second detection module, is further adapted for before averaging, and judges in all or part of output valve
Maximum value whether meet exceptional condition, if so, averaging again after removing the maximum value.
B10, device as described in b7, wherein the device further comprises:
Low-power consumption starting module, suitable for second detection module determine wearable device be in non-wearing state it
Afterwards, the wearable device is set and enters low-power consumption mode.
B11, device as described in b7, wherein
The first detection module includes: main detection module and sub- detection module;
The main detection module, suitable for passing through the step counting of the inspection wearable device when the current detection period starts
Output, judges whether there is step number variation in a upper detection cycle;If there is step number changes, it is determined that wearable device, which is in, wears
Wear state;If changed without step number, detection instruction is sent to sub- detection module;
The sub- detection module, suitable for being detected in detection cycle in this prior described wearable after receiving detection instruction
Whether the acceleration transducer of equipment exports the acceleration value more than the first preset threshold, if examined in detection cycle in this prior
The acceleration value for measuring the acceleration transducer output of the wearable device is greater than first preset threshold, then sets specified mark
Will position is effective;
Second detection module is suitable in current detection end cycle, judges whether the specified sign position is effective,
It is effective then determination the acceleration value more than the first preset threshold is detected in the current detection period.
B12, the device as described in any one of B7-B11, wherein
The first detection module and second detection module, suitable for the heartbeat timing wake-up of the wearable device
At the beginning of moment is as a detection cycle.
The invention also discloses C13, a kind of wearable device, wherein the wearable device includes:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed
It manages device and executes the method according to any one of A1~A6.
The invention also discloses D14, a kind of computer readable storage medium, wherein the computer readable storage medium
One or more programs are stored, one or more of programs when being executed by a processor, are realized described in any one of A1~A6
Method.
Claims (10)
1. a kind of method for the wearing state for detecting wearable device, comprising:
When the current detection period starts, by checking that the step counting of the wearable device exports, a upper detection cycle is judged
Inside whether there is step number variation;
If there is step number changes, it is determined that wearable device is in wearing state;
If changed without step number, whether the acceleration transducer that the wearable device is detected in the current detection period is defeated
Out more than the acceleration value of the first preset threshold;
In current detection end cycle, judge adding more than the first preset threshold whether is detected in detection cycle in this prior
Velocity amplitude;
If detecting the acceleration value more than the first preset threshold, it is determined that wearable device is in wearing state;
Surpass the first acceleration value for crossing preset threshold if be not detected, according to the acceleration of the wearable device cached
Output valve of the degree sensor in this prior in the period determines the wearing state of the wearable device.
2. the method for claim 1, wherein according to the acceleration transducer of the wearable device cached at this
Output valve in current period determines that the wearing state of the wearable device includes:
To all or part of output valve in the acceleration transducer of the wearable device cached in this prior period, ask
Average value;
If average value is greater than or equal to the second preset threshold, it is determined that wearable device is in wearing state;
If average value is less than the second preset threshold, it is determined that wearable device is in non-wearing state.
3. method according to claim 2, wherein this method further comprises before described average:
Judge whether the maximum value in all or part of output valve meets exceptional condition, if so, after removing the maximum value
It averages again.
4. the method for claim 1, wherein this method further comprises:
After determining that wearable device is in non-wearing state, the wearable device is set and enters low-power consumption mode.
5. the method for claim 1, wherein
Whether the acceleration transducer that the wearable device is detected in the current detection period exports more than preset threshold
Acceleration value include: to detect the acceleration transducer of the wearable device in the current detection period whether to export more than
The acceleration value of one preset threshold;If detecting that the acceleration transducer of the wearable device is defeated in the current detection period
Acceleration value out is greater than first preset threshold, then it is effective to set specified sign position;
It is described when currently surveying end cycle, whether judgement detects more than the first preset threshold in detection cycle in this prior
Acceleration value includes: to judge whether the specified sign position is effective when currently surveying end cycle, is determined if effectively current
The acceleration value more than the first preset threshold is detected in detection cycle.
6. method according to any one of claims 1 to 5, wherein
At the beginning of using the heartbeat timing wake-up moment of the wearable device as a detection cycle.
7. a kind of device for the wearing state for detecting wearable device, comprising:
First detection module, suitable for by checking that the step counting of the wearable device exports, sentencing when the current detection period starts
Whether there is step number variation in a upper detection cycle of breaking;If there is step number changes, it is determined that wearable device is in wearing state,
Terminate testing process;If changed without step number, the acceleration that the wearable device is detected in the current detection period is passed
Whether sensor exports the acceleration value more than the first preset threshold;
Second detection module is suitable for when currently surveying end cycle, and whether judgement detects in detection cycle in this prior is more than
The acceleration value of first preset threshold;If detecting the acceleration value more than the first preset threshold, it is determined that wearable device
In wearing state;Surpass the first acceleration value for crossing preset threshold if be not detected, it is described wearable according to what is cached
Output valve of the acceleration transducer of equipment in this prior in the period determines the wearing state of the wearable device.
8. device as claimed in claim 7, wherein
Second detection module, suitable in the acceleration transducer to the wearable device cached in this prior period
All or part of output valve, average;If average value is greater than or equal to the second preset threshold, it is determined that wearable device
In wearing state;If average value is less than the second preset threshold, it is determined that wearable device is in non-wearing state.
9. a kind of wearable device, wherein the wearable device includes:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the processor when executed
Method described in execution according to claim 1~any one of 6.
10. a kind of computer readable storage medium, wherein the computer-readable recording medium storage one or more program,
One or more of programs when being executed by a processor, realize method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810737514.3A CN109101098A (en) | 2018-07-06 | 2018-07-06 | A kind of method and apparatus for the wearing state detecting wearable device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810737514.3A CN109101098A (en) | 2018-07-06 | 2018-07-06 | A kind of method and apparatus for the wearing state detecting wearable device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109101098A true CN109101098A (en) | 2018-12-28 |
Family
ID=64845686
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810737514.3A Pending CN109101098A (en) | 2018-07-06 | 2018-07-06 | A kind of method and apparatus for the wearing state detecting wearable device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109101098A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110049537A (en) * | 2019-04-23 | 2019-07-23 | 广东小天才科技有限公司 | Power saving method, device, equipment and storage medium for intelligent wearable equipment |
CN110114738A (en) * | 2019-03-25 | 2019-08-09 | 深圳市汇顶科技股份有限公司 | Wearable device wears detection method and storage medium |
CN111839474A (en) * | 2020-07-30 | 2020-10-30 | 山霓(上海)信息科技有限公司 | Circuit system for judging whether wearable product is in wearing state or not and judging algorithm thereof |
CN112147944A (en) * | 2020-08-17 | 2020-12-29 | 来邦养老科技有限公司 | Low-power-consumption monitoring method and monitoring system for old people |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103728874A (en) * | 2013-12-27 | 2014-04-16 | 上海斐讯数据通信技术有限公司 | Method for intelligently lighting watch screen and watch |
CN105425940A (en) * | 2015-10-23 | 2016-03-23 | 安徽华米信息科技有限公司 | Method and apparatus for determining wearing state of wristband, and wearable device |
US20160284210A1 (en) * | 2015-03-25 | 2016-09-29 | Cywee Motion Inc. | Wearable device and detecting method thereof |
CN106510719A (en) * | 2016-09-30 | 2017-03-22 | 歌尔股份有限公司 | User posture monitoring method and wearable equipment |
CN106681478A (en) * | 2017-01-04 | 2017-05-17 | 北京邮电大学 | Simple scheme for distinguishing state of portable wearable device |
WO2017133602A1 (en) * | 2016-02-04 | 2017-08-10 | 歌尔股份有限公司 | Method and apparatus for detecting whether a wearable device is currently being worn |
CN107526429A (en) * | 2017-10-12 | 2017-12-29 | 广东小天才科技有限公司 | Wearable device control method, wearable device control device and wearable device |
-
2018
- 2018-07-06 CN CN201810737514.3A patent/CN109101098A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103728874A (en) * | 2013-12-27 | 2014-04-16 | 上海斐讯数据通信技术有限公司 | Method for intelligently lighting watch screen and watch |
US20160284210A1 (en) * | 2015-03-25 | 2016-09-29 | Cywee Motion Inc. | Wearable device and detecting method thereof |
CN105425940A (en) * | 2015-10-23 | 2016-03-23 | 安徽华米信息科技有限公司 | Method and apparatus for determining wearing state of wristband, and wearable device |
WO2017133602A1 (en) * | 2016-02-04 | 2017-08-10 | 歌尔股份有限公司 | Method and apparatus for detecting whether a wearable device is currently being worn |
CN106510719A (en) * | 2016-09-30 | 2017-03-22 | 歌尔股份有限公司 | User posture monitoring method and wearable equipment |
CN106681478A (en) * | 2017-01-04 | 2017-05-17 | 北京邮电大学 | Simple scheme for distinguishing state of portable wearable device |
CN107526429A (en) * | 2017-10-12 | 2017-12-29 | 广东小天才科技有限公司 | Wearable device control method, wearable device control device and wearable device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110114738A (en) * | 2019-03-25 | 2019-08-09 | 深圳市汇顶科技股份有限公司 | Wearable device wears detection method and storage medium |
US11438685B2 (en) | 2019-03-25 | 2022-09-06 | Shenzhen GOODIX Technology Co., Ltd. | Wearable device, wearing detection method, and storage medium |
CN110049537A (en) * | 2019-04-23 | 2019-07-23 | 广东小天才科技有限公司 | Power saving method, device, equipment and storage medium for intelligent wearable equipment |
CN111839474A (en) * | 2020-07-30 | 2020-10-30 | 山霓(上海)信息科技有限公司 | Circuit system for judging whether wearable product is in wearing state or not and judging algorithm thereof |
CN112147944A (en) * | 2020-08-17 | 2020-12-29 | 来邦养老科技有限公司 | Low-power-consumption monitoring method and monitoring system for old people |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109101098A (en) | A kind of method and apparatus for the wearing state detecting wearable device | |
CN106456000B (en) | The based drive estimation of biometric signal | |
CN108139790A (en) | Smart machine wears detection method and smart machine | |
CN105640508A (en) | Realtime sleep monitoring method and device and intelligent wearable equipment | |
EP3349026B1 (en) | Method and apparatus for estimating state of battery | |
CN101528154B (en) | System for adapting the resonant operation of a personal care appliance during the lifetime thereof | |
EP3183538B1 (en) | Sensor power management | |
US20150029030A1 (en) | Sleep state management device, sleep state management method, and sleep state management program | |
CN107049255A (en) | A kind of wearable intelligent equipment and its sleep algorithm | |
JP6052278B2 (en) | Motion determination device, motion determination system, and motion determination method | |
US20220377450A1 (en) | Method and Device for Detecting Wearing State of Earphones, and Earphones | |
CN108345787B (en) | Determine the method, detection device and system of processor security | |
JP2014054479A5 (en) | ||
CN106506819A (en) | A kind of terminal display control method and terminal | |
WO2008139156A2 (en) | Monitoring device | |
CN105361888A (en) | Activity meter and sleep/awake state recording system | |
CN104808780B (en) | Judge the device and method of head-wearing type intelligent equipment operation validity | |
CN105912445A (en) | Information processing method and wearable equipment | |
CN102828383A (en) | Washing machine, control method for washing machine and cleaning judgment method for executing washing procedures | |
CN108770046B (en) | Method for saving electric quantity of smart watch | |
CN107066043A (en) | Wearable terminal and display control method | |
CN102591758B (en) | Microcomputer | |
CN110114644A (en) | Survey shake device and the safety device using survey shake device | |
US11169301B2 (en) | Determination device, multiple optical-axis photoelectric sensor, determination device control method, information processing program, and recording medium | |
CN112907257B (en) | Risk threshold determining method and device 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 |
Application publication date: 20181228 |
|
RJ01 | Rejection of invention patent application after publication |