The content of the invention
The technical problem to be solved in the present invention is that the drawbacks described above for prior art is set there is provided one kind based on intelligence
The whether tired method of standby detection user and smart machine.There is provided it is a kind of by detect user whether fatigue method so that
User's work caused by absent minded is avoided, influence in life improves security.
The technical proposal for solving the technical problem of the invention is as follows:
It is a kind of based on smart machine detect user whether the method for fatigue, wherein, including step:
A, in advance measurement user are under the state of sitting up straight, and the distance between chin and clavicle are referred to as standard and sit up straight distance, and
User is recorded in different activity scenes, the distance between chin and clavicle are not equal to the standard and sit up straight distance in the unit interval
Benchmark number of times, and be stored in smart machine;
B, when needing fatigue detecting, in real time detection active user's chin and clavicle between distance whether sat up straight less than the standard
Distance;When sat up straight less than the standard apart from when real-time and incremental record unit time in distance between chin and clavicle
The standard sits up straight the number of times of distance, is current number of times;
C, the current number of times predetermined is used to detect that whether the benchmark number of times of fatigue is compared user, works as institute with one
Current number of times is stated less than the first benchmark number of times, then judges that active user belongs to fatigue, doze state simultaneously reminds active user.
It is described based on smart machine detect user whether the method for fatigue, wherein, the step A is specifically included:
A1, in advance measurement user are under the state of sitting up straight, and the distance between chin and clavicle are referred to as standard and sat up straight apart from h1, deposit
It is stored in the memory headroom of smart machine;
A2 and record user are running, and during scene of speaking, the distance between chin and clavicle are not equal in the unit interval
The standard sits up straight the benchmark number of times apart from h1, claims running benchmark number of times f (1), the benchmark number of times f (2) that speaks to be stored in respectively interior
Deposit in space;Chin is often rocked once, then f+1.
It is described based on smart machine detect user whether the method for fatigue, wherein, the step A also includes:It is fixed in advance
Justice for the benchmark number of times f (2) that speaks be for detect user whether the benchmark number of times of fatigue.
It is described based on smart machine detect user whether the method for fatigue, wherein, the step A also includes:Phase is set
The path answered enters chin and the interclavicular distance during different activity scenes for user, the setting can be entered by menu or
It is quick to enter.
It is described based on smart machine detect user whether the method for fatigue, wherein, during unit during the step A is specific
Between be 1 minute, 2 minutes or 3 minutes.
It is described based on smart machine detect user whether the method for fatigue, wherein, the step C is specifically included:
C1, call the current current number of times in real time;
C2 and running is called, during scene of speaking, the distance between chin and clavicle are not equal to normal end in the unit interval
The running benchmark number of times f (1) apart from h1 is sat, speak benchmark number of times f (2);
C3, the current number of times f (t) contrasted with the running benchmark number of times f (1), the benchmark number of times f (2) that speaks;
C4, when the current number of times f (t)>During running benchmark number of times f (1), user is judged for non-fatigue, sleepy shape
State;
When the current number of times f (t)<The running benchmark number of times f (1), and determine whether the current number of times f
(t) whether be more than and speak benchmark number of times f (2), if greater than the benchmark number of times f (2) that speaks then judge user's brain in speaking or
Person is than more active state of speaking, non-fatigue, doze state;If the current number of times f (t)<Speak benchmark number of times f (2)
Then judge that user is in fatigue, doze state, and export corresponding result and accordingly pointed out.
A kind of smart machine, wherein, including:
Advance measurement is with logging modle, for measuring user in advance under the state of sitting up straight, the distance between chin and clavicle
Referred to as standard sits up straight distance, and record user is in different activity scenes, the distance between chin and clavicle in the unit interval
It is not equal to the standard and sits up straight the benchmark number of times of distance, and is stored in smart machine;
Detection module, for when needing fatigue detecting, whether distance to be less than between detection active user's chin and clavicle in real time
The standard sits up straight distance;When sat up straight less than the standard apart from when real-time and incremental record unit time in chin and clavicle
Between distance not etc. the standard does not sit up straight the number of times of distance, be current number of times;
Contrast judge module, for by the current number of times and one it is predetermined be used for detect user whether fatigue benchmark it is secondary
Number is compared, and when the current number of times is less than the first benchmark number of times, then judges that active user belongs to fatigue, doze state
And remind active user.
Described smart machine, wherein, the advance measurement includes with logging modle:
Measuring unit, for measuring user in advance under the state of sitting up straight, the distance between chin and clavicle are referred to as normal end
Sit apart from h1, be stored in the memory headroom of smart machine;
Recording unit, for recording user in running, during scene of speaking, the distance between chin and clavicle in the unit interval
It is not equal to the standard and sits up straight benchmark number of times apart from h1, claims running benchmark number of times f (1), the benchmark number of times f (2) that speaks to deposit respectively
It is stored in memory headroom;Chin is often rocked once, then f+1;
Pre-defined unit, is for detecting whether user is tired for being defined previously as the benchmark number of times f (2) that speaks
Benchmark number of times.
Described smart machine, wherein, the contrast judge module includes:
First call unit, for calling the current current number of times in real time;
Second call unit, for calling running, the distance between chin and clavicle be not no during scene of speaking, in the unit interval
The running benchmark number of times f (1) apart from h1 is sat up straight equal to standard, speak benchmark number of times f (2);
Comparison unit, for by the current number of times f (t) and the running benchmark number of times f (1), speak benchmark number of times f
(2) contrasted;
Judging unit, for when the current number of times f (t)>During running benchmark number of times f (1), judge user to be non-
Fatigue, doze state;When the current number of times f (t)<The running benchmark number of times f (1), and determine whether described current
Whether number of times f (t) is more than the benchmark number of times f (2) that speaks, and then judging that user's brain is in if greater than the benchmark number of times f (2) that speaks says
Talk about or than more active state of speaking, non-fatigue, doze state;If the current number of times f (t)<Speak benchmark number of times
F (2) then judges that user is in fatigue, doze state, and exports corresponding result and accordingly pointed out;
Described smart machine, wherein, the advance measurement includes with logging modle:Menu setting unit, for setting
Chin and interclavicular distance when corresponding path enters different activity scenes for user, the setting can be entered by menu or
It is quick enter;
The step unit interval is 1 minute, 2 minutes or 3 minutes.
It is provided by the present invention that the whether tired method of user and smart machine are detected based on smart machine, make smart machine
Add New function:With fatigue detecting function, by detecting that user's chin deviates the number of times of normal level within the unit interval,
Whether the number of times progress contrast with user's chin deviation normal level in the case of various is so as to judge user in the tired of doze
Labor state, so as to avoid user's work caused by absent minded, influence in life improves security.
Embodiment
It is provided by the present invention that the whether tired method of user and smart machine are detected based on smart machine, to make the present invention
Object, technical solution and advantage it is clearer, clear and definite, the embodiment that develops simultaneously referring to the drawings to the present invention further specifically
It is bright.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Refer to Fig. 1, Fig. 1 be the present invention based on smart machine detect user whether the preferred embodiment of the method for fatigue
Flow chart.Shown in Fig. 1 it is a kind of based on smart machine detect user whether fatigue method, comprise the following steps:
S100, in advance measurement user are under the state of sitting up straight, and the distance between chin and clavicle are referred to as standard and sit up straight distance, with
And record user is in different activity scenes, in the unit interval the distance between chin and clavicle be not equal to the standard sit up straight away from
From benchmark number of times, and be stored in smart machine.
It is primary to need to measure user in advance under the state of sitting up straight in the embodiment of the present invention, the distance between chin and clavicle
Referred to as standard is sat up straight apart from h1, is stored in the memory headroom of smart machine.As shown in Figure 2.
And record user is running, during the scene such as speak, the distance between chin and clavicle are not equal in the unit interval
The standard sits up straight the benchmark number of times apart from h1, claims running benchmark number of times f (1), the benchmark number of times f (2) that speaks to be stored in respectively interior
Deposit in space;Chin is often rocked once, then f+1.Different activity scenes described in certain embodiment of the present invention include but not limited
Run in user, the scene such as speak.
In the specific embodiment of the invention, when the distance between the chin and clavicle sit up straight distance less than the standard, and
And the distance between chin and clavicle are not equal to the standard and sit up straight benchmark number of times apart from h1 in the unit interval, speak than usual
Benchmark number of times it is also few when be less than when speaking benchmark number of times f (2), illustrate that the chin of user rocks that number of times is seldom and chin
Distance is rocked between clavicle to sit up straight apart from h1 again smaller than standard, then illustrates that user is substantially at fatigue, doze state, so originally
Defined in embodiment the benchmark number of times f (2) that speaks be for detect user whether the benchmark number of times of fatigue.
Wherein, the record duration of unit interval can voluntarily be set by user or standard time such as 1min(Point
Clock),2min,3min.Smart machine set corresponding path for user enter the chin of collection above scene with it is interclavicular away from
From the setting can be by the various paths such as menu entrance or quick entrance.
The data storage of record is in smart machine by more than, for example can and the input data of module end as a comparison,
By record data in the case where user opens detection in real time, the data called are run as comparison module.
Smart machine in the present invention includes intelligent mobile terminal and Wearable, its Wearable include glasses,
Bracelet, necklace etc., intelligent mobile terminal include mobile phone, the other-end with camera.
S200, when needing fatigue detecting, in real time detection active user's chin and clavicle between distance whether be less than the standard
Sit up straight distance;When sat up straight less than the standard apart from when real-time and incremental record unit time in distance between chin and clavicle
Not etc. the standard does not sit up straight the number of times of distance, is current number of times.
In the embodiment of the present invention after the fatigue detecting function of smart machine is opened, detection active user's chin is with locking in real time
Whether distance is sat up straight apart from h1 less than the distance between chin in the case of sitting up straight and clavicle i.e. described standard between bone.Record is worked as in real time
Preceding user's chin and the interclavicular current distance h (t) of institute, as h (t)<During h (1), under real-time and incremental record unit time is interior
Not etc. the standard does not sit up straight number of times f (t) apart from h1 to distance between bar and clavicle.
S300, the current number of times is used to one to detect whether the first tired benchmark number of times of fatigue is compared user
Compared with when the current number of times is less than the described first tired benchmark number of times, then judgement active user belongs to fatigue, and doze state is simultaneously carried
Wake up active user.
, it is necessary to which the current number of times and the benchmark number of times of each activity scene are compared during the present invention is implemented, for example, incite somebody to action
The current number of times f (t) and running benchmark number of times f (1), the benchmark number of times f (2) that speaks carry out intersection ratio to detection gained in real time
Compared with, and export comparing result, and according to carrying out judging whether to belong to fatigue, doze state.
Because user is when dozing off because brain response is blunt so that musculi colli loosens, when musculi colli is relax to
When being not enough to the weight of branch fastener, head will be naturally toward sagging.Therefore people will form first point one when dozing off
The posture of point.When nodding, chin will reduce with interclavicular distance.And because now brain response is blunt, the frequency nodded
Rate can be less than usually speaking, frequency when on foot etc..So defined in the present embodiment the benchmark number of times f (2) that speaks be for
Detect user whether fatigue benchmark number of times
Wherein, contrast judges that flow is as follows:
1)Smart machine calls the current current number of times f (t) in real time;
2)Smart machine calls running, during the scene such as speak, and the distance between chin and clavicle are not equal in the unit interval
Standard sits up straight the number of times f (1) apart from h1, f (2), that is, calls the running benchmark number of times f (1), and speak benchmark number of times f (2);
3), the current number of times f (t) contrasted with the running benchmark number of times f (1), the benchmark number of times f (2) that speaks.
When the current number of times f (t)>During running benchmark number of times f (1), then when illustrating that the frequency that user currently nods is more than running
Frequency, body is more positive than strenuous exercise state;So judging user for non-fatigue, doze state;As the current number of times f
(t)<The running benchmark number of times f (1), determines whether whether the current number of times f (t) is more than for increase accuracy and speaks
Benchmark number of times f (2), then judges that user's brain is in if greater than the benchmark number of times f (2) that speaks and speaks or more more active than speaking
State, non-fatigue, doze state;If the current number of times f (t)<It is tired that the benchmark number of times f (2) that speaks then judges that user is in
Labor, doze state, and export corresponding result and provide user reminding or other warnings etc..
Therefore, the invention provides it is a kind of by detect user whether fatigue method so that avoid user because note
Meaning power, which is not concentrated, causes work, and influence in life improves security.
Based on above-described embodiment, present invention also offers a kind of smart machine, the smart machine in the present invention includes intelligence
Mobile terminal and Wearable, its Wearable include glasses, bracelet, necklace etc., and intelligent mobile terminal includes mobile phone, band
There is the other-end of camera.As shown in figure 3, the smart machine, including:
In advance measurement with logging modle 310, in advance measure user under the state of sitting up straight, between chin and clavicle away from
With a distance from referred to as standard is sat up straight, and record user in different activity scenes, in the unit interval between chin and clavicle away from
From be not equal to the standard sit up straight with a distance from benchmark number of times, and be stored in smart machine;Specifically as described in above-mentioned step S100.
Detection module 320, for when needing fatigue detecting, whether distance to be small between detection active user's chin and clavicle in real time
Distance is sat up straight in the standard;When sat up straight less than the standard apart from when real-time and incremental record unit time in chin and lock
Not etc. the standard does not sit up straight the number of times of distance to distance between bone, is current number of times;Specifically as described in above-mentioned step S200.
Contrast judge module 330, for by the current number of times and one it is predetermined be used for the base for detecting whether user tired
Quasi- number of times is compared, and when the current number of times is less than the first benchmark number of times, then judges that active user belongs to fatigue, drowsiness
State simultaneously reminds active user;Specifically as described in above-mentioned step S300..
Described smart machine, wherein, the advance measurement includes with logging modle 100:
Measuring unit, for measuring user in advance under the state of sitting up straight, the distance between chin and clavicle are referred to as normal end
Sit apart from h1, be stored in the memory headroom of smart machine;Specifically as described in above-mentioned step S100.
Recording unit, for recording user in running, during scene of speaking, the distance between chin and clavicle in the unit interval
It is not equal to the standard and sits up straight benchmark number of times apart from h1, claims running benchmark number of times f (1), the benchmark number of times f (2) that speaks to deposit respectively
It is stored in memory headroom;Chin is often rocked once, then f+1;Specifically as described in above-mentioned step S100.
Pre-defined unit, is for detecting whether user is tired for being defined previously as the benchmark number of times f (2) that speaks
Benchmark number of times;Specifically as described in above-mentioned step S100.
Described smart machine, wherein, the contrast judge module 300 includes:
First call unit, for calling the current current number of times in real time;Specifically as described in above-mentioned step S300.
Second call unit, for calling running, the distance between chin and clavicle be not no during scene of speaking, in the unit interval
The running benchmark number of times f (1) apart from h1 is sat up straight equal to standard, speak benchmark number of times f (2);Specific such as above-mentioned step S300
It is described.
Comparison unit, for by the current number of times f (t) and the running benchmark number of times f (1), speak benchmark number of times f
(2) contrasted;
Judging unit, for when the current number of times f (t)>During running benchmark number of times f (1), judge user to be non-
Fatigue, doze state;When the current number of times f (t)<The running benchmark number of times f (1), and determine whether described current
Whether number of times f (t) is more than the benchmark number of times f (2) that speaks, and then judging that user's brain is in if greater than the benchmark number of times f (2) that speaks says
Talk about or than more active state of speaking, non-fatigue, doze state;If the current number of times f (t)<Speak benchmark number of times
F (2) then judges that user is in fatigue, doze state, and exports corresponding result and accordingly pointed out;Specifically walk as described above
Described in rapid S300.
Described smart machine, wherein, the advance measurement also includes with logging modle 100:Menu setting unit, is used for
Set corresponding path for user into chin during different activity scenes and interclavicular distance, the setting can be entered by menu
Enter or fast enter;;Specifically as described in above-mentioned step S100.Wherein, the step unit interval is 1 minute, 2 minutes or 3
Minute.
It is in summary, provided by the present invention that the whether tired method of user and smart machine are detected based on smart machine,
Smart machine is set to add New function:With fatigue detecting function, by detecting that it is normal that user's chin deviates within the unit interval
The number of times of height, the number of times progress contrast with user's chin deviation normal level in the case of various is so as to judge whether user is in
The fatigue state of doze, so as to avoid user's work caused by absent minded, influence in life improves safety
Property.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can
To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention
Protect scope.