WO2023000762A1 - Attention analysis method, vehicle and storage medium - Google Patents

Attention analysis method, vehicle and storage medium Download PDF

Info

Publication number
WO2023000762A1
WO2023000762A1 PCT/CN2022/091487 CN2022091487W WO2023000762A1 WO 2023000762 A1 WO2023000762 A1 WO 2023000762A1 CN 2022091487 W CN2022091487 W CN 2022091487W WO 2023000762 A1 WO2023000762 A1 WO 2023000762A1
Authority
WO
WIPO (PCT)
Prior art keywords
event
driver
data
parameter information
steering wheel
Prior art date
Application number
PCT/CN2022/091487
Other languages
French (fr)
Chinese (zh)
Inventor
杨东培
林智桂
罗覃月
廖尉华
熊铎程
Original Assignee
上汽通用五菱汽车股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上汽通用五菱汽车股份有限公司 filed Critical 上汽通用五菱汽车股份有限公司
Publication of WO2023000762A1 publication Critical patent/WO2023000762A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2415Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on parametric or probabilistic models, e.g. based on likelihood ratio or false acceptance rate versus a false rejection rate
    • G06F18/24155Bayesian classification

Definitions

  • the present application relates to the field of vehicles, in particular to an attention analysis method, a vehicle and a computer-readable storage medium.
  • the more concentrated the driver's attention the faster the reaction speed in the face of unexpected situations, and the more effective handling can be done.
  • the existing method of judging whether the driver's attention is focused is through sensor information, such as the angle of rotation information on the steering wheel. If the angle of rotation is greater than a threshold, it is considered that the current driver is not focused.
  • sensor information such as the angle of rotation information on the steering wheel. If the angle of rotation is greater than a threshold, it is considered that the current driver is not focused.
  • the data sent by the sensor will fluctuate within the threshold range, so it will frequently be judged that the driver is not paying attention at this time, which will affect the user, and there is no Fully considering the impact of lane information, when the road bends, the steering wheel angle will often lead to misjudgment, resulting in low judgment accuracy.
  • the main purpose of the present application is to propose an attention analysis method, a vehicle and a computer-readable storage medium, aiming at solving the problem of low accuracy of existing driver attention judgment methods.
  • the application provides an attention analysis method, including steps:
  • the posterior probabilities of the driver's concentration event and the inattention event are respectively calculated, and whether the driver's concentration is determined according to the posterior probability.
  • the parameter information corresponding to the road state includes road information corresponding to the road state; the parameter information corresponding to the driving item includes driver behavior information corresponding to driver behavior and vehicle dynamic behavior corresponding to vehicle dynamic behavior.
  • Behavior information the driver behavior information includes steering wheel hand torque value data and steering wheel angle value data, the vehicle dynamic behavior information includes lateral acceleration data, and the road information includes lateral deviation data.
  • the step of obtaining parameter information corresponding to the road state and parameter information corresponding to at least one driving item, and discretizing the parameter information corresponding to the road state and the parameter information corresponding to the driving item includes: :
  • the step of calculating the mean value and variance value corresponding to the road state and the driving item according to the discretized parameter information includes:
  • the steering wheel angle value data the vehicle lateral acceleration data and the lateral deviation data, respectively calculate the mean value and variance corresponding to each of the parameter information.
  • the step of calculating the prior probability corresponding to the parameter information according to the mean value and variance value corresponding to the parameter information includes:
  • Input the mean value and variance value corresponding to the steering wheel hand torque value data, the steering wheel angle value data, the vehicle lateral acceleration data and the lateral deviation data, respectively calculated by the preset conditional probability formula A priori probability corresponding to the steering wheel hand torque value data, the steering wheel angle value data, the vehicle lateral acceleration data and the lateral deviation data.
  • the prior probability and the preset naive Bayesian algorithm respectively calculate the posterior probability of the driver's concentration event and inattention event, and judge according to the posterior probability Steps to determine whether the driver is paying attention include:
  • the preset naive Bayesian algorithm calculate the posterior probability of the driver's concentration and the driver's inattention obtained according to the preset time interval in each preset duration;
  • the posterior probability of the driver's inattention is calculated by the following formula:
  • the posterior probability of the driver's concentration is calculated by the following formula:
  • X is a combination of the event that the steering wheel hand torque data effectively exists, the event that the steering wheel angle data effectively exists, the event that the lateral deviation data effectively exists, and the event that the lateral acceleration data effectively exists
  • the y1 is the driver's lack of attention Concentrated events
  • x 1 is the event that the steering wheel hand torque data is valid
  • x 2 is the event that the steering wheel angle data is valid
  • x 3 is the event that the lateral deviation data is valid
  • x 4 is the event that the lateral acceleration data is valid
  • x is the driver's inattention event in the combination of all events
  • x) is the probability of the driver's inattention event in the combination of all events
  • y 1 ) is the prior probability of the event that the steering wheel hand torque data effectively exists in the event of driver inattention
  • y 1 ) is the event of steering wheel inattention The prior probability of the occurrence of the event that the corner data effectively exists
  • x is the driver's attention-focused event in the combination of all events
  • x) is the probability of the driver's attention-focused event in the combination of all events
  • y 2 ) is the prior probability of the event that the steering wheel hand torque data effectively exists under the event of driver's concentration
  • y 2 ) is the effective existence of steering wheel angle data under the event of driver's concentration
  • y 2 ) is the prior probability of the event that the lateral deviation data effectively exists under the driver's concentration event
  • y 2 ) is the The prior probability of the occurrence of the event that the lateral acceleration data effectively exists under the event where the operator is focused.
  • the prior probability and the preset naive Bayesian algorithm respectively calculate the posterior probability of the driver's attention concentration event and the attention inattention event, and judge whether the driver's attention is concentrated
  • the steps before include:
  • the preset conditional probability function of the normal distribution of the steering wheel hand torque value data, the steering wheel angle value data, the vehicle lateral acceleration data and the lateral deviation data is obtained by processing according to the normal distribution formula.
  • the present application also provides a vehicle, the vehicle includes a memory, a processor, and a computer program stored in the memory and operable on the processor, the computer program being executed by the processor During execution, the steps of the attention analysis method as described above are realized.
  • the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned attention analysis method are realized .
  • An attention analysis method, a vehicle, and a computer-readable storage medium proposed by the present application, by obtaining parameter information corresponding to road state and parameter information corresponding to at least one driving item, discretize the parameter information corresponding to the driving item , it is convenient to use the parameter information for data analysis, reduce the time and space occupied by the Bayesian algorithm, and improve the classification and clustering ability and anti-noise ability of the system for road information and driving items; parameter information, calculate the mean value and variance value corresponding to the driving item, and reduce the error in the calculation of whether the driver's attention is concentrated; by calculating the mean value and variance value corresponding to the parameter information, the The prior probability corresponding to the parameter information ensures the accuracy of judging the probability of the driver's concentration and driver's inattention; by using the prior probability and the preset naive Bayesian algorithm, the driver's The posterior probability of the attention concentration event and the attention inattention event, and judge whether the driver's attention is concentrated according to the posterior probability, and realize whether the driver's attention is jointly
  • Fig. 1 is a schematic structural diagram of the hardware operating environment involved in the embodiment scheme of the present application
  • FIG. 2 is a schematic flow chart of the first embodiment of the attention analysis method of the present application.
  • FIG. 3 is a schematic diagram of a detailed flowchart of step S40 in the second embodiment of the attention analysis method of the present application.
  • FIG. 1 is a schematic diagram of a hardware structure of a vehicle provided in various embodiments of the present application.
  • the vehicle includes components such as a communication module 01 , a memory 02 and a processor 03 .
  • the vehicle shown in FIG. 1 may also include more or fewer components than shown, or combine some components, or arrange different components.
  • the processor 03 is connected to the memory 02 and the communication module 01 respectively, the memory 02 stores a computer program, and the computer program is executed by the processor 03 at the same time.
  • the communication module 01 can be connected with external devices through the network.
  • the communication module 01 can receive data sent by external devices, and can also send data, instructions and information to the external devices.
  • the external devices can be electronic devices such as mobile phones, tablet computers, notebook computers, and desktop computers.
  • the memory 02 can be configured to store software programs and various data.
  • the memory 02 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application required by a function, etc.; the data storage area may store data or information created according to the use of the vehicle.
  • the memory 02 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
  • the processor 03 is the control center of the vehicle. It uses various interfaces and lines to connect various parts of the entire vehicle. By running or executing the software programs and/or modules stored in the memory 02, and calling the data stored in the memory 02, Execute various functions of the vehicle and process data to monitor the vehicle as a whole.
  • the processor 03 may include one or more processing units; optionally, the processor 03 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem
  • the tuner processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 03 .
  • vehicle structure shown in FIG. 1 does not constitute a limitation to the vehicle, and may include more or less components than those shown in the illustration, or combine some components, or arrange different components.
  • the attention analysis method includes steps:
  • Step S10 acquiring parameter information corresponding to the road state and parameter information corresponding to at least one driving item, and performing discretization processing on the parameter information corresponding to the road state and the parameter information corresponding to the driving item;
  • the parameter information corresponding to the road state includes road information corresponding to the road state, for example, the road information includes lateral deviation data; the parameter information corresponding to the driving item includes driver behavior information corresponding to driver behavior and vehicle dynamic behavior Corresponding vehicle dynamic behavior information.
  • the driver behavior information includes steering wheel hand torque value data and steering wheel angle value data, the vehicle dynamic behavior information includes lateral acceleration data, and the road information includes lateral deviation data.
  • the above parameter information is discretized using a supervised learning method.
  • Step S20 calculating mean and variance values corresponding to the road state and the driving item according to the discretized parameter information
  • the step S20 includes:
  • the steering wheel angle value data the vehicle lateral acceleration data and the lateral deviation data, respectively calculate the mean value and variance corresponding to each of the parameter information.
  • the mean value can be calculated by the following formula:
  • is the mean value
  • n is the statistical number of the parameter information
  • x i is the steering wheel hand torque value data
  • the steering wheel angle value data is the steering wheel angle value data
  • the vehicle lateral acceleration data is the Separate numerical values such as lateral deviation data.
  • the variance can be calculated by the following formula:
  • ⁇ 2 is the variance value
  • n is the value of the steering wheel hand torque value data, the steering wheel angle value data, the vehicle lateral acceleration data and the lateral deviation data, etc. involved in the calculation of the parameter information
  • the respective numbers, x i are the respective values of the steering wheel hand torque value data, the steering wheel angle value data, the vehicle lateral acceleration data, and the lateral deviation data in the parameter information.
  • Step S30 calculating a priori probability corresponding to the parameter information according to the mean value and variance value corresponding to the parameter information;
  • the step S30 also includes the steps of:
  • the preset conditional probability formula is specifically:
  • x i is the parameter information respectively represented by the steering wheel hand torque value data, the steering wheel angle value data, the vehicle lateral acceleration data and the lateral deviation data;
  • Y is inattention and attention
  • the combination of concentrated events X is the combination of events in which the steering wheel hand torque data effectively exists, the event in which the steering wheel angle data effectively exists, the event in which the lateral deviation data effectively exists, and the event in which the lateral acceleration data effectively exists;
  • ⁇ 2 is the variance value
  • is the mean value; wherein, the effective existence of the data refers to the vehicle’s sensor corresponding to the acquisition of steering wheel hand torque data, steering wheel angle data, lateral deviation data, lateral acceleration data and other parameter information within the preset range. data.
  • Step S40 according to the prior probability and the preset naive Bayesian algorithm, respectively calculate the posterior probability of the driver's concentration event and the inattention event, and judge whether the driver's attention is concentrated;
  • An attention analysis method, a vehicle, and a computer-readable storage medium proposed by the present application, by obtaining parameter information corresponding to road state and parameter information corresponding to at least one driving item, discretize the parameter information corresponding to the driving item , it is convenient to use the parameter information for data analysis, reduce the time and space occupied by the Bayesian algorithm, and improve the classification and clustering ability and anti-noise ability of the system for road information and driving items; parameter information, calculate the mean value and variance value corresponding to the driving item, and reduce the error in the calculation of whether the driver's attention is concentrated; by calculating the mean value and variance value corresponding to the parameter information, the The prior probability corresponding to the parameter information ensures the accuracy of judging the probability of the driver's concentration and driver's inattention; by using the prior probability and the preset naive Bayesian algorithm, the driver's The posterior probability of the attention concentration event and the attention inattention event, and judge whether the driver's attention is concentrated according to the posterior probability, and realize whether the driver's attention is jointly
  • the present application proposes a second embodiment, and the step S10 includes:
  • the preset time interval may be 1 second, 2 seconds, 3 seconds or 4 seconds, and the preset duration is longer than the preset time interval.
  • the preset duration can be any duration greater than 1 second, such as 3 seconds, 5 seconds, 8 seconds, etc.; when the preset time interval is 3 seconds, the preset duration can be any duration greater than 2 seconds, for example 3 seconds, 5 seconds, 8 seconds, etc.; when the preset time interval is 3 seconds or 4 seconds, and so on, it will not be repeated here.
  • the parameter information can also be obtained according to obtaining multiple parameter information in a certain distance during the driving process.
  • the steering wheel hand torque value data, steering wheel angle value data, vehicle lateral acceleration data and lateral deviation data can all be obtained by corresponding sensors installed on the vehicle, and the lateral deviation is when the vehicle is driving on the road.
  • the error between the point and the expected driving route of the vehicle system, the vehicle lateral acceleration is a physical quantity that is opposite to the centripetal acceleration direction and has the same acceleration value during the driving process of the vehicle.
  • the parameter information within the preset duration during driving is acquired at preset time intervals, which realizes multiple acquisitions of parameter information within the preset duration, reduces errors, and ensures data and driver attention. Accurate judgment of whether the force is concentrated.
  • the present application proposes a third embodiment, and the step S40 includes:
  • Step S41 according to the prior probability and the preset naive Bayesian algorithm, respectively calculate the posterior probability of the driver's concentration and the driver's inattention obtained according to the preset time interval within each preset time period;
  • the posterior probability of the driver's concentration and inattention can also be calculated according to obtaining a section of the preset travel distance that is less than the preset travel distance;
  • Step S42 in response to the probability that the driver's inattention is obtained according to the preset time interval each time within the preset duration is greater than the posterior probability of the driver's inattention, it is determined that the driver is inattention;
  • Step S43 in response to the probability that the driver's concentration is greater than the posterior probability of the driver's inattention obtained according to the preset time interval within the preset duration, it is determined that the driver's concentration
  • the probability of the driver's inattention obtained according to the preset time interval each time is greater than the posterior probability of the driver's inattention, for example, within 1 minute, the probability of driver's inattention and inattention can be calculated 20 times. Probability, if the probability of inattention of the driver is greater than the probability of concentration in 20 times, it can be judged that the driver is inattention;
  • the probability of the driver's concentration obtained according to the preset time interval is greater than the posterior probability of the driver's inattention, that is, in 20 times, the probability of the driver's concentration is greater than that of the driver's inattention.
  • the probability of that is, it is judged that the driver is paying attention.
  • the posterior probability of the driver's inattention is calculated by the following formula:
  • the posterior probability of the driver's concentration is calculated by the following formula:
  • X is a combination of the event that the steering wheel hand torque data effectively exists, the event that the steering wheel angle data effectively exists, the event that the lateral deviation data effectively exists, and the event that the lateral acceleration data effectively exists
  • the y1 is the driver's lack of attention Concentrated events
  • x 1 is the event that the steering wheel hand torque data is valid
  • x 2 is the event that the steering wheel angle data is valid
  • x 3 is the event that the lateral deviation data is valid
  • x 4 is the event that the lateral acceleration data is valid
  • x is the driver's inattention event in the combination of all events
  • x) is the probability of the driver's inattention event in the combination of all events
  • y 1 ) is the prior probability of the event that the steering wheel hand torque data effectively exists in the event of driver inattention
  • y 1 ) is the event of steering wheel inattention The prior probability of the occurrence of the event that the corner data effectively exists
  • x is the driver's attention-focused event in the combination of all events
  • x) is the probability of the driver's attention-focused event in the combination of all events
  • y 2 ) is the prior probability of the event that the steering wheel hand torque data effectively exists under the event of driver's concentration
  • y 2 ) is the effective existence of steering wheel angle data under the event of driver's concentration
  • y 2 ) is the prior probability of the event that the lateral deviation data effectively exists under the driver's concentration event
  • y 2 ) is the The prior probability of the occurrence of the event that the lateral acceleration data effectively exists under the event that the driver is focused
  • the posteriori of the driver's concentration and the driver's inattention obtained according to the preset time interval within each preset time period are respectively calculated according to the prior probability and the preset naive Bayesian algorithm probability, and judge whether the driver's attention is concentrated according to the number of times of concentration and non-concentration, which ensures the accuracy of judging whether the driver's attention is concentrated, and improves the safety during driving.
  • the present application proposes a fourth embodiment, which includes before the step S40:
  • the hand torque value data of the steering wheel, the steering wheel angle value data, the vehicle lateral acceleration data and the normal distribution preset conditional probability function of the lateral deviation data are obtained;
  • the normal distribution formula is:
  • conditional probability function can be obtained as:
  • conditional probability formula is obtained through the normal distribution formula, and the steering wheel hand torque value data, the steering wheel angle value data, the vehicle lateral acceleration data and the lateral deviation data are smoothed , reducing frequent reactions to the driver's attention due to the use of threshold judgments.
  • the present application also proposes a computer-readable storage medium on which a computer program is stored.
  • Described computer-readable storage medium can be memory 02 in the vehicle of Fig. 1, also can be as ROM (Read-Only Memory, read only memory)/RAM (Random Access Memory, random access memory), magnetic disk, optical disk At least one of them, the computer-readable storage medium includes information for enabling the vehicle to execute the methods described in the various embodiments of the present application.

