Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Fig. 1 shows the method flow schematic diagram that prevents fatigue driving that first embodiment of the invention provides, and comprises step S101, step S102 and step S103, and details are as follows:
Step S101 calculates the variation of the current expression of driver within the unit interval in real time.
In embodiments of the present invention, the variation of the current expression of driver within the unit interval comprises the closed frequency of the current eyelid of driver, the focusing range of eyes, the position deviation of head and a kind of or its combination in any of facial expression.Because the people is in energetic or untired situation, These parameters is to be in the normal scope; If the people is in fatigue state, some variations can occur in These parameters, and for example, eyelid is frequent closed, the eyes focusing range narrows down and/or head departs from certain position etc., therefore, These parameters can be used as and judges whether automobile driver is in the standard of fatigue driving.Shown in accompanying drawing 2-a, be the schematic diagram of automobile driver when abnormal driving state (energetic or not tired), schematic diagram shows under the abnormal driving state, and driver's head is rectified, and eyes are naturally opened and are eyed to the front; Shown in the accompanying drawing 2-b is fatigue driving state schematic diagram in the automobile driver driving procedure, can find out from accompanying drawing 2-b, and under the fatigue driving state, driver's head is crooked, and eyes are little to be closed or full cut-off, and sight line also departs from positive front position.
Calculate in real time embodiment of the variation of the current expression of driver within the unit interval as the present invention, can place the mobile phone with front-facing camera over against position of driver, in driving procedure, with the driver over against the current expression of camera Real Time Monitoring driver, built-in functional module is calculated the variation of this quantized value within the unit interval after these current expressions are quantized in the mobile phone.
Step S102 compares the variation of described current expression within the unit interval and the normal variation of expression within the unit interval.
The variation of driver's normal expression (being energetic state or non-frazzle) within the unit interval should have a determined value or standard value, for example, under the normal condition, driver's head in driving procedure is crooked within 10 minutes can not surpass 1 time, eyes semi-closure and can not surpass 2 times etc.If the closed frequency of the current eyelid of driver, the focusing range of eyes, position deviation and/or the variation of facial expression within the unit interval of head are compared with the normal variation of expression within the unit interval, can judge the driver and whether be in fatigue state.
In embodiments of the present invention, the variation of the normal expression of driver within the unit interval can be in advance by intrasystem parameter is calculated and be stored in to this colony of automobile driver expression process under abnormal driving state.Owing to there being individual physiological difference, these calculated in advance parameter out may and be not suitable as reference, therefore, as one embodiment of the invention, the expression of above-mentioned automobile driver when safe driving in also can the real time record schedule time, with expression the variation during unit interval of described driver in the described schedule time when the safe driving as the variation of described normal expression within the unit interval.Owing to being real time record, and these parameter acquisitions are from same automobile driver, and therefore, judgement can be more accurate.
Step S103 if there is deviation in the variation of described current expression within the unit interval with the normal variation of expression within the unit interval, then sends corresponding warning according to the degree of deviation.
In embodiments of the present invention, can be provided for according to actual conditions some threshold values of comparison for these deviations, for example, first threshold, Second Threshold and the 3rd threshold value, wherein, first threshold is less than Second Threshold, and Second Threshold is less than the 3rd threshold value.
As one embodiment of the invention, if through contrast, the deviation of the variation of the current expression of automobile driver within the unit interval and the normal variation of expression within the unit interval meets or exceeds the first threshold of aforementioned setting, then send voice suggestion to this automobile driver, he has been in fatigue state reminding driver, should take a good rest.For example, when the deviation of the variation of the current expression of driver in 10 minutes and the normal variation of expression in 10 minutes surpasses 30%, send voice suggestion to this driver, the prompting driver reduces the speed of a motor vehicle, note stopping and have a rest and/or from the place ahead service area distance etc.
As another embodiment of the present invention, if through contrast, the Second Threshold that the deviation of the variation of the current expression of automobile driver within the unit interval and the normal variation of expression within the unit interval meets or exceeds aforementioned setting then sends the stronger prompting of more aforementioned voice suggestion to automobile driver.For example, when the deviation of the variation of the current expression of driver in 10 minutes and the normal variation of expression in 10 minutes surpasses 50%, send ear-piercing alarm song to this driver, be at present the dangerous driving state, the rest of must stopping with the prompting driver.
As another embodiment of the present invention, if through contrast, the deviation of the variation of the current expression of automobile driver within the unit interval and the normal variation of expression within the unit interval meets or exceeds the 3rd threshold value of aforementioned setting, and then the kith and kin to automobile driver send the information that this driver is in serious fatigue.The mode of transmission information can be phone of note or the kith and kin that directly dial automobile driver etc.The kith and kin of automobile driver can be according to note or the phone of dialing, and the mobile phone of clawback automobile driver or phone advise it to note driving safety.
Because automobile driver may utilize take a momentary rest down time, in this state, driver's current expression, for example the position deviation of the focusing range of the closed frequency of eyelid, eyes, head and/or facial expression etc. may be different with normal expression.Yet prompting and/or warning under this state belong to wrong report.The probability that occurs in order to reduce this wrong report, in embodiments of the present invention, can adopt the state of speed measuring device Real Time Monitoring motor vehicle that automobile driver is driven, if being the state of motor vehicle, the monitored results of speed measuring device shows that motor vehicle is in transport condition, then trigger and calculate the variation of the current expression of driver within the unit interval, otherwise, can close the functional module of calculating the variation of the current expression of driver within the unit interval.
From the above-mentioned method that prevents fatigue driving as can be known, owing to can compare with the normal variation of expression within the unit interval calculating in real time the variation of the current expression of gained within the unit interval, when there is deviation in the variation of described current expression within the unit interval with the normal variation of expression within the unit interval, can send corresponding warning according to the degree of deviation.Therefore, with prior art supra-aural alarm prompting fatigue driving is compared, the method that the embodiment of the invention provides can be used the problem of relatively low cost mode relieving fatigue driving, effectively protects driver's personal safety as well as the property safety, and mode of operation is more convenient; And because intelligent machine is popularized, said method can be used for intelligent machine, and therefore, this method of fatigue driving that prevents easily allows automobile driver accept, and usable range is more extensive.
Seeing also accompanying drawing 3, is the apparatus structure schematic diagram that prevents fatigue driving that first embodiment of the invention provides, and the device that prevents fatigue driving of accompanying drawing 3 examples can be used for the portable terminals such as mobile phone.For convenience of explanation, only show the part relevant with the embodiment of the invention.The device that prevents fatigue driving of accompanying drawing 3 examples comprises real-time computing module 301, comparison module 302 and alarm module 303, wherein:
Real-time computing module 301, be used for calculating in real time the variation of the current expression of driver within the unit interval, the variation of current expression within the unit interval comprises the closed frequency of the current eyelid of described driver, the focusing range of eyes, the position deviation of head and a kind of or its combination in any of facial expression;
Comparison module 302 is used for the variation of described current expression within the unit interval and the normal variation of expression within the unit interval are compared;
Alarm module 303 is that the variation of current expression within the unit interval exists deviation with the normal variation of expression within the unit interval if be used for the comparing result of described comparison module 302, then sends corresponding warning according to the degree of deviation.
Need to prove, more than prevent in the embodiment of device of fatigue driving, the division of each functional module only illustrates, can be as required in the practical application, for example the facility of the configuration requirement of corresponding hardware or software implemented is considered, and the above-mentioned functions distribution is finished by different functional modules, be about to the described inner structure of the device of fatigue driving that prevents and be divided into different functional modules, to finish all or part of function described above.And, in the practical application, corresponding functional module in the present embodiment can be to be realized by corresponding hardware, also can be finished by the corresponding software of corresponding hardware implement, for example, aforesaid real-time computing module can be to have the hardware of carrying out the variation of the aforementioned real-time calculating current expression of driver within the unit interval, real-time counter for example, thus also can be to carry out general processor or other hardware devices that the corresponding computer program is finished aforementioned functional; For another example aforesaid comparison module, can be to have to carry out the aforementioned hardware that the variation of described current expression within the unit interval and the normal variation of expression within the unit interval is compared function, comparer for example, thus also can be to carry out general processor or other hardware devices (each embodiment that this instructions provides can use the foregoing description principle) that the corresponding computer program is finished aforementioned functional.
The real-time computing module 301 of accompanying drawing 3 examples comprises monitoring unit 401 and computing unit 402, as shown in Figure 4, and the device that prevents fatigue driving that another embodiment of the present invention provides, wherein:
Monitoring unit 401 is used for the current expression of Real Time Monitoring driver, and monitoring unit 401 for example can be front-facing camera of portable terminal etc.
Computing unit 402 is used for described current expression is quantized the rear variation of described quantized value within the unit interval of calculating.
The alarm module 303 of accompanying drawing 3 examples also can comprise the first Tip element 501, the second Tip element 502 and instant messages transmitting element 503, as shown in Figure 5, and the device that prevents fatigue driving that another embodiment of the present invention provides, wherein:
The first Tip element 501 meets or exceeds first threshold if be used for the deviation of the variation of the current expression of driver within the unit interval and the normal variation of expression within the unit interval, then sends voice suggestion to described driver;
The second Tip element 502, meet or exceed Second Threshold if be used for the deviation of the variation of the current expression of driver within the unit interval and the normal variation of expression within the unit interval, then send the stronger prompting of more described voice suggestion to described driver, described Second Threshold is greater than described first threshold;
Instant messages transmitting element 503, meet or exceed the 3rd threshold value if be used for the deviation of the variation of the current expression of driver within the unit interval and the normal variation of expression within the unit interval, then the kith and kin to described driver send the information that described driver is in serious fatigue, and described the 3rd threshold value is greater than described Second Threshold.
The device that prevents fatigue driving of accompanying drawing 3 examples can also comprise expression logging modle 601, as shown in Figure 6, and the device that prevents fatigue driving that another embodiment of the present invention provides.Expression logging modle 601 is used for the expression of described driver when safe driving in the real time record schedule time, with expression the variation during unit interval of described driver in the described schedule time when the safe driving as the variation of described normal expression within the unit interval.
The device that prevents fatigue driving of accompanying drawing 3 examples can also comprise monitoring module 701, as shown in Figure 7, and the device that prevents fatigue driving that another embodiment of the present invention provides.Monitoring module 701 is used for the state of Real Time Monitoring motor vehicle that described driver drives, and is in transport condition if the state of described motor vehicle shows described motor vehicle, then triggers and calculates the variation of the current expression of driver within the unit interval.
The embodiment of the invention also provides a kind of portable terminal, and this portable terminal comprises that above-mentioned accompanying drawing 3 is to the device that prevents fatigue driving of accompanying drawing 7 arbitrary examples.
Need to prove, the contents such as the information interaction between each module/unit of said apparatus, implementation, since with the inventive method embodiment based on same design, its technique effect that brings is identical with the inventive method embodiment, particular content can referring to the narration among the inventive method embodiment, repeat no more herein.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodiment is to come the relevant hardware of instruction finish by program, this program can be stored in the computer-readable recording medium, storage medium can comprise: ROM (read-only memory) (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.