A kind of method of the Intelligent bracelet lift bright screen of hand
Technical field
The present invention relates to the bright screen control field of Intelligent bracelet, be specifically designed a kind of Intelligent bracelet lift bright screen of hand method and its
Equipment.
Background technology
Intelligent bracelet has been widely applied in people's health life at present, has had becoming for substitution conventional wristwatch
Gesture.For Intelligent bracelet due to small, the battery pack that can be placed is also smaller, very subtracts as possible in use there is an urgent need to people
Few energy expenditure.For the Intelligent bracelet with larger display screen, people are needing to see time, heart rate data or other work(
During energy data, need to go to click screen with hand or need to be gone by the button in Intelligent bracelet with hand, hand is not worn as user
When the another hand of ring is in the state that cannot go operation Intelligent bracelet, user obviously can not simply light screen, be needed
Data.Therefore, a kind of mode for the auxiliary without an other hand that can light screen is needed to go to meet user's in a hurry
Demand.The flip angle that the method for the bright screen of current bracelet is generally adopted by detection bracelet goes to judge whether user sees the time
Demand, still, the judgement of this judgment method is inaccurate, and overturns several secondary screens sometimes and does not all work, and sometimes small dynamic
Make to cause screen bright screen always again.Simultaneously as the custom of personal user, Intelligent bracelet may be worn in left hand and the right hand
Either hand on, when replacing the hand worn every time, it is left hand or the right hand to be required to user and go to set worn in detail, so
It is gone to replace the algorithm for lighting screen according to the situation of the right-hand man of wearing afterwards.It can be seen that current bright screen judgment method is also deposited
Judge the defects of inaccurate, and user needed to reset when replacing right-hand man the defects of.
Invention content
The present invention is intended to provide a kind of method and its equipment of the Intelligent bracelet lift bright screen of hand, can cause user needing
During to performance data, by wear Intelligent bracelet arm lift manually make realize light screen so as to obtain required information,
The defects of can solving user to be needed to reset when bright screen at present judges inaccurate and replacement right-hand man by unique algorithm.
Technical scheme is as follows:
A kind of method of the Intelligent bracelet lift bright screen of hand, the Intelligent bracelet add including at least processor, display screen and three axis
Velocity sensor;It is characterized in that, described method includes following steps:
Step 1, the 3-axis acceleration sensor acquire the data of the 3-axis acceleration of the Intelligent bracelet, and should
The data of 3-axis acceleration are sent to the processor.
Step 2, the processor are filtered the data of above-mentioned collected 3-axis acceleration, are handled
The acceleration information of three axis afterwards.
Step 3 stores the first acceleration rate threshold in the processor, if in the acceleration information of above-mentioned three axis at least
The acceleration information of one axis reaches first acceleration rate threshold, then processor judges that human body is in strenuous exercise's state, simultaneously
Enter step four;If it is not, then processor judges that human body is in non-strenuous exercise's state, while enters step five;Wherein, " if not "
It can refer to remove that " acceleration information of at least axis in the acceleration information of above-mentioned three axis reaches the first acceleration threshold
Remaining all situations of value ".Acceleration information all not up to described first such as any axis in above-mentioned 3-axis acceleration data adds
Threshold speed.
Step 4, the processor storage sample frequency F, first time threshold value T1/F(Wherein F be sample frequency, T1<F,
And T1 is integer)With the first amplitude threshold W0, and the processor counts the acceleration information of each axis in three axis and persistently rises
Or the time T and amplitude W declined:If the time that the acceleration information of any axis persistently rises or falls in three axis reaches the place
The first time threshold value T1/F of device storage is managed, and the amplitude that the acceleration information of the axis persistently rises or falls reaches the processing
There is lift hand mark, enter step 41 in first amplitude threshold of device storage, then the processor judgement;If it is not, it then repeats
Step 4." if not " can refer to remove " if the time that the acceleration information of any axis persistently rises or falls in three axis reaches
The first time threshold value T1/F of the processor storage, and the amplitude that the acceleration information of the axis persistently rises or falls reaches institute
State processor storage the first amplitude threshold " remaining all situations.Acceleration information such as each axis in three axis persistently rises
Or the acceleration information of the first time threshold value T1/F or each axis of the time declined all not up to described processor storage continues
The amplitude risen or fallen is all not up to the first amplitude threshold of the processor storage.
Step 4 one, the processor store the second time threshold T2/F(Wherein F be sample frequency, T2<F, and T2 is whole
Number), the first acceleration section [A1, B1] and first number threshold value N0, in the second time threshold T2/F, each axis is adopted
T2 acceleration information of sample, the acceleration information for counting each axis fall into a numerical value of N in the first acceleration section, if per axis
A numerical value reach first above-mentioned number threshold value, then be judged as lift hand, enter step six;If described of any axis
Numerical value is not up to first above-mentioned number threshold value, then repeatedly step 4.
Step 5, the processor storage sample frequency F, third time threshold T3/F(Wherein F be sample frequency, T3<F,
And T3 is integer)With the second amplitude threshold w0, and the processor is counted in three axis on the acceleration information of X-axis and Y-axis continues
The time t and amplitude w for rising or declining:If the time that the acceleration information of X-axis and Y-axis persistently rises or falls all reaches described
Three time threshold T3/F, and the amplitude that the acceleration information of X-axis and Y-axis persistently rises or falls all reaches the processor storage
The second amplitude threshold, then there is lift hand mark, enters step May Day in processor judgement;If it is not, repeat step 5.
" if not " can refer to remove " if the time that the acceleration information of X-axis and Y-axis persistently rises or falls all reaches the third
Between threshold value T3/F, and the amplitude that persistently rises or falls of the acceleration information of X-axis and Y-axis all reaches the of the processor storage
Remaining all situations of two amplitude thresholds ".The time that acceleration information such as each axis in X-axis and Y-axis persistently rises or falls
What the acceleration information of the second time threshold T2/F or each axis of all not up to described processor storage persistently rose or fell
Amplitude is all not up to the second amplitude threshold of the processor storage.
Step 5 one, the processor store the second time threshold T2/F(Wherein F be sample frequency, T2<F, and T2 is whole
Number), the second acceleration section [A2, B2] and second number threshold value n0, in the second time threshold T2/F, each axis is adopted
T2 acceleration information of sample counts a numerical value n that the acceleration information per axis falls into the second acceleration section, if per axis
A numerical value reaches second above-mentioned number threshold value, then is judged as lifting hand, enters step six;If the number of any axis
Value not up to above-mentioned second number threshold value, then repeatedly step 5.
Step 6, the processor control the bright screen of display screen.
Further, in the step 4, first amplitude threshold includes the first amplitude threshold of X-axis, the first width of Y-axis
The first amplitude threshold of threshold value and Z axis is spent, the acceleration information that the processor counts each axis in three axis persistently rises or falls
Time and amplitude:If the time that the acceleration information of any axis persistently rises or falls in three axis reaches the processor storage
First time threshold value T1/F, and the amplitude that persistently rises or falls of the acceleration information of the axis reaches the processor storage pair
The first amplitude threshold of axis is answered, then lift hand mark occurs in the processor judgement, enters step 41;If it is not, it then repeats to walk
Rapid four.
Further, in the step 4 one, the first acceleration section include the first acceleration of X-axis section [a1,
B1], the first acceleration of Y-axis section [a2, b2] and the first acceleration of Z axis section [a3, b3], first number threshold value include X
First first number threshold value of axis, first number threshold value of Y-axis and Z axis number threshold value, in the second time threshold T2/F, to every
One axis sample T2 acceleration information, count each axis acceleration information fall into respective shaft the first acceleration section number
Value, if a numerical value that the acceleration information of each axis falls into the first acceleration section of respective shaft reaches first of respective shaft
Number threshold value is then judged as lifting hand, enters step six;If the acceleration information of any axis falls into the first acceleration section of respective shaft
A numerical value be not up to first number threshold value of respective shaft, then repeatedly step 4.
Further, in the step 5, second amplitude threshold includes the second amplitude threshold of X-axis, the second width of Y-axis
Spend the second amplitude threshold of threshold value and Z axis, the processor count the acceleration information of X-axis and Y-axis in three axis persistently rise or under
The time of drop and amplitude:If the time that the acceleration information of X-axis and Y-axis persistently rises or falls all reaches the third time threshold
Value T3/F, and the amplitude that the acceleration information of X-axis and Y-axis persistently rises or falls all reaches the corresponding of the processor storage
There is lift hand mark, enter step May Day in the second amplitude threshold of the second amplitude threshold of X-axis and Y-axis, then the processor judgement;
If it is not, repeat step 5.
Further, in the step 5 one, the second acceleration section include the second acceleration of X-axis section [a4,
B4], the second acceleration of Y-axis section [a5, b5] and the second acceleration of Z axis section [a6, b6], first number threshold value include X
Second second number threshold value of axis, second number threshold value of Y-axis and Z axis number threshold value, in the second time threshold T2/F, to every
One axis sample T2 acceleration information, count each axis acceleration information fall into respective shaft the second acceleration section number
Value, if a numerical value that the acceleration information of each axis falls into the second acceleration section of respective shaft reaches second of respective shaft
Number threshold value is then judged as lifting hand, enters step six;If the acceleration information of any axis falls into the second acceleration section of respective shaft
A numerical value be not up to second number threshold value of respective shaft, then repeatedly step 5.
Further, a kind of Intelligent bracelet of the method for Intelligent bracelet lift bright screen of hand, which is characterized in that the intelligence
Energy bracelet includes at least processor, display screen and 3-axis acceleration sensor;The processor includes the memory module and institute
State comparison module, the memory module storage first acceleration rate threshold, sample frequency F, first time threshold value T1/F, the
One amplitude threshold, the second time threshold T2/F, the first acceleration section, first number threshold value, third time threshold T3/F and
Two amplitude thresholds, the second acceleration section and second number threshold value;The processor accelerates with the display screen and three axis
Spend sensor connection.The comparison module is realized described Step 3: Step 4: in step 4 one, step 5 and step 5 one
The comparison of described " the reaching " calculates.
Through the above technical solutions, the present invention can accurately judge the true idea of user, accurately when user lifts hand
Screen is lighted, and user does not need to reset the state for being worn on right-hand man of bracelet when replacing right-hand man.
Description of the drawings
Its example embodiment is described in detail by referring to accompanying drawing, above and other target of the invention, feature and advantage will
It becomes more fully apparent.
Fig. 1 is flow chart of the method for the present invention.
Fig. 2 is the schematic diagram of the Intelligent bracelet of the present invention.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes
Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, these embodiments are provided so that the present invention will more
Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Attached drawing is only the present invention
Schematic illustrations, be not necessarily drawn to scale.Identical reference numeral represents same or similar part in figure, thus
Repetition thereof will be omitted.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner
In mode.In the following description, many details are provided to fully understand embodiments of the present invention so as to provide.So
And it will be appreciated by persons skilled in the art that technical scheme of the present invention can be put into practice and omit one in the specific detail
Or more or may be used other methods, constituent element, device, step etc..In other cases, it is not shown in detail or describes
Known features, method, apparatus, realization or operation are to avoid a presumptuous guest usurps the role of the host and each aspect of the present invention is caused to thicken.
As shown in Fig. 2, Intelligent bracelet includes at least processor, display screen and 3-axis acceleration sensor;Such as 1 institute of attached drawing
Show, the method for realizing the lift bright screen of hand includes the following steps:
Step 1, the 3-axis acceleration sensor acquire the data of the 3-axis acceleration of the Intelligent bracelet, and should
The data of 3-axis acceleration are sent to the processor.Wherein, three axis are X, Y and Z axis, and the plane that X, Y-axis are formed is parallel to institute
State the plane of display screen, the plane that Z axis is formed perpendicular to X, Y-axis.
Step 2, the processor are filtered the data of above-mentioned collected 3-axis acceleration, are handled
The acceleration information of three axis afterwards.
Step 3 stores the first acceleration rate threshold in the processor, if in the acceleration information of above-mentioned three axis at least
The acceleration information of one axis reaches first acceleration rate threshold=65, then processor judges that human body is in strenuous exercise's state, together
When enter step four;If it is not, then processor judges that human body is in non-strenuous exercise's state, while enters step five;Wherein, " if
It is no " it can refer to remove that " acceleration information of at least axis in the acceleration information of above-mentioned three axis reaches described first and accelerates
Spend remaining all situations of threshold value=65 ".As described in acceleration information such as any axis in above-mentioned 3-axis acceleration data is all not up to
First acceleration rate threshold.
Step 4, processor storage sample frequency F=32, first time threshold value T1/F=6/32 and the first amplitude threshold
W0, and the processor counts time T and the amplitude W that the acceleration information of each axis in three axis persistently rises or falls:If three
The time that the acceleration information of any axis persistently rises or falls in axis reaches the first time threshold value T1/ of the processor storage
F=6/32, and the amplitude that the acceleration information of the axis persistently rises or falls reaches the first amplitude threshold that the processor stores
There is lift hand mark, enter step 41 in value, then the processor judgement;If it is not, then repeat step 4." if not " can be
Refer to and remove " if the time that the acceleration information of any axis persistently rises or falls in three axis reaches the first of the processor storage
Time threshold T1/F=6/32, and the amplitude that the acceleration information of the axis persistently rises or falls reaches the processor storage
Remaining all situations of first amplitude threshold ".The time that acceleration information such as each axis in three axis persistently rises or falls is all
Not up to first time threshold value T1/F=6/32 of processor storage or the acceleration information of each axis persistently rise or under
The amplitude of drop is all not up to the first amplitude threshold of the processor storage.During the step is realized, first width
The first amplitude threshold=60 of the first amplitude threshold=58 of X-axis, the first amplitude threshold=60 of Y-axis and Z axis can be included by spending threshold value, described
The time and amplitude that the acceleration information that processor counts each axis in three axis persistently rises or falls:If any axis in three axis
The time that acceleration information persistently rises or falls reaches first time threshold value T1/F=6/32 of the processor storage, and should
The amplitude that the acceleration information of axis persistently rises or falls reaches the first amplitude threshold of the processor storage respective shaft, then institute
It states processor judgement and lift hand mark occurs, enter step 41;If it is not, then repeat step 4.
Step 4 one, the processor store the second time threshold T2/F=12/32, the first acceleration section [A1, B1] and
In the second time threshold T2/F=12/32, T2=12 acceleration information is sampled to each axis by first number threshold value N0,
The acceleration information for counting each axis falls into a numerical value of N in the first acceleration section, if a numerical value per axis reaches
To first above-mentioned number threshold value, then it is judged as lifting hand, enters step six;If a numerical value of any axis is not up to above-mentioned
First number threshold value, then repeatedly step 4.During the step is realized, the first acceleration section can include X-axis
First acceleration section [a1, b1]=[- 30,35], the first acceleration of Y-axis section [a2, b2]=[- 80,15] and Z axis first accelerate
Section [a3, b3]=[- 80, -10] are spent, first number threshold value can include first first number threshold value=9 of X-axis, Y-axis number
In the second time threshold T2/F=12/32, T2=12 are sampled to each axis for first number threshold value=9 in threshold value=10 and Z axis
Acceleration information, count each axis acceleration information fall into respective shaft the first acceleration section a numerical value, if each axis
Acceleration information a numerical value in the first acceleration section for falling into respective shaft reach first number threshold value of respective shaft, then sentence
Break to lift hand, enter step six;If the acceleration information of any axis falls into a numerical value in the first acceleration section of respective shaft not
Reach first number threshold value of respective shaft, then repeatedly step 4.
Step 5, processor storage sample frequency F=32, third time threshold T3/F=7/32 and the second amplitude threshold
Value, and the processor counts the time t and amplitude w that the acceleration information of X-axis and Y-axis persistently rises or falls in three axis:If X
The time that axis and the acceleration information of Y-axis persistently rise or fall all reaches third time threshold T3/F=7/32, and X-axis
All reach the second amplitude threshold of the processor storage with the amplitude that the acceleration information of Y-axis persistently rises or falls, then institute
It states processor judgement and lift hand mark occurs, enter step May Day;If it is not, repeat step 5." if not " can refer to remove " if
The time that the acceleration information of X-axis and Y-axis persistently rises or falls all reaches third time threshold T3/F=7/32, and X-axis
All reach the second amplitude threshold of processor storage with the amplitude that the acceleration information of Y-axis persistently rises or falls " its
Remaining all situations.The time that acceleration information such as axis each in X-axis and Y-axis persistently rises or falls is handled as described in being all not up to
The amplitude that third time threshold T3/F=7/32 of device storage or the acceleration information of each axis persistently rise or fall all does not reach
The second amplitude threshold stored to the processor.During the step is realized, second amplitude threshold can include X
The second amplitude threshold=18 of the second amplitude threshold=20 of axis, the second amplitude threshold=15 of Y-axis and Z axis, the processor are counted in three axis
The time and amplitude that the acceleration information of X-axis and Y-axis persistently rises or falls:If the acceleration information of X-axis and Y-axis persistently rises
Or the time declined all reaches third time threshold T3/F=7/32, and the acceleration information of X-axis and Y-axis persistently rise or
The amplitude of decline all reaches the second amplitude threshold=15 of the second amplitude threshold=20 of corresponding X-axis and Y-axis of the processor storage,
Then there is lift hand mark in the processor judgement, enters step May Day;If it is not, repeat step 5.
Step 5 one, the processor store the second time threshold T2/F=12/32, the second acceleration section [A2, B2] and
In the second time threshold T2/F=12/32, T2=12 acceleration information is sampled to each axis by second number threshold value n0,
Acceleration information of the statistics per axis falls into a numerical value n in the second acceleration section, if a numerical value per axis reaches
Second above-mentioned number threshold value is then judged as lifting hand, enters step six;If a numerical value of any axis is not up to above-mentioned
Two number threshold values, then repeatedly step 5.During the step is realized, the second acceleration section can include X-axis the
Two acceleration sections [a4, b4]=[- 30,36], the second acceleration of the second acceleration of Y-axis section [a5, b5]=[- 80,17] and Z axis
Section [a6, b6]=[- 70, -8], first number threshold value can include second second number threshold value=10 of X-axis, Y-axis number threshold
Value=9 and second number threshold value=9 of Z axis in the second time threshold T2/F=12/32, add each axis sampling T2=12
Speed data, count each axis acceleration information fall into respective shaft the second acceleration section a numerical value, if each axis
A numerical value that acceleration information falls into the second acceleration section of respective shaft reaches second number threshold value of respective shaft, then judges
To lift hand, six are entered step;If a numerical value that the acceleration information of any axis falls into the second acceleration section of respective shaft does not reach
To second number threshold value of respective shaft, then repeatedly step 5.
Step 6, the processor control the bright screen of display screen.
Further, a kind of Intelligent bracelet of the method for Intelligent bracelet lift bright screen of hand, which is characterized in that the intelligence
Energy bracelet includes at least processor, display screen and 3-axis acceleration sensor;The processor includes the memory module and institute
State comparison module, the memory module storage first acceleration rate threshold, sample frequency F, first time threshold value T1/F, the
One amplitude threshold, the second time threshold T2/F, the first acceleration section, first number threshold value, third time threshold T3/F and
Two amplitude thresholds, the second acceleration section and second number threshold value;The processor accelerates with the display screen and three axis
Spend sensor connection.The comparison module is realized described Step 3: Step 4: in step 4 one, step 5 and step 5 one
The comparison of described " the reaching " calculates.
Through the above technical solutions, the present invention can accurately judge the true idea of user, accurately when user lifts hand
Screen is lighted, and user does not need to reset the state for being worn on right-hand man of bracelet when replacing right-hand man.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe is described in detail the present invention with reference to foregoing embodiments, it will be understood by those of ordinary skill in the art that:Its according to
Can so modify to the technical solution recorded in foregoing embodiments either to which part or all technical features into
Row equivalent replacement;And these modifications or replacement, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.