Abstract

Disclosed in the present application are an attention analysis method, a vehicle and a storage medium. The method comprises: acquiring parameter information corresponding to a road state and parameter information corresponding to at least one driving item, and performing discretization processing on the parameter information corresponding to the road state and the parameter information corresponding to the driving item; calculating, according to the parameter information that has been subjected to the discretization processing, mean values and variance values corresponding to the road state and the driving item; performing calculation according to the mean values and the variance values corresponding to the parameter information, so as to obtain a prior probability corresponding to the parameter information; and respectively calculating posterior probabilities of a concentration event and an inattention event of a driver according to the prior probability and a preset naïve Bayes algorithm, and determining, according to the posterior probabilities, whether the attention of the driver is focused.

Description

注意力分析方法、车辆及存储介质Attention analysis method, vehicle and storage medium
相关申请related application
本申请要求于2021年7月22号申请的、申请号为202110833696.6的中国专利申请的优先权,其全部内容通过引用结合于此。This application claims priority to a Chinese patent application with application number 202110833696.6 filed on July 22, 2021, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本申请涉及车辆领域,尤其涉及一种注意力分析方法、车辆及计算机可读存储介质。The present application relates to the field of vehicles, in particular to an attention analysis method, a vehicle and a computer-readable storage medium.
背景技术Background technique
在车辆行驶过程中,驾驶员的注意力越集中,则面对突发情况的反应速度就更快,可以更有效地应对处理。现有的判断驾驶员注意力是否集中的方法是通过传感器信息,比如通过方向盘上的转角信息,若转角大于阈值则认为当前驾驶员注意力不集中。但在现有技术中,当采用单个传感器信息判断的方法时,传感器传出的数据在阈值范围内会浮动,因此会导致频繁判断驾驶员此时没有集中注意力,对用户造成影响,且没有充分考虑到车道信息带来的影响,当道路弯道时,方向盘转角大会导致误判,导致判断的准确性不高。During the driving process of the vehicle, the more concentrated the driver's attention, the faster the reaction speed in the face of unexpected situations, and the more effective handling can be done. The existing method of judging whether the driver's attention is focused is through sensor information, such as the angle of rotation information on the steering wheel. If the angle of rotation is greater than a threshold, it is considered that the current driver is not focused. However, in the prior art, when a single sensor information judgment method is used, the data sent by the sensor will fluctuate within the threshold range, so it will frequently be judged that the driver is not paying attention at this time, which will affect the user, and there is no Fully considering the impact of lane information, when the road bends, the steering wheel angle will often lead to misjudgment, resulting in low judgment accuracy.
申请内容application content
本申请的主要目的在于提出一种注意力分析方法、车辆及计算机可读存储介质,旨在解决现有驾驶员注意力判断方法准确性不高的问题。The main purpose of the present application is to propose an attention analysis method, a vehicle and a computer-readable storage medium, aiming at solving the problem of low accuracy of existing driver attention judgment methods.
为实现上述目的,本申请提供一种注意力分析方法,包括步骤:In order to achieve the above purpose, the application provides an attention analysis method, including steps:
获取道路状态对应的参数信息和至少一个驾驶项目对应的参数信息,对所述道路状态对应的参数信息和所述驾驶项目对应的参数信息进行离散化处理;Acquiring parameter information corresponding to the road state and parameter information corresponding to at least one driving item, and performing discretization processing on the parameter information corresponding to the road state and the parameter information corresponding to the driving item;
根据离散化处理后的所述参数信息,计算与所述道路状态和所述驾驶项目对应的均值和方差值;calculating mean and variance values corresponding to the road state and the driving item according to the discretized parameter information;
根据所述参数信息对应的均值和方差值,计算得到与所述参数信息对应的先验概率;calculating a priori probability corresponding to the parameter information according to the mean value and the variance value corresponding to the parameter information;
根据所述先验概率和预设朴素贝叶斯算法,分别计算驾驶员注意力集中事件和注意力不集中事件的后验概率,并根据所述后验概率判断驾驶员注意力是否集中。According to the prior probability and the preset naive Bayesian algorithm, the posterior probabilities of the driver's concentration event and the inattention event are respectively calculated, and whether the driver's concentration is determined according to the posterior probability.
在一实施方式中,所述道路状态对应的参数信息包括与道路状态对应的道路信息;所述驾驶项目对应的参数信息包括与驾驶员行为对应的驾驶员行为信息和车辆动态行为对应的车辆动态行为信息;所述驾驶员行为信息包括方向盘手力扭矩值数据和方向盘转角值数据,所述车辆动态行为信息包括横向加速度数据,所述道路信息包括横向偏差数据。In one embodiment, the parameter information corresponding to the road state includes road information corresponding to the road state; the parameter information corresponding to the driving item includes driver behavior information corresponding to driver behavior and vehicle dynamic behavior corresponding to vehicle dynamic behavior. Behavior information: the driver behavior information includes steering wheel hand torque value data and steering wheel angle value data, the vehicle dynamic behavior information includes lateral acceleration data, and the road information includes lateral deviation data.
在一实施方式中,所述获取道路状态对应的参数信息和至少一个驾驶项目对应的参数信息,对所述道路状态对应的参数信息和所述驾驶项目对应的参数信息进行离散化处理的步骤包括:In one embodiment, the step of obtaining parameter information corresponding to the road state and parameter information corresponding to at least one driving item, and discretizing the parameter information corresponding to the road state and the parameter information corresponding to the driving item includes: :
根据预设时间间隔获取行驶过程中预设时长内的方向盘手力扭矩值数据、方向盘转角值数据、车辆横向加速度数据和横向偏差数据,对所述道路状态对应的参数信息和所述驾驶项目对应的参数信息进行离散化处理,所述预设时间间隔小于预设时长。Obtain steering wheel hand torque value data, steering wheel angle value data, vehicle lateral acceleration data and lateral deviation data within a preset time period during driving according to a preset time interval, and correspond to the parameter information corresponding to the road state and the driving item Discretization processing is performed on the parameter information, and the preset time interval is less than the preset duration.
在一实施方式中,所述根据离散化处理后的所述参数信息,计算与所述道路状态和所述驾驶项目对应的均值和方差值的步骤包括:In one embodiment, the step of calculating the mean value and variance value corresponding to the road state and the driving item according to the discretized parameter information includes:
根据离散化处理后的所述方向盘手力扭矩值数据、所述方向盘转角值数据、所述车辆横向加速度数据和所述横向偏差数据,分别计算与各所述参数信息相对应的均值和方差。According to the discretized steering wheel hand torque value data, the steering wheel angle value data, the vehicle lateral acceleration data and the lateral deviation data, respectively calculate the mean value and variance corresponding to each of the parameter information.
在一实施方式中,所述根据所述参数信息对应的均值和方差值,计算得到与所述参数信息对应的先验概率的步骤包括:In one embodiment, the step of calculating the prior probability corresponding to the parameter information according to the mean value and variance value corresponding to the parameter information includes:
输入与所述方向盘手力扭矩值数据、所述方向盘转角值数据、所述车辆横向加速度数据和所述横向偏差数据相对应的均值和方差值,通过所述预设条件概率公式分别计算得到与所述方向盘手力扭矩值数据、所述方向盘转角值数据、所述车辆横向加速度数据和所述横向偏差数据相对应的先验概率。Input the mean value and variance value corresponding to the steering wheel hand torque value data, the steering wheel angle value data, the vehicle lateral acceleration data and the lateral deviation data, respectively calculated by the preset conditional probability formula A priori probability corresponding to the steering wheel hand torque value data, the steering wheel angle value data, the vehicle lateral acceleration data and the lateral deviation data.
在一实施方式中,所述根据所述先验概率和预设朴素贝叶斯算法,分别计算驾驶员注意力集中事件和注意力不集中事件的后验概率,并根据所述后 验概率判断驾驶员注意力是否集中的步骤包括:In one embodiment, according to the prior probability and the preset naive Bayesian algorithm, respectively calculate the posterior probability of the driver's concentration event and inattention event, and judge according to the posterior probability Steps to determine whether the driver is paying attention include:
根据所述先验概率和预设朴素贝叶斯算法分别计算每一次预设时长内根据预设时间间隔获取的驾驶员注意力集中和驾驶员注意力不集中的后验概率;According to the prior probability and the preset naive Bayesian algorithm, calculate the posterior probability of the driver's concentration and the driver's inattention obtained according to the preset time interval in each preset duration;
响应于在预设时长内每一次根据预设时间间隔获取的驾驶员注意力不集中的概率均大于驾驶员注意力集中的后验概率,判断为驾驶员注意力不集中;Responding to the fact that the probability of the driver's inattention obtained according to the preset time interval each time within the preset duration is greater than the posterior probability of the driver's inattention, it is determined that the driver is inattention;
响应于在预设时长内任一次根据预设时间间隔获取的驾驶员注意力集中的概率大于驾驶员注意力不集中的后验概率,判断为驾驶员注意力集中。In response to the probability that the driver's concentration is greater than the posterior probability of the driver's inattention obtained according to the preset time interval any time within the preset duration, it is determined that the driver is in concentration.
在一实施方式中,所述驾驶员注意力不集中的后验概率通过以下公式计算:In one embodiment, the posterior probability of the driver's inattention is calculated by the following formula:
P(y 1|x)=p(x 1|y 1)*p(x 2|y 1)*p(x 3|y 1)*p(x 4|y 1)*p(y 1); P(y 1 |x)=p(x 1 |y 1 )*p(x 2 |y 1 )*p(x 3 |y 1 )*p(x 4 |y 1 )*p(y 1 );
所述驾驶员注意力集中的后验概率通过以下公式计算:The posterior probability of the driver's concentration is calculated by the following formula:
P(y 2|x)=p(x 1|y 2)*p(x 2|y 2)*p(x 3|y 2)*p(x 4|y 2)*p(y 2); P(y 2 |x)=p(x 1 |y 2 )*p(x 2 |y 2 )*p(x 3 |y 2 )*p(x 4 |y 2 )*p(y 2 );
其中,X是方向盘手力扭矩数据有效存在的事件、方向盘转角数据有效存在的事件、横向偏差数据有效存在的事件以及横向加速度数据有效存在的事件的组合,所述y 1为驾驶员注意力不集中的事件,x 1为方向盘手力扭矩数据有效存在的事件,x 2为方向盘转角数据有效存在的事件,x 3为横向偏差数据有效存在的事件,x 4为横向加速度数据有效存在的事件,y 1|x为在所有事件的组合中驾驶员注意力不集中的事件,P(y 1|x)为在所有事件的组合中驾驶员注意力不集中的事件发生的概率,P(x 1|y 1)为在驾驶员注意力不集中的事件下方向盘手力扭矩数据有效存在的事件发生的先验概率,P(x 2|y 1)为在驾驶员注意力不集中的事件下方向盘转角数据有效存在的事件发生的先验概率,P(x 3|y 1)为在驾驶员注意力不集中的事件下横向偏差数据有效存在的事件发生的先验概率,P(x 4|y 1)为在驾驶员注意力不集中的事件下横向加速度数据有效存在的事件发生的先验概率; Wherein, X is a combination of the event that the steering wheel hand torque data effectively exists, the event that the steering wheel angle data effectively exists, the event that the lateral deviation data effectively exists, and the event that the lateral acceleration data effectively exists, and the y1 is the driver's lack of attention Concentrated events, x 1 is the event that the steering wheel hand torque data is valid, x 2 is the event that the steering wheel angle data is valid, x 3 is the event that the lateral deviation data is valid, x 4 is the event that the lateral acceleration data is valid, y 1 |x is the driver's inattention event in the combination of all events, P(y 1 |x) is the probability of the driver's inattention event in the combination of all events, P(x 1 |y 1 ) is the prior probability of the event that the steering wheel hand torque data effectively exists in the event of driver inattention, P(x 2 |y 1 ) is the event of steering wheel inattention The prior probability of the occurrence of the event that the corner data effectively exists, P(x 3 |y 1 ) is the prior probability of the event that the lateral deviation data effectively exists under the event of the driver's inattention, P(x 4 |y 1 ) is the prior probability of occurrence of an event where the lateral acceleration data effectively exists under the event that the driver is inattentive;
y 2|x为在所有事件的组合中驾驶员注意力集中的事件,P(y 2|x)为在所有事件的组合中驾驶员注意力集中的事件发生的概率,P(x 1|y 2)为在驾驶员注意力集中的事件下方向盘手力扭矩数据有效存在的事件发生的先验概率,P(x 2|y 2)为在驾驶员注意力集中的事件下方向盘转角数据有效存在的事件发生的先验概率,P(x 3|y 2)为在驾驶员注意力集中的事件下横向偏差数据有效存在的事件 发生的先验概率,P(x 4|y 2)为在驾驶员注意力集中的事件下横向加速度数据有效存在的事件发生的先验概率。 y 2 |x is the driver's attention-focused event in the combination of all events, P(y 2 |x) is the probability of the driver's attention-focused event in the combination of all events, P(x 1 |y 2 ) is the prior probability of the event that the steering wheel hand torque data effectively exists under the event of driver's concentration, P(x 2 |y 2 ) is the effective existence of steering wheel angle data under the event of driver's concentration P(x 3 |y 2 ) is the prior probability of the event that the lateral deviation data effectively exists under the driver's concentration event, and P(x 4 |y 2 ) is the The prior probability of the occurrence of the event that the lateral acceleration data effectively exists under the event where the operator is focused.
在一实施方式中,所述根据所述先验概率和预设朴素贝叶斯算法,分别计算驾驶员注意力集中事件和注意力不集中事件的后验概率,并判断驾驶员注意力是否集中的步骤之前包括:In one embodiment, according to the prior probability and the preset naive Bayesian algorithm, respectively calculate the posterior probability of the driver's attention concentration event and the attention inattention event, and judge whether the driver's attention is concentrated The steps before include:
根据正态分布公式处理得到所述方向盘手力扭矩值数据、所述方向盘转角值数据、所述车辆横向加速度数据和所述横向偏差数据的正态分布的预设条件概率函数。The preset conditional probability function of the normal distribution of the steering wheel hand torque value data, the steering wheel angle value data, the vehicle lateral acceleration data and the lateral deviation data is obtained by processing according to the normal distribution formula.
为实现上述目的,本申请还提供一种车辆,所述车辆包括存储器、处理器和存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上所述的注意力分析方法的步骤。To achieve the above object, the present application also provides a vehicle, the vehicle includes a memory, a processor, and a computer program stored in the memory and operable on the processor, the computer program being executed by the processor During execution, the steps of the attention analysis method as described above are realized.
为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的注意力分析方法的步骤。In order to achieve the above object, the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned attention analysis method are realized .
本申请提出的一种注意力分析方法、车辆及计算机可读存储介质,通过获取道路状态对应的参数信息和至少一个驾驶项目对应的参数信息,对所述驾驶项目对应的参数信息进行离散化处理,便于采用所述参数信息进行数据分析,减小贝叶斯算法的时间和空间占用,提高系统对道路信息和驾驶项目的分类聚类能力和抗噪声能力;通过根据离散化处理后的所述参数信息,计算与所述驾驶项目对应的均值和方差值,降低对驾驶员注意力是否集中的计算中的误差;通过根据所述参数信息对应的均值和方差值,计算得到与所述参数信息对应的先验概率,保证了对驾驶员注意力集中和驾驶员注意力不集中的概率判断的准确性;通过根据所述先验概率和预设朴素贝叶斯算法,分别计算驾驶员注意力集中事件和注意力不集中事件的后验概率,并根据所述后验概率判断驾驶员注意力是否集中,实现了根据道路状态和驾驶项目结合贝叶斯算法共同对驾驶员注意力是否集中的准确判断,充分考虑道路状态带来的影响,消除由于缺少道路信息带来的误判,同时在不增加硬件成本的基础上,做到了对驾驶员注意力是否集中的高效判断。An attention analysis method, a vehicle, and a computer-readable storage medium proposed by the present application, by obtaining parameter information corresponding to road state and parameter information corresponding to at least one driving item, discretize the parameter information corresponding to the driving item , it is convenient to use the parameter information for data analysis, reduce the time and space occupied by the Bayesian algorithm, and improve the classification and clustering ability and anti-noise ability of the system for road information and driving items; parameter information, calculate the mean value and variance value corresponding to the driving item, and reduce the error in the calculation of whether the driver's attention is concentrated; by calculating the mean value and variance value corresponding to the parameter information, the The prior probability corresponding to the parameter information ensures the accuracy of judging the probability of the driver's concentration and driver's inattention; by using the prior probability and the preset naive Bayesian algorithm, the driver's The posterior probability of the attention concentration event and the attention inattention event, and judge whether the driver's attention is concentrated according to the posterior probability, and realize whether the driver's attention is jointly determined according to the road state and driving items combined with the Bayesian algorithm. Concentrated and accurate judgment fully considers the impact of road conditions, eliminates misjudgments caused by lack of road information, and achieves efficient judgments on whether the driver is focused without increasing hardware costs.
附图说明Description of drawings
图1是本申请实施例方案涉及的硬件运行环境的结构示意图;Fig. 1 is a schematic structural diagram of the hardware operating environment involved in the embodiment scheme of the present application;
图2为本申请注意力分析方法第一实施例的流程示意图;FIG. 2 is a schematic flow chart of the first embodiment of the attention analysis method of the present application;
图3为本申请注意力分析方法第二实施例中步骤S40的细化流程示意图。FIG. 3 is a schematic diagram of a detailed flowchart of step S40 in the second embodiment of the attention analysis method of the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional features and advantages of the present application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.
请参照图1,图1为本申请各个实施例中所提供的车辆的硬件结构示意图。所述车辆包括通信模块01、存储器02及处理器03等部件。本领域技术人员可以理解,图1中所示出的车辆还可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中,所述处理器03分别与所述存储器02和所述通信模块01连接,所述存储器02上存储有计算机程序,所述计算机程序同时被处理器03执行。Please refer to FIG. 1 , which is a schematic diagram of a hardware structure of a vehicle provided in various embodiments of the present application. The vehicle includes components such as a communication module 01 , a memory 02 and a processor 03 . Those skilled in the art will appreciate that the vehicle shown in FIG. 1 may also include more or fewer components than shown, or combine some components, or arrange different components. Wherein, the processor 03 is connected to the memory 02 and the communication module 01 respectively, the memory 02 stores a computer program, and the computer program is executed by the processor 03 at the same time.
通信模块01,可通过网络与外部设备连接。通信模块01可以接收外部设备发出的数据,还可发送数据、指令及信息至所述外部设备,所述外部设备可以是手机、平板电脑、笔记本电脑和台式电脑等电子设备。The communication module 01 can be connected with external devices through the network. The communication module 01 can receive data sent by external devices, and can also send data, instructions and information to the external devices. The external devices can be electronic devices such as mobile phones, tablet computers, notebook computers, and desktop computers.
存储器02,可设置为存储软件程序以及各种数据。存储器02可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据车辆的使用所创建的数据或信息等。此外,存储器02可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 02 can be configured to store software programs and various data. The memory 02 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application required by a function, etc.; the data storage area may store data or information created according to the use of the vehicle. In addition, the memory 02 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
处理器03,是车辆的控制中心,利用各种接口和线路连接整个车辆的各个部分,通过运行或执行存储在存储器02内的软件程序和/或模块,以及调用存储在存储器02内的数据,执行车辆的各种功能和处理数据,从而对车辆进行整体监控。处理器03可包括一个或多个处理单元;可选的,处理器03可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是, 上述调制解调处理器也可以不集成到处理器03中。The processor 03 is the control center of the vehicle. It uses various interfaces and lines to connect various parts of the entire vehicle. By running or executing the software programs and/or modules stored in the memory 02, and calling the data stored in the memory 02, Execute various functions of the vehicle and process data to monitor the vehicle as a whole. The processor 03 may include one or more processing units; optionally, the processor 03 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The tuner processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 03 .
本领域技术人员可以理解,图1中示出的车辆结构并不构成对车辆的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the vehicle structure shown in FIG. 1 does not constitute a limitation to the vehicle, and may include more or less components than those shown in the illustration, or combine some components, or arrange different components.
根据上述硬件结构,提出本申请方法各个实施例。According to the above hardware structure, various embodiments of the method of the present application are proposed.
参照图2,在本申请注意力分析方法的第一实施例中,所述注意力分析方法包括步骤:Referring to Fig. 2, in the first embodiment of the attention analysis method of the present application, the attention analysis method includes steps:
步骤S10,获取道路状态对应的参数信息和至少一个驾驶项目对应的参数信息,对所述道路状态对应的参数信息和所述驾驶项目对应的参数信息进行离散化处理;Step S10, acquiring parameter information corresponding to the road state and parameter information corresponding to at least one driving item, and performing discretization processing on the parameter information corresponding to the road state and the parameter information corresponding to the driving item;
所述道路状态对应的参数信息包括与道路状态对应的道路信息,例如所述道路信息包括横向偏差数据;所述驾驶项目对应的参数信息包括与驾驶员行为对应的驾驶员行为信息和车辆动态行为对应的车辆动态行为信息。例如所述驾驶员行为信息包括方向盘手力扭矩值数据和方向盘转角值数据,所述车辆动态行为信息包括横向加速度数据,所述道路信息包括横向偏差数据。在本实施例中,采用监督学习法对上述参数信息进行离散化处理。The parameter information corresponding to the road state includes road information corresponding to the road state, for example, the road information includes lateral deviation data; the parameter information corresponding to the driving item includes driver behavior information corresponding to driver behavior and vehicle dynamic behavior Corresponding vehicle dynamic behavior information. For example, the driver behavior information includes steering wheel hand torque value data and steering wheel angle value data, the vehicle dynamic behavior information includes lateral acceleration data, and the road information includes lateral deviation data. In this embodiment, the above parameter information is discretized using a supervised learning method.
步骤S20,根据离散化处理后的所述参数信息,计算与所述道路状态和所述驾驶项目对应的均值和方差值;Step S20, calculating mean and variance values corresponding to the road state and the driving item according to the discretized parameter information;
在一实施例中,所述步骤S20包括:In one embodiment, the step S20 includes:
根据离散化处理后的所述方向盘手力扭矩值数据、所述方向盘转角值数据、所述车辆横向加速度数据和所述横向偏差数据,分别计算与各所述参数信息相对应的均值和方差。According to the discretized steering wheel hand torque value data, the steering wheel angle value data, the vehicle lateral acceleration data and the lateral deviation data, respectively calculate the mean value and variance corresponding to each of the parameter information.
在本实施例中,所述均值可以通过下述公式进行计算:In this embodiment, the mean value can be calculated by the following formula:
Figure PCTCN2022091487-appb-000001
Figure PCTCN2022091487-appb-000001
其中,μ为均值,n为所述参数信息的统计个数,x i为参数信息中所述所述方向盘手力扭矩值数据、所述方向盘转角值数据、所述车辆横向加速度数据和所述横向偏差数据等分别的数值。 Among them, μ is the mean value, n is the statistical number of the parameter information, x i is the steering wheel hand torque value data, the steering wheel angle value data, the vehicle lateral acceleration data and the Separate numerical values such as lateral deviation data.
所述方差可通过下述公式进行计算:The variance can be calculated by the following formula:
Figure PCTCN2022091487-appb-000002
Figure PCTCN2022091487-appb-000002
其中,σ 2为方差值,n为参与计算的所述参数信息所述所述方向盘手力扭矩值数据、所述方向盘转角值数据、所述车辆横向加速度数据和所述横向偏差数据等的分别的个数,x i为参数信息中所述所述方向盘手力扭矩值数据、所述方向盘转角值数据、所述车辆横向加速度数据和所述横向偏差数据等分别的数值。 Wherein, σ2 is the variance value, and n is the value of the steering wheel hand torque value data, the steering wheel angle value data, the vehicle lateral acceleration data and the lateral deviation data, etc. involved in the calculation of the parameter information The respective numbers, x i are the respective values of the steering wheel hand torque value data, the steering wheel angle value data, the vehicle lateral acceleration data, and the lateral deviation data in the parameter information.
步骤S30,根据所述参数信息对应的均值和方差值,计算得到与所述参数信息对应的先验概率;Step S30, calculating a priori probability corresponding to the parameter information according to the mean value and variance value corresponding to the parameter information;
所述步骤S30还包括步骤:The step S30 also includes the steps of:
输入与所述方向盘手力扭矩值数据、所述方向盘转角值数据、所述车辆横向加速度数据和所述横向偏差数据相对应的均值和方差值,通过所述预设条件概率公式分别计算得到与所述方向盘手力扭矩值、所述方向盘转角值、所述车辆横向加速度和所述横向偏差相对应的先验概率。Input the mean value and variance value corresponding to the steering wheel hand torque value data, the steering wheel angle value data, the vehicle lateral acceleration data and the lateral deviation data, respectively calculated by the preset conditional probability formula Prior probabilities corresponding to the steering wheel hand torque value, the steering wheel angle value, the vehicle lateral acceleration and the lateral deviation.
在本实施例中,所述预设条件概率公式具体为:In this embodiment, the preset conditional probability formula is specifically:
Figure PCTCN2022091487-appb-000003
Figure PCTCN2022091487-appb-000003
其中,x i为所述所述方向盘手力扭矩值数据、所述方向盘转角值数据、所述车辆横向加速度数据和所述横向偏差数据分别代表的参数信息;Y为注意力不集中和注意力集中的事件的组合,X是方向盘手力扭矩数据有效存在的事件、方向盘转角数据有效存在的事件、横向偏差数据有效存在的事件以及横向加速度数据有效存在的事件的组合;σ 2为方差值,μ为均值;其中,所述数据有效存在指的是车辆根据获取方向盘手力扭矩数据、方向盘转角数据、横向偏差数据横向加速度数据等参数信息相对应的传感器,获取的处于预设范围内的数据。 Wherein, x i is the parameter information respectively represented by the steering wheel hand torque value data, the steering wheel angle value data, the vehicle lateral acceleration data and the lateral deviation data; Y is inattention and attention The combination of concentrated events, X is the combination of events in which the steering wheel hand torque data effectively exists, the event in which the steering wheel angle data effectively exists, the event in which the lateral deviation data effectively exists, and the event in which the lateral acceleration data effectively exists; σ 2 is the variance value , μ is the mean value; wherein, the effective existence of the data refers to the vehicle’s sensor corresponding to the acquisition of steering wheel hand torque data, steering wheel angle data, lateral deviation data, lateral acceleration data and other parameter information within the preset range. data.
步骤S40,根据所述先验概率和预设朴素贝叶斯算法,分别计算驾驶员注意力集中事件和注意力不集中事件的后验概率,并根据所述后验概率判断驾驶员注意力是否集中;Step S40, according to the prior probability and the preset naive Bayesian algorithm, respectively calculate the posterior probability of the driver's concentration event and the inattention event, and judge whether the driver's attention is concentrated;
本申请提出的一种注意力分析方法、车辆及计算机可读存储介质,通过获取道路状态对应的参数信息和至少一个驾驶项目对应的参数信息,对所述 驾驶项目对应的参数信息进行离散化处理,便于采用所述参数信息进行数据分析,减小贝叶斯算法的时间和空间占用,提高系统对道路信息和驾驶项目的分类聚类能力和抗噪声能力;通过根据离散化处理后的所述参数信息,计算与所述驾驶项目对应的均值和方差值,降低对驾驶员注意力是否集中的计算中的误差;通过根据所述参数信息对应的均值和方差值,计算得到与所述参数信息对应的先验概率,保证了对驾驶员注意力集中和驾驶员注意力不集中的概率判断的准确性;通过根据所述先验概率和预设朴素贝叶斯算法,分别计算驾驶员注意力集中事件和注意力不集中事件的后验概率,并根据所述后验概率判断驾驶员注意力是否集中,实现了根据道路状态和驾驶项目结合贝叶斯算法共同对驾驶员注意力是否集中的准确判断,充分考虑道路状态带来的影响,消除由于缺少道路信息带来的误判,同时在不增加硬件成本的基础上,做到了对驾驶员注意力是否集中的高效判断。An attention analysis method, a vehicle, and a computer-readable storage medium proposed by the present application, by obtaining parameter information corresponding to road state and parameter information corresponding to at least one driving item, discretize the parameter information corresponding to the driving item , it is convenient to use the parameter information for data analysis, reduce the time and space occupied by the Bayesian algorithm, and improve the classification and clustering ability and anti-noise ability of the system for road information and driving items; parameter information, calculate the mean value and variance value corresponding to the driving item, and reduce the error in the calculation of whether the driver's attention is concentrated; by calculating the mean value and variance value corresponding to the parameter information, the The prior probability corresponding to the parameter information ensures the accuracy of judging the probability of the driver's concentration and driver's inattention; by using the prior probability and the preset naive Bayesian algorithm, the driver's The posterior probability of the attention concentration event and the attention inattention event, and judge whether the driver's attention is concentrated according to the posterior probability, and realize whether the driver's attention is jointly determined according to the road state and driving items combined with the Bayesian algorithm. Concentrated and accurate judgment fully considers the impact of road conditions, eliminates misjudgments caused by lack of road information, and achieves efficient judgments on whether the driver is focused without increasing hardware costs.
进一步地,在基于本申请的第一实施例所提出的本申请注意力分析方法,本申请提出第二实施例,所述步骤S10包括:Further, based on the attention analysis method of the present application proposed in the first embodiment of the present application, the present application proposes a second embodiment, and the step S10 includes:
根据预设时间间隔获取行驶过程中预设时长内的方向盘手力扭矩值数据、方向盘转角值数据、车辆横向加速度数据和横向偏差数据,对所述道路状态对应的参数信息和所述驾驶项目对应的参数信息进行离散化处理,所述预设时间间隔小于预设时长。Obtain steering wheel hand torque value data, steering wheel angle value data, vehicle lateral acceleration data and lateral deviation data within a preset time period during driving according to a preset time interval, and correspond to the parameter information corresponding to the road state and the driving item Discretization processing is performed on the parameter information, and the preset time interval is less than the preset duration.
在本实施例中,所述预设时间间隔可以为1秒、2秒、3秒或4秒,所述预设时长大于所述预设时间间隔,在预设时间间隔为1秒的时候,所述预设时长可以是大于1秒的任何时长,例如3秒、5秒、8秒等;在预设时间间隔为3秒时,所述预设时长可以是大于2秒的任何时长,例如3秒、5秒、8秒等;在预设时间间隔为3秒或4秒时,依次类推,在此不作赘述。另外,所述参数信息还可根据获取行驶过程内的一段路程中的多次参数信息来获取。In this embodiment, the preset time interval may be 1 second, 2 seconds, 3 seconds or 4 seconds, and the preset duration is longer than the preset time interval. When the preset time interval is 1 second, The preset duration can be any duration greater than 1 second, such as 3 seconds, 5 seconds, 8 seconds, etc.; when the preset time interval is 3 seconds, the preset duration can be any duration greater than 2 seconds, for example 3 seconds, 5 seconds, 8 seconds, etc.; when the preset time interval is 3 seconds or 4 seconds, and so on, it will not be repeated here. In addition, the parameter information can also be obtained according to obtaining multiple parameter information in a certain distance during the driving process.
所述方向盘手力扭矩值数据、方向盘转角值数据、车辆横向加速度数据和横向偏差数据都可通过车辆上安装的对应的传感器获取,所述横向偏差即为车辆行驶在道路上时,车辆实时中心点与车辆系统期望的行驶路线之间的误差,所述车辆横向加速度即为车辆在行驶过程中与向心加速度方向相反,加速度数值大小相同的物理量。The steering wheel hand torque value data, steering wheel angle value data, vehicle lateral acceleration data and lateral deviation data can all be obtained by corresponding sensors installed on the vehicle, and the lateral deviation is when the vehicle is driving on the road. The error between the point and the expected driving route of the vehicle system, the vehicle lateral acceleration is a physical quantity that is opposite to the centripetal acceleration direction and has the same acceleration value during the driving process of the vehicle.
在本实施例中,通过间隔预设时间间隔获取行驶过程中预设时长内的参数信息,实现了在预设时长内参数信息的多次获取,减小了误差,保证了数据以及驾驶员注意力是否集中的准确判断。In this embodiment, the parameter information within the preset duration during driving is acquired at preset time intervals, which realizes multiple acquisitions of parameter information within the preset duration, reduces errors, and ensures data and driver attention. Accurate judgment of whether the force is concentrated.
进一步地,参照图3,在基于本申请的第一实施例所提出的本申请注意力分析方法,本申请提出第三实施例,所述步骤S40包括:Further, referring to FIG. 3 , in the attention analysis method of the present application proposed based on the first embodiment of the present application, the present application proposes a third embodiment, and the step S40 includes:
步骤S41,根据所述先验概率和预设朴素贝叶斯算法分别计算每一次预设时长内根据预设时间间隔获取的驾驶员注意力集中和驾驶员注意力不集中的后验概率;Step S41, according to the prior probability and the preset naive Bayesian algorithm, respectively calculate the posterior probability of the driver's concentration and the driver's inattention obtained according to the preset time interval within each preset time period;
在本实施例中,还可根据在预设行驶路程中获取小于预设行驶路程的一段路程来计算驾驶员注意力集中和不集中的后验概率;In this embodiment, the posterior probability of the driver's concentration and inattention can also be calculated according to obtaining a section of the preset travel distance that is less than the preset travel distance;
步骤S42,响应于在预设时长内每一次根据预设时间间隔获取的驾驶员注意力不集中的概率均大于驾驶员注意力集中的后验概率,判断为驾驶员注意力不集中;Step S42, in response to the probability that the driver's inattention is obtained according to the preset time interval each time within the preset duration is greater than the posterior probability of the driver's inattention, it is determined that the driver is inattention;
步骤S43,响应于在预设时长内任一次根据预设时间间隔获取的驾驶员注意力集中的概率大于驾驶员注意力不集中的后验概率,判断为驾驶员注意力集中;Step S43, in response to the probability that the driver's concentration is greater than the posterior probability of the driver's inattention obtained according to the preset time interval within the preset duration, it is determined that the driver's concentration;
所述每一次根据预设时间间隔获取的驾驶员注意力不集中的概率均大于驾驶员注意力集中的后验概率,例如,在1分钟内可计算20次驾驶员注意力集中和不集中的概率,若在20次中驾驶员注意力不集中的概率都大于集中的概率,则可判断为驾驶员注意力不集中;The probability of the driver's inattention obtained according to the preset time interval each time is greater than the posterior probability of the driver's inattention, for example, within 1 minute, the probability of driver's inattention and inattention can be calculated 20 times. Probability, if the probability of inattention of the driver is greater than the probability of concentration in 20 times, it can be judged that the driver is inattention;
所述任一次根据预设时间间隔获取的驾驶员注意力集中的概率大于驾驶员注意力不集中的后验概率,即为在20次中,有一次驾驶员的注意力集中的概率大于不集中的概率,即判断为驾驶员注意力集中。The probability of the driver's concentration obtained according to the preset time interval is greater than the posterior probability of the driver's inattention, that is, in 20 times, the probability of the driver's concentration is greater than that of the driver's inattention. The probability of , that is, it is judged that the driver is paying attention.
在本申请中,所述驾驶员注意力不集中的后验概率通过以下公式计算:In this application, the posterior probability of the driver's inattention is calculated by the following formula:
P(y 1|x)=p(x 1|y 1)*p(x 2|y 1)*p(x 3|y 1)*p(x 4|y 1)*p(y 1); P(y 1 |x)=p(x 1 |y 1 )*p(x 2 |y 1 )*p(x 3 |y 1 )*p(x 4 |y 1 )*p(y 1 );
所述驾驶员注意力集中的后验概率通过以下公式计算:The posterior probability of the driver's concentration is calculated by the following formula:
P(y 2|x)=p(x 1|y 2)*p(x 2|y 2)*p(x 3|y 2)*p(x 4|y 2)*p(y 2); P(y 2 |x)=p(x 1 |y 2 )*p(x 2 |y 2 )*p(x 3 |y 2 )*p(x 4 |y 2 )*p(y 2 );
其中,X是方向盘手力扭矩数据有效存在的事件、方向盘转角数据有效存在的事件、横向偏差数据有效存在的事件以及横向加速度数据有效存在的事 件的组合,所述y 1为驾驶员注意力不集中的事件,x 1为方向盘手力扭矩数据有效存在的事件,x 2为方向盘转角数据有效存在的事件,x 3为横向偏差数据有效存在的事件,x 4为横向加速度数据有效存在的事件,y 1|x为在所有事件的组合中驾驶员注意力不集中的事件,P(y 1|x)为在所有事件的组合中驾驶员注意力不集中的事件发生的概率,P(x 1|y 1)为在驾驶员注意力不集中的事件下方向盘手力扭矩数据有效存在的事件发生的先验概率,P(x 2|y 1)为在驾驶员注意力不集中的事件下方向盘转角数据有效存在的事件发生的先验概率,P(x 3|y 1)为在驾驶员注意力不集中的事件下横向偏差数据有效存在的事件发生的先验概率,P(x 4|y 1)为在驾驶员注意力不集中的事件下横向加速度数据有效存在的事件发生的先验概率; Wherein, X is a combination of the event that the steering wheel hand torque data effectively exists, the event that the steering wheel angle data effectively exists, the event that the lateral deviation data effectively exists, and the event that the lateral acceleration data effectively exists, and the y1 is the driver's lack of attention Concentrated events, x 1 is the event that the steering wheel hand torque data is valid, x 2 is the event that the steering wheel angle data is valid, x 3 is the event that the lateral deviation data is valid, x 4 is the event that the lateral acceleration data is valid, y 1 |x is the driver's inattention event in the combination of all events, P(y 1 |x) is the probability of the driver's inattention event in the combination of all events, P(x 1 |y 1 ) is the prior probability of the event that the steering wheel hand torque data effectively exists in the event of driver inattention, P(x 2 |y 1 ) is the event of steering wheel inattention The prior probability of the occurrence of the event that the corner data effectively exists, P(x 3 |y 1 ) is the prior probability of the event that the lateral deviation data effectively exists under the event of the driver's inattention, P(x 4 |y 1 ) is the prior probability of occurrence of an event where the lateral acceleration data effectively exists under the event that the driver is inattentive;
y 2|x为在所有事件的组合中驾驶员注意力集中的事件,P(y 2|x)为在所有事件的组合中驾驶员注意力集中的事件发生的概率,P(x 1|y 2)为在驾驶员注意力集中的事件下方向盘手力扭矩数据有效存在的事件发生的先验概率,P(x 2|y 2)为在驾驶员注意力集中的事件下方向盘转角数据有效存在的事件发生的先验概率,P(x 3|y 2)为在驾驶员注意力集中的事件下横向偏差数据有效存在的事件发生的先验概率,P(x 4|y 2)为在驾驶员注意力集中的事件下横向加速度数据有效存在的事件发生的先验概率 y 2 |x is the driver's attention-focused event in the combination of all events, P(y 2 |x) is the probability of the driver's attention-focused event in the combination of all events, P(x 1 |y 2 ) is the prior probability of the event that the steering wheel hand torque data effectively exists under the event of driver's concentration, P(x 2 |y 2 ) is the effective existence of steering wheel angle data under the event of driver's concentration P(x 3 |y 2 ) is the prior probability of the event that the lateral deviation data effectively exists under the driver's concentration event, and P(x 4 |y 2 ) is the The prior probability of the occurrence of the event that the lateral acceleration data effectively exists under the event that the driver is focused
在本申请中,通过根据所述先验概率和预设朴素贝叶斯算法分别计算每一次预设时长内根据预设时间间隔获取的驾驶员注意力集中和驾驶员注意力不集中的后验概率,并根据集中和不集中的次数判断驾驶员注意力是否集中,保证了驾驶员注意力是否集中的判断准确性,提高了驾驶过程中的安全性。In this application, the posteriori of the driver's concentration and the driver's inattention obtained according to the preset time interval within each preset time period are respectively calculated according to the prior probability and the preset naive Bayesian algorithm probability, and judge whether the driver's attention is concentrated according to the number of times of concentration and non-concentration, which ensures the accuracy of judging whether the driver's attention is concentrated, and improves the safety during driving.
进一步地,在基于本申请的第一实施例所提出的本申请注意力分析方法,本申请提出第四实施例,所述步骤S40之前包括:Further, based on the attention analysis method of the present application proposed in the first embodiment of the present application, the present application proposes a fourth embodiment, which includes before the step S40:
根据正态分布公式处理得到所述方向盘手力扭矩值数据,所述方向盘转角值数据、所述车辆横向加速度数据和所述横向偏差数据的正态分布的预设条件概率函数;According to the normal distribution formula, the hand torque value data of the steering wheel, the steering wheel angle value data, the vehicle lateral acceleration data and the normal distribution preset conditional probability function of the lateral deviation data are obtained;
在本实施例中,所述正态分布公式为:In this embodiment, the normal distribution formula is:
Figure PCTCN2022091487-appb-000004
Figure PCTCN2022091487-appb-000004
可根据正态分布的公式得到条件概率函数为:According to the formula of normal distribution, the conditional probability function can be obtained as:
Figure PCTCN2022091487-appb-000005
Figure PCTCN2022091487-appb-000005
在本实施例中,通过正态分布的公式得到条件概率的公式,将所述方向盘手力扭矩值数据,所述方向盘转角值数据、所述车辆横向加速度数据和所述横向偏差数据进行平滑处理,减少了因使用阈值判断带来的对驾驶员注意力的频繁反应。In this embodiment, the conditional probability formula is obtained through the normal distribution formula, and the steering wheel hand torque value data, the steering wheel angle value data, the vehicle lateral acceleration data and the lateral deviation data are smoothed , reducing frequent reactions to the driver's attention due to the use of threshold judgments.
本申请还提出一种计算机可读存储介质,其上存储有计算机程序。所述计算机可读存储介质可以是图1的车辆中的存储器02,也可以是如ROM(Read-Only Memory,只读存储器)/RAM(Random Access Memory,随机存取存储器)、磁碟、光盘中的至少一种,所述计算机可读存储介质包括若干信息用以使得车辆执行本申请各个实施例所述的方法。The present application also proposes a computer-readable storage medium on which a computer program is stored. Described computer-readable storage medium can be memory 02 in the vehicle of Fig. 1, also can be as ROM (Read-Only Memory, read only memory)/RAM (Random Access Memory, random access memory), magnetic disk, optical disk At least one of them, the computer-readable storage medium includes information for enabling the vehicle to execute the methods described in the various embodiments of the present application.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that, as used herein, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or system comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or system. Without further limitations, an element defined by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article or system comprising that element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present application are for description only, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
以上仅为本申请的可选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only optional embodiments of the application, and are not intended to limit the patent scope of the application. Any equivalent structure or equivalent process transformation made by using the specification and drawings of the application, or directly or indirectly used in other related technologies fields, are all included in the scope of patent protection of this application in the same way.

