CN108639056A - Driving condition detection method, device and mobile terminal - Google Patents

Driving condition detection method, device and mobile terminal Download PDF

Info

Publication number
CN108639056A
CN108639056A CN201810339601.3A CN201810339601A CN108639056A CN 108639056 A CN108639056 A CN 108639056A CN 201810339601 A CN201810339601 A CN 201810339601A CN 108639056 A CN108639056 A CN 108639056A
Authority
CN
China
Prior art keywords
driver
mobile terminal
detecting
condition
driving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810339601.3A
Other languages
Chinese (zh)
Other versions
CN108639056B (en
Inventor
曾鸿坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810339601.3A priority Critical patent/CN108639056B/en
Publication of CN108639056A publication Critical patent/CN108639056A/en
Application granted granted Critical
Publication of CN108639056B publication Critical patent/CN108639056B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W40/00Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
    • B60W40/08Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models related to drivers or passengers
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/06Alarms for ensuring the safety of persons indicating a condition of sleep, e.g. anti-dozing alarms
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W40/00Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
    • B60W40/08Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models related to drivers or passengers
    • B60W2040/0818Inactivity or incapacity of driver

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Mathematical Physics (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Traffic Control Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the present application discloses a kind of driving condition detection method, device and mobile terminal.The method includes:When the mobile terminal detects that vehicle is in transport condition, the facial characteristics parameter of driver is obtained;Whether it is in the first driving condition based on driver described in the facial characteristics parameter detecting;If detecting, the driver is in the first driving condition, sends out warning information;The warning information is cancelled when the mobile terminal detects that vehicle running state meets cancellation condition.This method is when detecting that the driver is in the first driving condition, send out warning information, and the warning information is that can just cancel under the conditions of the mobile terminal detects that vehicle running state meets cancellation, so that when detecting driver tired driving, it can could cancel warning information by being emitted under the conditions of satisfaction cancellation, effectively driver is prompted, to ensure the safety of driver, improves the safety of driving procedure.

Description

Driving condition detection method, device and mobile terminal
Technical field
This application involves technical field of mobile terminals, more particularly, to a kind of driving condition detection method, device and Mobile terminal.
Background technology
With popularizing for automobile, automobile is used as a kind of conveniently vehicles by broad masses.Therewith Come, the event of driver tired driving is also more and more.In order to promote drive safety, some can be usually configured to driving The equipment for sailing state-detection, still, detection method used by the equipment can not drive vehicle for driver safety and provide effectively Guarantee.
Invention content
In view of the above problems, present applicant proposes a kind of driving condition detection method, device and mobile terminals, to realize Promote the safety of driving procedure.
In a first aspect, this application provides a kind of driving condition detection method, it is applied to mobile terminal, the method packet It includes:When the mobile terminal detects that vehicle is in transport condition, the facial characteristics parameter of driver is obtained;Based on the face Whether driver described in detection of characteristic parameters is in the first driving condition;If detecting, the driver is in first and drives shape State sends out warning information;The warning information takes when the mobile terminal detects that vehicle running state meets cancellation condition Disappear.
Second aspect, this application provides a kind of driving state detection devices, run on mobile terminal, described device packet It includes:Facial characteristics acquiring unit when for detecting that vehicle is in transport condition, obtains the facial characteristics parameter of driver;It is tired Labor state detection unit, for whether being in the first driving condition based on driver described in the facial characteristics parameter detecting;It accuses Alert issue unit sends out alarm letter if detecting that the driver is in the first driving condition for fatigue state detection unit Breath;Unit is cancelled in alarm, cancels the announcement when detecting that vehicle running state meets cancellation condition for the warning information Alert information.
The third aspect, this application provides a kind of mobile terminals, including one or more processors and memory;One Or multiple programs, wherein one or more of programs are stored in the memory and are configured as by one or more A processor executes, and one or more of programs are configured to carry out above-mentioned method.
Fourth aspect, a kind of computer read/write memory medium provided by the present application, the computer-readable storage are situated between Matter includes the program of storage, wherein above-mentioned method is executed when described program is run.
A kind of driving condition detection method, device and mobile terminal provided by the present application are gone detecting that vehicle is in When sailing state, the facial characteristics parameter of driver is obtained, then whether locate based on driver described in the facial characteristics parameter detecting In the first driving condition, if detecting, the driver is in the first driving condition, sends out warning information, and the warning information To cancel when the mobile terminal detects that vehicle stops, so that when detecting driver tired driving, Ke Yitong Warning information could be cancelled under the conditions of meeting cancellation by crossing, and effectively be prompted driver, to ensure the safety of driver, Improve the safety of driving procedure.
These aspects or other aspects of the application can more straightforward in the following description.
Description of the drawings
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present application, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 shows a kind of network environment figure for driving condition detection method that the application proposes;
Fig. 2 shows the flow charts for another driving condition detection method that the application proposes;
Fig. 3 shows a kind of schematic diagram of prompting frame in a kind of driving condition detection method that the application proposes;
Fig. 4 shows the schematic diagram of another prompting frame in a kind of driving condition detection method that the application proposes;
Fig. 5 shows a kind of structure diagram for screen control device that the application proposes;
Fig. 6 shows the structure diagram for another screen control device that the application proposes;
Fig. 7 shows a kind of structure diagram for mobile terminal that the application proposes;
Fig. 8 shows the mobile terminal for executing the driving condition detection method according to the embodiment of the present application of the application Structure diagram.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, those of ordinary skill in the art are obtained every other without creative efforts Embodiment shall fall in the protection scope of this application.
In the traffic accident of generation, fatigue driving is to cause one of principal element of traffic accident.It is shown according to report, Death toll is into ten thousand people in annual traffic accident.According to statistics of traffic accidents, be more than 30% road traffic accident and 15%~ 20% railway traffic accident is related with fatigue driving, and fatigue driving seriously threatens the safety of life and property of people, detection Whether driver is fatigue driving, and carries out timely early warning, will efficiently reduce road traffic thing caused by due to fatigue driving Therefore therefore, fatigue-driving detection technology is studied, is of great significance to road improvement traffic safety.
And with the development of science and technology, people more pay attention to through some physiological status of electronic equipment monitoring driver or Other some attitude parameters promote the safety of driving procedure.But inventor has found detection side used by the equipment Method can not drive vehicle for driver safety and provide sound assurance.Therefore, it inventors herein proposes and promotes drive the cross in the application Driving condition detection method, device and the mobile terminal of the safety of journey.
Present embodiments are specifically described below in conjunction with attached drawing.
Referring to Fig. 1, a kind of driving condition detection method provided by the present application, is applied to mobile terminal, the method packet It includes:
Step S110:When the mobile terminal detects that vehicle is in transport condition, the facial characteristics ginseng of driver is obtained Number.
Wherein, whether vehicle where mobile terminal can judge in several ways is in transport condition.As one kind Mode judges vehicle when mobile terminal, which detects the navigation application program that it is installed, to be opened navigation pattern or start navigation In transport condition.Wherein, mobile terminal all acquires the facial characteristics of driver in real time if starting in navigation start time Parameter can consume more electricity.Also, it is carved at the beginning of driving, driver is less prone to driving fatigue, and driving fatigue is existing As being easier to appear in when vehicle is during longer period is in straight-line travelling, then as a kind of mode, mobile terminal exists In the case of detecting that navigation application program that it is installed opens navigation pattern or starts navigation, further detect When having more than the straight trip section of preset length on guidance path in the path after current location, start the face for obtaining driver Portion's characteristic parameter.Wherein, straight trip section be including path in need not carry out lane change or turn the section of quarter bend.
Alternatively mode, mobile terminal can be sentenced when detecting that mobile terminal is in the shake of predeterminated frequency Vehicle where determining it is in transport condition.It is understood that when vehicle is in transport condition, relative jitter can be in State, and chattering frequency can fluctuate in a certain range, then mobile terminal, which detects, itself is in a certain range of shake When, then the vehicle where can be determined that has been in form state.
When detecting that vehicle is in transport condition, mobile terminal then starts to obtain the facial characteristics parameter of driver. Wherein, which includes but not limited to the frequency of wink of driver, nozzle type variation and nose drop state etc..
Facial characteristics parameter that driver can be accurately identified for the ease of mobile terminal, without will accidentally be acquired The facial characteristics parameter of other faces can be in fixation as a kind of mode as the facial characteristics parameter of driver in image When mobile terminal, by the position where the image collection assembly towards driver of mobile terminal.Furthermore it can also moved in advance The multiple facial images of typing in dynamic terminal, and set a mark to each facial image.Then in this case, as one Kind mode, user can choose this driver's by facial image mark before driving from the facial image of storage Facial image can identify this so that when mobile terminal has multiple faces in the image of acquisition from multiple faces The facial characteristics parameter of driver in secondary vehicle travel process.In this case, mobile terminal can force driver to exist The facial image for first selecting the driver that this drives before driving by the corresponding mark of facial image, so as to mobile terminal Identification.Wherein, compulsory mode can be to continuously send out buzz, or continuously send out voice prompt etc..
In addition, alternatively, in the case that mobile terminal can have multiple faces in the image of acquisition, again It obtains with depth information there are the images of multiple faces, will pass through depth information by near preceding face, that is, Recognition of face near mobile terminal is the face of driver, to ensure that the face that can accurately get driver is special Levy parameter.It is detecting depth information in this case, can also further acquired in conjunction with shared by facial image entire The area of image determines the facial image of driver.In general, mobile terminal is placed against driver, then in mobile terminal In acquired image, in the case of multiple faces, the more other face figures of area shared by the facial image of driver As shared area bigger.So it is used as a kind of mode, mobile terminal that there can be multiple faces in judging acquired image In the case of image, the occupied area near preceding facial image identified by depth information is will further determine than it When his facial image occupied area is big, using the facial image as the facial image of driver, to acquire the face of driver Characteristic parameter.
Step S120:Whether it is in the first driving condition based on driver described in the facial characteristics parameter detecting.
The case where the facial characteristics parameter of acquisition includes the data such as frequency of wink, nozzle type variation and nose drop state Under.Detect one at least being detected below during whether the driver is in the first driving condition:Detection Whether the frequency of wink of the driver meets predeterminated frequency;Detect the driver nozzle type change procedure whether meet it is default Change procedure;Whether the nose drop state for detecting the driver meets default hang.
It should be noted that can be adopted in blink, nozzle type variation and nose drop state etc. for how to detect user With existing technology.
Step S130:If detecting, the driver is in the first driving condition, sends out warning information.
It is full in the frequency of wink for detecting the driver based on detecting step shown in step S120 Sufficient predeterminated frequency;The nozzle type change procedure of the driver, which meets, presets change procedure;And the nose drop of the driver State, which meets, to be preset in hang at least one and then judges that driver be in the first driving condition when meeting, that is, judges to drive The person of sailing is in fatigue driving.
Step S140:The warning information takes when the mobile terminal detects that vehicle running state meets cancellation condition Disappear.
Wherein, the warning information sent out for mobile terminal, in order to ensure that warning information can determine reliably to driving Member sends out alarm.Only when the mobile terminal detects that vehicle running state meets cancellation condition, warning information just can be with Cancel.
A kind of driving condition detection method provided by the present application is obtained and is driven when detecting that vehicle is in transport condition The facial characteristics parameter of member, then whether the first driving condition is in based on driver described in the facial characteristics parameter detecting, if It detects that the driver is in the first driving condition, sends out warning information, and the warning information is in the mobile terminal It detects and cancels when vehicle stops, so that when detecting driver tired driving, it can be by meeting cancellation condition It is lower to cancel warning information, effectively driver is prompted, to ensure the safety of driver, improves driving procedure Safety.
Referring to Fig. 2, a kind of driving condition detection method provided by the present application, is applied to mobile terminal, the method packet It includes:
Step S210:When the mobile terminal detects that vehicle is in transport condition, the facial characteristics ginseng of driver is obtained Number.
Step S220:Whether it is in the first driving condition based on driver described in the facial characteristics parameter detecting.
Step S230:If detecting, the driver is in the first driving condition, in the display screen of the mobile terminal Display the prompt box, the display alarm information in the prompting frame;Wherein, the prompting frame is to detect vehicle in the mobile terminal Transport condition is cancelled when meeting cancellation condition.
Wherein, if driver is in fatigue driving state, still continue to be easy to cause accident if driving.In order to protect Card alarm information can be infallible play alarm effect, without being still expert in vehicle by driver or other staff It is closed during sailing, in this example, mobile terminal can show a prompting frame, and the prompting frame can be shown in mobile terminal The top of screen, i.e., can be to showing that content covers before, and the display alarm information in the prompting frame.And for Prompting frame is only cancelled when mobile terminal detects that vehicle running state meets cancellation condition.
As shown in figure 3, mobile terminal can show a prompting frame 231, and the display alarm information in prompting frame 231. And for the prompting frame 231, then the control that can close the prompting frame is not shown.In order to ensure to alert effect, mobile terminal exists When detecting that vehicle running state meets cancellation condition, cancel display the prompt box.Wherein, mobile terminal is detecting vehicle traveling When state meets cancellation condition, prompting frame can be automatically closed, it can also be as shown in figure 4, being shown in advance in the corner of prompting frame The closing control 232 set, so that prompting frame 231 oneself can be turned off manually in user.For improving warning effect, as one Kind mode, the background set that can will be prompted to frame are the brighter color such as red, orange.
Step S240:The warning information takes when the mobile terminal detects that vehicle running state meets cancellation condition Disappear.
As a kind of mode, the cancellation condition includes:Detect that driver leaves operator seat and/or detects mobile whole End remains static.Wherein, for driver whether leave operator seat can by way of image recognition or acquisition away from Mode from value is detected.Specifically, the mobile terminal detects nobody in the picture that front camera is acquired When face image, judgement driver leaves operator seat.Include more with the mobile terminal acquired image described in foregoing teachings A facial image is similar, can still judge the facial image of driver by mode above-mentioned at this time, it is to be understood that Here it is the facial image for judging to have driver in acquired image in driving procedure, and when the figure for detecting the acquisition When the facial image of the driver judged before not having as in, then judge that driver leaves operator seat.
Furthermore when driver is sitting in operator seat and leaves operator seat, set Distance-sensing described in mobile terminal The distance value that device is acquired is different, in the case of detecting that driver is sitting on operator seat, what mobile terminal was acquired Distance value smaller, because, the wave beam meeting for the sensing distance that mobile terminal is emitted in the case where driver is sitting on operator seat By faster reflection meeting mobile terminal, therefore, when the distance value of mobile terminal detecting distance sensor acquisition is more than preset value, Judgement driver leaves operator seat.
It should be noted that when the display alarm message in a manner of prompting frame, cancel prompting frame cancellation condition and The cancellation condition for cancelling alarm information is identical, and while alarm information is cancelled, prompting frame can also be cancelled aobvious Show.
It should be noted that when mobile terminal is the terminal for having function of voice communication, mobile terminal is receiving When electric, it will usually play ringing tone to remind user to answer, then ringing tone of sending a telegram here inherently has the effect for reminding user, that is to say as Fruit user is in fatigue driving state, and ringing tone can remind user, so that user can be more awake.Then it is used as a kind of side Formula, if during mobile terminal display the prompt box, mobile terminal receives incoming call, and judgement mobile terminal opens Call interface is included still then that can cover prompting frame in top, that is, call interface, so that prompt by incoming ring tone Frame does not interfere with normal incoming call sound.If mobile terminal receives incoming call, and judges that mobile terminal is not opened to determine The tinkle of bells then being answered in order to not influence normal user, and still keeps the alarm to user, then can be by the screen of mobile terminal Curtain is divided into two parts, and a branch shows call interface, and the announcement in another part display the prompt box and prompting frame Alert information.
A kind of driving condition detection method provided by the present application is obtained and is driven when detecting that vehicle is in transport condition The facial characteristics parameter of member, then whether the first driving condition is in based on driver described in the facial characteristics parameter detecting, if It detects that the driver is in the first driving condition, sends out warning information, and the warning information is in the mobile terminal It detects and cancels when vehicle stops, so that when detecting driver tired driving, it can be by meeting cancellation condition It is lower to cancel warning information, effectively driver is prompted, to ensure the safety of driver, improves driving procedure Safety.
Referring to Fig. 5, a kind of driving state detection device 300 provided by the present application, runs on mobile terminal, described device 300 include:Facial characteristics acquiring unit 310, fatigue state detection unit 320, alarm issue unit 330 and alarm are cancelled single Member 340.
Facial characteristics acquiring unit 310 obtains the facial characteristics of driver when for detecting that vehicle is in transport condition Parameter.
As a kind of mode, facial characteristics acquiring unit 310, when for detecting that vehicle is in transport condition, acquisition is driven The facial characteristics parameter for the person of sailing.
As a kind of mode, facial characteristics acquiring unit 310 be specifically used for detecting the driver frequency of wink whether Meet predeterminated frequency, whether the nozzle type change procedure for detecting the driver meets default change procedure, detects the driver Nose drop state whether meet default hang.
If if correspondingly, when detecting that the driver is in the first driving condition, the facial characteristics parameter meets one At least one of lower condition:The frequency of wink for detecting the driver meets predeterminated frequency;Detect the nozzle type of the driver Change procedure, which meets, presets change procedure;And the nose drop state of the detection driver meets default hang.
Fatigue state detection unit 320, for based on driver described in the facial characteristics parameter detecting whether in the One driving condition.
Issue unit 330 is alerted, if detecting that the driver is in first and drives shape for fatigue state detection unit State sends out warning information.
Unit 340 is cancelled in alarm, is taken for the warning information when detecting that vehicle running state meets cancellation condition Disappear the warning information.
Referring to Fig. 6, a kind of driving state detection device 400 provided by the present application, runs on server, described device 400 include:Facial characteristics acquiring unit 410, fatigue state detection unit 420, bullet frame display unit 430, warning information are shown Unit 450 is cancelled in unit 440 and alarm.
Facial characteristics acquiring unit 410 obtains the facial characteristics of driver when for detecting that vehicle is in transport condition Parameter.
Fatigue state detection unit 420, for based on driver described in the facial characteristics parameter detecting whether in the One driving condition.
Frame display unit 430 is played, if for detecting that the driver is in the first driving condition, in the mobile terminal Display screen in display the prompt box.
Warning information display unit 440, for the display alarm information in the prompting frame.
Unit 450 is cancelled in alarm, is taken for the warning information when detecting that vehicle running state meets cancellation condition Disappear the warning information.
Wherein, as a kind of mode, the cancellation condition includes:Detect that driver leaves operator seat;Or it detects Mobile terminal remains static.As a kind of mode, the mobile terminal detects in the picture that front camera is acquired When there is no facial image, judge that driver leaves operator seat;Or the distance value of mobile terminal detecting distance sensor acquisition is big When preset value, judge that driver leaves operator seat.
In conclusion a kind of driving condition detection method, device and mobile terminal provided by the present application, are detecting vehicle When being in transport condition, the facial characteristics parameter of driver is obtained, then based on being driven described in the facial characteristics parameter detecting Whether member is in the first driving condition, if detecting, the driver is in the first driving condition, sends out warning information, and described Warning information is to cancel when the mobile terminal detects that vehicle stops, so that detecting driver tired driving When, effectively driver can be prompted, driven with ensureing by the way that warning information could be cancelled under the conditions of meeting cancellation The safety of member, improves the safety of driving procedure.
A kind of mobile terminal provided by the present application is illustrated below in conjunction with Fig. 7 and Fig. 8.
Referring to Fig. 7, based on above-mentioned driving condition detection method, device, the embodiment of the present application also provides one kind can be with Execute the mobile terminal 100 of aforementioned driving condition detection method.Mobile terminal 100 includes electronic body portion 10, the electronics sheet Body portion 10 includes shell 12 and the first screen 120 being arranged on the shell 12.Metal, such as steel can be used in the shell 12 Material, aluminium alloy are made.In the present embodiment, first screen, 120 and second screen 121 generally includes display panel 111, It may include for responding the circuit etc. for carrying out touch control operation to the display panel 111.The display panel 111 can be one Liquid crystal display panel (Liquid Crystal Display, LCD), in some embodiments, the display panel 111 is simultaneously One touch screen 109.
As shown in figure 8, in actual application scenarios, the mobile terminal 100 can be used as intelligent mobile phone terminal into enforcement With, in this case the electronic body portion 10 also typically include one or more (one is only shown in figure) processors 102, Memory 104, RF (Radio Frequency, radio frequency) module 106, voicefrequency circuit 110, sensor 114, input module 118, Power module 122.It will appreciated by the skilled person that the application does not cause the structure in the electronic body portion 10 It limits.For example, the electronic body portion 10 may also include than more either less components as shown in the figure or with in figure Shown different configuration.
It will appreciated by the skilled person that for the processor 102, every other component belongs to It is coupled by multiple Peripheral Interfaces 124 between peripheral hardware, the processor 102 and these peripheral hardwares.The Peripheral Interface 124 can Based on following standard implementation:Universal Asynchronous Receive/sending device (Universal Asynchronous Receiver/ Transmitter, UART), universal input/output (General Purpose Input Output, GPIO), serial peripheral connect Mouthful (Serial Peripheral Interface, SPI), internal integrated circuit (Inter-Integrated Circuit, I2C), but it is not limited to above-mentioned standard.In some instances, the Peripheral Interface 124 can only include bus;In other examples In, the Peripheral Interface 124 may also include other elements, such as one or more controller, such as connecting the display The display controller of panel 111 or storage control for connecting memory.In addition, these controllers can also be from described Detached in Peripheral Interface 124, and be integrated in the processor 102 or corresponding peripheral hardware in.
The memory 104 can be used for storing software program and module, and the processor 102 is stored in institute by operation The software program and module in memory 104 are stated, to perform various functions application and data processing.The memory 104 may include high speed random access memory, may also include nonvolatile memory, and such as one or more magnetic storage device dodges It deposits or other non-volatile solid state memories.In some instances, the memory 104 can further comprise relative to institute The remotely located memory of processor 102 is stated, these remote memories can pass through network connection to the electronic body portion 10 Or first screen 120.The example of above-mentioned network includes but not limited to internet, intranet, LAN, mobile communication Net and combinations thereof.
The RF modules 106 are used to receive and transmit electromagnetic wave, realize the mutual conversion of electromagnetic wave and electric signal, to It is communicated with communication network or other equipment.The RF modules 106 may include various existing for executing these functions Circuit element, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card, memory etc..The RF modules 106 can be carried out with various networks such as internet, intranet, wireless network Communication is communicated by wireless network and other equipment.Above-mentioned wireless network may include cellular telephone networks, wireless LAN or Metropolitan Area Network (MAN).Above-mentioned wireless network can use various communication standards, agreement and technology, including but not limited to Global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communication skill Art (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (wideband code Division multiple access, W-CDMA), Code Division Multiple Access (Code division access, CDMA), time-division Multiple access technology (time division multiple access, TDMA), adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (such as American Institute of Electrical and Electronics Engineers's standard IEEE 802.10A, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), the networking telephone (Voice over internet protocal, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave Access, Wi-Max), other for mail, Instant Messenger The agreement and any other suitable communications protocol of news and short message, or even may include that those are not developed currently yet Agreement.
Voicefrequency circuit 110, loud speaker 101, sound jack 103, microphone 105 provide user and the electronic body jointly Audio interface between portion 10 or first screen 120.Specifically, the voicefrequency circuit 110 connects from the processor 102 Voice data is received, voice data is converted into electric signal, by electric signal transmission to the loud speaker 101.The loud speaker 101 will Electric signal is converted to the sound wave that human ear can be heard.The voicefrequency circuit 110 receives electric signal also from the microphone 105, will Electric signal is converted to voice data, and gives the processor 102 to be further processed data transmission in network telephony.Audio number According to can from the memory 104 or pass through the RF modules 106 obtain.In addition, audio data can also be stored to institute It states in memory 104 or is sent by the RF modules 106.
The setting of the sensor 114 is in the electronic body portion 10 or in first screen 120, the sensor 114 example includes but is not limited to:Optical sensor, operation sensor, pressure sensor, infrared heat sensor, Distance-sensing Device, gravity accelerometer and other sensors.
Specifically, the optical sensor may include light sensor 114F, pressure sensor 114G.Wherein, pressure sensing Device 114G can detect the sensor by pressing the pressure generated in mobile terminal 100.That is, pressure sensor 114G detection by with The pressure that contact between family and mobile terminal or pressing generate, for example, by between the ear and mobile terminal of user contact or Press the pressure generated.Therefore, whether pressure sensor 114G may be used to determine occurs between user and mobile terminal 100 Contact or the size of pressing and pressure.
Referring to Fig. 8, specifically in the embodiment shown in fig. 8, the light sensor 114F and the pressure Sensor 114G is arranged adjacent to the display panel 111.The light sensor 114F can have object close to first screen When curtain 120, such as when the electronic body portion 10 is moved in one's ear, the processor 102 closes display output.
As a kind of motion sensor, gravity accelerometer can detect in all directions (generally three axis) and accelerate The size of degree can detect that size and the direction of gravity, can be used to identify the application of 100 posture of the mobile terminal when static (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.. In addition, the electronic body portion 10 can also configure the other sensors such as gyroscope, barometer, hygrometer, thermometer, herein no longer It repeats,
In the present embodiment, the input module 118 may include the touch screen being arranged on first screen 120 109, the touch screen 109 collect user on it or neighbouring touch operation (for example user is any using finger, stylus etc. Operation of the suitable object or attachment on the touch screen 109 or near the touch screen 109), and according to presetting The corresponding attachment device of driven by program.Optionally, the touch screen 109 may include touch detecting apparatus and touch controller. Wherein, the touch orientation of the touch detecting apparatus detection user, and the signal that touch operation is brought is detected, it transmits a signal to The touch controller;The touch controller receives touch information from the touch detecting apparatus, and by the touch information It is converted into contact coordinate, then gives the processor 102, and order that the processor 102 is sent can be received and executed. Furthermore, it is possible to realize touching for the touch screen 109 using more classifying types such as resistance-type, condenser type, infrared ray and surface acoustic wave Touch detection function.In addition to the touch screen 109, in other change embodiments, the input module 118 can also include it His input equipment, such as button.The button for example may include the character keys for inputting character, and for triggering control work( The control button of energy.The example of the control button includes " returning to main screen " button, on/off button etc..
The information and the electronics that first screen 120 is used to show information input by user, is supplied to user The various graphical user interface of body part 10, these graphical user interface can by figure, text, icon, number, video and its Arbitrary to combine to constitute, in an example, the touch screen 109 may be disposed on the display panel 111 thus with described Display panel 111 constitutes an entirety.
The power module 122 is used to provide supply of electric power to the processor 102 and other each components.Specifically, The power module 122 may include power-supply management system, one or more power supply (such as battery or alternating current), charging circuit, Power-fail detection circuit, inverter, indicator of the power supply status and any other with the electronic body portion 10 or described the The generation, management of electric power and the relevant component of distribution in one screen 120.
The mobile terminal 100 further includes locator 119, and the locator 119 is for determining 100 institute of the mobile terminal The physical location at place.In the present embodiment, the locator 119 realizes the positioning of the mobile terminal 100 using positioning service, The positioning service, it should be understood that the location information of the mobile terminal 100 is obtained by specific location technology (as passed through Latitude coordinate), it is marked on the electronic map by the technology of the position of positioning object or service.
It should be understood that above-mentioned mobile terminal 100 is not limited to intelligent mobile phone terminal, should refer to can move The computer equipment used in dynamic.Specifically, mobile terminal 100, refers to the mobile computer for being equipped with intelligent operating system Equipment, mobile terminal 100 include but not limited to smart mobile phone, smartwatch, tablet computer, etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiments or example.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discuss suitable Sequence, include according to involved function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be by the application Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (system of such as computer based system including processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicating, propagating or passing Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring Interconnecting piece (mobile terminal), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with it His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or combination thereof.Above-mentioned In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be executed with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium In matter, which includes the steps that one or a combination set of embodiment of the method when being executed.In addition, in each embodiment of the application In each functional unit can be integrated in a processing module, can also be that each unit physically exists alone, can also two A or more than two units are integrated in a module.The form that hardware had both may be used in above-mentioned integrated module is realized, also may be used It is realized in the form of using software function module.If the integrated module realized in the form of software function module and as Independent product sale in use, can also be stored in a computer read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application System, those skilled in the art can be changed above-described embodiment, change, replace and become within the scope of application Type.
Finally it should be noted that:Above example is only to illustrate the technical solution of the application, rather than its limitations;Although The application is described in detail with reference to the foregoing embodiments, those skilled in the art are when understanding:It still can be with Technical scheme described in the above embodiments is modified or equivalent replacement of some of the technical features;And These modifications or replacements, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and Range.

Claims (10)

1. a kind of driving condition detection method, which is characterized in that it is applied to mobile terminal, the method includes:
When the mobile terminal detects that vehicle is in transport condition, the facial characteristics parameter of driver is obtained;
Whether it is in the first driving condition based on driver described in the facial characteristics parameter detecting;
If detecting, the driver is in the first driving condition, sends out warning information;
The warning information is cancelled when the mobile terminal detects that vehicle running state meets cancellation condition.
2. according to the method described in claim 1, it is characterized in that, the mobile terminal detects that vehicle is in transport condition When, the step of facial characteristics parameter for obtaining driver includes:
The mobile terminal detects that the mobile terminal is in navigational state and/or detects that mobile terminal is in dither state When, obtain the facial characteristics parameter of driver.
3. according to the method described in claim 1, it is characterized in that, if described detect that the driver is in first and drives shape State, the step of sending out warning information include:
If detecting, the driver is in the first driving condition, the display the prompt box in the display screen of the mobile terminal, Display alarm information in the prompting frame;Wherein, the prompting frame is to detect that vehicle running state is full in the mobile terminal Foot is cancelled when cancelling condition.
4. according to any methods of claim 1-3, which is characterized in that the cancellation condition includes:
Detect that driver leaves operator seat;
Or detect that mobile terminal remains static.
5. according to the method described in claim 4, it is characterized in that, the mobile terminal detects what front camera was acquired When there is no facial image in picture, judge that driver leaves operator seat;
Or mobile terminal detecting distance sensor acquisition distance value be more than preset value when, judge that driver leaves operator seat.
6. according to the method described in claim 1, it is characterized in that, described be based on driving described in the facial characteristics parameter detecting Member whether be in the first driving condition the step of include:
Whether the frequency of wink for detecting the driver meets predeterminated frequency;
Whether the nozzle type change procedure for detecting the driver meets default change procedure;
Whether the nose drop state for detecting the driver meets default hang.
If if 7. according to the method described in claim 6, it is characterized in that, detecting that the driver is in the first driving condition When, the facial characteristics parameter meets at least one of condition:
The frequency of wink for detecting the driver meets predeterminated frequency;
The nozzle type change procedure for detecting the driver meets default change procedure;And
The nose drop state for detecting the driver meets default hang.
8. a kind of driving state detection device, which is characterized in that run on mobile terminal, described device includes:
Facial characteristics acquiring unit when for detecting that vehicle is in transport condition, obtains the facial characteristics parameter of driver;
Fatigue state detection unit, for driving shape based on whether driver described in the facial characteristics parameter detecting is in first State;
Alarm issue unit is sent out if detecting that the driver is in the first driving condition for fatigue state detection unit Warning information;
Unit is cancelled in alarm, cancels the announcement when detecting that vehicle running state meets cancellation condition for the warning information Alert information.
9. a kind of mobile terminal, which is characterized in that including one or more processors and memory;
One or more programs, wherein one or more of programs are stored in the memory and are configured as by described One or more processors execute, and one or more of programs are configured to carry out any methods of claim 1-7.
10. a kind of computer readable storage medium for the program code that can perform with processor, which is characterized in that the calculating Machine read/write memory medium include storage program, wherein when described program run perform claim require 1-7 it is any described in Method.
CN201810339601.3A 2018-04-16 2018-04-16 Driving state detection method and device and mobile terminal Active CN108639056B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810339601.3A CN108639056B (en) 2018-04-16 2018-04-16 Driving state detection method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810339601.3A CN108639056B (en) 2018-04-16 2018-04-16 Driving state detection method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN108639056A true CN108639056A (en) 2018-10-12
CN108639056B CN108639056B (en) 2020-04-21

Family

ID=63746588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810339601.3A Active CN108639056B (en) 2018-04-16 2018-04-16 Driving state detection method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN108639056B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361821A (en) * 2018-11-30 2019-02-19 维沃移动通信有限公司 A kind of method and mobile terminal controlling alarm clock
CN109523749A (en) * 2018-11-07 2019-03-26 长沙创恒机械设备有限公司 A kind of method of anti-fatigue-driving, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752458A (en) * 2012-07-19 2012-10-24 北京理工大学 Driver fatigue detection mobile phone and unit
CN104013414A (en) * 2014-04-30 2014-09-03 南京车锐信息科技有限公司 Driver fatigue detecting system based on smart mobile phone
CN105160913A (en) * 2015-08-17 2015-12-16 上海斐讯数据通信技术有限公司 Method and apparatus for standardizing driving behaviors of drivers
CN205177093U (en) * 2015-10-20 2016-04-20 华东交通大学 Safe driving system based on android smart mobile phone
CN106355837A (en) * 2016-09-09 2017-01-25 常州大学 Fatigue driving monitoring method on basis of mobile phone
CN106541915A (en) * 2016-11-28 2017-03-29 墨宝股份有限公司 A kind of electric automobile safety pre-warning system and its method for early warning
US20170327124A1 (en) * 2016-05-10 2017-11-16 Samsung Electronics Co., Ltd. Electronic device and method for determining a state of a driver

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752458A (en) * 2012-07-19 2012-10-24 北京理工大学 Driver fatigue detection mobile phone and unit
CN104013414A (en) * 2014-04-30 2014-09-03 南京车锐信息科技有限公司 Driver fatigue detecting system based on smart mobile phone
CN105160913A (en) * 2015-08-17 2015-12-16 上海斐讯数据通信技术有限公司 Method and apparatus for standardizing driving behaviors of drivers
CN205177093U (en) * 2015-10-20 2016-04-20 华东交通大学 Safe driving system based on android smart mobile phone
US20170327124A1 (en) * 2016-05-10 2017-11-16 Samsung Electronics Co., Ltd. Electronic device and method for determining a state of a driver
CN106355837A (en) * 2016-09-09 2017-01-25 常州大学 Fatigue driving monitoring method on basis of mobile phone
CN106541915A (en) * 2016-11-28 2017-03-29 墨宝股份有限公司 A kind of electric automobile safety pre-warning system and its method for early warning

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109523749A (en) * 2018-11-07 2019-03-26 长沙创恒机械设备有限公司 A kind of method of anti-fatigue-driving, equipment and storage medium
CN109361821A (en) * 2018-11-30 2019-02-19 维沃移动通信有限公司 A kind of method and mobile terminal controlling alarm clock

Also Published As

Publication number Publication date
CN108639056B (en) 2020-04-21

Similar Documents

Publication Publication Date Title
KR101575051B1 (en) Wearable device and method for controlling the same
US8914014B2 (en) Phone that prevents concurrent texting and driving
KR101502012B1 (en) Telematics terminal and method for notifying emrergency condition using the same
CN108243282A (en) Message display method, device, mobile terminal and storage medium
CN109003425A (en) A kind of method for early warning and relevant device
CN108632460A (en) Right management method, device, mobile terminal and storage medium
CN108712561A (en) Right management method, device, mobile terminal and storage medium
CN109918930A (en) A kind of information protecting method and terminal device
CN108228025A (en) message display method, device, mobile terminal and storage medium
CN108762859A (en) Wallpaper displaying method, device, mobile terminal and storage medium
CN108777731A (en) Key configurations method, apparatus, mobile terminal and storage medium
WO2020003749A1 (en) Cabin monitoring method and cabin monitoring device
CN108494786A (en) A kind of emergency vehicle based reminding method, server and mobile terminal
CN108763892A (en) Right management method, device, mobile terminal and storage medium
CN107908939A (en) Terminal alarms method, apparatus and mobile terminal
CN108710795A (en) Information cuing method, device, mobile terminal and storage medium
CN108737640A (en) False-touch prevention method, apparatus, mobile terminal and storage medium
CN110221882A (en) Display methods, device, mobile terminal and storage medium
CN108639056A (en) Driving condition detection method, device and mobile terminal
CN108563972A (en) Graphic code recognition methods, device, mobile terminal and storage medium
CN110351418A (en) Screen control method, device, mobile terminal and computer-readable medium
CN109005102A (en) Information processing method, device and electronic device
CN108647070A (en) Information prompting method, device, mobile terminal and computer-readable medium
CN110119231A (en) Message display method, device, mobile terminal and storage medium
KR102240772B1 (en) Watch type smart wearable device and monitoring system including the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant