CN117842085A - Driving state detection and early warning method, driving state detection and early warning system, electronic equipment and storage medium - Google Patents
Driving state detection and early warning method, driving state detection and early warning system, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN117842085A CN117842085A CN202311782765.0A CN202311782765A CN117842085A CN 117842085 A CN117842085 A CN 117842085A CN 202311782765 A CN202311782765 A CN 202311782765A CN 117842085 A CN117842085 A CN 117842085A
- Authority
- CN
- China
- Prior art keywords
- state
- driver
- detection data
- driving
- data
- 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.)
- Pending
Links
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
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
- B60W50/08—Interaction between the driver and the control system
- B60W50/14—Means for informing the driver, warning the driver or prompting a driver intervention
-
- 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/02—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 ambient conditions
-
- 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
-
- 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/10—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 vehicle motion
-
- 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
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
- B60W50/08—Interaction between the driver and the control system
- B60W50/14—Means for informing the driver, warning the driver or prompting a driver intervention
- B60W2050/143—Alarm means
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Transportation (AREA)
- Mechanical Engineering (AREA)
- Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Human Computer Interaction (AREA)
- Traffic Control Systems (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
Description
技术领域Technical Field
本申请涉及驾驶安全技术领域,尤其涉及一种驾驶状态检测与预警方法、系统、电子设备及存储介质。The present application relates to the field of driving safety technology, and in particular to a driving status detection and early warning method, system, electronic device and storage medium.
背景技术Background technique
随着汽车行业的发展,汽车成为人们出行的便捷工具,但交通事故的发生率也在不断增加,人们对驾驶安全越来越重视。为了保障驾驶安全,相关技术通过车内摄像头检测驾驶员的疲劳状态,从而判断车辆的驾驶安全,当驾驶员出现疲劳驾驶时,及时进行预警。但是,交通事故的发生原因众多,不仅仅是疲劳驾驶,还可能是车辆故障等。因而仅仅是针对驾驶员的疲劳状态进行检测不够全面,不能准确判断事故发生的原因,且无法精准判断驾驶状态,无法根据驾驶状态进行风险预警。With the development of the automobile industry, cars have become a convenient means of travel for people, but the incidence of traffic accidents is also increasing, and people are paying more and more attention to driving safety. In order to ensure driving safety, relevant technologies detect the driver's fatigue state through the camera in the car, so as to judge the driving safety of the vehicle, and issue a warning in time when the driver is driving fatigued. However, there are many reasons for traffic accidents, not only fatigue driving, but also vehicle failure. Therefore, it is not comprehensive to only detect the driver's fatigue state, and it is impossible to accurately determine the cause of the accident, and it is impossible to accurately judge the driving state, and it is impossible to issue a risk warning based on the driving state.
发明内容Summary of the invention
本申请提供了一种驾驶状态检测与预警方法、系统、电子设备及存储介质,有助于提高驾驶状态评估的准确性,提高驾驶的安全性。The present application provides a driving status detection and warning method, system, electronic device and storage medium, which are helpful to improve the accuracy of driving status assessment and improve driving safety.
第一方面,本申请提供了一种驾驶状态检测与预警方法,包括:In a first aspect, the present application provides a driving state detection and warning method, comprising:
获取监测终端上传的驾驶员状态检测数据、车辆状态检测数据和道路环境状态检测数据,所述监测终端包括多个检测设备,所述检测设备至少包括生理信号检测设备、视频信号检测设备和车辆信号检测设备;Acquire driver status detection data, vehicle status detection data, and road environment status detection data uploaded by a monitoring terminal, wherein the monitoring terminal includes a plurality of detection devices, and the detection devices include at least a physiological signal detection device, a video signal detection device, and a vehicle signal detection device;
对所述驾驶员状态检测数据、所述车辆状态检测数据和所述道路环境状态检测数据进行分析,得到驾驶状态评估结果;Analyzing the driver state detection data, the vehicle state detection data and the road environment state detection data to obtain a driving state evaluation result;
基于所述驾驶状态评估结果进行预警。A warning is issued based on the driving status evaluation result.
其中一种可能的实现方式中,所述驾驶员状态包括疲劳状态、分心状态和情绪状态;In one possible implementation, the driver state includes a fatigue state, a distraction state, and an emotional state;
所述车辆状态包括正常行驶状态和非正常行驶状态;The vehicle state includes a normal driving state and an abnormal driving state;
所述道路环境状态至少包括前方无车辆或行人、前方车辆碰撞、车道偏离、车辆过近、频繁变道、他车切入。The road environment status at least includes no vehicle or pedestrian ahead, vehicle collision ahead, lane deviation, vehicles too close, frequent lane changes, and other vehicles cutting in.
其中一种可能的实现方式中,所述方法还包括:In one possible implementation, the method further includes:
当所述车辆在设定路线下按照设定状态行驶时,采集驾驶员的第一状态检测数据;When the vehicle is traveling along a set route and in a set state, collecting first state detection data of the driver;
根据采集的所述驾驶员的第一状态检测数据,进行标准化处理;Performing standardization processing according to the collected first state detection data of the driver;
将实时获取的所述驾驶员状态检测数据与标准化处理后的所述驾驶员的第一状态检测数据进行关联。The driver state detection data acquired in real time is associated with the first state detection data of the driver after standardization.
其中一种可能的实现方式中,在所述将实时获取的所述驾驶员状态检测数据与标准化处理后的所述驾驶员的第一状态检测数据进行关联之后,所述方法还包括:In one possible implementation, after associating the driver state detection data acquired in real time with the first state detection data of the driver after standardization, the method further includes:
所述驾驶员状态检测数据基于所述驾驶员的第一状态检测数据进行噪声处理,得到驾驶员的第二状态检测数据,所述驾驶员的第一状态检测数据至少包括所述驾驶员的生理信号、第一眼动信号、脑电及脑成像信号,及行为检测数据;The driver state detection data is subjected to noise processing based on the first state detection data of the driver to obtain the second state detection data of the driver, wherein the first state detection data of the driver at least includes the physiological signal, the first eye movement signal, the electroencephalogram and brain imaging signal, and the behavior detection data of the driver;
对所述驾驶员的第二状态检测数据、所述车辆状态检测数据和所述道路环境状态检测数据进行分析,得到所述驾驶状态评估结果。The second state detection data of the driver, the vehicle state detection data and the road environment state detection data are analyzed to obtain the driving state evaluation result.
其中一种可能的实现方式中,所述驾驶员状态检测数据基于所述驾驶员的第一状态检测数据进行噪声处理包括:In one possible implementation, the driver state detection data is subjected to noise processing based on the first state detection data of the driver, including:
所述驾驶员状态检测数据包括第二眼动信号,所述第二眼动信号由所述视频信号检测设备实时获取的视频内容解析得到;The driver state detection data includes a second eye movement signal, and the second eye movement signal is obtained by parsing the video content acquired in real time by the video signal detection device;
结合所述第一眼动信号,确定所述第二眼动信号的伪迹噪声,并去除所述伪迹噪声。In combination with the first eye movement signal, artifact noise of the second eye movement signal is determined, and the artifact noise is removed.
其中一种可能的实现方式中,所述疲劳状态包括轻度疲劳、中度疲劳和重度疲劳,所述疲劳状态是通过对所述生理信号检测设备或所述视频信号检测设备检测的数据进行分析得到;及In one possible implementation, the fatigue state includes mild fatigue, moderate fatigue and severe fatigue, and the fatigue state is obtained by analyzing data detected by the physiological signal detection device or the video signal detection device; and
所述分心状态包括行为分心和认知分心,所述行为分心是通过对所述视频信号检测设备检测的数据进行分析得到,所述认知分心是通过对所述生理信号检测设备检测的数据进行分析得到;及The distraction state includes behavioral distraction and cognitive distraction, wherein the behavioral distraction is obtained by analyzing the data detected by the video signal detection device, and the cognitive distraction is obtained by analyzing the data detected by the physiological signal detection device; and
所述情绪状态包括情绪强度和情绪效价,所述情绪强度是通过对所述生理信号检测设备检测的数据进行分析得到,所述情绪效价是通过对所述视频信号检测设备检测的数据进行分析得到。The emotional state includes emotional intensity and emotional valence. The emotional intensity is obtained by analyzing the data detected by the physiological signal detection device, and the emotional valence is obtained by analyzing the data detected by the video signal detection device.
其中一种可能的实现方式中,所述情绪强度包括情绪异常和情绪正常,所述情绪效价包括正性情绪和负性情绪,所述正性情绪用于表征积极的情绪,所述负性情绪用于表征消极的情绪。In one possible implementation, the emotion intensity includes abnormal emotion and normal emotion, the emotion valence includes positive emotion and negative emotion, the positive emotion is used to represent positive emotion, and the negative emotion is used to represent negative emotion.
其中一种可能的实现方式中,所述对所述驾驶员状态检测数据、所述车辆状态检测数据和所述道路环境状态检测数据进行分析包括:将所述驾驶员状态检测数据、所述车辆状态检测数据和所述道路环境状态检测数据分别输入至对应的状态识别模型,识别得到所述驾驶员状态、所述车辆状态和所述道路环境状态;In one possible implementation, the analyzing the driver state detection data, the vehicle state detection data, and the road environment state detection data includes: inputting the driver state detection data, the vehicle state detection data, and the road environment state detection data into corresponding state recognition models, respectively, to identify the driver state, the vehicle state, and the road environment state;
结合所述驾驶员状态、所述车辆状态和所述道路环境状态得到所述驾驶状态评估结果。The driving state evaluation result is obtained by combining the driver state, the vehicle state and the road environment state.
其中一种可能的实现方式中,所述结合所述驾驶员状态、所述车辆状态和所述道路环境状态得到所述驾驶状态评估结果包括:In one possible implementation, the combining the driver state, the vehicle state, and the road environment state to obtain the driving state evaluation result includes:
若所述驾驶员状态为轻度疲劳,所述车辆状态为正常行驶状态,所述道路环境状态为前方无车辆或行人,则所述驾驶状态评估结果为第一驾驶风险状态;If the driver state is mild fatigue, the vehicle state is normal driving state, and the road environment state is no vehicle or pedestrian ahead, the driving state assessment result is a first driving risk state;
若所述驾驶员状态为中度疲劳,所述车辆状态为非正常行驶状态,所述道路环境状态为前方无车辆或行人,则所述驾驶状态评估结果为第二驾驶风险状态;If the driver state is moderate fatigue, the vehicle state is an abnormal driving state, and the road environment state is no vehicle or pedestrian ahead, the driving state assessment result is a second driving risk state;
若所述驾驶员状态为重度疲劳,所述车辆状态为非正常行驶状态,所述道路环境状态为他车切入,则所述驾驶状态评估结果为第三驾驶风险状态。If the driver state is severe fatigue, the vehicle state is an abnormal driving state, and the road environment state is another vehicle cutting in, then the driving state assessment result is a third driving risk state.
其中一种可能的实现方式中,所述状态识别模型包括驾驶员状态识别模型,所述驾驶员状态识别模型包括认知分心状态识别模型,所述认知分心状态识别模型的训练包括:In one possible implementation, the state recognition model includes a driver state recognition model, the driver state recognition model includes a cognitive distraction state recognition model, and the training of the cognitive distraction state recognition model includes:
在预设时间间隔内或者不同时刻多次采集一个或多个驾驶员在执行双任务和单任务的眼动和脑电数据;Collect eye movement and EEG data of one or more drivers when performing dual tasks and single tasks multiple times within a preset time interval or at different times;
对所述多次采集的眼动和脑电数据进行对比,去除无效数据;Comparing the eye movement and EEG data collected multiple times to remove invalid data;
对去除无效数据后的所述多次采集的眼动和脑电数据求平均值;averaging the eye movement and EEG data collected multiple times after removing invalid data;
基于所述平均值通过机器学习算法对所述认知分心状态识别模型进行模型训练。The cognitive distraction state recognition model is trained by a machine learning algorithm based on the average value.
其中一种可能的实现方式中,所述方法还包括:In one possible implementation, the method further includes:
基于所述驾驶员状态检测数据据标记不良驾驶习惯行为,所述不良驾驶习惯行为至少包括吸烟、打电话和加塞;Marking bad driving habits based on the driver status detection data, wherein the bad driving habits at least include smoking, making phone calls and cutting in;
统计所述不良驾驶习惯行为的发生次数;Counting the number of occurrences of the bad driving habits;
当所述不良驾驶习惯行为的发生次数大于预设次数时,对驾驶员进行提醒或警告。When the number of occurrences of the bad driving habit behavior is greater than a preset number, the driver is reminded or warned.
其中一种可能的实现方式中,所述方法还包括:In one possible implementation, the method further includes:
通过神经网络算法判断所述检测设备检测的信号是否为正常信号,Determine whether the signal detected by the detection device is a normal signal by using a neural network algorithm,
若所述信号为不正常信号,则通过语音或图像提示驾驶员进行设备调试。If the signal is an abnormal signal, the driver is prompted to debug the equipment through voice or image.
其中一种可能的实现方式中,所述方法还包括:In one possible implementation, the method further includes:
所述监测终端同步开启或单独开启多个所述检测设备,所述驾驶员状态检测数据、所述车辆状态检测数据和所述道路环境状态检测数据由所述检测设备同步上传至所述监测终端。The monitoring terminal starts the plurality of detection devices synchronously or individually, and the driver status detection data, the vehicle status detection data and the road environment status detection data are synchronously uploaded to the monitoring terminal by the detection devices.
第二方面,本申请提供一种驾驶状态检测与预警装置,包括:In a second aspect, the present application provides a driving state detection and warning device, comprising:
获取模块,用于获取监测终端上传的驾驶员状态检测数据、车辆状态检测数据和道路环境状态检测数据,所述监测终端包括多个检测设备,所述检测设备至少包括生理信号检测设备、视频信号检测设备和车辆信号检测设备;An acquisition module, used to acquire driver status detection data, vehicle status detection data and road environment status detection data uploaded by a monitoring terminal, wherein the monitoring terminal includes a plurality of detection devices, and the detection devices include at least a physiological signal detection device, a video signal detection device and a vehicle signal detection device;
分析模块,用于对所述驾驶员状态检测数据、所述车辆状态检测数据和所述道路环境状态检测数据进行分析,得到驾驶状态评估结果;An analysis module, used for analyzing the driver state detection data, the vehicle state detection data and the road environment state detection data to obtain a driving state evaluation result;
预警模块,用于基于所述驾驶状态评估结果进行预警。The warning module is used to issue a warning based on the driving status evaluation result.
第三方面,本申请提供了一种电子设备,包括:处理器和存储器,所述存储器用于存储计算机程序;所述处理器用于运行所述计算机程序,实现如第一方面所述的一种驾驶状态检测与预警方法。In a third aspect, the present application provides an electronic device comprising: a processor and a memory, wherein the memory is used to store a computer program; the processor is used to run the computer program to implement a driving status detection and warning method as described in the first aspect.
第四方面,本申请提供一种驾驶状态检测与预警系统,包括:如第三方面所示的电子设备。In a fourth aspect, the present application provides a driving status detection and warning system, including: the electronic device as shown in the third aspect.
第五方面,本申请提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机实现如第一方面所述的一种驾驶状态检测与预警方法。In a fifth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer-readable storage medium is run on a computer, the computer implements a driving status detection and warning method as described in the first aspect.
在本申请中,通过多个不同的检测设备同时检测得到驾驶员状态检测数据、车辆状态检测数据和道路环境状态检测数据,对驾驶员状态检测数据、车辆状态检测数据和道路环境状态检测数据进行综合分析,得到驾驶状态评估结果,再根据驾驶状态评估结果进行预警。本申请从驾驶员状态、车辆状态和道路环境状态三个维度对驾驶状态进行评估,有助于提高驾驶状态评估的准确性,根据驾驶状态进行风险预警,提高驾驶的安全性。In this application, driver status detection data, vehicle status detection data and road environment status detection data are detected simultaneously by multiple different detection devices, and the driver status detection data, vehicle status detection data and road environment status detection data are comprehensively analyzed to obtain a driving status evaluation result, and then an early warning is issued based on the driving status evaluation result. This application evaluates the driving status from three dimensions: driver status, vehicle status and road environment status, which helps to improve the accuracy of driving status evaluation, issue risk early warnings based on the driving status, and improve driving safety.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请实施例提供的驾驶状态检测与预警系统架构图;FIG1 is an architecture diagram of a driving status detection and warning system provided in an embodiment of the present application;
图2为本申请实施例提供的一种驾驶状态检测与预警方法的流程示意图;FIG2 is a flow chart of a driving state detection and warning method provided in an embodiment of the present application;
图3为本申请实施例提供的认知分心状态识别模型训练方法的流程示意图;FIG3 is a flow chart of a method for training a cognitive distraction state recognition model according to an embodiment of the present application;
图4为本申请实施例提供的另一种驾驶状态检测与预警方法的流程示意图;FIG4 is a flow chart of another driving state detection and warning method provided in an embodiment of the present application;
图5为本申请实施例提供的驾驶状态检测与预警装置的结构示意图;FIG5 is a schematic diagram of the structure of a driving state detection and warning device provided in an embodiment of the present application;
图6为本申请实施例提供的电子设备的结构示意图。FIG6 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
具体实施方式Detailed ways
本申请实施例中,除非另有说明,字符“/”表示前后关联对象是一种或的关系。例如,A/B可以表示A或B。“和/或”描述关联对象的关联关系,表示可以存在三种关系。例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。In the embodiments of the present application, unless otherwise specified, the character "/" indicates that the objects before and after the association are in an or relationship. For example, A/B can represent A or B. "And/or" describes the association relationship of the associated objects, indicating that three relationships can exist. For example, A and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone.
需要指出的是,本申请实施例中涉及的“第一”、“第二”等词汇,仅用于区分描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量,也不能理解为指示或暗示顺序。It should be pointed out that the words "first", "second", etc. involved in the embodiments of the present application are only used to distinguish the description purpose, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated, nor can they be understood as indicating or implying order.
本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。此外,“以下至少一项(个)”或者其类似表达,是指的这些项中的任意组合,可以包括单项(个)或复数项(个)的任意组合。例如,A、B或C中的至少一项(个),可以表示:A,B,C,A和B,A和C,B和C,或A、B和C。其中,A、B、C中的每个本身可以是元素,也可以是包含一个或多个元素的集合。In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. In addition, "at least one of the following" or similar expressions refers to any combination of these items, which may include any combination of single items or plural items. For example, at least one of A, B, or C may represent: A, B, C, A and B, A and C, B and C, or A, B and C. Among them, each of A, B, and C may be an element itself, or a set containing one or more elements.
本申请实施例中,“示例的”、“在一些实施例中”、“在另一实施例中”等用于表示作例子、例证或说明。本申请中被描述为“示例”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用示例的一词旨在以具体方式呈现概念。In the embodiments of the present application, "exemplary", "in some embodiments", "in another embodiment", etc. are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.
本申请实施例中的“的(of)”、“相应的(corresponding,relevant)”和“对应的(corresponding)”有时可以混用,应当指出的是,在不强调其区别时,所要表达的含义是一致的。本申请实施例中,通信、传输有时可以混用,应当指出的是,在不强调其区别时,其所表达的含义是一致的。例如,传输可以包括发送和/或接收,可以为名词,也可以是动词。In the embodiments of the present application, "of", "corresponding", and "corresponding" can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings to be expressed are consistent. In the embodiments of the present application, communication and transmission can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings to be expressed are consistent. For example, transmission can include sending and/or receiving, which can be a noun or a verb.
本申请实施例中涉及的等于可以与大于连用,适用于大于时所采用的技术方案,也可以与小于连用,适用于小于时所采用的技术方案。需要说明的是,当等于与大于连用时,不能与小于连用;当等于与小于连用时,不与大于连用。The equal to involved in the embodiments of the present application can be used in conjunction with greater than, and is applicable to the technical solution adopted when greater than, and can also be used in conjunction with less than, and is applicable to the technical solution adopted when less than. It should be noted that when equal to is used in conjunction with greater than, it cannot be used in conjunction with less than; when equal to is used in conjunction with less than, it cannot be used in conjunction with greater than.
相关技术中,通过检测驾驶员的疲劳状态来判断驾驶状态,但是仅通过疲劳状态这个单一维度进行驾驶状态评估,评估的准确性不高。车辆驾驶的安全性不仅与驾驶员的状态有关,还与车辆状态和道路环境状态有关。并且驾驶员的状态并非仅包含疲劳状态,也可以包含分心状态、情绪状态等,这些状态的检测也会影响驾驶状态评估的准确性,影响驾驶风险评估的准确性。例如,当驾驶员处于情绪紧张的状态时,此时车辆状态较为正常行驶,且前方没有行人和车辆,则该情况下的驾驶风险等级较低,相应的预警行为也较轻微;同样的,当驾驶员处于情绪紧张的状态,此时车辆状态不正常行驶,比如车辆偏离道路,并且前方车况复杂,则该情况下的驾驶风险等级就会提高,需要对预警提出更高要求。In the related art, the driving state is judged by detecting the driver's fatigue state, but the driving state is evaluated only by the single dimension of fatigue state, and the accuracy of the evaluation is not high. The safety of vehicle driving is not only related to the driver's state, but also to the vehicle state and the road environment state. And the driver's state does not only include fatigue state, but also distraction state, emotional state, etc. The detection of these states will also affect the accuracy of driving state evaluation and the accuracy of driving risk evaluation. For example, when the driver is in a state of emotional tension, the vehicle is driving normally at this time, and there are no pedestrians and vehicles in front. In this case, the driving risk level is low, and the corresponding warning behavior is also mild; similarly, when the driver is in a state of emotional tension, the vehicle is driving abnormally at this time, such as the vehicle deviates from the road, and the vehicle condition ahead is complicated, then the driving risk level in this case will increase, and higher requirements for warnings are needed.
基于上述问题,本申请实施例提出了一种驾驶状态检测与预警方法,从驾驶员状态、车辆状态和道路环境状态三个维度对驾驶状态进行评估,有助于提高驾驶状态评估的准确性,根据驾驶状态进行风险预警,提高驾驶的安全性。Based on the above problems, an embodiment of the present application proposes a driving status detection and warning method, which evaluates the driving status from three dimensions: driver status, vehicle status and road environment status, which helps to improve the accuracy of driving status evaluation, issue risk warnings based on the driving status, and improve driving safety.
现结合图2-图4对本申请实施例提供的驾驶状态检测与预警方法进行说明。The driving status detection and warning method provided in the embodiment of the present application is now described in conjunction with Figures 2 to 4.
图1为本申请实施例提供的驾驶状态检测与预警系统架构图。如图1所示,驾驶状态检测与预警系统包括人因智能监控平台和实时监测终端,人因智能监控平台可实现对一个实时监测终端的监控,也可以实现对多个实时监测终端的同时监控。当实时监测终端启动时,人因智能监控平台与实时监测终端通过网络协议,如HTTP(Hypertext TransferProtocol,超文本传输协议)或TCP(Transmission Control Protocol,传输控制协议)协议实现信息互通,实时监测终端将终端信息上传至人因智能监控平台,人因智能监控平台将上传的终端信息与预先存储在平台内的终端信息进行匹配,从而确定出匹配成功的监测终端。人因智能监控平台可以对匹配成功的实时监测终端的预警状态进行实时可视化呈现与处理,也可以对实时监测终端的预警状态的历史信息进行可视化呈现、数据统计与分析。FIG1 is an architecture diagram of a driving state detection and warning system provided in an embodiment of the present application. As shown in FIG1 , the driving state detection and warning system includes a human factors intelligent monitoring platform and a real-time monitoring terminal. The human factors intelligent monitoring platform can monitor a real-time monitoring terminal, and can also monitor multiple real-time monitoring terminals simultaneously. When the real-time monitoring terminal is started, the human factors intelligent monitoring platform and the real-time monitoring terminal communicate with each other through a network protocol, such as HTTP (Hypertext Transfer Protocol) or TCP (Transmission Control Protocol). The real-time monitoring terminal uploads the terminal information to the human factors intelligent monitoring platform, and the human factors intelligent monitoring platform matches the uploaded terminal information with the terminal information pre-stored in the platform, thereby determining the monitoring terminal that has been successfully matched. The human factors intelligent monitoring platform can perform real-time visual presentation and processing of the warning status of the successfully matched real-time monitoring terminal, and can also perform visual presentation, data statistics and analysis of the historical information of the warning status of the real-time monitoring terminal.
每个实时监测终端包括多个检测设备,检测设备包括生理信号检测设备、视频信号检测设备、车辆信号检测设备、动作捕捉检测设备等。生理信号检测设备用于检测多模态的生理数据,多模态的生理数据是指通过多个传感器采集的驾驶员的状态数据,传感器可以是获取驾驶人员在驾驶状态时的生理数据的生理传感器,举例来说,眼动追踪设备、皮电、心电、呼吸及脑电等传感器。眼动追踪设备所采集到的数据,包括但不限于驾驶员眼动的瞳孔直径、眨眼频率、注视时间、注视次数。检测设备用于检测驾驶员状态、车辆状态和道路环境状态。实时监测终端可一键同步开启各个检测设备,也可单独开启各个检测设备。多模态生理数据的采集传感器可以集成在一个终端设备中,也可由多个采集传感器构成系统。可以将多个采集传感器集成的终端设备配置在本地驾驶车辆中。也可以将采集传感器设置在本地驾驶车辆上,将分析处理的终端设备设置于服务器侧。Each real-time monitoring terminal includes multiple detection devices, including physiological signal detection devices, video signal detection devices, vehicle signal detection devices, motion capture detection devices, etc. The physiological signal detection device is used to detect multimodal physiological data. Multimodal physiological data refers to the driver's status data collected by multiple sensors. The sensor can be a physiological sensor that obtains the driver's physiological data when driving. For example, eye tracking devices, skin electricity, electrocardiogram, breathing and brain waves. The data collected by the eye tracking device include but are not limited to the pupil diameter, blinking frequency, gaze time, and gaze number of the driver's eye movement. The detection device is used to detect the driver's status, vehicle status and road environment status. The real-time monitoring terminal can turn on each detection device synchronously with one button, or turn on each detection device separately. The multimodal physiological data acquisition sensor can be integrated in one terminal device, or a system can be formed by multiple acquisition sensors. The terminal device integrating multiple acquisition sensors can be configured in the local driving vehicle. The acquisition sensor can also be set on the local driving vehicle, and the terminal device for analysis and processing can be set on the server side.
实时监测终端检测到信号,并将信号发送给云端服务器,云端服务器可以通过神经网络算法判断检测的信号是否为正常信号,即是否为高质量且有效的信号,若该信号不是正常信号,则通过语音或图像提示驾驶员进行设备调试,以获得正常的检测信号。实时监测终端连接检测设备后,为了保证数据呈现的质量,原始数据存储到本地客户端,在实施监控结束之后再将数据上传到云端服务器,以形成历史数据库。The real-time monitoring terminal detects the signal and sends it to the cloud server. The cloud server can use the neural network algorithm to determine whether the detected signal is a normal signal, that is, whether it is a high-quality and effective signal. If the signal is not a normal signal, the driver is prompted to debug the equipment through voice or image to obtain a normal detection signal. After the real-time monitoring terminal is connected to the detection equipment, in order to ensure the quality of data presentation, the original data is stored in the local client, and after the monitoring is completed, the data is uploaded to the cloud server to form a historical database.
图2为本申请实施例提供的一种驾驶状态检测与预警方法的流程示意图,具体包括以下步骤:FIG2 is a flow chart of a driving state detection and warning method provided in an embodiment of the present application, which specifically includes the following steps:
步骤S21,获取监测终端上传的驾驶员状态检测数据、车辆状态检测数据和道路环境状态检测数据。Step S21, obtaining driver status detection data, vehicle status detection data and road environment status detection data uploaded by the monitoring terminal.
在本实施例中,多个检测设备检测得到驾驶员在驾驶过程中的驾驶员状态检测数据、车辆状态检测数据和道路环境状态检测数据,在监测终端与检测设备连接后,由监测终端将这些数据上传至人因智能监控平台。其中,驾驶员状态检测数据不仅包括多模态的生理数据,还可以包括驾驶员在驾驶过程中的其他的行为数据、用于表现驾驶员情感或情绪的数据,以及用于判断驾驶员感知能力的数据,判断感知能力的数据可以通过不同的操作对驾驶员驾驶过程中的反馈进行检测获取。通过以上检测到的数据判断驾驶过程中驾驶员状态。In this embodiment, multiple detection devices detect and obtain the driver's state detection data, vehicle state detection data and road environment state detection data during the driving process. After the monitoring terminal is connected to the detection device, the monitoring terminal uploads these data to the human factors intelligent monitoring platform. Among them, the driver's state detection data not only includes multimodal physiological data, but also includes other behavioral data of the driver during driving, data used to express the driver's emotions or emotions, and data used to judge the driver's perception ability. The data for judging the perception ability can be obtained by detecting the feedback of the driver during driving through different operations. The driver's state during driving is judged by the above detected data.
在一些实施例中,驾驶员状态包括疲劳状态、分心状态和情绪状态。In some embodiments, the driver state includes a fatigue state, a distraction state, and an emotional state.
可选的,疲劳状态包括轻度疲劳、中度疲劳和重度疲劳。疲劳状态是通过对生理信号检测设备或视频信号检测设备检测的数据进行分析得到。例如,通过EEG(Electroencephalogram,脑电波)检测得到脑电数据、PSD(power spectral density,能量功率谱密度)数据等,或者通过车内摄像头检测得到驾驶员的瞳孔状态变化或眨眼状态变化,对这些数据或状态的变化进行分析,得到驾驶员在驾驶过程中的疲劳程度。Optionally, the fatigue state includes mild fatigue, moderate fatigue and severe fatigue. The fatigue state is obtained by analyzing the data detected by the physiological signal detection device or the video signal detection device. For example, EEG (Electroencephalogram) detection is used to obtain EEG data, PSD (power spectral density) data, etc., or the driver's pupil state changes or blinking state changes are obtained through in-car camera detection, and these data or state changes are analyzed to obtain the driver's fatigue level during driving.
在一些实施例中,分心状态包括行为分心和认知分心。其中行为分心包括接打电话、抽烟、聊天、长时间不目视前方等;认知分心包括低度分心、中度分心、高度分心。In some embodiments, the distraction state includes behavioral distraction and cognitive distraction. Behavioral distraction includes making phone calls, smoking, chatting, not looking forward for a long time, etc.; cognitive distraction includes low distraction, moderate distraction, and high distraction.
可选的,行为分心是通过对视频信号检测设备检测的数据进行分析得到,例如通过行为分心状态检测设备(车内摄像头、视频监控器等)检测驾驶员由于分心导致的危险驾驶行为;认知分心是通过对生理信号检测设备检测的数据进行分析得到,例如通过PPG(photoplethysmography,光电容积描记)无线脉搏传感器或EDA(electrodermalactivity,皮肤电活动)无线皮电传感器,检测得到HRV(Heart Rate Variability,心率变异性)、HR(Heart Rate)心率、IBI(Inter-Beat Interval,心跳间隔,即R-R间期)、SCR(Skinconductance response,皮肤电导反应)数据等,对这些数据进行分析,得到认知分心的程度。Optionally, behavioral distraction is obtained by analyzing data detected by a video signal detection device, such as detecting dangerous driving behaviors of the driver due to distraction through a behavioral distraction state detection device (in-vehicle camera, video monitor, etc.); cognitive distraction is obtained by analyzing data detected by a physiological signal detection device, such as detecting HRV (Heart Rate Variability), HR (Heart Rate) heart rate, IBI (Inter-Beat Interval, i.e. R-R interval), SCR (Skin conductance response) data, etc. through a PPG (photoplethysmography) wireless pulse sensor or an EDA (electrodermal activity) wireless skin activity sensor, and analyzing these data to obtain the degree of cognitive distraction.
在一些实施例中,情绪状态包括情绪强度和情绪效价。情绪强度包括情绪异常和情绪正常;情绪效价包括正性情绪和负性情绪,正性情绪表示高兴、兴奋等积极的情绪,负性情绪表示愤怒、生气、悲伤等消极的情绪。In some embodiments, the emotional state includes emotional intensity and emotional valence. Emotional intensity includes abnormal emotions and normal emotions; emotional valence includes positive emotions and negative emotions. Positive emotions represent positive emotions such as happiness and excitement, and negative emotions represent negative emotions such as anger, irritation, and sadness.
可选的,情绪强度是通过对生理信号检测设备检测的数据进行分析得到,例如通过PPG(photoplethysmography,光电容积描记)无线脉搏传感器或EDA(electrodermalactivity,皮肤电活动)无线皮电传感器,检测得到HRV(Heart Rate Variability,心率变异性)、HR(Heart Rate)心率、IBI(Inter-Beat Interval,心跳间隔,即R-R间期)、SCR(Skinconductance response,皮肤电导反应)数据等,对这些数据进行分析,示例性的,根据SCR(Skin conductance response,皮肤电导反应)值每分钟的变化来判断情绪是否异常;情绪效价是通过对视频信号检测设备(如面部表情检测设备)检测的数据进行分析得到,示例性的,通过检测驾驶员的面部表情的变化判断驾驶员的情绪效价是正兴情绪还是负性情绪。Optionally, the intensity of emotion is obtained by analyzing data detected by a physiological signal detection device, for example, by using a PPG (photoplethysmography) wireless pulse sensor or an EDA (electrodermal activity) wireless skin activity sensor to detect HRV (Heart Rate Variability), HR (Heart Rate) heart rate, IBI (Inter-Beat Interval, i.e. R-R interval), SCR (Skin conductance response) data, etc., and analyzing these data. For example, whether the emotion is abnormal is judged based on the change of the SCR (Skin conductance response) value per minute; the valence of emotion is obtained by analyzing data detected by a video signal detection device (such as a facial expression detection device). For example, the valence of the driver's emotion is judged as positive or negative by detecting changes in the driver's facial expressions.
在一些实施例中,车辆状态包括正常行驶状态和非正常行驶状态。车辆状态是通过对车辆信号检测设备检测的数据进行分析得到。具体的,通过Vehub检测车辆的运行速度,方向盘数据、踏板数据、GPS(Global Positioning System,全球定位系统)数据等,针对采集的数据进行分析,包括侧向加速度分析,质心侧偏角约束分析,摩擦圆约束分析、轮胎侧偏角分析以及内置高级驾驶正常行驶性分析等,从而判断车辆状态是否正常行驶。In some embodiments, the vehicle state includes a normal driving state and an abnormal driving state. The vehicle state is obtained by analyzing the data detected by the vehicle signal detection device. Specifically, Vehub detects the vehicle's running speed, steering wheel data, pedal data, GPS (Global Positioning System) data, etc., and analyzes the collected data, including lateral acceleration analysis, center of mass sideslip angle constraint analysis, friction circle constraint analysis, tire sideslip angle analysis, and built-in advanced driving normal driving analysis, so as to determine whether the vehicle state is normal.
进一步地,针对驾驶行为可以进行实时编码以及事后编码,对驾驶行为进行分析与统计,驾驶行为包括驾驶脚踏板行为(刹车、油门)、转向行为(左转、右转)、换道行为(左换道、右换道、倒车、掉头、右车道行驶、左车道行驶)、驾驶速度(高速、中速、低速、停车或怠速)、纵向加速度(强速、一般加速度、弱加速度)以及方向盘行为(顺时针、逆时针),从而判断车辆状态是否正常行驶。例如通过对驾驶脚踏板行为分析判断驾驶员是否频繁急刹车,若驾驶员频繁急刹车,则表明当前驾驶的车辆状态不正常行驶。Furthermore, real-time coding and post-coding can be performed for driving behaviors, and driving behaviors can be analyzed and counted. Driving behaviors include driving pedal behaviors (brake, accelerator), steering behaviors (left turn, right turn), lane change behaviors (left lane change, right lane change, reversing, U-turn, right lane driving, left lane driving), driving speed (high speed, medium speed, low speed, parking or idling), longitudinal acceleration (strong speed, general acceleration, weak acceleration) and steering wheel behaviors (clockwise, counterclockwise), so as to judge whether the vehicle is driving normally. For example, by analyzing the driving pedal behavior, it can be judged whether the driver frequently brakes suddenly. If the driver frequently brakes suddenly, it indicates that the current vehicle is not driving normally.
在一些实施例中,道路环境状态包括前方无车辆或行人、前方车辆碰撞、车道偏离、车辆过近、频繁变道、他车切入、前方车辆超速、行人碰撞等。其中,前方车辆碰撞、行人碰撞、车辆过近和频繁变道包括有和无;车道偏离包括向左偏离和向右偏离;超速等级分为包括低、中、高;他车切入包括左侧和右侧切入。In some embodiments, the road environment status includes no vehicle or pedestrian ahead, vehicle collision ahead, lane departure, vehicle too close, frequent lane changes, other vehicle cutting in, vehicle ahead speeding, pedestrian collision, etc. Among them, vehicle collision ahead, pedestrian collision, vehicle too close, and frequent lane changes include yes and no; lane departure includes left deviation and right deviation; speeding level includes low, medium, and high; other vehicle cutting in includes left and right cutting in.
可选的,道路环境状态是通过ADAS(Advanced Driving Assistance System,高级驾驶辅助系统)系统进行检测得到。可选的,道路环境状态还可以包括由第三方检测得到的环境数据,如天气、温度、湿度等。Optionally, the road environment state is detected by an ADAS (Advanced Driving Assistance System) system. Optionally, the road environment state may also include environmental data detected by a third party, such as weather, temperature, humidity, etc.
步骤S22,对驾驶员状态检测数据、车辆状态检测数据和道路环境状态检测数据进行分析,得到驾驶状态评估结果。Step S22, analyzing the driver state detection data, the vehicle state detection data and the road environment state detection data to obtain a driving state evaluation result.
具体地,将驾驶员状态检测数据、车辆状态检测数据和道路环境状态检测数据分别输入至对应的状态识别模型,识别得到驾驶员状态、车辆状态和道路环境状态;结合驾驶员状态、车辆状态和道路环境状态得到驾驶状态评估结果。Specifically, the driver state detection data, vehicle state detection data and road environment state detection data are respectively input into the corresponding state recognition model to identify the driver state, vehicle state and road environment state; and the driving state evaluation result is obtained by combining the driver state, vehicle state and road environment state.
可选的,若驾驶员状态为轻度疲劳,车辆状态为正常行驶状态,道路环境状态为前方无车辆或行人,则驾驶状态评估结果为第一驾驶风险状态;Optionally, if the driver state is mild fatigue, the vehicle state is normal driving state, and the road environment state is no vehicle or pedestrian ahead, the driving state assessment result is the first driving risk state;
若驾驶员状态为中度疲劳,车辆状态为非正常行驶状态,道路环境状态为前方无车辆或行人,则驾驶状态评估结果为第二驾驶风险状态;If the driver is in moderate fatigue, the vehicle is in an abnormal driving state, and the road environment is in a state where there are no vehicles or pedestrians ahead, the driving state assessment result is a second driving risk state;
若驾驶员状态为重度疲劳,车辆状态为非正常行驶状态,道路环境状态为他车切入,则驾驶状态评估结果为第三驾驶风险状态。If the driver is in severe fatigue, the vehicle is in an abnormal driving state, and the road environment is in which another vehicle cuts in, the driving state assessment result is the third driving risk state.
需要说明的是,本申请评估驾驶状态还可以包括其他指标,还可以根据驾驶员状态检测数据和车辆状态检测数据,或者根据车辆状态检测数据和道路环境状态检测数据、或者根据驾驶员状态检测数据和道路环境状态检测数据进行驾驶状态评估。例如,若驾驶员状态为轻度疲劳,车辆状态为非正常行驶状态,则驾驶评估结果为第四驾驶风险状态,或,若车辆状态为非正常行驶状态,道路环境状态为车道偏离,则驾驶评估结果为第五驾驶风险状态。以上仅作为示例性说明,本申请对风险等级的划分及驾驶状态的评估指标不作限定。It should be noted that the present application may also include other indicators for evaluating driving status, and may also evaluate driving status based on driver status detection data and vehicle status detection data, or based on vehicle status detection data and road environment status detection data, or based on driver status detection data and road environment status detection data. For example, if the driver status is mild fatigue and the vehicle status is an abnormal driving state, the driving evaluation result is the fourth driving risk state, or, if the vehicle status is an abnormal driving state and the road environment status is lane deviation, the driving evaluation result is the fifth driving risk state. The above is only an exemplary description, and the present application does not limit the division of risk levels and evaluation indicators of driving status.
在一些实施例中,将获取的多模态数据(包括驾驶员状态检测数据、车辆状态检测数据和道路环境状态检测数据)输入至卷积神经网络模型,映射得到多模态矩阵,该卷积神经网络模型为3*3结构的卷积神经网络模型;将多模态矩阵导入Transformer模型,计算多模态离散数据中不同数据元素之间的相关性权重,即获得多模态数据之间的相关性权重,结合该相关性权重得到驾驶状态评估结果。In some embodiments, the acquired multimodal data (including driver state detection data, vehicle state detection data, and road environment state detection data) is input into a convolutional neural network model to map a multimodal matrix, and the convolutional neural network model is a convolutional neural network model with a 3*3 structure; the multimodal matrix is imported into a Transformer model to calculate the correlation weights between different data elements in the multimodal discrete data, that is, to obtain the correlation weights between the multimodal data, and the driving state evaluation result is obtained by combining the correlation weights.
具体地,通过使用这个3x3的卷积神经网络,可以将离散数据的个数映射成一个m维的向量。这个向量可以看作是对离散数据的特征表示,其中每个维度对应着离散数据的一个特征。假设有n个离散数据,经过3x3卷积神经网络处理后,即可得到一个3n×3m维的多模态原始矩阵。在这个矩阵中,每行表示一个离散数据的特征表示,而每列代表着不同的特征。多模态原始矩阵保留了离散数据的特征信息,并且通过卷积神经网络的特征提取和映射,将离散数据转化为一个向量化的形式。再将多模态原始矩阵导入Transformer模型,在Transformer模型中基于Self-Attention机制进行相关性计算。Self-Attention机制允许模型分析输入序列中的每个元素,然后根据它们之间的相互关系调整权重,结合该相关性权重得到驾驶状态评估结果。Specifically, by using this 3x3 convolutional neural network, the number of discrete data can be mapped into an m-dimensional vector. This vector can be regarded as a feature representation of discrete data, where each dimension corresponds to a feature of discrete data. Assuming there are n discrete data, after being processed by the 3x3 convolutional neural network, a 3n×3m-dimensional multimodal original matrix can be obtained. In this matrix, each row represents a feature representation of discrete data, and each column represents a different feature. The multimodal original matrix retains the feature information of discrete data, and through feature extraction and mapping of the convolutional neural network, the discrete data is converted into a vectorized form. The multimodal original matrix is then imported into the Transformer model, and correlation calculation is performed in the Transformer model based on the Self-Attention mechanism. The Self-Attention mechanism allows the model to analyze each element in the input sequence, and then adjust the weight according to the relationship between them, and combine the correlation weight to obtain the driving state evaluation result.
在一些实施例中,状态识别模型包括驾驶员状态识别模型,驾驶员状态识别模型包括认知分心状态识别模型。如图3所示,图3为本申请实施例提供的认知分心状态识别模型训练方法的流程示意图,认知分心状态识别模型训练方法包括:In some embodiments, the state recognition model includes a driver state recognition model, and the driver state recognition model includes a cognitive distraction state recognition model. As shown in FIG3 , FIG3 is a flow chart of a cognitive distraction state recognition model training method provided in an embodiment of the present application, and the cognitive distraction state recognition model training method includes:
步骤S31,在预设时间间隔内或者不同时刻多次采集一个或多个驾驶员在执行双任务和单任务的眼动和脑电数据。Step S31 , collecting eye movement and EEG data of one or more drivers when performing dual tasks and single tasks multiple times within a preset time interval or at different times.
在模型建立初期,需要大量累计不同场景下的数据,以对模型进行训练。本申请中,分别采集了一个驾驶员在执行双任务和单任务的眼动和脑电数据信息,以及多个不同的驾驶员在双任务和单任务状态下的眼动和脑电的数据信息,并且进行多次采集和记录,保证数据的完备性。In the early stage of model building, a large amount of data from different scenarios needs to be accumulated to train the model. In this application, the eye movement and EEG data information of a driver performing dual tasks and single tasks are collected, as well as the eye movement and EEG data information of multiple different drivers in dual tasks and single tasks, and multiple collections and records are performed to ensure the completeness of the data.
进一步地,对应一个或多个不同的驾驶员的采集数据信息可以进行不同时间段或时刻的多次采集。比如在预设时间间隔内或者在不同时刻进行采集数据信息。例如在8点到11点,14点到17点,或者在6点、10点、13点,15点、19点、夜间12点,凌晨2点等进行信息采集,根据不同的时间段或者时刻,记录不同状态下的数据信息。因为每个驾驶员在不同时间段或者时刻的认知分心状态不同,在模型训练时,采集不同的时间段或者时刻的数据进行训练,可以增加数据的完备性和准确性,保证模型的可靠性,提高驾驶状态评估的准确性,从而更好地提高驾驶的安全性。Furthermore, the collected data information corresponding to one or more different drivers can be collected multiple times in different time periods or at different times. For example, data information is collected within a preset time interval or at different times. For example, information is collected at 8 to 11 o'clock, 14 to 17 o'clock, or at 6 o'clock, 10 o'clock, 13 o'clock, 15 o'clock, 19 o'clock, 12 o'clock at night, 2 o'clock in the morning, etc., and data information in different states is recorded according to different time periods or times. Because each driver has different cognitive distraction states in different time periods or times, when training the model, collecting data from different time periods or times for training can increase the completeness and accuracy of the data, ensure the reliability of the model, and improve the accuracy of driving state assessment, thereby better improving driving safety.
步骤S32,对多次采集的眼动和脑电数据进行对比,去除无效数据。Step S32, comparing the eye movement and EEG data collected multiple times to remove invalid data.
具体地,对多次采集的数据进行对比,删除无效数据,比如异常数据或者偏差较大的数据,可以提高数据的准确性以及减少数据处理量。Specifically, by comparing data collected multiple times and deleting invalid data, such as abnormal data or data with large deviations, the accuracy of the data can be improved and the amount of data processing can be reduced.
步骤S33,对去除无效数据后的多次采集的眼动和脑电数据求平均值。Step S33, averaging the eye movement and EEG data collected multiple times after removing invalid data.
具体地,去除无效数据后,对其他数据进行求均值,并保存。Specifically, after removing invalid data, the remaining data are averaged and saved.
步骤S34,基于平均值通过机器学习算法对认知分心状态识别模型进行模型训练。Step S34: training the cognitive distraction state recognition model through a machine learning algorithm based on the average value.
然而,在驾驶员分心状态识别过程中,容易出现分心状态的误判。例如,当驾驶员正常驾驶时,出于驾驶安全的考虑,有时需要转头或者转动眼睛看左右后视镜,或者由于车辆颠簸,驾驶员的心率或者脑电数据会发生变化,从而导致系统误判驾驶员在驾驶过程中处于分心状态。However, in the process of identifying the driver's distracted state, it is easy to misjudge the distracted state. For example, when the driver is driving normally, for the sake of driving safety, sometimes he needs to turn his head or eyes to look at the left and right rearview mirrors, or because of the bumps of the vehicle, the driver's heart rate or EEG data will change, which will cause the system to misjudge that the driver is distracted during driving.
进一步地,如图4所示,图4为本申请实施例提供的另一种驾驶状态检测与预警方法的流程示意图,具体包括以下步骤:Further, as shown in FIG. 4 , FIG. 4 is a flow chart of another driving state detection and warning method provided in an embodiment of the present application, which specifically includes the following steps:
步骤S41,当所述车辆在设定路线下按照设定状态行驶时,采集驾驶员的第一状态检测数据。Step S41, when the vehicle travels on a set route in a set state, collecting first state detection data of the driver.
当车辆在设定路线下按照设定状态进行行驶,设定状态指的是驾驶员的正常驾驶状态,例如驾驶员无接打电话、抽烟、聊天、长时间不目视前方等分心行为、无疲劳等合规的驾驶状态,此时采集该驾驶员的第一状态检测数据,即驾驶员的第一状态检测数据是指正常驾驶状态的检测数据。驾驶员的第一状态检测数据至少包括所述驾驶员的生理信号、第一眼动信号、脑电及脑成像信号,及行为检测数据。When the vehicle is driving in a set state on a set route, the set state refers to the normal driving state of the driver, for example, the driver is not distracted by making phone calls, smoking, chatting, not looking forward for a long time, and is not tired or other compliant driving states. At this time, the first state detection data of the driver is collected, that is, the first state detection data of the driver refers to the detection data of the normal driving state. The first state detection data of the driver includes at least the physiological signal, the first eye movement signal, the EEG and brain imaging signal, and the behavior detection data of the driver.
步骤S42,根据采集的所述驾驶员的第一状态检测数据,进行标准化处理。Step S42: performing standardization processing based on the collected first state detection data of the driver.
具体地,将采集的驾驶员的第一状态检测数据转换成特定的统一规格,使数据保持在某一个区间内,例如将心率转换成数据区间格式,在该区间内的心率数值都属于驾驶员的正常驾驶状态。将驾驶员的第一状态检测数据进行标准化,便于消除不同检测数据之间性质、量纲、数量级等属性特征的差异,从而转化为无量纲的标准化数值。Specifically, the collected first state detection data of the driver is converted into a specific unified specification so that the data is kept within a certain interval. For example, the heart rate is converted into a data interval format, and the heart rate values within the interval belong to the normal driving state of the driver. The first state detection data of the driver is standardized to eliminate the differences in the properties, dimensions, magnitudes and other attribute characteristics between different detection data, thereby converting them into dimensionless standardized values.
步骤S43,将实时获取的所述驾驶员状态检测数据与标准化处理后的所述驾驶员的第一状态检测数据进行关联。Step S43, associating the driver status detection data acquired in real time with the first status detection data of the driver after standardization.
在步骤S21中,由多个检测设备实时采集其他待检测驾驶员在驾驶过程中的驾驶员状态检测数据,包括多模态生理数据(包括脑电数据、眼动数据、心率等)、行为数据等,将步骤S21采集的驾驶员状态检测数据与步骤S41采集的驾驶员的第一状态检测数据进行对比关联,以判断驾驶员状态检测数据中哪些属于正常驾驶状态的检测数据区间内。In step S21, multiple detection devices collect in real time the driver status detection data of other drivers to be detected during the driving process, including multimodal physiological data (including EEG data, eye movement data, heart rate, etc.), behavioral data, etc. The driver status detection data collected in step S21 is compared and associated with the first status detection data of the driver collected in step S41 to determine which of the driver status detection data belong to the detection data interval of the normal driving state.
步骤S44,所述驾驶员状态检测数据基于所述驾驶员的第一状态检测数据进行噪声处理,得到驾驶员的第二状态检测数据。Step S44: the driver state detection data is subjected to noise processing based on the driver's first state detection data to obtain the driver's second state detection data.
在一些实施例中,驾驶员状态检测数据包括第二眼动信号,第二眼动信号由视频信号检测设备实时获取的视频内容解析得到;结合驾驶员的第一状态检测数据中的第一眼动信号,确定所述第二眼动信号的伪迹噪声,即确定第二眼动信号中属于正常驾驶状态却被误判为分心状态的眼动信号。并去除伪迹噪声,得到驾驶员的第二状态检测数据,即得到去除伪迹噪声后的驾驶员状态检测数据。In some embodiments, the driver state detection data includes a second eye movement signal, which is obtained by parsing the video content acquired in real time by the video signal detection device; the first eye movement signal in the driver's first state detection data is combined to determine the artifact noise of the second eye movement signal, that is, to determine the eye movement signal in the second eye movement signal that belongs to the normal driving state but is misjudged as the distracted state. The artifact noise is removed to obtain the second state detection data of the driver, that is, the driver state detection data after the artifact noise is removed is obtained.
可选的,还可以对驾驶员状态检测数据中的其他数据例如心率、脑电信号、行为数据等进行噪声处理。Optionally, noise processing may also be performed on other data in the driver status detection data, such as heart rate, EEG signals, behavioral data, etc.
步骤S45,对所述驾驶员的第二状态检测数据、所述车辆状态检测数据和所述道路环境状态检测数据进行分析,得到所述驾驶状态评估结果。Step S45, analyzing the second state detection data of the driver, the vehicle state detection data and the road environment state detection data to obtain the driving state evaluation result.
本申请实施例通过预先获取驾驶员的正常驾驶状态数据并进行数据标准化,将采集的驾驶状态检测数据与标准化后的正常驾驶状态数据进行对比关联,然后进行噪声处理,找到并去除伪迹噪声,从而去除分心状态误判的影响,提高驾驶状态评估的准确性。The embodiment of the present application obtains the driver's normal driving state data in advance and performs data standardization, compares and correlates the collected driving state detection data with the standardized normal driving state data, and then performs noise processing to find and remove artifact noise, thereby removing the impact of misjudgment of distraction state and improving the accuracy of driving state assessment.
在步骤S22或步骤S45得到的驾驶状态评估结果的基础上,继续执行步骤S23,即基于驾驶状态评估结果进行预警。Based on the driving state evaluation result obtained in step S22 or step S45, step S23 is continued to be executed, that is, an early warning is issued based on the driving state evaluation result.
具体地,人因智能监控平台根据驾驶状态评估结果,采用语音或者可视化图像提醒或警告驾驶员。例如,当驾驶员由于驾驶时间过长导致驾驶疲劳,人因智能监控平台可以采用语音或图像形式提示驾驶员:“您已长时间驾驶,请停车休息”;或者驾驶员因为接打电话而分心,且当前车速较快,周围车况较复杂时,人因智能监控平台可以向车辆发出警报声,提醒司机注意前方车辆。Specifically, the human-factor intelligent monitoring platform uses voice or visual images to remind or warn the driver based on the driving status assessment results. For example, when the driver is tired due to driving for too long, the human-factor intelligent monitoring platform can use voice or image to remind the driver: "You have been driving for a long time, please stop and rest"; or when the driver is distracted by making a phone call, and the current speed is fast and the surrounding traffic conditions are complicated, the human-factor intelligent monitoring platform can send an alarm to the vehicle to remind the driver to pay attention to the vehicle ahead.
进一步地,基于驾驶员状态检测数据标记不良驾驶习惯行为,不良驾驶习惯行为包括吸烟、打电话、加塞、长时间不目视前方、频繁急刹车、频繁超速等。并且,统计不良驾驶习惯行为的发生次数;当不良驾驶习惯行为的发生次数大于预设次数(例如3次)时,对驾驶员进行提醒或警告。可选的,对于有自动驾驶系统的车辆,在确定周围车辆运行情况安全时,可以通过控制方向盘、刹车和方向灯进行靠边停车。Furthermore, based on the driver status detection data, bad driving habits are marked, including smoking, talking on the phone, cutting in, not looking ahead for a long time, frequent emergency braking, frequent speeding, etc. In addition, the number of occurrences of bad driving habits is counted; when the number of occurrences of bad driving habits is greater than a preset number (for example, 3 times), the driver is reminded or warned. Optionally, for vehicles with automatic driving systems, when it is determined that the operation of surrounding vehicles is safe, the vehicle can pull over by controlling the steering wheel, brakes and turn signals.
同时,通过采集驾驶员状态检测数据、车辆状态检测数据、道路环境状态检测数据、人机交互数据(如HMI(Human Machine Interface,人机接口)人机交互数据、HUD(head-up display,抬头显示)人机交互数据)、脑电和眼动数据等,可以测评驾驶员的基本能力,如警觉度、注意广度、记忆力等;或者测评驾驶员特殊能力,如空间定向能力、运动协调能力、周边视野水平;或者测评驾驶员的人格特征;或者测评驾驶适宜性等。且系统还可进一步构建驾驶员的认知能力数据画像,为驾驶员能力的测评、训练与选拔提供数据支撑。At the same time, by collecting driver status detection data, vehicle status detection data, road environment status detection data, human-machine interaction data (such as HMI (Human Machine Interface) human-machine interaction data, HUD (head-up display) human-machine interaction data), EEG and eye movement data, it is possible to evaluate the driver's basic abilities, such as alertness, attention span, memory, etc.; or evaluate the driver's special abilities, such as spatial orientation ability, motor coordination ability, peripheral vision level; or evaluate the driver's personality characteristics; or evaluate driving suitability, etc. The system can also further construct a data portrait of the driver's cognitive ability to provide data support for the evaluation, training and selection of driver abilities.
在本申请中,通过多个不同的检测设备同时检测得到驾驶员状态检测数据、车辆状态检测数据和道路环境状态检测数据,对驾驶员状态检测数据、车辆状态检测数据和道路环境状态检测数据进行综合分析,得到驾驶状态评估结果,再根据驾驶状态评估结果进行预警。本申请从驾驶员状态、车辆状态和道路环境状态三个维度对驾驶状态进行评估,有助于提高驾驶状态评估的准确性,提高驾驶的安全性。同时,对于驾驶员状态、车辆状态和道路环境状态进行分级,比如将驾驶状态分为疲劳状态、分心状态和情绪状态,对疲劳状态、分心状态和情绪状态再细分,从而进一步提高驾驶状态评估的准确性,根据驾驶状态进行风险预警,提高驾驶的安全性。In this application, driver status detection data, vehicle status detection data and road environment status detection data are detected simultaneously by multiple different detection devices, and the driver status detection data, vehicle status detection data and road environment status detection data are comprehensively analyzed to obtain driving status evaluation results, and then an early warning is issued based on the driving status evaluation results. This application evaluates the driving status from three dimensions: driver status, vehicle status and road environment status, which helps to improve the accuracy of driving status evaluation and improve driving safety. At the same time, the driver status, vehicle status and road environment status are graded, such as dividing the driving status into fatigue status, distraction status and emotional status, and further subdividing the fatigue status, distraction status and emotional status, so as to further improve the accuracy of driving status evaluation, issue risk warnings based on the driving status, and improve driving safety.
图5为本申请实施例提供的驾驶状态检测与预警装置的结构示意图,如图5所示,驾驶状态检测与预警装置50可以包括:FIG5 is a schematic diagram of the structure of a driving state detection and warning device provided in an embodiment of the present application. As shown in FIG5 , the driving state detection and warning device 50 may include:
获取模块51,用于获取监测终端上传的驾驶员状态检测数据、车辆状态检测数据和道路环境状态检测数据,监测终端包括多个检测设备,检测设备至少包括生理信号检测设备、视频信号检测设备和车辆信号检测设备;An acquisition module 51 is used to acquire driver status detection data, vehicle status detection data and road environment status detection data uploaded by a monitoring terminal, wherein the monitoring terminal includes a plurality of detection devices, and the detection devices include at least a physiological signal detection device, a video signal detection device and a vehicle signal detection device;
分析模块52,用于对驾驶员状态检测数据、车辆状态检测数据和道路环境状态检测数据进行分析,得到驾驶状态评估结果;An analysis module 52 is used to analyze the driver state detection data, the vehicle state detection data and the road environment state detection data to obtain a driving state evaluation result;
预警模块53,用于基于驾驶状态评估结果进行预警。The warning module 53 is used to issue a warning based on the driving status evaluation result.
其中一种可能的实现方式中,驾驶员状态包括疲劳状态、分心状态和情绪状态;In one possible implementation, the driver state includes a fatigue state, a distracted state, and an emotional state;
车辆状态包括正常行驶状态和非正常行驶状态;The vehicle status includes normal driving status and abnormal driving status;
道路环境状态至少包括前方无车辆或行人、前方车辆碰撞、车道偏离、车辆过近、频繁变道、他车切入。The road environment status at least includes no vehicles or pedestrians ahead, collision with the vehicle ahead, lane deviation, vehicles too close, frequent lane changes, and other vehicles cutting in.
其中一种可能的实现方式中,驾驶状态检测与预警装置50还可以包括:In one possible implementation, the driving state detection and warning device 50 may further include:
采集模块,用于当车辆在设定路线下按照设定状态行驶时,采集驾驶员的第一状态检测数据;A collection module, used for collecting first state detection data of the driver when the vehicle is traveling in a set state on a set route;
标准化处理模块,用于根据采集的驾驶员的第一状态检测数据,进行标准化处理;A standardization processing module, used for performing standardization processing according to the collected first state detection data of the driver;
关联模块,用于将实时获取的驾驶员状态检测数据与标准化处理后的驾驶员的第一状态检测数据进行关联。The association module is used to associate the driver status detection data acquired in real time with the driver's first status detection data after standardization.
其中一种可能的实现方式中,驾驶状态检测与预警装置50还可以包括:In one possible implementation, the driving state detection and warning device 50 may further include:
噪声处理模块,用于驾驶员状态检测数据基于驾驶员的第一状态检测数据进行噪声处理,得到驾驶员的第二状态检测数据,驾驶员的第一状态检测数据至少包括驾驶员的生理信号、第一眼动信号、脑电及脑成像信号,及行为检测数据。The noise processing module is used to perform noise processing on the driver state detection data based on the driver's first state detection data to obtain the driver's second state detection data. The driver's first state detection data at least includes the driver's physiological signal, first eye movement signal, EEG and brain imaging signal, and behavior detection data.
其中一种可能的实现方式中,分析模块52还可以用于:In one possible implementation, the analysis module 52 may also be used to:
对驾驶员的第二状态检测数据、车辆状态检测数据和道路环境状态检测数据进行分析,得到驾驶状态评估结果。The driver's second state detection data, the vehicle state detection data and the road environment state detection data are analyzed to obtain a driving state evaluation result.
其中一种可能的实现方式中,驾驶员状态检测数据包括第二眼动信号,第二眼动信号由视频信号检测设备实时获取的视频内容解析得到。In one possible implementation, the driver status detection data includes a second eye movement signal, and the second eye movement signal is obtained by analyzing video content acquired in real time by a video signal detection device.
其中一种可能的实现方式中,噪声处理模块还可以用于:结合第一眼动信号,确定第二眼动信号的伪迹噪声,并去除伪迹噪声。In one possible implementation manner, the noise processing module may also be used to: determine artifact noise of the second eye movement signal in combination with the first eye movement signal, and remove the artifact noise.
其中一种可能的实现方式中,疲劳状态包括轻度疲劳、中度疲劳和重度疲劳,疲劳状态是通过对生理信号检测设备或视频信号检测设备检测的数据进行分析得到;In one possible implementation, the fatigue state includes mild fatigue, moderate fatigue and severe fatigue, and the fatigue state is obtained by analyzing data detected by a physiological signal detection device or a video signal detection device;
分心状态包括行为分心和认知分心,行为分心是通过对视频信号检测设备检测的数据进行分析得到,认知分心是通过对生理信号检测设备检测的数据进行分析得到;The distraction state includes behavioral distraction and cognitive distraction. The behavioral distraction is obtained by analyzing the data detected by the video signal detection device, and the cognitive distraction is obtained by analyzing the data detected by the physiological signal detection device.
情绪状态包括情绪强度和情绪效价,情绪强度是通过对生理信号检测设备检测的数据进行分析得到,情绪效价是通过对视频信号检测设备检测的数据进行分析得到。The emotional state includes emotional intensity and emotional valence. The emotional intensity is obtained by analyzing the data detected by the physiological signal detection device, and the emotional valence is obtained by analyzing the data detected by the video signal detection device.
其中一种可能的实现方式中,情绪强度包括情绪异常和情绪正常,情绪效价包括正性情绪和负性情绪,正性情绪用于表征积极的情绪,负性情绪用于表征消极的情绪。In one possible implementation, emotion intensity includes abnormal emotion and normal emotion, emotion valence includes positive emotion and negative emotion, positive emotion is used to represent positive emotion, and negative emotion is used to represent negative emotion.
其中一种可能的实现方式中,分析模块52还可以用于:In one possible implementation, the analysis module 52 may also be used to:
将驾驶员状态检测数据、车辆状态检测数据和道路环境状态检测数据分别输入至对应的状态识别模型,识别得到驾驶员状态、车辆状态和道路环境状态;The driver state detection data, the vehicle state detection data and the road environment state detection data are respectively input into the corresponding state recognition model to identify the driver state, the vehicle state and the road environment state;
结合驾驶员状态、车辆状态和道路环境状态得到驾驶状态评估结果。The driving state evaluation result is obtained by combining the driver state, vehicle state and road environment state.
其中一种可能的实现方式中,结合驾驶员状态、车辆状态和道路环境状态得到驾驶状态评估结果包括:In one possible implementation, the driving state evaluation result obtained by combining the driver state, the vehicle state and the road environment state includes:
若驾驶员状态为轻度疲劳,车辆状态为正常行驶状态,道路环境状态为前方无车辆或行人,则驾驶状态评估结果为第一驾驶风险状态;If the driver is in a state of mild fatigue, the vehicle is in a normal driving state, and the road environment is in a state of no vehicles or pedestrians ahead, the driving state assessment result is a first driving risk state;
若驾驶员状态为中度疲劳,车辆状态为非正常行驶状态,道路环境状态为前方无车辆或行人,则驾驶状态评估结果为第二驾驶风险状态;If the driver is in moderate fatigue, the vehicle is in an abnormal driving state, and the road environment is in a state where there are no vehicles or pedestrians ahead, the driving state assessment result is a second driving risk state;
若驾驶员状态为重度疲劳,车辆状态为非正常行驶状态,道路环境状态为他车切入,则驾驶状态评估结果为第三驾驶风险状态。If the driver is in severe fatigue, the vehicle is in an abnormal driving state, and the road environment is in which another vehicle cuts in, the driving state assessment result is the third driving risk state.
其中一种可能的实现方式中,状态识别模型包括驾驶员状态识别模型,驾驶员状态识别模型包括认知分心状态识别模型,认知分心状态识别模型的训练包括:In one possible implementation, the state recognition model includes a driver state recognition model, the driver state recognition model includes a cognitive distraction state recognition model, and the training of the cognitive distraction state recognition model includes:
在预设时间间隔内或者不同时刻多次采集一个或多个驾驶员在执行双任务和单任务的眼动和脑电数据;Collect eye movement and EEG data of one or more drivers when performing dual tasks and single tasks multiple times within a preset time interval or at different times;
对多次采集的眼动和脑电数据进行对比,去除无效数据;Compare the eye movement and EEG data collected multiple times and remove invalid data;
对去除无效数据后的多次采集的眼动和脑电数据求平均值;The eye movement and EEG data collected multiple times were averaged after invalid data were removed;
基于平均值通过机器学习算法对认知分心状态识别模型进行模型训练。The cognitive distraction state recognition model is trained through a machine learning algorithm based on the average value.
其中一种可能的实现方式中,驾驶状态检测与预警装置50还可以包括:In one possible implementation, the driving state detection and warning device 50 may further include:
标记模块,用于基于驾驶员状态检测数据标记不良驾驶习惯行为,不良驾驶习惯行为至少包括吸烟、打电话和加塞;A marking module, used for marking bad driving habits based on the driver status detection data, where the bad driving habits at least include smoking, making phone calls and cutting in;
统计模块,用于统计不良驾驶习惯行为的发生次数;Statistics module, used to count the number of bad driving habits;
提醒模块,当不良驾驶习惯行为的发生次数大于预设次数时,对驾驶员进行提醒或警告。The reminder module reminds or warns the driver when the number of bad driving habits exceeds the preset number.
其中一种可能的实现方式中,驾驶状态检测与预警装置50还可以包括:In one possible implementation, the driving state detection and warning device 50 may further include:
判断模块,通过神经网络算法判断检测设备检测的信号是否为正常信号,若信号为不正常信号,则通过语音或图像提示驾驶员进行设备调试。The judgment module uses a neural network algorithm to determine whether the signal detected by the detection equipment is a normal signal. If the signal is an abnormal signal, it prompts the driver to debug the equipment through voice or image.
其中一种可能的实现方式中,监测终端同步开启或单独开启多个检测设备,驾驶员状态检测数据、车辆状态检测数据和道路环境状态检测数据由检测设备同步上传至监测终端。In one possible implementation, the monitoring terminal simultaneously turns on or individually turns on multiple detection devices, and the driver status detection data, vehicle status detection data, and road environment status detection data are synchronously uploaded to the monitoring terminal by the detection devices.
图5所示实施例提供的驾驶状态检测与预警装置50可用于执行本申请所示方法实施例的技术方案,其实现原理和技术效果可以进一步参考方法实施例中的相关描述。The driving status detection and warning device 50 provided in the embodiment shown in FIG5 can be used to execute the technical solution of the method embodiment shown in the present application. Its implementation principle and technical effects can be further referred to the relevant description in the method embodiment.
应理解以上图5所示的驾驶状态检测与预警装置50的各个模块的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且这些模块可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分模块以软件通过处理元件调用的形式实现,部分模块通过硬件的形式实现。例如,检测模块可以为单独设立的处理元件,也可以集成在电子设备的某一个芯片中实现。其它模块的实现与之类似。此外这些模块全部或部分可以集成在一起,也可以独立实现。在实现过程中,上述方法的各步骤或以上各个模块可以通过处理器元件中的硬件的集成逻辑电路或者软件形式的指令完成。It should be understood that the division of the various modules of the driving state detection and warning device 50 shown in Figure 5 above is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. For example, the detection module can be a separately established processing element, or it can be integrated in a chip of an electronic device. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, or they can be implemented independently. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
例如,以上这些模块可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(Application Specific Integrated Circuit;以下简称:ASIC),或,一个或多个微处理器(Digital Signal Processor;以下简称:DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array;以下简称:FPGA)等。再如,这些模块可以集成在一起,以片上系统(System-On-a-Chip;以下简称:SOC)的形式实现。For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more microprocessors (DSP), or one or more field programmable gate arrays (FPGA). For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
以上各实施例中,涉及的处理器可以例如包括CPU、DSP、微控制器或数字信号处理器,还可包括GPU、嵌入式神经网络处理器(Neural-network Process Units;以下简称:NPU)和图像信号处理器(Image Signal Processing;以下简称:ISP),该处理器还可包括必要的硬件加速器或逻辑处理硬件电路,如ASIC,或一个或多个用于控制本申请技术方案程序执行的集成电路等。此外,处理器可以具有操作一个或多个软件程序的功能,软件程序可以存储在存储介质中。In the above embodiments, the processor involved may include, for example, a CPU, a DSP, a microcontroller or a digital signal processor, and may also include a GPU, an embedded neural network processor (Neural-network Process Units; hereinafter referred to as: NPU) and an image signal processor (Image Signal Processing; hereinafter referred to as: ISP). The processor may also include necessary hardware accelerators or logic processing hardware circuits, such as ASIC, or one or more integrated circuits for controlling the execution of the program of the technical solution of the present application. In addition, the processor may have the function of operating one or more software programs, and the software programs may be stored in a storage medium.
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行本申请所示实施例提供的方法。The embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the method provided by the embodiment shown in the present application.
本申请实施例还提供一种计算机程序产品,该计算机程序产品包括计算机程序,当其在计算机上运行时,使得计算机执行本申请所示实施例提供的方法。An embodiment of the present application also provides a computer program product, which includes a computer program. When the computer program is run on a computer, it enables the computer to execute the method provided by the embodiment shown in the present application.
本申请实施例还提供了一种电子设备,用于实现上述的驾驶状态检测与预警方法。本申请实施例不对电子设备的类型进行限制,电子设备可以为台式电脑、平板电脑、笔记本电脑、掌上电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)或者上网本等。The embodiment of the present application also provides an electronic device for implementing the above-mentioned driving state detection and warning method. The embodiment of the present application does not limit the type of electronic device, and the electronic device can be a desktop computer, a tablet computer, a laptop computer, a PDA, an ultra-mobile personal computer (UMPC) or a netbook, etc.
下面结合图6进一步介绍本申请实施例中提供的示例性电子设备。图6示出了电子设备6000的结构示意图。The exemplary electronic device provided in the embodiments of the present application is further described below in conjunction with Fig. 6. Fig. 6 shows a schematic diagram of the structure of an electronic device 6000.
上述电子设备6000可以包括:至少一个处理器;以及与上述处理器通信连接的至少一个存储器,其中:上述存储器存储有可被上述处理器执行的程序指令,处理器调用上述程序指令能够执行本申请所示实施例提供的驾驶状态检测与预警方法。The above-mentioned electronic device 6000 may include: at least one processor; and at least one memory communicatively connected to the above-mentioned processor, wherein: the above-mentioned memory stores program instructions that can be executed by the above-mentioned processor, and the processor calls the above-mentioned program instructions to execute the driving status detection and warning method provided in the embodiment shown in this application.
图6示出了适用于实现本申请实施方式的示例性电子设备6000的框图。图6显示的电子设备6000仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Fig. 6 shows a block diagram of an exemplary electronic device 6000 suitable for implementing the embodiments of the present application. The electronic device 6000 shown in Fig. 6 is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
如图6所示,电子设备6000以通用计算设备的形式表现。电子设备6000的组件可以包括但不限于:一个或者多个处理器6010,存储器6020,连接不同系统组件(包括存储器6020和处理器6010)的通信总线6040以及通信接口6030。As shown in Fig. 6, electronic device 6000 is in the form of a general computing device. Components of electronic device 6000 may include but are not limited to: one or more processors 6010, memory 6020, a communication bus 6040 connecting different system components (including memory 6020 and processor 6010), and a communication interface 6030.
通信总线6040表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(Industry StandardArchitecture;以下简称:ISA)总线,微通道体系结构(Micro Channel Architecture;以下简称:MAC)总线,增强型ISA总线、视频电子标准协会(Video Electronics StandardsAssociation;以下简称:VESA)局域总线以及外围组件互连(Peripheral ComponentInterconnection;以下简称:PCI)总线。The communication bus 6040 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnection (PCI) bus.
电子设备6000典型地包括多种计算机系统可读介质。这些介质可以是任何能够被电子设备访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。The electronic device 6000 typically includes a variety of computer system readable media, which can be any available media that can be accessed by the electronic device, including volatile and nonvolatile media, removable and non-removable media.
存储器6020可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(Random Access Memory;以下简称:RAM)和/或高速缓存存储器。电子设备可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。尽管图6中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如:光盘只读存储器(Compact Disc Read Only Memory;以下简称:CD-ROM)、数字多功能只读光盘(Digital Video Disc Read Only Memory;以下简称:DVD-ROM)或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与通信总线6040相连。存储器6020可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本申请各实施例的功能。The memory 6020 may include a computer system readable medium in the form of a volatile memory, such as a random access memory (Random Access Memory; hereinafter referred to as: RAM) and/or a cache memory. The electronic device may further include other removable/non-removable, volatile/non-volatile computer system storage media. Although not shown in FIG. 6, a disk drive for reading and writing a removable non-volatile disk (such as a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk (such as: a compact disc read only memory (Compact Disc Read Only Memory; hereinafter referred to as: CD-ROM), a digital versatile read-only optical disk (Digital Video Disc Read Only Memory; hereinafter referred to as: DVD-ROM) or other optical media) may be provided. In these cases, each drive can be connected to the communication bus 6040 via one or more data medium interfaces. The memory 6020 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present application.
具有一组(至少一个)程序模块的程序/实用工具,可以存储在存储器6020中,这样的程序模块包括——但不限于——操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块通常执行本申请所描述的实施例中的功能和/或方法。A program/utility having a set (at least one) of program modules may be stored in the memory 6020, such program modules including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules generally perform the functions and/or methods of the embodiments described herein.
电子设备6000也可以与一个或多个外部设备(例如键盘、指向设备、显示器等)通信,还可与一个或者多个使得用户能与该电子设备交互的设备通信,和/或与使得该电子设备能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过通信接口6030进行。并且,电子设备6000还可以通过网络适配器(图6中未示出)与一个或者多个网络(例如局域网(Local Area Network;以下简称:LAN),广域网(Wide Area Network;以下简称:WAN)和/或公共网络,例如因特网)通信,上述网络适配器可以通过通信总线6040与电子设备的其它模块通信。应当明白,尽管图6中未示出,可以结合电子设备6000使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、磁盘阵列(Redundant Arrays of Independent Drives;以下简称:RAID)系统、磁带驱动器以及数据备份存储系统等。The electronic device 6000 may also communicate with one or more external devices (e.g., keyboards, pointing devices, displays, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device, and/or communicate with any device that enables the electronic device to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed through the communication interface 6030. In addition, the electronic device 6000 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and/or public networks, such as the Internet) through a network adapter (not shown in FIG. 6 ), and the network adapter may communicate with other modules of the electronic device through the communication bus 6040. It should be understood that, although not shown in FIG. 6 , other hardware and/or software modules may be used in conjunction with the electronic device 6000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, disk arrays (RAID) systems, tape drives, and data backup storage systems.
处理器6010通过运行存储在存储器6020中的程序,从而执行各种功能应用以及数据处理,例如实现本申请实施例提供的方法。The processor 6010 executes various functional applications and data processing by running the programs stored in the memory 6020, such as implementing the method provided in the embodiment of the present application.
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备6000的结构限定。在本申请另一些实施例中,电子设备6000也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 6000. In other embodiments of the present application, the electronic device 6000 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
以上各实施例中,涉及的处理器可以例如包括CPU、DSP、微控制器或数字信号处理器,还可包括GPU、嵌入式神经网络处理器(Neural-network Process Units;以下简称:NPU)和图像信号处理器(Image Signal Processing;以下简称:ISP),该处理器还可包括必要的硬件加速器或逻辑处理硬件电路,如ASIC,或一个或多个用于控制本申请技术方案程序执行的集成电路等。此外,处理器可以具有操作一个或多个软件程序的功能,软件程序可以存储在存储介质中。In the above embodiments, the processor involved may include, for example, a CPU, a DSP, a microcontroller or a digital signal processor, and may also include a GPU, an embedded neural network processor (Neural-network Process Units; hereinafter referred to as: NPU) and an image signal processor (Image Signal Processing; hereinafter referred to as: ISP). The processor may also include necessary hardware accelerators or logic processing hardware circuits, such as ASIC, or one or more integrated circuits for controlling the execution of the program of the technical solution of the present application. In addition, the processor may have the function of operating one or more software programs, and the software programs may be stored in a storage medium.
本领域普通技术人员可以意识到,本文中公开的实施例中描述的各单元及算法步骤,能够以电子硬件、计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
在本申请所提供的几个实施例中,任一功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory;以下简称:ROM)、随机存取存储器(Random Access Memory;以下简称:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。In several embodiments provided in the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as: ROM), random access memory (Random Access Memory; hereinafter referred to as: RAM), disk or optical disk, and other media that can store program codes.
以上,仅为本申请的具体实施方式,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。本申请的保护范围应以权利要求的保护范围为准。The above are only specific implementations of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.
Claims (17)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311782765.0A CN117842085A (en) | 2023-12-22 | 2023-12-22 | Driving state detection and early warning method, driving state detection and early warning system, electronic equipment and storage medium |
PCT/CN2024/131835 WO2025118936A1 (en) | 2023-12-05 | 2024-11-13 | Driving state monitoring and feedback method and system based on multi-modal human factors intelligent data analysis, and edge computing terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311782765.0A CN117842085A (en) | 2023-12-22 | 2023-12-22 | Driving state detection and early warning method, driving state detection and early warning system, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117842085A true CN117842085A (en) | 2024-04-09 |
Family
ID=90542791
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311782765.0A Pending CN117842085A (en) | 2023-12-05 | 2023-12-22 | Driving state detection and early warning method, driving state detection and early warning system, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117842085A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118486130A (en) * | 2024-05-16 | 2024-08-13 | 交通运输部公路科学研究所 | A hierarchical monitoring and early warning method based on driver's job suitability |
WO2025118936A1 (en) * | 2023-12-05 | 2025-06-12 | 北京津发科技股份有限公司 | Driving state monitoring and feedback method and system based on multi-modal human factors intelligent data analysis, and edge computing terminal device |
-
2023
- 2023-12-22 CN CN202311782765.0A patent/CN117842085A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2025118936A1 (en) * | 2023-12-05 | 2025-06-12 | 北京津发科技股份有限公司 | Driving state monitoring and feedback method and system based on multi-modal human factors intelligent data analysis, and edge computing terminal device |
CN118486130A (en) * | 2024-05-16 | 2024-08-13 | 交通运输部公路科学研究所 | A hierarchical monitoring and early warning method based on driver's job suitability |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11375338B2 (en) | Method for smartphone-based accident detection | |
JP6972629B2 (en) | Information processing equipment, information processing methods, and programs | |
CN117842085A (en) | Driving state detection and early warning method, driving state detection and early warning system, electronic equipment and storage medium | |
US9082285B2 (en) | System and method for determining vehicle driving status information-based driving concentration | |
CN106530621A (en) | Safe driving method and apparatus based on smart wearable equipment | |
CN109716411A (en) | Method and apparatus to monitor the activity level of driver | |
CN113460062A (en) | Driving behavior analysis system | |
JP2022530481A (en) | Proposal system to select a driver from multiple candidates | |
CN112606842B (en) | A kind of safe driving assistance method, device and system | |
TW201441080A (en) | Fatigue driving monitoring system and method | |
CN113312958B (en) | Method and device for adjusting dispatch priority based on driver state | |
CN118439033A (en) | Vehicle safety monitoring method, device and medium | |
US20220020270A1 (en) | Driving assistance device, driving assistance method, and storage medium in which program is stored | |
CN117465459A (en) | Vehicle control method, device, equipment and storage medium | |
Rusmin et al. | Design and implementation of driver drowsiness detection system on digitalized driver system | |
CN117612334A (en) | A driving safety reminder system and method based on smart watch | |
TWI772078B (en) | Method and system for evaluating vehicle driver competency | |
CN116798189A (en) | State detection method, device and storage medium | |
CN106600427A (en) | Novel vehicle insurance system | |
JP7611540B1 (en) | System and method for detecting microsleep-related behavior of a driver while driving | |
Priya et al. | Machine Learning-Based System for Detecting and Tracking Driver Drowsiness | |
Ghasemi et al. | Driving violation detection using vehicle data and environmental conditions | |
CN119107627A (en) | A method and device for monitoring driver fatigue status | |
Magarde et al. | Driver Drowsiness Detection System and Techniques: Critical Analysis | |
Kumar et al. | Driver Drowsiness Detection and Alert System Using Computer Vision |
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 |