Driver state real-time monitoring method and device, electronic equipment and storage medium
By deploying driver status monitoring algorithms and middleware layers in the QNX system, the real-time and accuracy issues of driver status monitoring in new energy vehicles have been resolved, enabling real-time display of driver status and safe driving reminders, thereby improving driving safety.
Patent Information
- Application Number
- CN202310540657.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-12
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-05-12
AI Technical Summary
Existing driver status monitoring systems in new energy vehicles suffer from poor real-time performance, inaccurate status recognition, inability to display the driver's real-time status at the vehicle application layer, and inability to remind the driver to drive safely.
By deploying a driver status monitoring algorithm in the QNX system, driver images are captured by cameras, and combined with driver status monitoring applications and middleware layers, real-time identification and filtering of driver status information is achieved, which is then transmitted to the vehicle-mounted application system for display.
It enables accurate real-time monitoring and display of driver status, improves driving safety, and ensures that drivers can be informed in a timely manner and take safety measures.
Smart Images

Figure CN116563828B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of new energy vehicle technology, and in particular to a method, device, electronic device and storage medium for real-time monitoring of driver status. Background Technology
[0002] Driver Status Monitoring (DMS) systems play a crucial role in new energy vehicles, ensuring driver safety and driving performance. In existing technologies, DMS is typically deployed only on one side, especially when deployed in the vehicle-side application system. Due to limitations in startup speed and real-time performance, DMS performance is somewhat affected. Because of these issues when deploying DMS in the vehicle-side application system, existing DMS-based driver status monitoring methods suffer from poor real-time performance, inaccurate status recognition, inability to display the driver's real-time status at the vehicle-side application layer, and inability to remind the driver to drive safely. Summary of the Invention
[0003] In view of this, embodiments of this application provide a method, device, electronic device, and storage medium for real-time monitoring of driver status, in order to solve the problems of poor real-time performance, inaccurate status recognition, inability to display the driver's real-time status at the vehicle application layer, and inability to remind the driver to drive safely in the prior art.
[0004] A first aspect of this application provides a method for real-time monitoring of driver status, comprising: in response to an operation that triggers the automatic startup of a driver monitoring system, acquiring driver images in the cockpit; processing the driver images using a driver status monitoring algorithm to obtain driver status information, and transmitting the driver status information to an in-vehicle application system; using a driver status monitoring application installed in the in-vehicle application system to detect the driver status information to identify the status type corresponding to the driver status information; filtering the driver status information according to the status type using signal filtering rules to obtain filtered driver status information; and transmitting the filtered driver status information to the application layer of the driver status monitoring application at preset time intervals so that the application layer can display the driver's real-time status.
[0005] A second aspect of this application provides a real-time driver status monitoring device, comprising: a data acquisition module configured to acquire driver images in the cockpit in response to an operation that triggers the automatic startup of a driver monitoring system; a processing module configured to process the driver images using a driver status monitoring algorithm to obtain driver status information and transmit the driver status information to an in-vehicle application system; a detection module configured to detect the driver status information using a driver status monitoring application installed in the in-vehicle application system to identify the status type corresponding to the driver status information; a filtering module configured to filter the driver status information according to the status type using signal filtering rules to obtain filtered driver status information; and a display module configured to transmit the filtered driver status information to the application layer of the driver status monitoring application at preset time intervals so that the application layer can display the driver's real-time status.
[0006] A third aspect of this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the above-described method.
[0007] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described method.
[0008] The above-described technical solutions adopted in the embodiments of this application can achieve the following beneficial effects:
[0009] By responding to the automatic startup of the driver monitoring system, images of the driver in the cockpit are acquired; the driver status monitoring algorithm is used to process the driver images to obtain driver status information, which is then transmitted to the vehicle-mounted application system; the driver status monitoring application installed in the vehicle-mounted application system detects the driver status information to identify the corresponding status type; based on the status type, the driver status information is filtered using signal filtering rules to obtain filtered driver status information; the filtered driver status information is transmitted to the application layer of the driver status monitoring application at preset time intervals, so that the application layer can display the driver's real-time status. This application can judge the driver's real-time status, accurately identify the driver's status, and display the driver's real-time status at the application layer to remind the driver to drive safely and ensure driving safety. Attached Figure Description
[0010] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0011] Figure 1 This is a flowchart illustrating the real-time driver status monitoring method provided in this application embodiment;
[0012] Figure 2 This is a schematic diagram of the communication architecture between the QNX system and the vehicle-mounted Android system provided in the embodiments of this application;
[0013] Figure 3 This is a schematic diagram of the architecture of the driver status monitoring application in the vehicle terminal application system provided in this application embodiment;
[0014] Figure 4 This is a schematic diagram of the driver status real-time monitoring device provided in the embodiments of this application;
[0015] Figure 5 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0016] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0017] In the field of new energy vehicle technology, a Driver Monitoring System (DMS) is a vehicle safety technology that enhances driving safety by monitoring the driver's behavior and state (such as fatigue, distraction, or other factors that may affect driving ability). DMS systems typically utilize a range of sensors, including cameras and biometric sensors, to detect and analyze the driver's behavior and state. In the field of new energy vehicles, especially autonomous vehicles, the importance of DMS systems is even more pronounced. For example, when the vehicle is in autonomous driving mode, the DMS can monitor whether the driver is ready to take over the vehicle when necessary. Therefore, DMS systems play a crucial role in improving the safety of new energy vehicles.
[0018] In existing technologies, Driver Status Monitoring (DMS) systems are primarily deployed on the vehicle's Android or QNX systems. However, both systems have certain limitations. DMS deployed on the vehicle's Android system may experience reduced real-time auxiliary monitoring performance due to limitations in startup speed and real-time performance, thus affecting the accurate monitoring of the driver's status. While DMS deployed on the QNX system can overcome the limitations of the Android system, existing technologies do not detail how the QNX system and Android system communicate, or how the Android system responds to DMS information from the QNX system.
[0019] Currently, Driver Status Monitoring (DMS) is typically deployed only on one side (the vehicle's Android or QNX system). Especially when deployed on the vehicle's application system, the performance of DMS is affected by limitations in startup speed and real-time performance. Due to these issues when deploying DMS on the vehicle's application system, existing DMS-based driver status monitoring methods suffer from poor real-time performance, inaccurate status recognition, inability to display the driver's real-time status at the vehicle's application layer, and inability to remind the driver to drive safely.
[0020] In view of the problems existing in the prior art, this application provides a new method for real-time monitoring of driver status. This application triggers a driver monitoring system upon vehicle startup to acquire real-time images of the driver in the cockpit. The images are then processed using a driver status monitoring algorithm to obtain driver status information. The processed status information is transmitted to the driver status monitoring application for detection via a middleware layer and the vehicle-mounted application system to identify the corresponding status type. Furthermore, based on the status type, the driver status information is filtered and transmitted to the application layer, enabling the application layer to display the driver's status in real time.
[0021] The technical solution of this application can more accurately identify the driver's real-time status and display it in real time at the application layer. This helps to remind the driver to pay attention to safe driving, thereby ensuring driving safety. By introducing a middleware layer, this application also solves the communication problem between the QNX system and the Android system, and provides flexible adaptability so that interface changes and business logic modifications can be implemented without affecting the application layer. The real-time driver status monitoring method of this application has higher real-time performance, accuracy, and scalability, providing a more stable and effective technical solution for driver status monitoring in new energy vehicles.
[0022] The technical solution of this application will now be described in detail with reference to the accompanying drawings and specific embodiments.
[0023] Figure 1This is a flowchart illustrating the real-time driver status monitoring method provided in this application embodiment. Figure 1 Real-time monitoring of driver status can be performed by the QNX system. For example... Figure 1 As shown, the real-time driver status monitoring method may specifically include:
[0024] S101, in response to the operation of triggering the driver monitoring system to start automatically, acquires images of the driver in the cockpit;
[0025] S102, using a driver status monitoring algorithm to process the driver image, obtain driver status information, and transmit the driver status information to the vehicle terminal application system;
[0026] S103 utilizes the driver status monitoring application installed in the vehicle terminal application system to detect driver status information in order to identify the status type corresponding to the driver status information.
[0027] S104, Based on the state type, the driver state information is filtered using signal filtering rules to obtain the filtered driver state information;
[0028] S105, the filtered driver status information is transmitted to the application layer of the driver status monitoring application at preset time intervals so that the application layer can display the driver's real-time status.
[0029] In practical applications, the real-time driver status monitoring method of this application is based on the communication architecture of the QNX system (i.e., the instrument panel system) and the vehicle-mounted application system (hereinafter referred to as the vehicle-mounted Android system). The communication architecture of the QNX system and the vehicle-mounted Android system will be described in detail below with reference to the accompanying drawings. Figure 2 This is a schematic diagram of the communication architecture between the QNX system and the vehicle-mounted Android system provided in an embodiment of this application. Figure 2 As shown, the communication architecture between the QNX system and the vehicle's Android system can specifically include:
[0030] The QNX system includes a camera driver, a Driver Management System (DMS), and instrument cluster applications. The vehicle's Android infotainment system contains a Driver Status Monitoring (DMS) app. Communication between the QNX and Android systems is via FDBus. The DMS includes a DMS algorithm for recognizing and analyzing the driver's current behavior and facial expressions. The DMS app comprises a middleware module and an application layer. The middleware module receives information from the QNX system via FDBus or transmits information from the application layer to the QNX system. The application layer handles the display within the DMS application. FDBus includes an internal service layer (FDBus service) and an inter-process communication (FDBus IPC) module. The FDBus service ensures the dynamism and reliability of the connection, while the FDBus IPC facilitates information and data sharing between different processes.
[0031] The following is about Figure 2 The meaning of the functional modules involved in the communication architecture of the QNX system and the vehicle-mounted Android system is explained, which may include the following:
[0032] QNX System: The Hypervisor dual-system intelligent cockpit QNX instrument panel, or simply the instrument panel system.
[0033] In-vehicle infotainment system: Hypervisor dual-system intelligent cockpit Android system.
[0034] Instrumentation Application: QNX System Human-Machine Interface.
[0035] DMS: Driver Monitoring System, which can monitor driver fatigue, mood, and behavior, etc.
[0036] DMS algorithm: An algorithm for recognizing, analyzing, and processing the driver's current behavior, facial expressions, etc.
[0037] Camera: Image information captured by a camera.
[0038] Camera driver: The driver program for webcams.
[0039] Camera: Image acquisition hardware.
[0040] DMS APP: Android version of the DMS application.
[0041] DMS APP application layer: Used for screen display in DMS applications.
[0042] DMS APP middleware: responsible for receiving information from the QNX system via FDBus or passing application layer information to the QNX system.
[0043] FDBus: A high-speed distributed middleware development framework for cross-platform development.
[0044] FDBus service: The FDBus internal service layer ensures the dynamism and reliability of the connection.
[0045] FDBus IPC: Inter-process communication module.
[0046] The real-time driver status monitoring method of this application is implemented based on the cooperation of components such as DMS, QNX system, camera, Camera architecture, Android system, and FDBus framework. The following describes the implementation process of the real-time driver status monitoring method in a real-world scenario based on the communication architecture of the QNX system and the vehicle's Android system provided in the aforementioned embodiments, which may include the following:
[0047] When the driver opens the car door, the QNX system senses this action and quickly activates the DMS.
[0048] Subsequently, the camera is activated via the Camera architecture to begin collecting image information from the driver.
[0049] The DMS algorithm processes this image information in real time, including behavior recognition and facial expression analysis, to assess the driver's condition (such as fatigue or inattention).
[0050] The processed driver status information is transmitted to the vehicle's Android system via the FFDBus framework and displayed on the instrument cluster application.
[0051] When the vehicle's Android system starts up, it launches the DMS APP. The middleware module in the DMS APP obtains the information processed by the DMS algorithm (i.e., driver status information) through FFBus and passes this information to the application layer for display.
[0052] When the application layer needs to operate the DMS, it passes the operation information (such as registration information) to the middleware module. Then, the middleware module passes this information to the QNX system's DMS via FDBus.
[0053] Finally, the QNX system's DMS calls the DMS algorithm to process the operation information, and then returns the processed result to the application layer of the vehicle's Android system via FFBus to complete the corresponding operation and display it.
[0054] According to the technical solution provided in this application, the entire operation flow of the real-time driver status monitoring method begins with an event trigger, such as the driver opening the car door, which will trigger the driver monitoring system to start automatically. After real-time image processing by the DMS algorithm and communication between multiple components, the processed information is finally displayed to the application layer, thereby displaying the driver's behavior status in real time to remind the driver to drive safely and improve driving safety. This application deploys the DMS algorithm on the QNX system and the DMS application on the vehicle's Android system, enabling both quick start of the DMS service and display on the instrument panel application and on the vehicle's Android system. The QNX system and the vehicle's Android system use FDBus communication to ensure the reliability, real-time accuracy, and complexity of data transmission.
[0055] In some embodiments, in response to triggering the driver monitoring system to start automatically, images of the driver inside the cockpit are acquired, including:
[0056] When the door is detected to be open, the driver monitoring system is activated using the instrument panel system, and the camera is turned on to capture images of the driver in the cockpit.
[0057] Specifically, when the QNX system senses an operation that triggers the DMS activation (such as when the driver opens the car door), the QNX system quickly activates the DMS and opens the camera via the Camera architecture to capture image information of the driver. In practical applications, driver images can be acquired according to a preset image acquisition cycle, or continuous images within a preset time period can be acquired and used as driver images processed by the DMS algorithm.
[0058] In some embodiments, a driver state monitoring algorithm is used to process the driver image to obtain driver state information, including:
[0059] Acquire historical image data of the driver in different states captured by the camera, and determine the facial expression features corresponding to the historical image data in different states;
[0060] Based on facial expression features, feature points and feature indices are extracted from historical image data. Then, a driver state recognition method is generated using the feature points and feature indices.
[0061] The driver state recognition method is used to identify the driver state corresponding to the driver image in order to obtain driver state information.
[0062] Specifically, after acquiring the driver's image, the DMS within the QNX system performs real-time driver image processing using the DMS algorithm to obtain driver status information. The basic principles and implementation process of the DMS algorithm are explained below, which may include the following:
[0063] Driver Monitoring and Safety (DMS) algorithms primarily focus on real-time monitoring and assessment of driver behavior and physiological state to ensure driving safety. During monitoring, DMS algorithms need to process and analyze data from various sensors, such as cameras and biometric sensors. Specifically, DMS algorithms can include the following aspects:
[0064] Driver physiological state detection: The DMS algorithm can assess the driver's physiological state, such as whether they are fatigued, drowsy, or nervous, by analyzing biometric data (such as heart rate, eye movement, and skin conductance) collected by sensors.
[0065] Driver behavior recognition: The DMS algorithm analyzes images captured by cameras to identify driver behaviors such as smoking, eye contact, and mobile phone use. This requires the application of computer vision technologies, such as object detection, object tracking, and behavior analysis.
[0066] Driver Status Assessment: After identifying the driver's physiological state and behavior, the DMS algorithm needs to assess the driver's overall state to determine whether measures should be taken to alert the driver or activate the safety system. This requires the use of machine learning methods, such as classifiers and regression models, to synthesize various input data for prediction.
[0067] In this embodiment, the DMS algorithm uses an infrared camera facing the driver to monitor details such as the driver's head, eyes, and face in real time, and collects historical image data of the driver in different states (such as historical business data or driver images collected under experimental conditions). After collecting the facial features of the driver in different states, these facial features are quantified, and feature extraction is performed on the historical image data based on the facial features. The extracted feature points and feature indicators are used as the basis for judgment. Then, combined with multiple experimental data, a recognition method based on these parameters is summarized. Finally, the obtained state data is input for recognition and judgment.
[0068] In some embodiments, transmitting driver status information to the vehicle-mounted application system includes:
[0069] The instrument panel system uses a distributed middleware development framework to transmit driver status information to the vehicle-mounted application system. The distributed middleware development framework includes an internal service layer and an inter-process communication module. The internal service layer is used for dynamic connection management, and the inter-process communication module is used for information sharing between different processes.
[0070] Specifically, driver status information is transmitted from the instrument cluster system (QNX system) to the vehicle infotainment system (Android system) via the distributed middleware development framework (FDBus). FDBus is a high-speed distributed middleware development framework for cross-platform development. FDBus is used for efficient data transmission and communication between different devices or systems, and FDBus communication is particularly important for highly integrated and complex systems such as those in new energy vehicles.
[0071] Furthermore, FDBus consists of FDBus service and FDBus IPC. FDBus service is the internal service layer of FDBus, primarily responsible for ensuring the dynamism and reliability of connections. This internal service layer can dynamically manage connections, establishing or disconnecting them as needed, while also ensuring connection stability and reliable data transmission. FDBus IPC is the inter-process communication module of FDBus. Inter-process communication (IPC) mechanisms allow different processes to share information and data. The FDBus IPC module provides efficient and stable inter-process communication, which is crucial for various applications in new energy vehicles that require real-time processing of large amounts of data. This application uses FDBus for communication between the QNX system and the vehicle's Android system, ensuring connection stability, real-time performance, and handling data complexity.
[0072] In some embodiments, a driver status monitoring application installed in the vehicle-mounted application system is used to detect driver status information, including:
[0073] Once the vehicle-mounted application system obtains the driver's status information, it starts the driver status monitoring application. The middleware module in the driver status monitoring application is used to detect the status type corresponding to the driver's status contained in the driver status information in order to determine the status type of the driver's real-time status.
[0074] Specifically, after the vehicle-mounted application system (vehicle-mounted Android system) receives the driver status information sent by the FDFbus, it launches the Driver Status Monitoring Application (DMS APP). Within the middleware module of the DMS APP, the driver's status type is detected, such as fatigue, behavior, and mood. This information is then passed to the business processing layer for type filtering and time interval processing, and finally, it is sent to the application layer for display. The following detailed explanation, with reference to the accompanying diagram, illustrates the processing of driver status information by the internal modules of the DMS APP. Figure 3 This is a schematic diagram of the driver status monitoring application within the vehicle-mounted application system provided in this application embodiment. For example... Figure 3As shown, the process of processing driver status information based on the driver status monitoring application may specifically include:
[0075] When the vehicle's Android system receives a signal from the QNX system (driver status information such as fatigue, behavior, and mood transmitted via the FFDBus framework), it first identifies the detected type within the middleware module of the DMS app. After identification, the signal is passed to the business processing layer for further processing, such as filtering different types of signals and adjusting time intervals. After business processing is complete, the processed information is finally passed to the application layer for display, such as displaying corresponding prompts on the vehicle's dashboard.
[0076] It can be seen that the middleware module of the DMS APP mainly includes two aspects of operation: signal detection and signal processing. Signal detection uses driver state information to detect the type of driver state, such as fatigue detection, behavior detection, and emotion detection. Then, based on the detected state type, the signal processing function uses signal filtering rules to filter the driver state information, and sends the filtered signal to the application layer of the DMS APP according to the adjusted transmission cycle.
[0077] In one possible implementation, the signal filtering rules include filtering consecutive state types within a preset time period. For example, if the DMS APP detects multiple identical state types (such as multiple identical emotion types) within a 10-second time period, the middleware module will not send multiple consecutive identical state type signals to the application layer for display. Instead, it will retain a signal of the same state type through filtering to avoid disturbing the driver and improve the driving experience.
[0078] According to the technical solution provided in the embodiments of this application, this application can easily adapt to interface changes by adding a middleware layer (i.e., middleware module) to the DMS APP. For example, if it is necessary to change the interface with the QNX system, due to the existence of the middleware layer, the application layer does not need to make any changes, and it is unaware of the changes, enabling it to perfectly adapt to the QNX system. Secondly, by isolating business logic and data processing from the application layer, the middleware layer enhances the flexibility and stability of the system. This allows for easy modification and expansion of business logic without affecting the display part of the application layer. This helps to build a more efficient, stable, and scalable in-vehicle system.
[0079] In some embodiments, after displaying the driver's real-time status at the application layer, the method of this application further includes:
[0080] In response to the application layer's operation on the driver monitoring system, operation information is generated and passed to the middleware module. The middleware module then uses a distributed middleware development framework to pass the operation information to the driver monitoring system in the instrument panel system. The middleware module calls the driver status monitoring algorithm to process the operation information and sends the processing result to the application layer through the distributed middleware development framework so that the application layer can display the processing result.
[0081] Specifically, when the application layer needs to operate the Driver Status Monitoring System (DMS), the following steps are performed: First, the application layer generates specific operation information. This information may include, but is not limited to, registration information, status query information, and configuration modification information. For example, registration information may include a new driver's facial image and corresponding identification; status query information may include a request to obtain the current driver's status information; and configuration modification information may include a request to adjust the parameters of the Driver Status Monitoring System. Second, this operation information is passed to the middleware module located between the application layer and the DMS. The middleware module encapsulates and parses the information to ensure effective transmission and processing between various systems and modules. Next, the middleware module transmits the operation information to the DMS in the QNX system via FFBus. Upon receiving the operation information, the DMS invokes the corresponding driver status monitoring algorithm for processing.
[0082] In some embodiments, the operation information includes registration information, and the driver status monitoring algorithm is invoked to process the operation information, including:
[0083] The system uses cameras to capture facial images of drivers, identifies the facial images to determine the identity identifiers corresponding to the facial images, and matches the identity identifiers with the identity identifiers stored in the database.
[0084] When a matching identity is found, a successful registration result is generated; when no matching identity is found, the identity is registered to the driver monitoring system.
[0085] Specifically, when the operation information in this embodiment is registration information, the DMS will use a camera to capture the driver's facial image, recognize the facial image, and determine the identity identifier corresponding to the facial image; then, it will match the identity identifier with the identity identifiers stored in the database. If a matching identity identifier is found, it means that the driver has already registered, and the system will generate a successful registration result; if no matching identity identifier is found, it means that this is a new driver, and the system will register the identity identifier to the driver monitoring system.
[0086] Furthermore, the DMS returns the processing result to the middleware module via FFBus, and the middleware module then passes the processing result to the application layer. Upon receiving the processing result, the application layer will perform corresponding display or operations based on the specific result. For example, if the processing result is successful registration, the application layer can display a registration success message; if the processing result is new driver registration information, the application layer will update the driver information list, etc.
[0087] Through the processing of operation information in the above embodiments, this application realizes effective operation of the driver monitoring system at the application layer, improving the operability and user experience of the driver status monitoring system.
[0088] According to the technical solution provided in the embodiments of this application, by deploying the DMS algorithm on the QNX system and the DMS application on the vehicle's Android system, it is possible to achieve quick start of DMS services and display them in both the instrument panel application and the Android system. The QNX system and the vehicle's Android system use FDFBus to ensure the reliability, real-time accuracy, and complexity of data transmission. The DMS application in the Android system adds a middleware module to adapt and process the data transmitted from QNX before passing it to the application layer for display. The real-time driver status monitoring method of this application has higher real-time performance, accuracy, and scalability, and can display the driver's current behavioral status in real time to remind the driver to drive safely and improve driving safety.
[0089] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.
[0090] Figure 4 This is a schematic diagram of the driver status real-time monitoring device provided in an embodiment of this application. Figure 4 As shown, the real-time driver status monitoring device includes:
[0091] The acquisition module 401 is configured to acquire images of the driver in the cockpit in response to the operation that triggers the driver monitoring system to start automatically.
[0092] Processing module 402 is configured to process driver images using a driver status monitoring algorithm to obtain driver status information and transmit the driver status information to the vehicle-mounted application system.
[0093] The detection module 403 is configured to use the driver status monitoring application installed in the vehicle terminal application system to detect driver status information in order to identify the status type corresponding to the driver status information.
[0094] The filtering module 404 is configured to filter the driver status information based on the status type and using signal filtering rules to obtain the filtered driver status information.
[0095] The display module 405 is configured to transmit the filtered driver status information to the application layer of the driver status monitoring application at preset time intervals, so that the application layer can display the driver's real-time status.
[0096] In some embodiments, Figure 4 When the acquisition module 401 detects that the car door is opened, it uses the instrument panel system to start the driver monitoring system and turns on the camera to acquire images of the driver in the cockpit.
[0097] In some embodiments, Figure 4 The processing module 402 acquires historical image data of the driver in different states captured by the camera, determines the facial expression features corresponding to the historical image data in different states, extracts features from the historical image data based on the facial expression features to obtain feature points and feature indicators, generates a driver state recognition method using the feature points and feature indicators, and uses the driver state recognition method to identify the driver state corresponding to the driver image to obtain driver state information.
[0098] In some embodiments, Figure 4 The processing module 402 uses the instrument-side system to transmit driver status information to the vehicle-side application system through a distributed middleware development framework. The distributed middleware development framework includes an internal service layer and an inter-process communication module. The internal service layer is used for dynamic connection management, and the inter-process communication module is used for information sharing between different processes.
[0099] In some embodiments, Figure 4 When the vehicle-mounted application system obtains the driver's status information, the detection module 403 starts the driver status monitoring application and uses the middleware module in the driver status monitoring application to detect the status type corresponding to the driver's status contained in the driver status information in order to determine the status type of the driver's real-time status.
[0100] In some embodiments, Figure 4 After displaying the driver's real-time status at the application layer, the display module 405 generates operation information in response to the application layer's operation on the driver monitoring system. The operation information is then passed to the middleware module. The middleware module uses a distributed middleware development framework to pass the operation information to the driver monitoring system in the instrument panel system. It then calls the driver status monitoring algorithm to process the operation information and sends the processing result to the application layer through the distributed middleware development framework so that the application layer can display the processing result.
[0101] In some embodiments, Figure 4 The display module 405 uses a camera to capture the driver's facial image, recognizes the facial image, determines the identity identifier corresponding to the facial image, and matches the identity identifier with the identity identifier stored in the database. When a matching identity identifier is found, a successful registration result is generated. When no matching identity identifier is found, the identity identifier is registered to the driver monitoring system.
[0102] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0103] Figure 5 This is a schematic diagram of the structure of the electronic device 5 provided in an embodiment of this application. Figure 5 As shown, the electronic device 5 of this embodiment includes: a processor 501, a memory 502, and a computer program 503 stored in the memory 502 and executable on the processor 501. When the processor 501 executes the computer program 503, it implements the steps in the various method embodiments described above. Alternatively, when the processor 501 executes the computer program 503, it implements the functions of each module / unit in the various device embodiments described above.
[0104] For example, computer program 503 may be divided into one or more modules / units, which are stored in memory 502 and executed by processor 501 to complete this application. The one or more modules / units may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of computer program 503 in electronic device 5.
[0105] Electronic device 5 can be a desktop computer, laptop, handheld computer, cloud server, or other electronic device. Electronic device 5 may include, but is not limited to, processor 501 and memory 502. Those skilled in the art will understand that... Figure 5 This is merely an example of electronic device 5 and does not constitute a limitation on electronic device 5. It may include more or fewer components than shown, or combine certain components, or different components. For example, electronic device may also include input / output devices, network access devices, buses, etc.
[0106] Processor 501 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.
[0107] The memory 502 can be an internal storage unit of the electronic device 5, such as a hard disk or RAM. The memory 502 can also be an external storage device of the electronic device 5, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, the memory 502 can include both internal and external storage units of the electronic device 5. The memory 502 is used to store computer programs and other programs and data required by the electronic device. The memory 502 can also be used to temporarily store data that has been output or will be output.
[0108] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0109] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0110] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0111] In the embodiments provided in this application, it should be understood that the disclosed apparatus / computer devices and methods can be implemented in other ways. For example, the apparatus / computer device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. Multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0112] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0113] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0114] If an integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program may include computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium may be appropriately added to or subtracted according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0115] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for real-time monitoring of driver status, characterized in that, The method is based on the communication architecture of the instrument panel system and the vehicle infotainment system, and the instrument panel system and the vehicle infotainment system communicate with each other through a distributed middleware development framework. The instrument cluster system includes a driver monitoring system and an instrument cluster application. The driver monitoring system deploys a driver status monitoring algorithm, and the vehicle-mounted application system includes a driver status monitoring application. The driver status monitoring application is configured with a middleware module and an application layer. The middleware module is responsible for receiving information from the instrument cluster system or transmitting information from the application layer to the instrument cluster system, and the application layer is used for displaying information within the driver status monitoring application. The method includes: In response to the triggering of the driver monitoring system to start automatically, images of the driver inside the cockpit are captured; The driver image is processed using a driver status monitoring algorithm to obtain driver status information. The driver status information is then transmitted to the vehicle-mounted application system via a distributed middleware development framework using the instrument panel system. The distributed middleware development framework includes an internal service layer and an inter-process communication module. The internal service layer is used for dynamic connection management, and the inter-process communication module is used for information sharing between different processes. The driver status monitoring application installed in the vehicle terminal application system is used to detect the driver status information in order to identify the status type corresponding to the driver status information. Based on the state type, the driver state information is filtered using signal filtering rules to obtain filtered driver state information; the signal filtering rules include deduplicating and retaining the same state type that appears consecutively within a preset time period. The filtered driver status information is transmitted to the application layer of the driver status monitoring application at preset time intervals, so that the application layer can display the driver's real-time status.
2. The method according to claim 1, characterized in that, The operation of triggering the driver monitoring system to start automatically includes acquiring images of the driver in the cockpit, including: When the door is detected to be open, the driver monitoring system is activated using the instrument panel system, and the camera is turned on to capture images of the driver in the cockpit.
3. The method according to claim 1, characterized in that, The process of processing the driver image using a driver status monitoring algorithm to obtain driver status information includes: Acquire historical image data of the driver in different states captured by the camera, and determine the facial expression features corresponding to the historical image data in different states; Based on the facial expression features, feature extraction is performed on the historical image data to obtain feature points and feature indicators. The feature points and feature indicators are then used to generate a driver state recognition method. The driver state recognition method is used to identify the driver state corresponding to the driver image in order to obtain the driver state information.
4. The method according to claim 1, characterized in that, The step of using a driver status monitoring application installed in the vehicle-mounted application system to detect the driver status information includes: After the vehicle-mounted application system obtains the driver status information, it starts the driver status monitoring application and uses the middleware module in the driver status monitoring application to detect the status type corresponding to the driver status contained in the driver status information in order to determine the status type of the driver's real-time status.
5. The method according to claim 4, characterized in that, After displaying the driver's real-time status at the application layer, the method further includes: In response to the operation of the driver monitoring system by the application layer, operation information is generated and transmitted to the middleware module. The middleware module transmits the operation information to the driver monitoring system in the instrument panel system through a distributed middleware development framework, calls the driver status monitoring algorithm to process the operation information, and sends the processing result to the application layer through the distributed middleware development framework so that the application layer can display the processing result.
6. The method according to claim 5, characterized in that, The operation information includes registration information, and the step of invoking the driver status monitoring algorithm to process the operation information includes: The driver's facial image is captured by a camera, the facial image is recognized, the identity identifier corresponding to the facial image is determined, and the identity identifier is matched with the identity identifiers stored in the database; When a matching identity is found, a successful registration result is generated; when no matching identity is found, the identity is registered to the driver monitoring system.
7. A driver status real-time monitoring device, used to execute the method according to any one of claims 1-6, characterized in that, include: The acquisition module is configured to acquire images of the driver in the cockpit in response to the operation that triggers the driver monitoring system to start automatically; The processing module is configured to process the driver image using a driver status monitoring algorithm to obtain driver status information, and then transmit the driver status information to the vehicle-mounted application system through a distributed middleware development framework using the instrument panel system. The distributed middleware development framework includes an internal service layer and an inter-process communication module. The internal service layer is used for dynamic connection management, and the inter-process communication module is used for information sharing between different processes. The detection module is configured to use a driver status monitoring application installed in the vehicle terminal application system to detect the driver status information in order to identify the status type corresponding to the driver status information. The filtering module is configured to filter the driver state information according to the state type using signal filtering rules to obtain filtered driver state information; the signal filtering rules include deduplicating and retaining the same state type that appears consecutively within a preset time period. The display module is configured to transmit filtered driver status information to the application layer of the driver status monitoring application at preset time intervals, so that the application layer can display the driver's real-time status.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the method as described in any one of claims 1 to 6.
9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Driving state monitoring method and device, driver monitoring system, and vehicle
CN109937152A
System and method for managing operation information of QNX end of dual-system intelligent cockpit
CN113297029A