Claims (10)

  1. 一种注意力分析方法,包括步骤:A kind of attention analysis method, comprises steps:
    获取道路状态对应的参数信息和至少一个驾驶项目对应的参数信息,对所述道路状态对应的参数信息和所述驾驶项目对应的参数信息进行离散化处理;Acquiring parameter information corresponding to the road state and parameter information corresponding to at least one driving item, and performing discretization processing on the parameter information corresponding to the road state and the parameter information corresponding to the driving item;
    根据离散化处理后的所述参数信息,计算与所述道路状态和所述驾驶项目对应的均值和方差值;calculating mean and variance values corresponding to the road state and the driving item according to the discretized parameter information;
    根据所述参数信息对应的均值和方差值,计算得到与所述参数信息对应的先验概率;calculating a priori probability corresponding to the parameter information according to the mean value and the variance value corresponding to the parameter information;
    根据所述先验概率和预设朴素贝叶斯算法,分别计算驾驶员注意力集中事件和注意力不集中事件的后验概率,并根据所述后验概率判断驾驶员注意力是否集中。According to the prior probability and the preset naive Bayesian algorithm, the posterior probabilities of the driver's concentration event and the inattention event are respectively calculated, and whether the driver's concentration is determined according to the posterior probability.
  2. 如权利要求1所述的注意力分析方法,其中,所述道路状态对应的参数信息包括与道路状态对应的道路信息;所述驾驶项目对应的参数信息包括与驾驶员行为对应的驾驶员行为信息和车辆动态行为对应的车辆动态行为信息;所述驾驶员行为信息包括方向盘手力扭矩值数据和方向盘转角值数据,所述车辆动态行为信息包括横向加速度数据,所述道路信息包括横向偏差数据。The attention analysis method according to claim 1, wherein the parameter information corresponding to the road state includes road information corresponding to the road state; the parameter information corresponding to the driving item includes driver behavior information corresponding to the driver behavior Vehicle dynamic behavior information corresponding to vehicle dynamic behavior; the driver behavior information includes steering wheel hand torque value data and steering wheel angle value data, the vehicle dynamic behavior information includes lateral acceleration data, and the road information includes lateral deviation data.
  3. 如权利要求1所述的注意力分析方法,其中,所述获取道路状态对应的参数信息和至少一个驾驶项目对应的参数信息,对所述道路状态对应的参数信息和所述驾驶项目对应的参数信息进行离散化处理的步骤包括:The attention analysis method according to claim 1, wherein said acquiring parameter information corresponding to the road state and parameter information corresponding to at least one driving item, the parameter information corresponding to the road state and the parameter corresponding to the driving item The steps for discretization of information include:
    根据预设时间间隔获取行驶过程中预设时长内的方向盘手力扭矩值数据、方向盘转角值数据、车辆横向加速度数据和横向偏差数据,对所述道路状态对应的参数信息和所述驾驶项目对应的参数信息进行离散化处理,所述预设时间间隔小于预设时长。Obtain steering wheel hand torque value data, steering wheel angle value data, vehicle lateral acceleration data and lateral deviation data within a preset time period during driving according to a preset time interval, and correspond to the parameter information corresponding to the road state and the driving item Discretization processing is performed on the parameter information, and the preset time interval is less than the preset duration.
  4. 如权利要求2所述的注意力分析方法,其中,所述根据离散化处理后 的所述参数信息,计算与所述道路状态和所述驾驶项目对应的均值和方差值的步骤包括:The attention analysis method as claimed in claim 2, wherein, according to the described parameter information after the discretization process, the step of calculating the mean value and variance value corresponding to the road state and the driving item comprises:
    根据离散化处理后的所述方向盘手力扭矩值数据、所述方向盘转角值数据、所述车辆横向加速度数据和所述横向偏差数据,分别计算与各所述参数信息相对应的均值和方差。According to the discretized steering wheel hand torque value data, the steering wheel angle value data, the vehicle lateral acceleration data and the lateral deviation data, respectively calculate the mean value and variance corresponding to each of the parameter information.
  5. 如权利要求4所述的注意力分析方法,其中,所述根据所述参数信息对应的均值和方差值,计算得到与所述参数信息对应的先验概率的步骤包括:The attention analysis method according to claim 4, wherein the step of calculating the prior probability corresponding to the parameter information according to the mean value and the variance value corresponding to the parameter information comprises:
    输入与所述方向盘手力扭矩值数据、所述方向盘转角值数据、所述车辆横向加速度数据和所述横向偏差数据相对应的均值和方差值,通过所述预设条件概率公式分别计算得到与所述方向盘手力扭矩值数据、所述方向盘转角值数据、所述车辆横向加速度数据和所述横向偏差数据相对应的先验概率。Input the mean value and variance value corresponding to the steering wheel hand torque value data, the steering wheel angle value data, the vehicle lateral acceleration data and the lateral deviation data, respectively calculated by the preset conditional probability formula A priori probability corresponding to the steering wheel hand torque value data, the steering wheel angle value data, the vehicle lateral acceleration data and the lateral deviation data.
  6. 如权利要求3所述的注意力分析方法,其中,所述根据所述先验概率和预设朴素贝叶斯算法,分别计算驾驶员注意力集中事件和注意力不集中事件的后验概率,并根据所述后验概率判断驾驶员注意力是否集中的步骤包括:The attention analysis method as claimed in claim 3, wherein, according to the prior probability and the preset Naive Bayesian algorithm, the posterior probability of the driver's attention concentration event and the attention inattention event is calculated respectively, And the step of judging whether the driver's attention is concentrated according to the posterior probability comprises:
    根据所述先验概率和预设朴素贝叶斯算法分别计算每一次预设时长内根据预设时间间隔获取的驾驶员注意力集中和驾驶员注意力不集中的后验概率;According to the prior probability and the preset naive Bayesian algorithm, calculate the posterior probability of the driver's concentration and the driver's inattention obtained according to the preset time interval in each preset duration;
    响应于在预设时长内每一次根据预设时间间隔获取的驾驶员注意力不集中的概率均大于驾驶员注意力集中的后验概率,判断为驾驶员注意力不集中;Responding to the fact that the probability of the driver's inattention obtained according to the preset time interval each time within the preset duration is greater than the posterior probability of the driver's inattention, it is determined that the driver is inattention;
    响应于在预设时长内任一次根据预设时间间隔获取的驾驶员注意力集中的概率大于驾驶员注意力不集中的后验概率,判断为驾驶员注意力集中。In response to the probability that the driver's concentration is greater than the posterior probability of the driver's inattention obtained according to the preset time interval any time within the preset duration, it is determined that the driver is in concentration.
  7. 如权利要求6所述的注意力分析方法,其中,所述驾驶员注意力不集中的后验概率通过以下公式计算:The attention analysis method according to claim 6, wherein the posterior probability of the driver's inattention is calculated by the following formula:
    P(y 1|x)=p(x 1|y 1)*p(x 2|y 1)*p(x 3|y 1)*p(x 4|y 1)*p(y 1); P(y 1 |x)=p(x 1 |y 1 )*p(x 2 |y 1 )*p(x 3 |y 1 )*p(x 4 |y 1 )*p(y 1 );
    所述驾驶员注意力集中的后验概率通过以下公式计算:The posterior probability of the driver's concentration is calculated by the following formula:
    P(y 2|x)=p(x 1|y 2)*p(x 2|y 2)*p(x 3|y 2)*p(x 4|y 2)*p(y 2); P(y 2 |x)=p(x 1 |y 2 )*p(x 2 |y 2 )*p(x 3 |y 2 )*p(x 4 |y 2 )*p(y 2 );
    其中,X是方向盘手力扭矩数据有效存在的事件、方向盘转角数据有效存 在的事件、横向偏差数据有效存在的事件以及横向加速度数据有效存在的事件的组合,所述y 1为驾驶员注意力不集中的事件,x 1为方向盘手力扭矩数据有效存在的事件,x 2为方向盘转角数据有效存在的事件,x 3为横向偏差数据有效存在的事件,x 4为横向加速度数据有效存在的事件,y 1|x为在所有事件的组合中驾驶员注意力不集中的事件,P(y 1|x)为在所有事件的组合中驾驶员注意力不集中的事件发生的概率,P(x 1|y 1)为在驾驶员注意力不集中的事件下方向盘手力扭矩数据有效存在的事件发生的先验概率,P(x 2|y 1)为在驾驶员注意力不集中的事件下方向盘转角数据有效存在的事件发生的先验概率,P(x 3|y 1)为在驾驶员注意力不集中的事件下横向偏差数据有效存在的事件发生的先验概率,P(x 4|y 1)为在驾驶员注意力不集中的事件下横向加速度数据有效存在的事件发生的先验概率; Wherein, X is a combination of the event that the steering wheel hand torque data effectively exists, the event that the steering wheel angle data effectively exists, the event that the lateral deviation data effectively exists, and the event that the lateral acceleration data effectively exists, and the y1 is the driver's lack of attention Concentrated events, x 1 is the event that the steering wheel hand torque data is valid, x 2 is the event that the steering wheel angle data is valid, x 3 is the event that the lateral deviation data is valid, x 4 is the event that the lateral acceleration data is valid, y 1 |x is the driver's inattention event in the combination of all events, P(y 1 |x) is the probability of the driver's inattention event in the combination of all events, P(x 1 |y 1 ) is the prior probability of the event that the steering wheel hand torque data effectively exists in the event of driver inattention, P(x 2 |y 1 ) is the event of steering wheel inattention The prior probability of the occurrence of the event that the corner data effectively exists, P(x 3 |y 1 ) is the prior probability of the event that the lateral deviation data effectively exists under the event of the driver's inattention, P(x 4 |y 1 ) is the prior probability of occurrence of an event where the lateral acceleration data effectively exists under the event that the driver is inattentive;
    y 2|x为在所有事件的组合中驾驶员注意力集中的事件,P(y 2|x)为在所有事件的组合中驾驶员注意力集中的事件发生的概率,P(x 1|y 2)为在驾驶员注意力集中的事件下方向盘手力扭矩数据有效存在的事件发生的先验概率,P(x 2|y 2)为在驾驶员注意力集中的事件下方向盘转角数据有效存在的事件发生的先验概率,P(x 3|y 2)为在驾驶员注意力集中的事件下横向偏差数据有效存在的事件发生的先验概率,P(x 4|y 2)为在驾驶员注意力集中的事件下横向加速度数据有效存在的事件发生的先验概率。 y 2 |x is the driver's attention-focused event in the combination of all events, P(y 2 |x) is the probability of the driver's attention-focused event in the combination of all events, P(x 1 |y 2 ) is the prior probability of the event that the steering wheel hand torque data effectively exists under the event of driver's concentration, P(x 2 |y 2 ) is the effective existence of steering wheel angle data under the event of driver's concentration P(x 3 |y 2 ) is the prior probability of the event that the lateral deviation data effectively exists under the driver's concentration event, and P(x 4 |y 2 ) is the The prior probability of the occurrence of the event that the lateral acceleration data effectively exists under the event where the operator is focused.
  8. 如权利要求1所述的注意力分析方法,其中,所述根据所述先验概率和预设朴素贝叶斯算法,分别计算驾驶员注意力集中事件和注意力不集中事件的后验概率,并判断驾驶员注意力是否集中的步骤之前包括:The attention analysis method according to claim 1, wherein, according to the prior probability and the preset naive Bayesian algorithm, the posterior probability of the driver's concentration event and the inattention event are respectively calculated, And before judging whether the driver's attention is concentrated, the steps include:
    根据正态分布公式处理得到所述方向盘手力扭矩值数据、所述方向盘转角值数据、所述车辆横向加速度数据和所述横向偏差数据的正态分布的预设条件概率函数。The preset conditional probability function of the normal distribution of the steering wheel hand torque value data, the steering wheel angle value data, the vehicle lateral acceleration data and the lateral deviation data is obtained by processing according to the normal distribution formula.
  9. 一种车辆,其中,所述车辆包括存储器、处理器和存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至8中任一项所述的注意力分析方法的步骤。A vehicle, wherein the vehicle comprises a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program implementing the method of claim 1 when executed by the processor To the step of the attention analysis method described in any one of 8.
  10. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至8中任一项所述的注意力分析方法的步骤。A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the attention analysis method according to any one of claims 1 to 8 is realized A step of.
