US20260184317A1 · App 18/849,298
METHOD FOR EVALUATING STATE OF DRIVER, ELECTRONIC DEVICE, AND NON-TRANSITORY COMPUTER READABLE STORAGE MEDIUM
Publication
Application
Classifications
IPC Classifications
CPC Classifications
Applicants
STREAMAX TECHNOLOGY CO., LTD.
Inventors
Yonggang HAN, Zixian GU, Yuling WANG, Kun HE, Haichuan QIN
Abstract
A method for evaluating a state of a driver, an electronic device, and a storage medium. The method includes: performing, according to current driving behavior data and mental state data of the driver, a behavior analysis on the driver to obtain a behavior event of the driver, and generating temporal event information according to the behavior event; performing a driving habit analysis on the driver to generate driving habit information of the driver in the current time period; invoking, according to identity information of the driver, a driver portrait library to obtain driver portrait information of the driver; and performing, using a preset information fusion analysis model, an information fusion analysis on the temporal event information, the driving habit information and the driver portrait information, and evaluating the state of the driver according to an analysis result to obtain a state evaluation result of the driver.
Get a summary, plain-language explanation, or ask your own question.
Figures
Description
CROSS-REFERENCE TO RELATED APPLICATION
[0001]This application is a 35 U.S.C. § 371 national stage application of PCT patent application No. PCT/CN2022/128380, filed on Oct. 28, 2022, the entire contents of which are incorporated herein by reference.
TECHNICAL FIELD
[0002]The present application relates to the field of vehicle driving technologies, and more particularly, to a method for evaluating state of driver, an electronic device, and a non-transitory computer readable storage medium.
BACKGROUND
[0003]Traffic accidents increase with the continuous popularization of vehicles. A driving state of a driver has serious influence on safe driving. Therefore, it is better to bring the driver into a good driving state. In a driving process of the driver, if the driver has a bad driving state due to problems such as fatigue, attention dispersion and the like, a decline in determination capability may be caused, and a road traffic accident is extremely prone to occur. Currently, an existing method for evaluating a state of a driver generally determines whether the driver is fatigued through eye closing duration, determines whether the driver is distracted through a orientation angle of a face, and determines whether the driver is in a dangerous state through a single behavior event such as a rapid acceleration, a sudden deceleration, and a sharp turning. However, when many drivers are tired, the eyes of these drivers are not necessarily closed. When a driver wears a sunglass or a spectacle, strong light reflected by the sunglass or the spectacle causes an eye state of the driver to be invisible, and strong light irradiation causes the driver to squint, and it seems that the eye of the driver is closed. It is difficult to determine whether the driver is fatigued in these scenarios accurately, and fatigue of the driver cannot be classified effectively. The orientation angle of the face is prone to be influenced by an installation angle and an installation distance, when an installation distance of a camera is far, a pupil of the driver cannot be seen, and inaccurate sight detection is caused due to the influence of the spectacle and sizes of the eyes of the driver, more erroneous judgments and missed judgments occur in a real application scenario. Although there is a possibility that single behavior event including the rapid acceleration, the sudden deceleration, the sharp turning is caused due to dangerous driving, there may not necessarily be a sufficient and necessary relationship between the single behavior event and the dangerous driving. Even if some behaviors such as the rapid acceleration, the sudden deceleration, the sharp turning and the like occur in some driving scenes, these behaviors are merely caused due to the driving habit of the driver, and is irrelevant to danger. Therefore, the existing method for evaluating the state of the driver has a problem of low evaluation accuracy.
SUMMARY
[0004]In view of this, the embodiments of the present application provide a method for evaluating a state of a driver, an electronic device and a non-transitory computer readable storage medium, which aim at solving the problem of low evaluation accuracy existing in the related art.
[0005]In accordance with the first aspect of the embodiments of the present application, a method for evaluating a state of a driver is provided. The method is implemented by an electronic device and includes: performing, according to current driving scene data, driving behavior data and mental state data of the driver, a behavior analysis on the driver to obtain a behavior event of the driver, and generating temporal event information according to the behavior event; performing, according to normal driving behavior data of the driver in a current time period, a driving habit analysis on the driver to generate driving habit information of the driver in the current time period; invoking, according to identity information of the driver, a driver portrait library to obtain driver portrait information of the driver; and performing, using a preset information fusion analysis model, an information fusion analysis on the temporal event information, the driving habit information and the driver portrait information, and evaluating the state of the driver according to an analysis result to obtain a state evaluation result of the driver.
[0006]In one embodiment, the step of performing, using the preset information fusion analysis model, the information fusion analysis on the temporal event information, the driving habit information and the driver portrait information, and evaluating the state of the driver according to the analysis result to obtain the state evaluation result of the driver includes: performing, using a shallow fusion network in the information fusion analysis model, an early fusion analysis on the temporal event information, the driving habit information and the driver portrait information to generate an early fusion analysis vector; performing, using a deep fusion network in the information fusion analysis model, a late fusion analysis on the early fusion analysis vector and the driver portrait information to generate a late fusion analysis vector; and evaluating the state of the driver according to the late fusion analysis vector to obtain the state evaluation result of the driver. The state evaluation result of the driver includes one or more information selected from a group consisting of fatigue level information, distraction information, and driving risk level information.
[0007]In one embodiment, the step of performing, using the shallow fusion network in the information fusion analysis model, the early fusion analysis on the temporal event information, the driving habit information and the driver portrait information to generate the early fusion analysis vector includes: inputting the temporal event information, which is used as a first input vector, into the shallow fusion network, and performing, using a behavior event analysis channel of the shallow fusion network, a multi-head self-attention analysis processing, a residual connection processing and a standardization processing on the temporal event information to generate a first analysis vector; inputting the driving habit information, which is used as a second input vector, into the shallow fusion network, and performing, using the driving habit analysis channel of the shallow fusion network, the multi-head self-attention analysis processing, the residual connection processing and the standardization processing on the driving habit information to generate a second analysis vector; and inputting the driver portrait information, which is used as a third input vector, into the shallow fusion network, and performing, using a driver portrait analysis channel of the shallow fusion network, the multi-head self-attention analysis processing, the residual connection processing, the standardization processing, a collision detection processing and a logistic regression processing on the driver portrait information to generate a third analysis vector; concatenating the first analysis vector with the second analysis vector to obtain a link vector; and performing a dot product processing on the link vector and the third analysis vector to obtain the early fusion analysis vector.
[0008]In one embodiment, the step of performing, using the deep fusion network in the information fusion analysis model, the late fusion analysis on the early fusion analysis vector and the driver portrait information to generate the late fusion analysis vector includes: inputting the early fusion analysis vector, which is used as a fourth input vector, into the deep fusion network, and performing, using a fusion result analysis channel in the deep fusion network, a multi-head self-attention analysis processing, a residual connection processing, a standardization processing and a concatenation processing on the early fusion analysis vector to generate a fourth analysis vector; inputting the driver portrait information, which is used as a fifth input vector, into the deep fusion network, and performing, using a driver portrait analysis channel in the deep fusion network, the multi-head self-attention analysis processing, the residual connection processing, the standardization processing, a collision detection processing and a logistic regression processing on the driver portrait information to generate a fifth analysis vector; and performing a dot product processing on the fourth analysis vector and the fifth analysis vector to obtain the late fusion analysis vector.
[0009]In one embodiment, the temporal event information includes at least one of information items selected from a group consisting of event category information, event-start-time-information, event-termination-time-information, event-start-speed-information, event-termination-speed-information, relative-collision-minimum-time-information, minimum-collision-distance-information, collision-accumulation-time-information, collision duration information, traffic flow information, vehicle position information, and vehicle driving duration information.
[0010]In one embodiment, after the step of performing the behavior analysis on the driver according to the current driving scene data, the driving behavior data and the mental state data of the driver to obtain the behavior event of the driver, and generating the temporal event information according to the behavior event of the driver, the method further includes: obtaining real-time weather state information in a current driving scene, and adding the real-time weather state information which is taken as one of the information items, to the temporal event information.
[0011]In one embodiment, after the step of performing the behavior analysis on the driver according to the current driving scene data, the driving behavior data and the mental state data of the driver to obtain the behavior event of the driver, and generating the temporal event information according to the behavior event of the driver, the method further includes: obtaining road information in a current driving scene, and adding the road information, which is taken as one of the information items, to the temporal event information.
[0012]In accordance with the second aspect of the embodiments of the present application, an electronic device is provided. The electronic device includes a memory, a processor and a computer program stored in the memory and executable by the processor, where the processor is configured to, when executing the computer program, implement steps of the method for evaluating the state of the driver.
[0013]In accordance with the third aspect of the embodiments of the present application, a non-transitory computer readable storage medium is provided. The non-transitory computer readable storage medium stores a computer program, that, when executed by a processor of the electronic device, causes the processor to implement the method for evaluating the state of the driver.
[0014]Compared with the related art, the embodiments of the present application have the following beneficial effects: the temporal event information corresponding to the driver's current behavior event, the driving habit information of the driver in the current time period, and the driver portrait information of the driver are obtained. Then, the preset information fusion analysis model is used to perform the information fusion analysis on the temporal event information, the driving habit information and the driver portrait information to obtain the analysis result. Then, the state of the driver is evaluated according to the analysis result to obtain the state evaluation result of the driver. A series of temporal event features and the driver portrait are combined to determine the state of the driver comprehensively, and thus the accuracies of fatigue state recognition, distraction state recognition and dangerous driving recognition of the driver are improved.
DESCRIPTION OF THE DRAWINGS
[0015]In order to describe the embodiments of the present application more clearly, a brief introduction regarding the accompanying drawings that need to be used for describing the embodiments of the present application or the existing technologies is given below. It is obvious that the accompanying drawings described below are merely some embodiments of the present application, a person of ordinary skill in the art may also obtain other drawings according to the current drawings without paying creative efforts.
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
DETAILED DESCRIPTION OF EMBODIMENTS
[0024]In the following descriptions, in order to describe but not intended to limit the present application, concrete details including specific system structure and technique are proposed to facilitate a comprehensive understanding of the embodiments of the present application. However, a person of ordinarily skill in the art should understand that, the present application may also be implemented in some other embodiments without these concrete details. In other conditions, detailed explanations of method, device, circuit and system well known to the public are omitted, such that unnecessary details can be avoided from disturbing the description of the present application.
[0025]In order to illustrate the technical solutions described in the present application, the present application is described below with reference to the embodiments.
[0026]In some embodiments of the present application, referring to
[0027]In a step of S11, a behavior analysis is performed on the driver according to current driving scene data, driving behavior data and mental state data of the driver to obtain a behavior event of the driver, and generating temporal event information according to the behavior event.
[0028]In this embodiment, the current driving scene data, the driving behavior data, and the mental state data of the driver may be obtained by performing data acquisition by using cameras and sensors equipped on the vehicle. For example, an ADAS (Advanced Driving Assistance System, ADAS) camera may be used to photograph images on the surrounding environment of the vehicle through an advanced driving assistance system (Advanced Driving Assistance System, ADAS) equipped in the vehicle, to obtain an environment image and calculate driving scene data such as a lane position where the vehicle is located, the surrounding vehicle position, and the surrounding pedestrian position according to surrounding environment information in the displayed environment image. DIS (Digital Indoor System, DIS) camera may be used to photograph an image of a face of the driver through a digital indoor system (Digital Indoor System, DIS) equipped in the vehicle to obtain a face image. Mental state data such as a face position, a face key point, an expression of the driver, and opening and closing states of the eyes of the driver are obtained by calculating according to the face information displayed in the face image. Sensors such as a six-axis sensor and a GPS sensor equipped on the vehicle may be used to perform vehicle motion state detection to obtain the driving behavior data such as rapid acceleration, sudden deceleration, sharp turning, and vehicle speed, and the like. In a system for evaluating a state of a driver, when the behavior analysis is performed on the driver according to the driving scene data, the driving behavior data and the mental state data, an event confirmation processing may be performed by inputting the obtained data into the related event confirmation algorithm, respectively. The event confirmation algorithm is used to confirm the behavior event of the driver in the current state. After the behavior event is confirmed, the corresponding temporal event information is generated according to the confirmed behavior event. It may be understood that the behavior events of the driver may be divided into a plurality of types. In this embodiment, 69 types of behavior events are provided. As an example, the types of the behavior events include a lane keeping event, a front collision event, an eye closing event, a downward glance event, a yawn event, an acceleration event, a deceleration event, a turning event, an emergency acceleration event, an emergency deceleration event, a sharp turn event. In this embodiment, a corresponding event confirmation algorithm may be configured for each type of behavior events in the system for evaluating the state of the driver. In this embodiment, input data for event confirmation algorithms are different, after the driving scene data, the driving behavior data and the mental state data are obtained, the corresponding input data may be obtained from the obtained driving scene data, the driving behavior data and the mental state data according to the respective input requirements of the event confirmation algorithms, such that the event confirmation algorithms can perform behavior analysis according to the respective input data thereof, and confirms whether the driver has conducted the behavior event corresponding to the event confirmation algorithm in the current state. If the event confirmation algorithm confirms that the driver has conducted the behavior event corresponding to the event confirmation algorithm, corresponding temporal event information is generated according to the behavior event corresponding to the event confirmation algorithm.
[0029]In some embodiments of the present application, the temporal event information includes the following information items: event category information, event-start-time-information, event-termination-time-information, event-start-speed-information, event-termination-speed-information, relative-collision-minimum-time-information, minimum-collision-distance-information, collision-accumulation-time-information, collision duration information, traffic flow information, vehicle position information, and vehicle driving duration information.
[0030]In some embodiments of the present application, a weather information acquisition module may be further configured in the system for evaluating the state of the driver. The weather information acquisition module obtains the real-time weather state information (e.g., rainy day, snowy day, haze day, sunny day) in the current driving scene. After the real-time weather state information is obtained, data fusion is performed on the real-time weather state information and the temporal event information, and the real-time weather state information is taken as an information item and is added to the temporal event information. Thus, an influence factor of weather state is taken into account when the state of the driver is evaluated, and the accuracy of the evaluation result is improved.
[0031]In some embodiments of the present application, a map module may be further configured in the system for evaluating the state of the driver, and road information (e.g., traffic lights, intersections, highways, lanes, provincial highways) in the current driving scene may be obtained by using the map module. After the road information is obtained, data fusion is performed on the road information and the temporal event information, and the road information is added to the temporal event information as an information item. Thus, an influence factor of road conditions is taken into account when the state of the driver is evaluated, and the accuracy of the evaluation result is improved.
[0032]In a step of S12, a driving habit analysis is performed on the driver according to the normal driving behavior data of the driver in the current time period to generate driving habit information of the driver in the current time period.
[0033]In this embodiment, the driving behavior data generated within a period of time closest to the current moment may be used as the normal driving behavior data of the driver in the current time period. For example, assuming that the current moment is 12:10, a preset time range is 5 minutes, then, a time period between a time point of 12:10 and a time point of 12:15 is determined as the current time period of the driver. In this embodiment, the normal driving behavior data is generated at regular intervals according to a predetermined time interval. For example, the normal driving behavior data is generated for every one second, and the obtained normal driving behavior data is time sequence data. In this embodiment, the normal driving behavior data includes vehicle speed data, traffic flow data, position data, six-axis data. The traffic flow data includes the number of front vehicles and the distance between a front vehicle and the current vehicle. In this embodiment, after the normal driving behavior data of the driver in the current time period is obtained, the driving habit analysis may be performed on the driver according to the normal driving behavior data, the real-time driving rule of the driver is counted, and the driving habit information of the driver in the current time period is generated. The driving habit information of the driver in the current time period includes information such as a current time period car following habit of the driver in the current time period, a lane keeping habit of the driver in the current time period, and a vehicle speed maintenance habit of the driver in the current time period.
[0034]In a step of S13, a driver portrait library is invoked according to the identity information of the driver to obtain driver portrait information of the driver.
[0035]In this embodiment, a driver portrait may be constructed according to the historical driving data of the driver, and the driver portrait may be stored in the driver portrait library. A large number of driver portraits are included in the driver portrait library, and a correspondence relationship between the driver portraits and the driver identity information is established. In this embodiment, the driver portrait information of the driver may be obtained by invoking the driver portrait library according to the identity information of the driver. In this embodiment, the driver portrait information includes information such as an effective time period during which the driver's eye is closed, a closed-eye false alarm time period, and a closed-eye misreport type.
[0036]In a step of S14, information fusion analysis is performed on the temporal event information, the driving habit information and the driver portrait information by using a preset information fusion analysis model, and the state of the driver is evaluated according to an analysis result to obtain a state evaluation result of the driver.
[0037]In this embodiment, the preset information fusion analysis model is obtained by performing neural network training using the sample data. The information fusion analysis model is trained to perform information fusion analysis according to the temporal event information, the driving habit information and the driver portrait information, evaluate the state of the driver according to the analysis result, and obtain the state evaluation result of the driver. In this embodiment, the information fusion analysis model may use an event stream as an input according to the temporal event information, perform event confirmation through the event stream, and may accurately evaluate the state of the driver when determining that some behavior events of the driver are abnormal. Thus, a misreport rate may be greatly reduced. The information fusion analysis model performs information fusion analysis by combining the driving habit information with the driver portrait information, may use the driver portrait to perform multi-layer constraint, and perceive the state of the drivers of thousands of people, thereby effectively solving the false alarm problem caused due to personalized difference of different drivers, and thereby improving the accuracy of perception for thousands faces of thousands people. When evaluating the state of the driver according to the analysis result, the information fusion analysis model may classify driver states and rank the fatigues and the driving risks of the drivers, thereby effectively improving the accuracy and timeliness of evaluation of the state of the driver.
[0038]It may be seen from the above that, according to the method for evaluating the state of the driver provided in this embodiment of the present application, the analysis result may be obtained by obtaining the temporal event information corresponding to the current behavior event of the driver, the driving habit information of the driver in the current time period, and the driver portrait information of the driver. Then, the preset information fusion analysis model is used to perform information fusion analysis on the temporal event information, the driving habit information and the driver portrait information to obtain the analysis result. Then, the state of the driver is evaluated according to the analysis result to obtain the state evaluation result of the driver. The state of the driver is determined based on the combination of a series of temporal event features and the driver portrait, and thus the accuracy of fatigue state recognition, distraction state recognition and dangerous driving recognition of the driver are improved.
[0039]In some embodiments of the present application, referring to
[0040]In a step of S21, a shallow fusion network in the information fusion analysis model is used to perform an early fusion analysis on the temporal event information, the driving habit information and the driver portrait information to generate an early fusion analysis vector.
[0041]In a step of S22, a deep fusion network in the information fusion analysis model is used to perform a late fusion analysis on the early fusion analysis vector and the driver portrait information to generate a late fusion analysis vector.
[0042]In a step of S23, the state of the driver is evaluated according to the late fusion analysis vector to obtain the state evaluation result of the driver. The state evaluation result of the driver includes one or more of fatigue level information, distraction information, and driving risk level information.
[0043]In this embodiment, referring to
[0044]In some embodiments of the present application, referring to
[0045]In a step of S41, the temporal event information is input as an input vector to the shallow fusion network, and a behavior event analysis channel of the shallow fusion network is used to perform multi-head self-attention analysis processing, residual connection processing and standardization processing on the temporal event information to generate a first analysis vector.
[0046]In a step of S42, the driving habit information is input as an input vector to the shallow fusion network, and a driving habit analysis channel of the shallow fusion network is used to perform the multi-head self-attention analysis processing, the residual connection processing and the standardization processing on the driving habit information to generate a second analysis vector;
[0047]In a step of S43, the driver portrait information is input as an input vector to the shallow fusion network, and a driver portrait analysis channel of the shallow fusion network is used to perform the multi-head self-attention analysis processing, the residual connection processing, the standardization processing, the collision detection processing and a logistic regression processing on the driver portrait information to generate a third analysis vector;
[0048]In a step of S44, a concatenation processing is performed on the first analysis vector and the second analysis vector to obtain a link vector.
[0049]In a step of S45, a dot product processing is performed on the link vector and the third analysis vector to obtain an early fusion analysis vector.
[0050]In this embodiment, referring to
[0051]In some embodiments of the present application, referring to
[0052]In a step of S61, the early fusion analysis vector, which is used as an input vector, is input to the deep fusion network, and a fusion result analysis channel in the deep fusion network is used to perform the multi-head self-attention analysis processing, the residual connection processing, the standardization processing and the concatenation processing on the early fusion analysis vector to generate a fourth analysis vector.
[0053]In a step of S62, the driver portrait information, which is used as an input vector, is input to the deep fusion network, and a driver portrait analysis channel in the deep fusion network is used to perform the multi-head self-attention analysis processing, the residual connection processing, the standardization processing, the collision detection processing and the logistic regression processing on the driver portrait information to generate a fifth analysis vector;
[0054]In a step of S63, a dot product processing is performed on the fourth analysis vector and the fifth analysis vector to obtain the late fusion analysis vector.
[0055]In this embodiment,
[0056]It should be understood that, the values of serial numbers of the steps in the aforesaid embodiments do not indicate an order of execution sequences of the steps; instead, the execution sequences of the steps should be determined by functionalities and internal logic of the steps, and thus shouldn't be regarded as limitation to implementation processes of the embodiments of the present application.
[0057]In some embodiments of the present application, referring to
[0058]The electronic device 9 may include but is not limited to: a processor 91, the memory 92. A person of ordinary skill in the art can understand that,
[0059]The so-called processor 91 may be central processing unit (Central Processing Unit, CPU), and can also be other general purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field-programmable gate array (Field-Programmable Gate Array, FGPA), or some other programmable logic devices, discrete gate or transistor logic device, discrete hardware component, etc. The general purpose processor may be a microprocessor; as an alternative, the processor may also be any conventional processor, or the like.
[0060]The memory 92 may be an internal storage unit of the electronic device 10, such as a hard disk or a memory of the electronic device 10. The memory 92 may also be an external storage device of the electronic device 10, such as a plug-in hard disk, a smart media card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card, FC) equipped on the electronic device 10. Furthermore, the memory 92 may not only include the internal storage unit of the electronic device 10, but also include the external memory of the electronic device 10. The memory 92 is configured to store the computer program, and other procedures and data needed by the electronic device 10. The memory 92 may also be configured to store data that has been output or being ready to be output temporarily.
[0061]In the aforesaid embodiments, the descriptions of the various embodiments are emphasized respectively, regarding a part of one embodiment which has not been described or disclosed in detail, reference can be made to relevant descriptions in other embodiments.
[0062]The person of ordinary skill in the art may understand that, the elements and algorithm steps of each of the examples described in connection with the embodiments disclosed herein may be implemented in electronic hardware, or in combination with computer software and electronic hardware. Whether these functions are implemented by hardware or software depends on the specific application and design constraints of the technical solution. The skilled people could use different methods to implement the described functions for each particular application, however, such implementations should not be considered as going beyond the scope of the present application.
[0063]When an integrated unit is achieved in the form of software functional units, and is sold or used as an independent product, the integrated unit may be stored in a computer readable storage medium. Based on this understanding, a whole or part of flow process for implementing the method in the embodiments of the present application may also be accomplished in the manner of using computer program to instruct relevant hardware. When the computer program is executed by the processor, the steps in the various method embodiments may be implemented. The computer program includes computer program codes, which may be in the form of source code, object code, executable documents or some intermediate form, etc. The computer readable medium may include: any physical equipment or device that can carry the computer program codes, recording medium, USB flash disk, mobile hard disk, hard disk, optical disk, computer memory, ROM (Read-Only Memory), RAM (Random Access Memory).
[0064]The foregoing embodiments are only intended to explain the technical solutions of the present application, rather than limiting the technical solutions of the present application. Although the present application has been described in detail with reference to these embodiments, a person of ordinary skilled in the art should understand that, the technical solutions disclosed in the embodiments may also be amended, some technical features in the technical solutions may also be equivalently replaced. The amendments or the equivalent replacements don't cause the essence of the corresponding technical solutions to be deviated from the spirit and the scope of the technical solutions in the embodiments of the present application, and thus should all be included in the protection scope of the present application.
Claims
1. A method for evaluating a state of a driver implemented by an electronic device, the method comprising:
performing, according to current driving scene data, driving behavior data and mental state data of the driver, a behavior analysis on the driver to obtain a behavior event of the driver, and generating temporal event information according to the behavior event;
performing, according to normal driving behavior data of the driver in a current time period, a driving habit analysis on the driver to generate driving habit information of the driver in the current time period;
invoking, according to identity information of the driver, a driver portrait library to obtain driver portrait information of the driver; and
performing, using a preset information fusion analysis model, an information fusion analysis on the temporal event information, the driving habit information and the driver portrait information, and evaluating the state of the driver according to an analysis result to obtain a state evaluation result of the driver.
2. The method according to
performing, using a shallow fusion network in the information fusion analysis model, an early fusion analysis on the temporal event information, the driving habit information and the driver portrait information to generate an early fusion analysis vector;
performing, using a deep fusion network in the information fusion analysis model, a late fusion analysis on the early fusion analysis vector and the driver portrait information to generate a late fusion analysis vector; and
evaluating the state of the driver according to the late fusion analysis vector to obtain the state evaluation result of the driver, wherein the state evaluation result of the driver comprises one or more information selected from a group consisting of fatigue level information, distraction information, and driving risk level information.
3. The method according to
inputting the temporal event information, which is used as a first input vector, into the shallow fusion network, and performing, using a behavior event analysis channel of the shallow fusion network, a multi-head self-attention analysis processing, a residual connection processing and a standardization processing on the temporal event information to generate a first analysis vector;
inputting the driving habit information, which is used as a second input vector, into the shallow fusion network, and performing, using a driving habit analysis channel of the shallow fusion network, the multi-head self-attention analysis processing, the residual connection processing and the standardization processing on the driving habit information to generate a second analysis vector;
inputting the driver portrait information, which is used as a third input vector, into the shallow fusion network, and performing, using a driver portrait analysis channel of the shallow fusion network, the multi-head self-attention analysis processing, the residual connection processing, the standardization processing, a collision detection processing and a logistic regression processing on the driver portrait information to generate a third analysis vector;
concatenating the first analysis vector and the second analysis vector to obtain a link vector; and
performing a dot product processing on the link vector and the third analysis vector to obtain the early fusion analysis vector.
4. The method according to
inputting the early fusion analysis vector, which is used as a fourth input vector, into the deep fusion network, and performing, using a fusion result analysis channel in the deep fusion network, a multi-head self-attention analysis processing, a residual connection processing, a standardization processing and a concatenation processing on the early fusion analysis vector to generate a fourth analysis vector;
inputting the driver portrait information, which is used as a fifth input vector, into the deep fusion network, and performing, using a driver portrait analysis channel in the deep fusion network, the multi-head self-attention analysis processing, the residual connection processing, the standardization processing, a collision detection processing and a logistic regression processing on the driver portrait information to generate a fifth analysis vector; and
performing a dot product processing on the fourth analysis vector and the fifth analysis vector to obtain the late fusion analysis vector.
5. The method according to
event category information, event-start-time-information, event-termination-time-information, event-start-speed-information, event-termination-speed-information, relative-collision-minimum-time-information, minimum-collision-distance-information, collision-accumulation-time-information, collision duration information, traffic flow information, vehicle position information, and vehicle driving duration information.
6. The method according to
obtaining real-time weather state information in a current driving scene, and adding the real-time weather state information which is taken as one of the information items, to the temporal event information.
7. The method according to
obtaining road information in a current driving scene, and adding the road information, which is taken as one of the information items, to the temporal event information.
8. (canceled)
9. An electronic device, comprising a memory, a processor and a computer program stored in the memory and executable by the processor, wherein the processor is configured to, when executing the computer program, implement a method for evaluating a state of a driver, comprising steps of steps of:
performing, according to current driving scene data, driving behavior data and mental state data of the driver, a behavior analysis on the driver to obtain a behavior event of the driver, and generating temporal event information according to the behavior event;
performing, according to normal driving behavior data of the driver in a current time period, a driving habit analysis on the driver to generate driving habit information of the driver in the current time period;
invoking, according to identity information of the driver, a driver portrait library to obtain driver portrait information of the driver; and
performing, using a preset information fusion analysis model, an information fusion analysis on the temporal event information, the driving habit information and the driver portrait information, and evaluating the state of the driver according to an analysis result to obtain a state evaluation result of the driver.
10. A non-transitory computer readable storage medium which stores a computer program, that, when executed by a processor of an electronic device, causes the processor of the electronic device to implement a method for evaluating a state of a driver, comprising steps of:
performing, according to current driving scene data, driving behavior data and mental state data of the driver, a behavior analysis on the driver to obtain a behavior event of the driver, and generating temporal event information according to the behavior event;
performing, according to normal driving behavior data of the driver in a current time period, a driving habit analysis on the driver to generate driving habit information of the driver in the current time period;
invoking, according to identity information of the driver, a driver portrait library to obtain driver portrait information of the driver; and
performing, using a preset information fusion analysis model, an information fusion analysis on the temporal event information, the driving habit information and the driver portrait information, and evaluating the state of the driver according to an analysis result to obtain a state evaluation result of the driver.
11. The electronic device according to
performing, using a shallow fusion network in the information fusion analysis model, an early fusion analysis on the temporal event information, the driving habit information and the driver portrait information to generate an early fusion analysis vector;
performing, using a deep fusion network in the information fusion analysis model, a late fusion analysis on the early fusion analysis vector and the driver portrait information to generate a late fusion analysis vector; and
evaluating the state of the driver according to the late fusion analysis vector to obtain the state evaluation result of the driver, wherein the state evaluation result of the driver comprises one or more information selected from a group consisting of fatigue level information, distraction information, and driving risk level information.
12. The electronic device according to
inputting the temporal event information, which is used as a first input vector, into the shallow fusion network, and performing, using a behavior event analysis channel of the shallow fusion network, a multi-head self-attention analysis processing, a residual connection processing and a standardization processing on the temporal event information to generate a first analysis vector;
inputting the driving habit information, which is used as a second input vector, into the shallow fusion network, and performing, using a driving habit analysis channel of the shallow fusion network, the multi-head self-attention analysis processing, the residual connection processing and the standardization processing on the driving habit information to generate a second analysis vector;
inputting the driver portrait information, which is used as a third input vector, into the shallow fusion network, and performing, using a driver portrait analysis channel of the shallow fusion network, the multi-head self-attention analysis processing, the residual connection processing, the standardization processing, a collision detection processing and a logistic regression processing on the driver portrait information to generate a third analysis vector;
concatenating the first analysis vector and the second analysis vector to obtain a link vector; and
performing a dot product processing on the link vector and the third analysis vector to obtain the early fusion analysis vector.
13. The electronic device according to
inputting the early fusion analysis vector, which is used as a fourth input vector, into the deep fusion network, and performing, using a fusion result analysis channel in the deep fusion network, a multi-head self-attention analysis processing, a residual connection processing, a standardization processing and a concatenation processing on the early fusion analysis vector to generate a fourth analysis vector;
inputting the driver portrait information, which is used as a fifth input vector, into the deep fusion network, and performing, using a driver portrait analysis channel in the deep fusion network, the multi-head self-attention analysis processing, the residual connection processing, the standardization processing, a collision detection processing and a logistic regression processing on the driver portrait information to generate a fifth analysis vector; and
performing a dot product processing on the fourth analysis vector and the fifth analysis vector to obtain the late fusion analysis vector.
14. The electronic device according to
15. The electronic device according to
obtaining real-time weather state information in a current driving scene, and adding the real-time weather state information which is taken as one of the information items, to the temporal event information.
16. The electronic device according to
obtaining road information in a current driving scene, and adding the road information, which is taken as one of the information items, to the temporal event information.
17. The non-transitory computer readable storage medium according to
performing, using a shallow fusion network in the information fusion analysis model, an early fusion analysis on the temporal event information, the driving habit information and the driver portrait information to generate an early fusion analysis vector;
performing, using a deep fusion network in the information fusion analysis model, a late fusion analysis on the early fusion analysis vector and the driver portrait information to generate a late fusion analysis vector; and
evaluating the state of the driver according to the late fusion analysis vector to obtain the state evaluation result of the driver, wherein the state evaluation result of the driver comprises one or more information selected from a group consisting of fatigue level information, distraction information, and driving risk level information.
18. The non-transitory computer readable storage medium according to
inputting the temporal event information, which is used as a first input vector, into the shallow fusion network, and performing, using a behavior event analysis channel of the shallow fusion network, a multi-head self-attention analysis processing, a residual connection processing and a standardization processing on the temporal event information to generate a first analysis vector;
inputting the driving habit information, which is used as a second input vector, into the shallow fusion network, and performing, using a driving habit analysis channel of the shallow fusion network, the multi-head self-attention analysis processing, the residual connection processing and the standardization processing on the driving habit information to generate a second analysis vector;
inputting the driver portrait information, which is used as a third input vector, into the shallow fusion network, and performing, using a driver portrait analysis channel of the shallow fusion network, the multi-head self-attention analysis processing, the residual connection processing, the standardization processing, a collision detection processing and a logistic regression processing on the driver portrait information to generate a third analysis vector;
concatenating the first analysis vector and the second analysis vector to obtain a link vector; and
performing a dot product processing on the link vector and the third analysis vector to obtain the early fusion analysis vector.
19. The non-transitory computer readable storage medium according to
inputting the early fusion analysis vector, which is used as a fourth input vector, into the deep fusion network, and performing, using a fusion result analysis channel in the deep fusion network, a multi-head self-attention analysis processing, a residual connection processing, a standardization processing and a concatenation processing on the early fusion analysis vector to generate a fourth analysis vector;
inputting the driver portrait information, which is used as a fifth input vector, into the deep fusion network, and performing, using a driver portrait analysis channel in the deep fusion network, the multi-head self-attention analysis processing, the residual connection processing, the standardization processing, a collision detection processing and a logistic regression processing on the driver portrait information to generate a fifth analysis vector; and
performing a dot product processing on the fourth analysis vector and the fifth analysis vector to obtain the late fusion analysis vector.
20. The non-transitory computer readable storage medium according to
obtaining real-time weather state information in a current driving scene, and adding the real-time weather state information which is taken as one of the information items, to the temporal event information.
21. The non-transitory computer readable storage medium according to
obtaining road information in a current driving scene, and adding the road information, which is taken as one of the information items, to the temporal event information.