A kind of Intelligent bracelet is raise one's hand the method for bright screen
Technical field
The present invention relates to Intelligent bracelet bright screen control field, be specifically designed a kind of Intelligent bracelet raise one's hand bright screen method and its
Equipment.
Background technology
Intelligent bracelet has been widely applied in the healthy living of people at present, has had and has replaced becoming of conventional wristwatch
Gesture., due to small volume, the battery bag that can place is also less, very subtracts in use in the urgent need to people as far as possible for Intelligent bracelet
Few energy expenditure.For the Intelligent bracelet with larger display screen, people are needing the time of seeing, heart rate data or other work(
Can data when, need to go to click on screen or need to go by the button in Intelligent bracelet with handss with handss, do not wear handss as user
When the another handss of ring are in the state that can not go to operate Intelligent bracelet, user obviously cannot simply light screen, obtain and need
Data.Therefore, a kind of mode that can light the auxiliary without other handss for the screen is needed to go to meet user's in a hurry
Demand.The method of current bracelet bright screen is generally adopted by detecting that the flip angle of bracelet goes to judge whether user sees the time
Demand, but, this determination methods judge to be inaccurate, and sometimes overturn screen several times and all do not work, and sometimes small dynamic
Make to make 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 changing the handss worn every time, be required to user and go to arrange in detail that worn is left hand or the right hand, so
Go to change the algorithm lighting screen according to the situation of the right-hand man wearing afterwards.As can be seen here, current bright screen determination methods are also deposited
Judging inaccurate defect, and need the defect that user resets when changing right-hand man.
Content of the invention
The method of bright screen and its equipment the present invention is intended to provide a kind of Intelligent bracelet is raise one's hand, so that user is needing
During to performance data, realize lighting screen thus obtaining required information by wearing the action of raising one's hand of the arm of Intelligent bracelet,
The defect that current bright screen judges to need user to reset during the inaccurate right-hand man with replacing can be solved by unique algorithm.
Technical scheme is as follows:
A kind of Intelligent bracelet is raise one's hand the method for bright screen, and described Intelligent bracelet at least includes processor, display screen and 3-axis acceleration
Sensor;It is characterized in that, methods described comprises the steps:
Step one, described 3-axis acceleration sensor gathers the data of the 3-axis acceleration of described Intelligent bracelet, and by this three axle
The data of acceleration is sent to described processor.
Step 2, described processor is filtered to the data of the above-mentioned 3-axis acceleration collecting processing, and is processed
The acceleration information of three axles afterwards.
Step 3, stores the first acceleration rate threshold in described processor, if in the acceleration information of above-mentioned three axles at least
The acceleration information of one axle reaches described first acceleration rate threshold, then processor judges that human body is in strenuous exercise's state, simultaneously
Enter step 4;If it is not, then processor judges that human body is in non-strenuous exercise state, simultaneously enter step 5;Wherein, " if not "
May refer to remove that " acceleration information of at least one axle in the acceleration information of above-mentioned three axles reaches described first acceleration threshold
Remaining all situations of value ".Acceleration information as arbitrary axle in above-mentioned 3-axis acceleration data be all not up to as described in first plus
Threshold speed.
Step 4, described processor storage sample frequency f, very first time threshold value t1/f(wherein f are sample frequency, t1 < f,
And t1 is integer) acceleration information of each axle persistently rises in and the first amplitude threshold w0, and described processor statistics three axles
Or decline time t and amplitude w: if the time that in three axles, the acceleration information of arbitrary axle persistently rises or falls reach described place
Very first time threshold value t1/f of reason device storage, and the amplitude that the acceleration information of this axle persistently rises or falls reaches described process
First amplitude threshold of device storage, then described processor judgement occurs in that mark of raising one's hand, and enters step 4 one;If it is not, then repeating
Step 4." if not " may refer to remove " if the time that in three axles, the acceleration information of arbitrary axle persistently rises or falls reaches
Very first time threshold value t1/f of described processor storage, and the amplitude that the acceleration information of this axle persistently rises or falls reaches institute
State processor storage the first amplitude threshold " remaining all situations.Acceleration information as each axle in three axles persistently rises
Or the time declining all is not up to very first time threshold value t1/f of described processor storage, or the acceleration information of each axle continues
The amplitude rising or falling all is not up to the first amplitude threshold of described processor storage.
Step 4 one, described processor stores the second time threshold t2/f(wherein f for sample frequency, t2 < f, and t2 is whole
Number), the first acceleration interval [a1, b1] and the first number threshold value n0, in described second time threshold t2/f, each axle is adopted
T2 acceleration information of sample, the acceleration information counting each axle falls into the interval individual numerical value n of described first acceleration, if every axle
Described numerical value all reach the first above-mentioned number threshold value, then be judged as raising one's hand, enter step 6;If described of arbitrary axle
Numerical value is not up to the first above-mentioned number threshold value, then repeat step four.
Step 5, described processor storage sample frequency f, the 3rd time threshold t3/f(wherein f are sample frequency, t3 < f,
And t3 is integer) on the acceleration information of x-axis and y-axis continues in and the second amplitude threshold w0, and described processor statistics three axles
The time t rising or declining and amplitude w: if the time that the acceleration information of x-axis and y-axis persistently rises or falls all reach described the
Three time threshold t3/f, and the amplitude that the acceleration information of x-axis and y-axis persistently rises or falls all reaches described processor storage
The second amplitude threshold, then described processor judge to occur in that mark of raising one's hand, entrance step May Day;If it is not, repeat step five.
" if not " may refer to remove " if the time that the acceleration information of x-axis and y-axis persistently rises or falls all reaches the described 3rd
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 described processor storage
Remaining all situations of two amplitude thresholds ".The time that acceleration information as each axle in x-axis and y-axis persistently rises or falls
All it is not up to the second time threshold t2/f of described processor storage, or the acceleration information of each axle persistently rises or falls
Amplitude is all not up to the second amplitude threshold of described processor storage.
On step May Day, described processor stores the second time threshold t2/f(wherein f for sample frequency, t2 < f, and t2 is whole
Number), the second acceleration interval [a2, b2] and the second number threshold value n0, in described second time threshold t2/f, each axle is adopted
T2 acceleration information of sample, the acceleration information counting every axle falls into the interval individual numerical value n of described second acceleration, if every axle
Described numerical value all reaches the second above-mentioned number threshold value, then be judged as raising one's hand, and enters step 6;If the described number of arbitrary axle
The second not up to above-mentioned number threshold value of value, then repeat step five.
Step 6, described processor controls described display screen bright screen.
Further, in described step 4, described first amplitude threshold includes x-axis first amplitude threshold, y-axis first width
Degree threshold value and z-axis first amplitude threshold, the acceleration information that described processor counts each axle in three axles persistently rises or falls
Time and amplitude: if the time that in three axles, the acceleration information of arbitrary axle persistently rises or falls reach the storage of described processor
Very first time threshold value t1/f, and the amplitude that persistently rises or falls of the acceleration information of this axle to reach described processor storage right
Answer the first amplitude threshold of axle, then described processor judges to occur in that mark of raising one's hand, enter step 4 one;If it is not, then repeating to walk
Rapid four.
Further, in described step 4 one, described first acceleration interval inclusion x-axis first acceleration interval [a1,
B1], y-axis first acceleration interval [a2, b2] and z-axis first acceleration interval [a3, b3], described first number threshold value includes x
Axle the first number threshold value, y-axis the first number threshold value and z-axis the first number threshold value, in described second time threshold t2/f, to every
One axle t2 acceleration information of sampling, the acceleration information of each axle of statistics falls into the number in the first acceleration interval of respective shaft
Value, if the interval individual numerical value of the first acceleration that the acceleration information of each axle falls into respective shaft all reaches first of respective shaft
Number threshold value, then be judged as raising one's hand, and enters step 6;If the first acceleration that the acceleration information of arbitrary axle falls into respective shaft is interval
Individual numerical value be not up to respective shaft the first number threshold value, then repeat step four.
Further, in described step 5, described second amplitude threshold includes x-axis second amplitude threshold, y-axis second width
Degree threshold value and z-axis second amplitude threshold, described processor count x-axis and y-axis in three axles acceleration information persistently rise or under
Fall time and amplitude: if the time that the acceleration information of x-axis and y-axis persistently rises or falls all reach described 3rd 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 described processor storage
X-axis second amplitude threshold and y-axis second amplitude threshold, then described processor judgement occurs in that mark of raising one's hand, and enters step May Day;
If it is not, repeat step five.
Further, in described step May Day, described second acceleration interval inclusion x-axis second acceleration interval [a4,
B4], y-axis second acceleration interval [a5, b5] and z-axis second acceleration interval [a6, b6], described first number threshold value includes x
Axle the second number threshold value, y-axis the second number threshold value and z-axis the second number threshold value, in described second time threshold t2/f, to every
One axle t2 acceleration information of sampling, the acceleration information of each axle of statistics falls into the number in the second acceleration interval of respective shaft
Value, if the interval individual numerical value of the second acceleration that the acceleration information of each axle falls into respective shaft all reaches second of respective shaft
Number threshold value, then be judged as raising one's hand, and enters step 6;If the second acceleration that the acceleration information of arbitrary axle falls into respective shaft is interval
Individual numerical value be not up to respective shaft the second number threshold value, then repeat step five.
Further, a kind of described Intelligent bracelet raise one's hand the method for bright screen Intelligent bracelet it is characterised in that described intelligence
Processor, display screen and 3-axis acceleration sensor can at least be included by bracelet;Described processor includes described memory module and institute
State comparison module, the first described acceleration rate threshold of described memory module storage, sample frequency f, very first time threshold value t1/f, the
One amplitude threshold, the second time threshold t2/f, the first acceleration interval, the first number threshold value, the 3rd time threshold t3/f and
Two amplitude thresholds, the second acceleration interval and the second number threshold value;Described processor is accelerated with described display screen and described three axles
Degree sensor connects.Described comparison module realizes described step 3, step 4, step 4 one, step 5 and in step May Day
The comparison of described " reaching " calculates.
By technique scheme, the present invention can accurately judge the true idea of user, exactly when user raises one's hand
Light screen, and user change right-hand man when it is not necessary to reset the state being worn on right-hand man of bracelet.
Brief description
Describe its example embodiment by referring to accompanying drawing in detail, above and other target of the present invention, feature and advantage will
Become more fully apparent.
Fig. 1 is method of the present invention flow chart.
Fig. 2 is the schematic diagram of the Intelligent bracelet of the present invention.
Specific embodiment
It is described more fully with example embodiment referring now to accompanying drawing.However, example embodiment can be with multiple 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 convey to those skilled in the art.Accompanying drawing is only the present invention
Schematic illustrations, be not necessarily drawn to scale.In figure identical reference represents same or similar part, thus
Repetition thereof will be omitted.
Additionally, described feature, structure or characteristic can combine in one or more enforcements in any suitable manner
In mode.In the following description, many details are provided thus being given, embodiments of the present invention to be fully understood.So
And, it will be appreciated by persons skilled in the art that technical scheme can be put into practice and omit one of described specific detail
Or more, or other methods, constituent element, device, step etc. can be adopted.In other cases, it is not shown in detail or describe
Known features, method, device, realization or operation with avoid that a presumptuous guest usurps the role of the host and so that each aspect of the present invention thickens.
As shown in Fig. 2 Intelligent bracelet at least includes processor, display screen and 3-axis acceleration sensor;As accompanying drawing 1 institute
Show, the method for bright screen of realizing raising one's hand comprises the steps:
Step one, described 3-axis acceleration sensor gathers the data of the 3-axis acceleration of described Intelligent bracelet, and by this three axle
The data of acceleration is sent to described processor.Wherein, three axles are x, y and z axes, and the plane that x, y-axis are constituted is parallel to described aobvious
The plane of display screen, the plane that z-axis is constituted perpendicular to x, y-axis.
Step 2, described processor is filtered to the data of the above-mentioned 3-axis acceleration collecting processing, and is processed
The acceleration information of three axles afterwards.
Step 3, stores the first acceleration rate threshold in described processor, if in the acceleration information of above-mentioned three axles at least
The acceleration information of one axle reaches described first acceleration rate threshold=65, then processor judges that human body is in strenuous exercise's state, with
When enter step 4;If it is not, then processor judges that human body is in non-strenuous exercise state, simultaneously enter step 5;Wherein, " if
No " may refer to remove that " acceleration information of at least one axle in the acceleration information of above-mentioned three axles reaches described first acceleration
Remaining all situations of degree threshold value=65 ".As described in acceleration information as arbitrary axle in above-mentioned 3-axis acceleration data is all not up to
First acceleration rate threshold.
Step 4, described processor storage sample frequency f=32, very first time threshold value t1/f=6/32 and the first amplitude threshold
Time t and amplitude w that in w0, and described processor statistics three axles, the acceleration information of each axle persistently rises or falls: if three
The time that in axle, the acceleration information of arbitrary axle persistently rises or falls reaches very first time threshold value t1/ of described processor storage
F=6/32, and the amplitude that the acceleration information of this axle persistently rises or falls reaches the first amplitude threshold that described processor stores
Value, then described processor judgement occurs in that mark of raising one's hand, and enters step 4 one;If it is not, then repeat step four." if not " can be
Refer to remove " if the time that in three axles, the acceleration information of arbitrary axle persistently rises or falls reaches the first of described processor storage
Time threshold t1/f=6/32, and the amplitude that the acceleration information of this axle persistently rises or falls reaches described processor storage
Remaining all situations of first amplitude threshold ".The time that acceleration information as each axle in three axles persistently rises or falls is all
Very first time threshold value t1/f=6/32 of not up to described processor storage, or the acceleration information of each axle persistently rise or under
The amplitude of fall is all not up to the first amplitude threshold of described processor storage.During realizing this step, described first width
Degree threshold value can include x-axis first amplitude threshold=58, y-axis first amplitude threshold=60 and z-axis first amplitude threshold=60, described
Processor counts time and the amplitude that the acceleration information of each axle in three axles persistently rises or falls: if arbitrary axle in three axles
The time that acceleration information persistently rises or falls reaches very first time threshold value t1/f=6/32 of described processor storage, and should
The amplitude that the acceleration information of axle persistently rises or falls reaches the first amplitude threshold that described processor stores respective shaft, then institute
State processor and judge to occur in that mark of raising one's hand, enter step 4 one;If it is not, then repeat step four.
Step 4 one, described processor store the second time threshold t2/f=12/32, the first acceleration interval [a1, b1] and
First number threshold value n0, in described second time threshold t2/f=12/32, t2=12 acceleration information that each axle is sampled,
The acceleration information counting each axle falls into the interval individual numerical value n of described first acceleration, if described numerical value of every axle all reaches
To the first above-mentioned number threshold value, then it is judged as raising one's hand, enter step 6;If described numerical value of arbitrary axle is not up to above-mentioned
First number threshold value, then repeat step four.During realizing this step, described first acceleration interval can include x-axis
First acceleration interval [a1, b1]=[- 30,35], y-axis first acceleration interval [a2, b2]=[- 80,15] and z-axis first accelerate
Interval [a3, b3]=[- 80, -10] of degree, described first number threshold value can include x-axis the first number threshold value=9, y-axis first number
Threshold value=10 and z-axis the first number threshold value=9, in described second time threshold t2/f=12/32, to each axle sampling t2=12
Acceleration information, the acceleration information of each axle of statistics falls into the individual numerical value in the first acceleration interval of respective shaft, if each axle
Acceleration information fall into the interval individual numerical value of the first acceleration of respective shaft and all reach the first number threshold value of respective shaft, then sentence
Break as raising one's hand, enter step 6;If the acceleration information of arbitrary axle falls into the individual numerical value in the first acceleration interval of respective shaft not
Reach the first number threshold value of respective shaft, then repeat step four.
Step 5, described processor storage sample frequency f=32, the 3rd time threshold t3/f=7/32 and the second amplitude threshold
Value, and described processor counts time t and amplitude w that the acceleration information of x-axis and y-axis in three axles persistently rises or falls: if x
The time that the acceleration information of axle and y-axis persistently rises or falls all reaches described 3rd time threshold t3/f=7/32, and x-axis
All reach the second amplitude threshold of described processor storage, then institute with the amplitude that the acceleration information of y-axis persistently rises or falls
State processor and judge to occur in that mark of raising one's hand, enter step May Day;If it is not, repeat step five." if not " may refer to remove " if
The time that the acceleration information of x-axis and y-axis persistently rises or falls all reaches described 3rd time threshold t3/f=7/32, and x-axis
All reach the second amplitude threshold of described 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 as axle each in x-axis and y-axis persistently rises or falls is processed as described in being all not up to
3rd time threshold t3/f=7/32 of device storage, or the amplitude that the acceleration information of each axle persistently rises or falls all do not reach
The second amplitude threshold to the storage of described processor.During realizing this step, described second amplitude threshold can include x
Axle second amplitude threshold=20, y-axis second amplitude threshold=15 and z-axis second amplitude threshold=18, described processor counts in three axles
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 decline time all reach described 3rd time threshold t3/f=7/32, and the acceleration information of x-axis and y-axis persistently rise or
The amplitude declining all reaches corresponding x-axis second amplitude threshold=20 and y-axis second amplitude threshold=15 of described processor storage,
Then described processor judges to occur in that mark of raising one's hand, and enters step May Day;If it is not, repeat step five.
Step May Day, described processor store the second time threshold t2/f=12/32, the second acceleration interval [a2, b2] and
Second number threshold value n0, in described second time threshold t2/f=12/32, t2=12 acceleration information that each axle is sampled,
The acceleration information counting every axle falls into the interval individual numerical value n of described second acceleration, if described numerical value of every axle all reaches
The second above-mentioned number threshold value, then be judged as raising one's hand, and enters step 6;If described numerical value of arbitrary axle is not up to above-mentioned the
Two number threshold values, then repeat step five.During realizing this step, described second acceleration interval can include x-axis
Two acceleration intervals [a4, b4]=[- 30,36], y-axis second acceleration interval [a5, b5]=[- 80,17] and z-axis second acceleration
Interval [a6, b6]=[- 70, -8], described first number threshold value can include x-axis the second number threshold value=10, y-axis the second number threshold
Value=9 and z-axis the second number threshold value=9, in described second time threshold t2/f=12/32, to the sampling of each axle, t2=12 adds
Speed data, the acceleration information of each axle of statistics falls into the individual numerical value in the second acceleration interval of respective shaft, if each axle
The interval individual numerical value of the second acceleration that acceleration information falls into respective shaft all reaches the second number threshold value of respective shaft, then judge
For raising one's hand, enter step 6;If the individual numerical value that the acceleration information of arbitrary axle falls into the second acceleration interval of respective shaft does not reach
To the second number threshold value of respective shaft, then repeat step five.
Step 6, described processor controls described display screen bright screen.
Further, a kind of described Intelligent bracelet raise one's hand the method for bright screen Intelligent bracelet it is characterised in that described intelligence
Processor, display screen and 3-axis acceleration sensor can at least be included by bracelet;Described processor includes described memory module and institute
State comparison module, the first described acceleration rate threshold of described memory module storage, sample frequency f, very first time threshold value t1/f, the
One amplitude threshold, the second time threshold t2/f, the first acceleration interval, the first number threshold value, the 3rd time threshold t3/f and
Two amplitude thresholds, the second acceleration interval and the second number threshold value;Described processor is accelerated with described display screen and described three axles
Degree sensor connects.Described comparison module realizes described step 3, step 4, step 4 one, step 5 and in step May Day
The comparison of described " reaching " calculates.
By technique scheme, the present invention can accurately judge the true idea of user, exactly when user raises one's hand
Light screen, and user change right-hand man when it is not necessary to reset the state being worn on right-hand man of bracelet.
Finally it is noted that various embodiments above, only in order to technical scheme to be described, is not intended to limit;To the greatest extent
Pipe has been described in detail to the present invention with reference to foregoing embodiments, it will be understood by those within the art that: its according to
So the technical scheme described in foregoing embodiments can be modified, or wherein some or all of technical characteristic is entered
Row equivalent;And these modifications or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technology
The scope of scheme.