CN108639056A - Driving state detection method and device and mobile terminal - Google Patents
Driving state detection method and device and mobile terminal Download PDFInfo
- 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
- driving state
- driving
- facial feature
- 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
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 43
- 230000001815 facial effect Effects 0.000 claims abstract description 52
- 238000000034 method Methods 0.000 claims abstract description 50
- 230000008569 process Effects 0.000 claims abstract description 23
- 230000015654 memory Effects 0.000 claims description 25
- 230000008859 change Effects 0.000 claims description 13
- 230000004397 blinking Effects 0.000 claims description 6
- 230000006870 function Effects 0.000 description 11
- 238000005516 engineering process Methods 0.000 description 10
- 230000002093 peripheral effect Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 7
- 206010039203 Road traffic accident Diseases 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 3
- 230000005484 gravity Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 229910000838 Al alloy Inorganic materials 0.000 description 1
- 229910000851 Alloy steel Inorganic materials 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000034994 death Effects 0.000 description 1
- 231100000517 death Toxicity 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 210000005069 ears Anatomy 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 229910052751 metal Inorganic materials 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000035790 physiological processes and functions Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000010959 steel Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT 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/00—Estimation 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/08—Estimation 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
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/02—Alarms for ensuring the safety of persons
- G08B21/06—Alarms for ensuring the safety of persons indicating a condition of sleep, e.g. anti-dozing alarms
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT 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/00—Estimation 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/08—Estimation 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/0818—Inactivity 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)
- Telephone Function (AREA)
- Traffic Control Systems (AREA)
Abstract
Description
技术领域technical field
本申请涉及移动终端技术领域,更具体地,涉及一种驾驶状态检测方法、装置以及移动终端。The present application relates to the technical field of mobile terminals, and more specifically, to a driving state detection method, device and mobile terminal.
背景技术Background technique
随着汽车的普及,汽车做为一种方便快捷的交通工具,被广大群众所采用。随之而来的是,驾驶员疲劳驾驶的事件也越来越多。为了提升驾驶安全性,通常可以配置一些对驾驶状态检测的设备,但是,该设备所采用的检测方法无法为驾驶员安全驾驶车辆提供有力的保障。Along with the popularization of automobile, automobile is adopted by broad masses as a kind of convenient and fast means of transportation. Subsequently, there are more and more incidents of driver fatigue driving. In order to improve driving safety, it is usually possible to configure some devices for detecting the driving state. However, the detection method adopted by the device cannot provide a strong guarantee for the driver to drive the vehicle safely.
发明内容Contents of the invention
鉴于上述问题,本申请提出了一种驾驶状态检测方法、装置以及移动终端,以实现提升驾驶过程的安全性。In view of the above problems, the present application proposes a driving state detection method, device and mobile terminal, so as to improve the safety of the driving process.
第一方面,本申请提供了一种驾驶状态检测方法,应用于移动终端,所述方法包括:所述移动终端检测到车辆处于行驶状态时,获取驾驶员的面部特征参数;基于所述面部特征参数检测所述驾驶员是否处于第一驾驶状态;若检测到所述驾驶员处于第一驾驶状态,发出告警信息;所述告警信息在所述移动终端检测到车辆行驶状态满足取消条件时取消。In a first aspect, the present application provides a method for detecting a driving state, which is applied to a mobile terminal, the method comprising: when the mobile terminal detects that the vehicle is in a driving state, acquiring the facial feature parameters of the driver; based on the facial features The parameter detects whether the driver is in the first driving state; if it is detected that the driver is in the first driving state, a warning message is sent; the warning message is canceled when the mobile terminal detects that the vehicle driving state satisfies the cancellation condition.
第二方面,本申请提供了一种驾驶状态检测装置,运行于移动终端,所述装置包括:面部特征获取单元,用于检测到车辆处于行驶状态时,获取驾驶员的面部特征参数;疲劳状态检测单元,用于基于所述面部特征参数检测所述驾驶员是否处于第一驾驶状态;告警发出单元,用于若疲劳状态检测单元检测到所述驾驶员处于第一驾驶状态,发出告警信息;告警取消单元,用于所述告警信息在检测到车辆行驶状态满足取消条件时取消所述告警信息。In a second aspect, the present application provides a driving state detection device running on a mobile terminal. The device includes: a facial feature acquisition unit, which is used to acquire the driver's facial feature parameters when the vehicle is in a driving state; fatigue state A detection unit, configured to detect whether the driver is in the first driving state based on the facial feature parameters; an alarm issuing unit, configured to issue an alarm message if the fatigue state detection unit detects that the driver is in the first driving state; The warning canceling unit is used for canceling the warning information when it is detected that the driving state of the vehicle satisfies the cancellation condition.
第三方面,本申请提供了一种移动终端,包括一个或多个处理器以及存储器;一个或多个程序,其中所述一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行上述的方法。In a third aspect, the present application provides a mobile terminal, including one or more processors and memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the The one or more processors are executed, and the one or more programs are configured to execute the above method.
第四方面,本申请提供的一种计算机可读取存储介质,所述计算机可读取存储介质包括存储的程序,其中,在所述程序运行时执行上述的方法。In a fourth aspect, the present application provides a computer-readable storage medium, the computer-readable storage medium includes a stored program, wherein the above method is executed when the program is running.
本申请提供的一种驾驶状态检测方法、装置以及移动终端,在检测到车辆处于行驶状态时,获取驾驶员的面部特征参数,再基于所述面部特征参数检测所述驾驶员是否处于第一驾驶状态,若检测到所述驾驶员处于第一驾驶状态,发出告警信息,且所述告警信息为在所述移动终端检测到车辆停止时取消,从而使得在检测到驾驶员疲劳驾驶时,可以通过在满足取消条件下才能取消告警信息,有效的对驾驶员进行提示,以保障驾驶员的安全,提升了驾驶过程的安全性。A driving state detection method, device, and mobile terminal provided by the present application obtain the facial feature parameters of the driver when the vehicle is detected to be in the driving state, and then detect whether the driver is in the first driving mode based on the facial feature parameters. state, if it is detected that the driver is in the first driving state, a warning message will be issued, and the warning message will be canceled when the mobile terminal detects that the vehicle stops, so that when the driver is detected to be driving fatigued, it can pass The warning information can only be canceled when the cancellation condition is met, and the driver can be effectively prompted to ensure the safety of the driver and improve the safety of the driving process.
本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These or other aspects of the present application will be more concise and understandable in the description of the following embodiments.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1示出了本申请提出的一种驾驶状态检测方法的的网络环境图;Fig. 1 shows a network environment diagram of a driving state detection method proposed by the present application;
图2示出了本申请提出的另一种驾驶状态检测方法的流程图;Fig. 2 shows the flow chart of another kind of driving state detection method that the present application proposes;
图3示出了本申请提出的一种驾驶状态检测方法中一种提示框的示意图;Fig. 3 shows a schematic diagram of a prompt box in a driving state detection method proposed by the present application;
图4示出了本申请提出的一种驾驶状态检测方法中另一种提示框的示意图;FIG. 4 shows a schematic diagram of another prompt box in a driving state detection method proposed by the present application;
图5示出了本申请提出的一种屏幕控制装置的结构框图;Fig. 5 shows a structural block diagram of a screen control device proposed by the present application;
图6示出了本申请提出的另一种屏幕控制装置的结构框图;FIG. 6 shows a structural block diagram of another screen control device proposed by the present application;
图7示出了本申请提出的一种移动终端的结构框图;FIG. 7 shows a structural block diagram of a mobile terminal proposed by the present application;
图8示出了本申请的用于执行根据本申请实施例的驾驶状态检测方法的移动终端的结构框图。Fig. 8 shows a structural block diagram of a mobile terminal of the present application for executing the driving state detection method according to the embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
在发生的交通事故中,疲劳驾驶是造成交通事故的主要因素之一。根据报告显示,每年交通事故中死亡人数进万人。根据交通事故统计,超过30%的公路交通事故和15%~20%的铁路交通事故与疲劳驾驶有关,疲劳驾驶严重威胁着人们的生命和财产安全,检测驾驶员是否是疲劳驾驶,并进行及时预警,将有效地减少因疲劳驾驶而造成的道路交通事故,因此,研究疲劳驾驶检测技术,对改善道路交通安全具有重大意义。Fatigue driving is one of the main factors causing traffic accidents. According to the report, the number of deaths in traffic accidents reaches 10,000 every year. According to traffic accident statistics, more than 30% of highway traffic accidents and 15% to 20% of railway traffic accidents are related to fatigue driving. Fatigue driving seriously threatens people's lives and property safety. Early warning will effectively reduce road traffic accidents caused by fatigue driving. Therefore, research on fatigue driving detection technology is of great significance to improve road traffic safety.
而随着科技的发展,人们更加重视通过电子设备监测驾驶员的一些生理状态或者其他的一些姿态参数来提升驾驶过程的安全性。但是,发明人发现该设备所采用的检测方法无法为驾驶员安全驾驶车辆提供有力的保障。因此,发明人提出了本申请中提升驾驶过程的安全性的驾驶状态检测方法、装置以及移动终端。With the development of science and technology, people pay more attention to improving the safety of the driving process by monitoring some physiological states of the driver or other attitude parameters through electronic equipment. However, the inventor found that the detection method adopted by the device cannot provide a strong guarantee for the driver to drive the vehicle safely. Therefore, the inventor proposes a driving state detection method, device and mobile terminal for improving the safety of the driving process in the present application.
下面将结合附图具体描述本申请的各实施例。Various embodiments of the present application will be described in detail below with reference to the accompanying drawings.
请参阅图1,本申请提供的一种驾驶状态检测方法,应用于移动终端,所述方法包括:Please refer to FIG. 1, a driving state detection method provided by the present application is applied to a mobile terminal, and the method includes:
步骤S110:所述移动终端检测到车辆处于行驶状态时,获取驾驶员的面部特征参数。Step S110: when the mobile terminal detects that the vehicle is in a driving state, acquire the driver's facial feature parameters.
其中,移动终端可以通过多种方式来判定所在车辆是否处于行驶状态。作为一种方式,当移动终端检测其所安装的导航应用程序开启导航模式或者开始导航时,判定车辆处于行驶状态。其中,移动终端如果在导航开始时刻开始就实时都采集驾驶员的面部特征参数,会消耗更多的电量。并且,在驾驶的开始时刻,驾驶员不易出现驾驶疲劳,驾驶疲劳现象更容易出现在当车辆在较长时间段处于直线行驶过程中,则作为一种方式,移动终端在检测到其所安装的导航应用程序开启导航模式或者开始导航的情况下,进一步检测到在在导航路径上在当前位置以后的路径中有超过预设长度的直行路段时,开始获取驾驶员的面部特征参数。其中,直行路段为在包括的路径中不需要进行变道或者转直角弯的路段。Wherein, the mobile terminal can determine whether the vehicle where it is located is in a driving state through various methods. As one manner, when the mobile terminal detects that the navigation application program installed on it turns on the navigation mode or starts navigation, it is determined that the vehicle is in a driving state. Among them, if the mobile terminal collects the facial feature parameters of the driver in real time at the beginning of navigation, more power will be consumed. Moreover, at the beginning of driving, the driver is not prone to driving fatigue, and driving fatigue is more likely to occur when the vehicle is running straight for a long period of time. As a way, the mobile terminal detects that the installed When the navigation application program turns on the navigation mode or starts navigation, and further detects that there is a straight section exceeding a preset length in the path after the current position on the navigation path, it starts to acquire the facial feature parameters of the driver. Wherein, the straight road section is a road section that does not need to change lanes or turn a right-angle turn in the included path.
作为另外一种方式,移动终端可以在检测到移动终端处于预设频率的抖动时,判定其所在的车辆处于行驶状态。可以理解的是,当车辆处于行驶状态时,会处于相对抖动的状态,且抖动频率会在一定范围内波动,则移动终端检测到自身处于该一定范围内的抖动时,则可以判定所在的车辆已经处于形式状态。As another manner, the mobile terminal may determine that the vehicle where it is located is in a driving state when detecting that the mobile terminal is shaking at a preset frequency. It can be understood that when the vehicle is in a driving state, it will be in a state of relative shaking, and the shaking frequency will fluctuate within a certain range, then when the mobile terminal detects that it is shaking within a certain range, it can determine the vehicle it is in. Already in a formal state.
当在检测到车辆处于行驶状态时,移动终端则开始获取驾驶员的面部特征参数。其中,该面部特征参数包括但不限于驾驶员的眨眼频率、嘴型变化以及头部下垂状态等。When it is detected that the vehicle is in a driving state, the mobile terminal starts to acquire the facial feature parameters of the driver. Wherein, the facial feature parameters include but are not limited to the driver's blink frequency, mouth shape changes, and head drooping state.
为了便于移动终端可以准确的识别驾驶员的面部特征参数,而不会误将所采集的图像中其他人脸的面部特征参数当作驾驶员的面部特征参数,作为一种方式,可以在固定移动终端时,将移动终端的图像采集组件朝向驾驶员所在的位置。再者,也可以在预先在移动终端中录入多个人脸图像,并且给每个人脸图像设定一个标识。则在这种情况下,作为一种方式,用户可以在驾驶之前通过人脸图像标识从存储的人脸图像中来选取本次驾驶员的人脸图像,从而使得移动终端在获取的图像中有多个人脸时,可以从多个人脸中识别出本次车辆行驶过程中的驾驶员的面部特征参数。在这种情况下,移动终端可以强制驾驶员在驾驶之前通过人脸图像对应的标识而先选定本次驾驶的驾驶员的人脸图像,以便移动终端识别。其中,强制的方式可以为持续发出蜂鸣音,或者持续发出语音提示等。In order to facilitate the mobile terminal to accurately identify the facial feature parameters of the driver, without mistakenly taking the facial feature parameters of other faces in the collected images as the driver's facial feature parameters, as a way, it can be used in fixed mobile When terminal, point the image acquisition component of the mobile terminal towards the driver's location. Furthermore, it is also possible to pre-register a plurality of face images in the mobile terminal, and set an identification for each face image. Then in this case, as a way, the user can select the driver’s face image from the stored face images through the face image identification before driving, so that the mobile terminal has a When there are multiple faces, the facial feature parameters of the driver during the current vehicle driving can be identified from the multiple faces. In this case, the mobile terminal can force the driver to select the face image of the driver who is driving this time through the identification corresponding to the face image before driving, so that the mobile terminal can identify it. Wherein, the mandatory manner may be continuously emitting beeps, or continuously emitting voice prompts, and the like.
此外,作为另一种方式,移动终端可以在获取的图像中有多个人脸的情况下,再次获取具有深度信息的存在多个人脸的图像,以便通过深度信息来将最靠前的人脸,也就是最靠近移动终端的人脸识别为驾驶员的人脸,从而保证可以准确的获取到驾驶员的面部特征参数。在检测深度信息的这种情况下,还可以进一步的结合人脸图像所占所采集的整个图像的面积来确定驾驶员的人脸图像。通常,移动终端是对着驾驶员放置,那么在移动终端所采集的图像中,存在多个人脸的情况下,驾驶员的人脸图像所占的面积较其他的人脸图像所占的面积更大。那么作为一种方式,移动终端可以在判定所采集的图像中有多个人脸图像的情况下,将进一步判断通过深度信息识别出来的最靠前的人脸图像的所占面积比其他人脸图像所占面积大时,将该人脸图像作为驾驶员的人脸图像,以便采集驾驶员的面部特征参数。In addition, as another way, when there are multiple faces in the acquired image, the mobile terminal can re-acquire an image with multiple faces with depth information, so that the frontmost face can be identified by the depth information. That is, the face closest to the mobile terminal is recognized as the face of the driver, so as to ensure that the facial feature parameters of the driver can be accurately obtained. In the case of detecting the depth information, the face image of the driver may be further determined in combination with the area occupied by the face image in the entire collected image. Usually, the mobile terminal is placed facing the driver, so in the image collected by the mobile terminal, if there are multiple faces, the area occupied by the driver's face image is larger than the area occupied by other face images. big. Then as a way, the mobile terminal can further determine that the occupied area of the frontmost face image identified through the depth information is larger than that of other face images when it is determined that there are multiple face images in the collected image. When the occupied area is large, the face image is used as the face image of the driver, so as to collect the facial feature parameters of the driver.
步骤S120:基于所述面部特征参数检测所述驾驶员是否处于第一驾驶状态。Step S120: Detecting whether the driver is in the first driving state based on the facial feature parameters.
在获取的面部特征参数包括眨眼频率、嘴型变化以及头部下垂状态等数据的情况下。检测所述驾驶员是否处于第一驾驶状态的过程中至少会进行以下检测中的一个:检测所述驾驶员的眨眼频率是否满足预设频率;检测所述驾驶员的嘴型变化过程是否满足预设变化过程;检测所述驾驶员的头部下垂状态是否满足预设下垂状态。In the case where the acquired facial feature parameters include data such as blinking frequency, mouth shape changes, and head drooping state. In the process of detecting whether the driver is in the first driving state, at least one of the following detections will be carried out: detecting whether the blinking frequency of the driver meets the preset frequency; detecting whether the driver's mouth shape change process meets the preset frequency; A change process is set; it is detected whether the drooping state of the driver's head satisfies the preset drooping state.
需要说明的是,对于如何检测用户在眨眼、嘴型变化以及头部下垂状态等可以采用现有的技术。It should be noted that for how to detect the user's blinking, mouth shape changes, and head drooping state, etc., existing technologies can be used.
步骤S130:若检测到所述驾驶员处于第一驾驶状态,发出告警信息。Step S130: if it is detected that the driver is in the first driving state, send out a warning message.
在基于步骤S120中所示的检测步骤的情况下,在检测到所述驾驶员的眨眼频率满足预设频率;所述驾驶员的嘴型变化过程满足预设变化过程;以及所述驾驶员的头部下垂状态满足预设下垂状态中至少有一项满足时,则判定驾驶员处于第一驾驶状态,即判定驾驶员处于疲劳驾驶。In the case based on the detection step shown in step S120, when it is detected that the blink frequency of the driver meets the preset frequency; the change process of the driver's mouth shape meets the preset change process; and the driver's When the head drooping state satisfies at least one of the preset drooping states, it is determined that the driver is in the first driving state, that is, it is determined that the driver is in fatigue driving.
步骤S140:所述告警信息在所述移动终端检测到车辆行驶状态满足取消条件时取消。Step S140: the warning message is canceled when the mobile terminal detects that the driving state of the vehicle satisfies the cancellation condition.
其中,对于移动终端发出的告警信息,为了保证告警信息能够确定可靠的对驾驶员发出告警。只有在所述移动终端检测到车辆行驶状态满足取消条件时,告警信息才可以取消。Wherein, for the warning information sent by the mobile terminal, in order to ensure that the warning information can be confirmed and reliable, a warning is sent to the driver. Only when the mobile terminal detects that the driving state of the vehicle satisfies the cancellation condition, the warning information can be canceled.
本申请提供的一种驾驶状态检测方法,在检测到车辆处于行驶状态时,获取驾驶员的面部特征参数,再基于所述面部特征参数检测所述驾驶员是否处于第一驾驶状态,若检测到所述驾驶员处于第一驾驶状态,发出告警信息,且所述告警信息为在所述移动终端检测到车辆停止时取消,从而使得在检测到驾驶员疲劳驾驶时,可以通过在满足取消条件下才能取消告警信息,有效的对驾驶员进行提示,以保障驾驶员的安全,提升了驾驶过程的安全性。A driving state detection method provided by the present application is to obtain the facial feature parameters of the driver when the vehicle is detected to be in the driving state, and then detect whether the driver is in the first driving state based on the facial feature parameters. The driver is in the first driving state, and the warning information is issued, and the warning information is canceled when the mobile terminal detects that the vehicle is stopped, so that when the driver is detected to be driving fatigued, the warning information can be passed under the conditions of cancellation In order to cancel the warning information, the driver can be effectively prompted to ensure the safety of the driver and improve the safety of the driving process.
请参阅图2,本申请提供的一种驾驶状态检测方法,应用于移动终端,所述方法包括:Please refer to Figure 2, a driving state detection method provided by the present application is applied to a mobile terminal, and the method includes:
步骤S210:所述移动终端检测到车辆处于行驶状态时,获取驾驶员的面部特征参数。Step S210: when the mobile terminal detects that the vehicle is in a driving state, acquire the facial feature parameters of the driver.
步骤S220:基于所述面部特征参数检测所述驾驶员是否处于第一驾驶状态。Step S220: Detecting whether the driver is in the first driving state based on the facial feature parameters.
步骤S230:若检测到所述驾驶员处于第一驾驶状态,在所述移动终端的显示屏中显示提示框,在所述提示框中显示告警信息;其中,所述提示框为在所述移动终端检测到车辆行驶状态满足取消条件时取消。Step S230: If it is detected that the driver is in the first driving state, a prompt box is displayed on the display screen of the mobile terminal, and a warning message is displayed in the prompt box; When the terminal detects that the driving status of the vehicle meets the cancellation conditions, it will be canceled.
其中,驾驶员如果处于疲劳驾驶状态,依然继续驾驶则容易导致事故发生。为了保证告警消息能够确实可靠的起到告警效果,而不会被驾驶员或者其他人员在车辆依然在行驶过程中关闭,在本实例中,移动终端可以显示一提示框,且该提示框会处于移动终端显示屏的最顶层,即会对之前显示内容进行覆盖,并且在所述提示框中显示告警信息。而且对于提示框只有在移动终端检测到车辆行驶状态满足取消条件时取消。Among them, if the driver is in a fatigue driving state and still continues to drive, it will easily lead to accidents. In order to ensure that the warning message can really and reliably play a warning effect, and will not be closed by the driver or other personnel while the vehicle is still running, in this example, the mobile terminal can display a prompt box, and the prompt box will be in the The topmost layer of the display screen of the mobile terminal will cover the previously displayed content, and display the warning information in the prompt box. Moreover, the prompt box can only be canceled when the mobile terminal detects that the driving state of the vehicle satisfies the cancellation condition.
如图3所示,移动终端可以显示一提示框231,并且在提示框231中显示告警信息。而对于该提示框231,则不显示可以关闭该提示框的控件。为了保证告警效果,移动终端在检测到车辆行驶状态满足取消条件时,取消显示提示框。其中,移动终端在检测到车辆行驶状态满足取消条件时,可以自动关闭提示框,也可以如图4所示,在提示框的角落显示预先设置好的关闭控件232,以便用户可以自己手动关闭提示框231。为了提升警示效果,作为一种方式,可以将提示框的背景设定为红色、橙色等较亮的颜色。As shown in FIG. 3 , the mobile terminal may display a prompt box 231 and display warning information in the prompt box 231 . As for the prompt box 231 , no control for closing the prompt box is displayed. In order to ensure the warning effect, when the mobile terminal detects that the driving state of the vehicle satisfies the cancellation condition, it cancels the display of the prompt box. Wherein, when the mobile terminal detects that the driving state of the vehicle satisfies the cancellation condition, it can automatically close the prompt box, or as shown in FIG. Box 231. In order to improve the warning effect, as a way, the background of the prompt box can be set to a brighter color such as red or orange.
步骤S240:所述告警信息在所述移动终端检测到车辆行驶状态满足取消条件时取消。Step S240: the warning information is canceled when the mobile terminal detects that the driving state of the vehicle satisfies the cancellation condition.
作为一种方式,所述取消条件包括:检测到驾驶员离开驾驶位和/或检测到移动终端处于静止状态。其中,对于驾驶员是否离开驾驶位可以通过图像识别的方式或者采集距离值的方式来进行检测。具体的,所述移动终端检测到前置摄像头所采集的画面中没有人脸图像时,判定驾驶员离开驾驶位。与前述内容中描述的移动终端所采集的图像中包括多个人脸图像类似,此时依然可以通过前述的方式来判定驾驶员的人脸图像,可以理解的是,这里是在驾驶过程中判定所采集的图像中有驾驶员的人脸图像,而当检测到所述采集的图像中没有之前所判定的驾驶员的人脸图像时,则判定驾驶员离开驾驶位。As a manner, the cancellation condition includes: detecting that the driver leaves the driving seat and/or detecting that the mobile terminal is in a stationary state. Among them, whether the driver leaves the driving seat can be detected by means of image recognition or by collecting distance values. Specifically, when the mobile terminal detects that there is no face image in the picture captured by the front camera, it determines that the driver has left the driving seat. Similar to the image collected by the mobile terminal described in the foregoing content that includes multiple face images, the driver's face image can still be determined in the aforementioned manner. The collected image contains the driver's face image, and when it is detected that the previously determined driver's face image does not exist in the collected image, it is determined that the driver has left the driving seat.
再者,当驾驶员坐在驾驶位和离开驾驶位时,移动终端中所述所设定的距离传感器所采集的距离值是不同的,当检测到驾驶员坐在驾驶位上的情况下,移动终端所采集的距离值更小,因为,在驾驶员坐在驾驶位上的情况下移动终端所发射的感测距离的波束会被更快的反射会移动终端,因此,在移动终端检测距离传感器采集的距离值大于预设值时,判定驾驶员离开驾驶位。Furthermore, when the driver sits in the driving position and leaves the driving position, the distance value collected by the set distance sensor in the mobile terminal is different, and when it is detected that the driver is sitting in the driving position, The distance value collected by the mobile terminal is smaller, because the beam of the sensing distance emitted by the mobile terminal will be reflected faster to the mobile terminal when the driver is sitting in the driving seat, therefore, the detection distance of the mobile terminal When the distance value collected by the sensor is greater than the preset value, it is determined that the driver has left the driving seat.
需要说明的是,当以提示框的方式显示告警消息时,取消提示框的取消条件以及取消告警消息的取消条件是相同的,而且在告警消息被取消的同时,提示框也会被取消显示。It should be noted that when the warning message is displayed in the form of a prompt box, the cancellation conditions for canceling the prompt box and the warning message are the same, and when the warning message is canceled, the prompt box will also be canceled.
需要说明的是,当移动终端为具备语音通信功能的终端时,移动终端在接收到来电时,通常会播放铃音以提醒用户接听,则来电铃音本身就具备提醒用户的效果,也即是如果用户处于疲劳驾驶状态,铃音可以对用户进行提醒,以便用户可以更清醒。则作为一种方式,如果在移动终端显示提示框的过程中,移动终端接收到来电呼叫,判定移动终端开启了来电铃声,则依然将来电界面显示在最顶层,也就是来电界面会覆盖提示框,从而使得提示框不会影响正常的来电接听。如果移动终端接收到来电呼叫,且判定移动终端未开启来定铃声,那么为了不影响正常的用户接听,且依然保持对用户的告警,则可以将移动终端的屏幕分割为两个部分,一个分部显示来电界面,而另一个部分显示提示框以及提示框中的告警信息。It should be noted that when the mobile terminal is a terminal with a voice communication function, when the mobile terminal receives an incoming call, it usually plays a ring tone to remind the user to answer it, and the ring tone itself has the effect of reminding the user, that is, If the user is in a state of fatigue driving, the ring tone can remind the user so that the user can be more awake. As a method, if the mobile terminal receives an incoming call while the mobile terminal is displaying the prompt box, and it is determined that the mobile terminal has turned on the ringtone for the incoming call, the incoming call interface will still be displayed on the top layer, that is, the incoming call interface will cover the prompt box , so that the prompt box will not affect the normal incoming call answering. If the mobile terminal receives an incoming call, and it is determined that the mobile terminal has not turned on the fixed ring tone, then in order not to affect the normal user's answering, and still maintain an alarm to the user, the screen of the mobile terminal can be divided into two parts, one part One part displays the incoming call interface, while the other part displays the prompt box and the warning information in the prompt box.
本申请提供的一种驾驶状态检测方法,在检测到车辆处于行驶状态时,获取驾驶员的面部特征参数,再基于所述面部特征参数检测所述驾驶员是否处于第一驾驶状态,若检测到所述驾驶员处于第一驾驶状态,发出告警信息,且所述告警信息为在所述移动终端检测到车辆停止时取消,从而使得在检测到驾驶员疲劳驾驶时,可以通过在满足取消条件下才能取消告警信息,有效的对驾驶员进行提示,以保障驾驶员的安全,提升了驾驶过程的安全性。A driving state detection method provided by the present application is to obtain the facial feature parameters of the driver when the vehicle is detected to be in the driving state, and then detect whether the driver is in the first driving state based on the facial feature parameters. The driver is in the first driving state, and the warning information is issued, and the warning information is canceled when the mobile terminal detects that the vehicle is stopped, so that when the driver is detected to be driving fatigued, the warning information can be passed under the conditions of cancellation In order to cancel the warning information, the driver can be effectively prompted to ensure the safety of the driver and improve the safety of the driving process.
请参阅图5,本申请提供的一种驾驶状态检测装置300,运行于移动终端,所述装置300包括:面部特征获取单元310、疲劳状态检测单元320、告警发出单元330以及告警取消单元340。Please refer to FIG. 5 , a driving state detection device 300 provided by the present application runs on a mobile terminal, and the device 300 includes: a facial feature acquisition unit 310 , a fatigue state detection unit 320 , an alarm issuing unit 330 and an alarm canceling unit 340 .
面部特征获取单元310,用于检测到车辆处于行驶状态时,获取驾驶员的面部特征参数。The facial feature acquisition unit 310 is configured to acquire the facial feature parameters of the driver when it is detected that the vehicle is in a driving state.
作为一种方式,面部特征获取单元310,用于检测到车辆处于行驶状态时,获取驾驶员的面部特征参数。As one manner, the facial feature acquiring unit 310 is configured to acquire the driver's facial feature parameters when detecting that the vehicle is in a driving state.
作为一种方式,面部特征获取单元310具体用于检测所述驾驶员的眨眼频率是否满足预设频率,检测所述驾驶员的嘴型变化过程是否满足预设变化过程,检测所述驾驶员的头部下垂状态是否满足预设下垂状态。As a method, the facial feature acquisition unit 310 is specifically used to detect whether the driver's blink frequency meets the preset frequency, detect whether the driver's mouth shape change process meets the preset change process, and detect the driver's Whether the head drooping state satisfies the preset drooping state.
相应的,若若检测到所述驾驶员处于第一驾驶状态时,所述面部特征参数满足一下条件中的至少一个:检测所述驾驶员的眨眼频率满足预设频率;检测所述驾驶员的嘴型变化过程满足预设变化过程;以及检测所述驾驶员的头部下垂状态满足预设下垂状态。Correspondingly, if it is detected that the driver is in the first driving state, the facial feature parameters meet at least one of the following conditions: detecting that the driver's blinking frequency meets a preset frequency; detecting that the driver's The change process of the mouth shape satisfies the preset change process; and it is detected that the drooping state of the driver's head satisfies the preset drooping state.
疲劳状态检测单元320,用于基于所述面部特征参数检测所述驾驶员是否处于第一驾驶状态。The fatigue state detection unit 320 is configured to detect whether the driver is in the first driving state based on the facial feature parameters.
告警发出单元330,用于若疲劳状态检测单元检测到所述驾驶员处于第一驾驶状态,发出告警信息。The warning sending unit 330 is configured to send a warning message if the fatigue state detection unit detects that the driver is in the first driving state.
告警取消单元340,用于所述告警信息在检测到车辆行驶状态满足取消条件时取消所述告警信息。The warning cancellation unit 340 is used for canceling the warning information when it is detected that the driving state of the vehicle satisfies the cancellation condition.
请参阅图6,本申请提供的一种驾驶状态检测装置400,运行于服务器,所述装置400包括:面部特征获取单元410、疲劳状态检测单元420、弹框显示单元430、告警信息显示单元440以及告警取消单元450。Please refer to FIG. 6 , a driving state detection device 400 provided by the present application runs on a server, and the device 400 includes: a facial feature acquisition unit 410 , a fatigue state detection unit 420 , a pop-up display unit 430 , and an alarm information display unit 440 and an alarm cancellation unit 450 .
面部特征获取单元410,用于检测到车辆处于行驶状态时,获取驾驶员的面部特征参数。The facial feature acquisition unit 410 is configured to acquire the facial feature parameters of the driver when it is detected that the vehicle is in a driving state.
疲劳状态检测单元420,用于基于所述面部特征参数检测所述驾驶员是否处于第一驾驶状态。The fatigue state detection unit 420 is configured to detect whether the driver is in the first driving state based on the facial feature parameters.
弹框显示单元430,用于若检测到所述驾驶员处于第一驾驶状态,在所述移动终端的显示屏中显示提示框。The bullet box display unit 430 is configured to display a prompt box on the display screen of the mobile terminal if it is detected that the driver is in the first driving state.
告警信息显示单元440,用于在所述提示框中显示告警信息。The warning information display unit 440 is configured to display warning information in the prompt box.
告警取消单元450,用于所述告警信息在检测到车辆行驶状态满足取消条件时取消所述告警信息。The warning canceling unit 450 is used for canceling the warning information when it is detected that the driving state of the vehicle satisfies the cancellation condition.
其中,作为一种方式,所述取消条件包括:检测到驾驶员离开驾驶位;或者检测到移动终端处于静止状态。作为一种方式,所述移动终端检测到前置摄像头所采集的画面中没有人脸图像时,判断驾驶员离开驾驶位;或者移动终端检测距离传感器采集的距离值大于预设值时,判断驾驶员离开驾驶位。Wherein, as a manner, the cancellation condition includes: detecting that the driver leaves the driving seat; or detecting that the mobile terminal is in a stationary state. As a method, when the mobile terminal detects that there is no face image in the picture collected by the front camera, it judges that the driver has left the driving seat; or when the mobile terminal detects that the distance value collected by the distance sensor is greater than the preset value, it judges that the driving the driver leaves the driver's seat.
综上所述,本申请提供的一种驾驶状态检测方法、装置以及移动终端,在检测到车辆处于行驶状态时,获取驾驶员的面部特征参数,再基于所述面部特征参数检测所述驾驶员是否处于第一驾驶状态,若检测到所述驾驶员处于第一驾驶状态,发出告警信息,且所述告警信息为在所述移动终端检测到车辆停止时取消,从而使得在检测到驾驶员疲劳驾驶时,可以通过在满足取消条件下才能取消告警信息,有效的对驾驶员进行提示,以保障驾驶员的安全,提升了驾驶过程的安全性。To sum up, the driving state detection method, device, and mobile terminal provided by the present application obtain the facial feature parameters of the driver when the vehicle is detected to be in the driving state, and then detect the driver’s facial feature parameters based on the facial feature parameters. Whether it is in the first driving state, if it is detected that the driver is in the first driving state, a warning message is issued, and the warning message is canceled when the mobile terminal detects that the vehicle stops, so that when the driver is detected to be fatigued When driving, the warning information can be canceled only when the cancellation condition is satisfied, and the driver can be effectively prompted to ensure the safety of the driver and improve the safety of the driving process.
下面将结合图7以及图8对本申请提供的一种移动终端进行说明。A mobile terminal provided by the present application will be described below with reference to FIG. 7 and FIG. 8 .
请参阅图7,基于上述的驾驶状态检测方法、装置,本申请实施例还提供一种可以执行前述驾驶状态检测方法的移动终端100。移动终端100包括电子本体部10,所述电子本体部10包括壳体12及设置在所述壳体12上的第一屏幕120。所述壳体12可采用金属、如钢材、铝合金制成。本实施例中,所述第一屏幕120以及第二屏幕121通常包括显示面板111,也可包括用于响应对所述显示面板111进行触控操作的电路等。所述显示面板111可以为一个液晶显示面板(Liquid Crystal Display,LCD),在一些实施例中,所述显示面板111同时为一个触摸屏109。Referring to FIG. 7 , based on the above-mentioned driving state detection method and device, the embodiment of the present application further provides a mobile terminal 100 capable of executing the aforementioned driving state detection method. The mobile terminal 100 includes an electronic body part 10 , and the electronic body part 10 includes a casing 12 and a first screen 120 disposed on the casing 12 . The housing 12 can be made of metal, such as steel or aluminum alloy. In this embodiment, the first screen 120 and the second screen 121 generally include a display panel 111 , and may also include circuits for responding to touch operations on the display panel 111 . The display panel 111 may be a liquid crystal display panel (Liquid Crystal Display, LCD), and in some embodiments, the display panel 111 is also a touch screen 109 .
如图8所示,在实际的应用场景中,所述移动终端100可作为智能手机终端进行使用,在这种情况下所述电子本体部10通常还包括一个或多个(图中仅示出一个)处理器102、存储器104、RF(Radio Frequency,射频)模块106、音频电路110、传感器114、输入模块118、电源模块122。本领域普通技术人员可以理解,本申请并不对所述电子本体部10的结构造成限定。例如,所述电子本体部10还可包括比图中所示更多或者更少的组件,或者具有与图中所示不同的配置。As shown in FIG. 8, in an actual application scenario, the mobile terminal 100 can be used as a smart phone terminal. In this case, the electronic main body 10 usually includes one or more (only shown in the figure a) A processor 102 , a memory 104 , an RF (Radio Frequency, radio frequency) module 106 , an audio circuit 110 , a sensor 114 , an input module 118 , and a power module 122 . Those skilled in the art can understand that the present application does not limit the structure of the electronic body part 10 . For example, the electronic body part 10 may also include more or fewer components than shown in the figure, or have a different configuration than that shown in the figure.
本领域普通技术人员可以理解,相对于所述处理器102来说,所有其他的组件均属于外设,所述处理器102与这些外设之间通过多个外设接口124相耦合。所述外设接口124可基于以下标准实现:通用异步接收/发送装置(Universal Asynchronous Receiver/Transmitter,UART)、通用输入/输出(General Purpose Input Output,GPIO)、串行外设接口(Serial Peripheral Interface,SPI)、内部集成电路(Inter-Integrated Circuit,I2C),但不并限于上述标准。在一些实例中,所述外设接口124可仅包括总线;在另一些实例中,所述外设接口124还可包括其他元件,如一个或者多个控制器,例如用于连接所述显示面板111的显示控制器或者用于连接存储器的存储控制器。此外,这些控制器还可以从所述外设接口124中脱离出来,而集成于所述处理器102内或者相应的外设内。Those skilled in the art can understand that, relative to the processor 102 , all other components belong to peripherals, and the processor 102 is coupled to these peripherals through a plurality of peripheral interfaces 124 . The peripheral interface 124 can be implemented based on the following standards: Universal Asynchronous Receiver/Transmitter (UART), General Purpose Input Output (GPIO), Serial Peripheral Interface (Serial Peripheral Interface) , SPI), inter-integrated circuit (Inter-Integrated Circuit, I2C), but not limited to the above standards. In some examples, the peripheral interface 124 may only include a bus; in other examples, the peripheral interface 124 may also include other components, such as one or more controllers, for example for connecting the display panel 111 display controller or memory controller for connecting memory. In addition, these controllers can also be separated from the peripheral interface 124 and integrated in the processor 102 or corresponding peripherals.
所述存储器104可用于存储软件程序以及模块,所述处理器102通过运行存储在所述存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理。所述存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,所述存储器104可进一步包括相对于所述处理器102远程设置的存储器,这些远程存储器可以通过网络连接至所述电子本体部10或所述第一屏幕120。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 104 can be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104 . The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory that is remotely located relative to the processor 102 , and these remote memories may be connected to the electronic main body 10 or the first screen 120 through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
所述RF模块106用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。所述RF模块106可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。所述RF模块106可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。上述的无线网络可以使用各种通信标准、协议及技术,包括但并不限于全球移动通信系统(Global System for Mobile Communication,GSM)、增强型移动通信技术(Enhanced Data GSM Environment,EDGE),宽带码分多址技术(wideband codedivision multiple access,W-CDMA),码分多址技术(Code division access,CDMA)、时分多址技术(time division multiple access,TDMA),无线保真技术(Wireless,Fidelity,WiFi)(如美国电气和电子工程师协会标准IEEE802.10A,IEEE 802.11b,IEEE802.11g和/或IEEE 802.11n)、网络电话(Voice over internet protocal,VoIP)、全球微波互联接入(Worldwide Interoperability for Microwave Access,Wi-Max)、其他用于邮件、即时通讯及短消息的协议,以及任何其他合适的通讯协议,甚至可包括那些当前仍未被开发出来的协议。The RF module 106 is used to receive and send electromagnetic waves, realize mutual conversion between electromagnetic waves and electrical signals, and communicate with communication networks or other devices. The RF module 106 may include various existing circuit elements for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, Subscriber Identity Module (SIM) cards, memory, etc. . The RF module 106 can communicate with various networks such as the Internet, intranet, wireless network or communicate with other devices through the wireless network. The wireless network mentioned above may include a cellular telephone network, a wireless local area network or a metropolitan area network. The above-mentioned wireless network can use various communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), wideband code Division multiple access technology (wideband code division multiple access, W-CDMA), code division multiple access technology (Code division access, CDMA), time division multiple access technology (time division multiple access, TDMA), wireless fidelity technology (Wireless, Fidelity, WiFi) (such as IEEE802.10A, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), VoIP (Voice over internet protocal, VoIP), Worldwide Interoperability for Microwave Access, Wi-Max), other protocols for mail, instant messaging, and short messages, and any other suitable communication protocols, even those that have not yet been developed.
音频电路110、扬声器101、声音插孔103、麦克风105共同提供用户与所述电子本体部10或所述第一屏幕120之间的音频接口。具体地,所述音频电路110从所述处理器102处接收声音数据,将声音数据转换为电信号,将电信号传输至所述扬声器101。所述扬声器101将电信号转换为人耳能听到的声波。所述音频电路110还从所述麦克风105处接收电信号,将电信号转换为声音数据,并将声音数据传输给所述处理器102以进行进一步的处理。音频数据可以从所述存储器104处或者通过所述RF模块106获取。此外,音频数据也可以存储至所述存储器104中或者通过所述RF模块106进行发送。The audio circuit 110 , the speaker 101 , the sound jack 103 , and the microphone 105 jointly provide an audio interface between the user and the electronic main body 10 or the first screen 120 . Specifically, the audio circuit 110 receives sound data from the processor 102 , converts the sound data into electrical signals, and transmits the electrical signals to the speaker 101 . The speaker 101 converts electrical signals into sound waves that can be heard by human ears. The audio circuit 110 also receives electrical signals from the microphone 105, converts the electrical signals into sound data, and transmits the sound data to the processor 102 for further processing. Audio data may be retrieved from the memory 104 or via the RF module 106 . In addition, audio data can also be stored in the memory 104 or sent through the RF module 106 .
所述传感器114设置在所述电子本体部10内或所述第一屏幕120内,所述传感器114的实例包括但并不限于:光传感器、运行传感器、压力传感器、红外热传感器、距离传感器、重力加速度传感器、以及其他传感器。The sensor 114 is arranged in the electronic main body 10 or in the first screen 120, examples of the sensor 114 include but are not limited to: light sensor, operation sensor, pressure sensor, infrared heat sensor, distance sensor, Gravity acceleration sensor, and other sensors.
具体地,所述光传感器可包括光线传感器114F、压力传感器114G。其中,压力传感器114G可以检测由按压在移动终端100产生的压力的传感器。即,压力传感器114G检测由用户和移动终端之间的接触或按压产生的压力,例如由用户的耳朵与移动终端之间的接触或按压产生的压力。因此,压力传感器114G可以用来确定在用户与移动终端100之间是否发生了接触或者按压,以及压力的大小。Specifically, the light sensor may include a light sensor 114F and a pressure sensor 114G. Among them, the pressure sensor 114G may be a sensor for detecting pressure generated by pressing on the mobile terminal 100 . That is, the pressure sensor 114G detects pressure generated by contact or press between the user and the mobile terminal, eg, pressure generated by contact or press between the user's ear and the mobile terminal. Therefore, the pressure sensor 114G can be used to determine whether contact or pressure occurs between the user and the mobile terminal 100, and the magnitude of the pressure.
请再次参阅图8,具体地在图8所示的实施例中,所述光线传感器114F及所述压力传感器114G邻近所述显示面板111设置。所述光线传感器114F可在有物体靠近所述第一屏幕120时,例如所述电子本体部10移动到耳边时,所述处理器102关闭显示输出。Please refer to FIG. 8 again. Specifically, in the embodiment shown in FIG. 8 , the light sensor 114F and the pressure sensor 114G are disposed adjacent to the display panel 111 . The light sensor 114F can turn off the display output of the processor 102 when an object approaches the first screen 120 , for example, when the electronic main body 10 moves to the ear.
作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别所述移动终端100姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。另外,所述电子本体部10还可配置陀螺仪、气压计、湿度计、温度计等其他传感器,在此不再赘述,As a kind of motion sensor, the acceleration of gravity sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of the posture of the mobile terminal 100 (such as horizontal and vertical Screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc. In addition, the electronic main body 10 can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, etc., which will not be repeated here.
本实施例中,所述输入模块118可包括设置在所述第一屏幕120上的所述触摸屏109,所述触摸屏109可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在所述触摸屏109上或在所述触摸屏109附近的操作),并根据预先设定的程序驱动相应的连接装置。可选的,所述触摸屏109可包括触摸检测装置和触摸控制器。其中,所述触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给所述触摸控制器;所述触摸控制器从所述触摸检测装置上接收触摸信息,并将该触摸信息转换成触点坐标,再送给所述处理器102,并能接收所述处理器102发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多分类型实现所述触摸屏109的触摸检测功能。除了所述触摸屏109,在其它变更实施方式中,所述输入模块118还可以包括其他输入设备,如按键。所述按键例如可包括用于输入字符的字符按键,以及用于触发控制功能的控制按键。所述控制按键的实例包括“返回主屏”按键、开机/关机按键等等。In this embodiment, the input module 118 may include the touch screen 109 arranged on the first screen 120, and the touch screen 109 may collect user's touch operations on or near it (for example, the user uses a finger, stylus operation of any suitable object or accessory on the touch screen 109 or near the touch screen 109), and drive the corresponding connection device according to the preset program. Optionally, the touch screen 109 may include a touch detection device and a touch controller. Wherein, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, and The touch information is converted into touch point coordinates, and then sent to the processor 102, and can receive and execute commands sent by the processor 102. In addition, the touch detection function of the touch screen 109 can be realized by adopting resistive, capacitive, infrared and surface acoustic wave and other classification types. In addition to the touch screen 109, in other modified implementation manners, the input module 118 may also include other input devices, such as keys. The keys may include, for example, character keys for inputting characters, and control keys for triggering control functions. Examples of the control buttons include a "return to main screen" button, a power on/off button, and the like.
所述第一屏幕120用于显示由用户输入的信息、提供给用户的信息以及所述电子本体部10的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、数字、视频和其任意组合来构成,在一个实例中,所述触摸屏109可设置于所述显示面板111上从而与所述显示面板111构成一个整体。The first screen 120 is used to display information input by the user, information provided to the user, and various graphical user interfaces of the electronic main body 10. These graphical user interfaces can be composed of graphics, text, icons, numbers, video and Any combination thereof may be used. In one example, the touch screen 109 may be disposed on the display panel 111 so as to form an integral body with the display panel 111 .
所述电源模块122用于向所述处理器102以及其他各组件提供电力供应。具体地,所述电源模块122可包括电源管理系统、一个或多个电源(如电池或者交流电)、充电电路、电源失效检测电路、逆变器、电源状态指示灯以及其他任意与所述电子本体部10或所述第一屏幕120内电力的生成、管理及分布相关的组件。The power module 122 is used to provide power supply to the processor 102 and other components. Specifically, the power module 122 may include a power management system, one or more power sources (such as batteries or alternating current), a charging circuit, a power failure detection circuit, an inverter, a power status indicator light, and any other components related to the electronic body. Components related to the generation, management and distribution of power in the section 10 or the first screen 120 .
所述移动终端100还包括定位器119,所述定位器119用于确定所述移动终端100所处的实际位置。本实施例中,所述定位器119采用定位服务来实现所述移动终端100的定位,所述定位服务,应当理解为通过特定的定位技术来获取所述移动终端100的位置信息(如经纬度坐标),在电子地图上标出被定位对象的位置的技术或服务。The mobile terminal 100 further includes a locator 119, and the locator 119 is used to determine the actual location of the mobile terminal 100. In this embodiment, the locator 119 uses a positioning service to realize the positioning of the mobile terminal 100. The positioning service should be understood as obtaining the position information (such as longitude and latitude coordinates) of the mobile terminal 100 through a specific positioning technology. ), a technology or service that marks the position of a positioned object on an electronic map.
应当理解的是,上述的移动终端100并不局限于智能手机终端,其应当指可以在移动中使用的计算机设备。具体而言,移动终端100,是指搭载了智能操作系统的移动计算机设备,移动终端100包括但不限于智能手机、智能手表、平板电脑,等等。It should be understood that the above-mentioned mobile terminal 100 is not limited to a smart phone terminal, but refers to a computer device that can be used on the move. Specifically, the mobile terminal 100 refers to a mobile computer device equipped with an intelligent operating system, and the mobile terminal 100 includes but is not limited to a smart phone, a smart watch, a tablet computer, and the like.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the described specific features, structures, materials or characteristics may be combined in any suitable manner in any one or more embodiments or examples. In addition, those skilled in the art can combine and combine different embodiments or examples and features of different embodiments or examples described in this specification without conflicting with each other.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of the present application, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments or portions of code comprising one or more executable instructions for implementing specific logical functions or steps of the process , and the scope of preferred embodiments of the present application includes additional implementations in which functions may be performed out of the order shown or discussed, including in substantially simultaneous fashion or in reverse order depending on the functions involved, which shall It should be understood by those skilled in the art to which the embodiments of the present application belong.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(移动终端),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium, For use with instruction execution systems, devices, or devices (such as computer-based systems, systems including processors, or other systems that can fetch instructions from instruction execution systems, devices, or devices and execute instructions), or in conjunction with these instruction execution systems, devices or equipment used. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use in or in conjunction with an instruction execution system, device or device. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connection with one or more wires (mobile terminal), portable computer disk case (magnetic device), random access memory (RAM), Read Only Memory (ROM), Erasable and Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, since the program can be read, for example, by optically scanning the paper or other medium, followed by editing, interpretation or other suitable processing if necessary. processing to obtain the program electronically and store it in computer memory.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that each part of the present application may be realized by hardware, software, firmware or a combination thereof. In the embodiments described above, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques known in the art: Discrete logic circuits, ASICs with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. During execution, one or a combination of the steps of the method embodiments is included. In addition, each functional unit in each embodiment of the present application may be integrated into one processing module, each unit may exist separately physically, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limitations on the present application, and those skilled in the art can make the above-mentioned The embodiments are subject to changes, modifications, substitutions and variations.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not drive the essence of the corresponding technical solutions away from the spirit and scope of the technical solutions of the various embodiments of the present application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810339601.3A CN108639056B (en) | 2018-04-16 | 2018-04-16 | Driving state detection method, 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, 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 Expired - Fee Related CN108639056B (en) | 2018-04-16 | 2018-04-16 | Driving state detection method, device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108639056B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109361821A (en) * | 2018-11-30 | 2019-02-19 | 维沃移动通信有限公司 | A method for controlling an alarm clock and a mobile terminal |
CN109523749A (en) * | 2018-11-07 | 2019-03-26 | 长沙创恒机械设备有限公司 | A kind of method of anti-fatigue-driving, equipment and storage medium |
CN116394952A (en) * | 2023-03-06 | 2023-07-07 | 机汇网(深圳)科技有限公司 | Driver abnormal driving behavior detection method, computer device, and storage medium |
Citations (7)
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 |
-
2018
- 2018-04-16 CN CN201810339601.3A patent/CN108639056B/en not_active Expired - Fee Related
Patent Citations (7)
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 (3)
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 method for controlling an alarm clock and a mobile terminal |
CN116394952A (en) * | 2023-03-06 | 2023-07-07 | 机汇网(深圳)科技有限公司 | Driver abnormal driving behavior detection method, computer device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108639056B (en) | 2020-04-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8914014B2 (en) | Phone that prevents concurrent texting and driving | |
CN108712561A (en) | Rights management method, device, mobile terminal and storage medium | |
WO2016041340A1 (en) | An indication method and mobile terminal | |
CN108632460A (en) | Rights management method, device, mobile terminal and storage medium | |
CN108763892A (en) | Authority management method, device, mobile terminal and storage medium | |
CN105404394B (en) | Display control method of display interface and mobile terminal | |
CN108228025A (en) | message display method, device, mobile terminal and storage medium | |
CN111899545B (en) | Driving reminding method and device, storage medium and mobile terminal | |
CN109040419A (en) | Record screen method, apparatus, mobile terminal and storage medium | |
CN108717343A (en) | Application icon processing method and device and mobile terminal | |
CN108536380A (en) | Screen control method and device and mobile terminal | |
CN108710795A (en) | Information prompting method and device, mobile terminal and storage medium | |
WO2019165997A1 (en) | Display method, device, mobile terminal and storage medium | |
WO2019127554A1 (en) | Vehicle-networking-based prompting method and apparatus | |
CN106126058A (en) | Based reminding method and device | |
CN108777731A (en) | Key configurations method, apparatus, mobile terminal and storage medium | |
CN108646959A (en) | Screen control method, device and mobile terminal | |
CN108769299A (en) | Screen control method, device and mobile terminal | |
CN108639056A (en) | Driving state detection method and device and mobile terminal | |
CN107246881A (en) | A kind of navigation reminders method, device and terminal | |
CN107908939A (en) | Terminal alarms method, apparatus and mobile terminal | |
CN108717325A (en) | Operation gesture setting method, device and mobile terminal | |
CN105279897A (en) | Vehicle alarming method and device | |
CN110351418B (en) | Screen control method, device, mobile terminal and computer readable medium | |
EP3934217B1 (en) | Reminding task processing method, terminal, and computer readable storage medium |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200421 |