PCT/CN2022/091487 2021-07-22 2022-05-07 Attention analysis method, vehicle and storage medium WO2023000762A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110833696.6A CN113569699B (en) 2021-07-22 2021-07-22 Attention analysis method, vehicle, and storage medium
CN202110833696.6 2021-07-22

Publications (1)

Publication Number Publication Date
WO2023000762A1 true WO2023000762A1 (en) 2023-01-26

Family

ID=78166548

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/091487 WO2023000762A1 (en) 2021-07-22 2022-05-07 Attention analysis method, vehicle and storage medium

Country Status (2)

Country Link
CN (1) CN113569699B (en)
WO (1) WO2023000762A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113569699B (en) * 2021-07-22 2024-03-08 上汽通用五菱汽车股份有限公司 Attention analysis method, vehicle, and storage medium
CN114043992A (en) * 2021-11-12 2022-02-15 东风柳州汽车有限公司 Vehicle control method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287916A (en) * 2019-06-28 2019-09-27 浙江吉利控股集团有限公司 It is a kind of for judging the method and system of driver attention
CN110472556A (en) * 2019-08-12 2019-11-19 一汽轿车股份有限公司 Driver attention's state analysis system and analysis method based on monocular vision
CN112381025A (en) * 2020-11-23 2021-02-19 恒大新能源汽车投资控股集团有限公司 Driver attention detection method and device, electronic equipment and storage medium
CN113569699A (en) * 2021-07-22 2021-10-29 上汽通用五菱汽车股份有限公司 Attention analysis method, vehicle, and storage medium

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5311793B2 (en) * 2007-10-16 2013-10-09 トヨタ自動車株式会社 Aside look status determination device
CN104182618B (en) * 2014-08-06 2017-06-30 西安电子科技大学 A kind of method for early warning that knocks into the back based on Bayesian network
WO2016028228A1 (en) * 2014-08-21 2016-02-25 Avennetz Technologies Pte Ltd System, method and apparatus for determining driving risk
FR3040231B1 (en) * 2015-08-18 2020-09-18 Renault Sas METHOD OF DETERMINING A LEVEL OF ATTENTION OF A DRIVER OF A MOTOR VEHICLE AND METHOD OF STIMULATING THE ATTENTION OF A DRIVER OF A MOTOR VEHICLE
US20180032891A1 (en) * 2016-07-29 2018-02-01 International Business Machines Corporation Adaptive architecture for crash prediction in vehicle collision avoidance systems
CN108696366B (en) * 2017-02-28 2021-07-02 大唐高鸿信息通信研究院(义乌)有限公司 Fatigue driving identification method suitable for vehicle-mounted short-distance communication network
CN107730835B (en) * 2017-11-14 2019-07-02 吉林大学 A kind of fatigue of automobile driver recognition methods based on stress reaction ability
CN108154095A (en) * 2017-12-14 2018-06-12 北京汽车集团有限公司 A kind of method, apparatus and vehicle of determining fatigue driving
CN109927731B (en) * 2017-12-15 2020-09-18 蔚来(安徽)控股有限公司 Driver release detection method and device, controller and storage medium
CN113056390A (en) * 2018-06-26 2021-06-29 伊泰·卡茨 Situational driver monitoring system
US10752253B1 (en) * 2019-08-28 2020-08-25 Ford Global Technologies, Llc Driver awareness detection system
CN111738126B (en) * 2020-06-16 2023-04-07 湖南警察学院 Driver fatigue detection method and device based on Bayesian network and HMM
CN112529341B (en) * 2021-02-09 2021-07-23 西南石油大学 Drilling well leakage probability prediction method based on naive Bayesian algorithm

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287916A (en) * 2019-06-28 2019-09-27 浙江吉利控股集团有限公司 It is a kind of for judging the method and system of driver attention
CN110472556A (en) * 2019-08-12 2019-11-19 一汽轿车股份有限公司 Driver attention's state analysis system and analysis method based on monocular vision
CN112381025A (en) * 2020-11-23 2021-02-19 恒大新能源汽车投资控股集团有限公司 Driver attention detection method and device, electronic equipment and storage medium
CN113569699A (en) * 2021-07-22 2021-10-29 上汽通用五菱汽车股份有限公司 Attention analysis method, vehicle, and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZHANG JIAN-MING, WEI LIN-FENG, LIU ZHI-QIANG, WANG PENG: "Fatigue and Attention Detection Based on Bayesian Network", COMPUTER ENGINEERING, SHANGHAI JISUANJI XUEHUI, CN, vol. 38, no. 9, 5 May 2012 (2012-05-05), CN , pages 189 - 192, XP093026053, ISSN: 1000-3428, DOI: 10.3969/j.issn.1000-3428.2012.09.057 *

Also Published As

Publication number Publication date
CN113569699A (en) 2021-10-29
CN113569699B (en) 2024-03-08

Similar Documents

Publication Publication Date Title
WO2023000762A1 (en) Attention analysis method, vehicle and storage medium
EP3944047A1 (en) Automated driving system upgrading method, automated driving system and vehicle-mounted device
US9914460B2 (en) Contextual scoring of automobile drivers
CN109188438B (en) Yaw angle determination method, device, equipment and medium
KR102459736B1 (en) How to upgrade autonomous driving system, autonomous driving system and on-vehicle device
US9470033B1 (en) System and method for controlling vehicle access component
US20130194193A1 (en) Adaptive gesture recognition system and method for unstable work environments
US20180297586A1 (en) Apparatus and method for controlling autonomous driving of vehicle, and vehicle system
CN108549911B (en) Driver steering intervention identification method based on neural network
US11164450B2 (en) Traffic flow at intersections
Chou et al. An improvement in rollover detection of articulated vehicles using the grey system theory
Sellami et al. Rollover risk prediction of heavy vehicles by reliability index and empirical modelling
CN110103932B (en) Fault detection method, device, equipment and medium
US9821812B2 (en) Traffic complexity estimation
US9102333B2 (en) Enhanced crosswind estimation
KR102395298B1 (en) Apparatus and method for controlling communication of vehicle
CN111731309B (en) Gradient estimation method, device and equipment and vehicle
CN110606092B (en) Method and device for determining driving state, vehicle and storage medium
CN110133624B (en) Unmanned driving abnormity detection method, device, equipment and medium
KR102338067B1 (en) Driver monitoring system for using interest area
US20150197207A1 (en) Method and system for determining a primary direction of force resulting from a vehicle collision
CN113997941B (en) Method and system for analyzing running state of bicycle, electronic equipment and storage medium
CN113212458B (en) Method and device for controlling vehicle driving state
US20230174135A1 (en) Assessment device, storage medium storing computer program for assessment, and assessment method
CN114705197A (en) Vehicle static positioning method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE