Driver monitoring method and system

By introducing a driver monitoring method and system with state manager and adapter components, the adaptation problem of driver monitoring system when switching platforms and algorithms is solved, achieving efficient driver monitoring with fast adaptation and low maintenance cost.

CN121600660APending Publication Date: 2026-03-03AUTOLINK INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511850376.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-09
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

Due to the existence of multiple hardware platforms and algorithm suppliers, driver monitoring systems need to frequently adapt to new platforms or algorithms when switching, resulting in a huge workload and reducing the efficiency of driver monitoring.

Method used

A driver monitoring method and system are provided. By introducing a state manager component, a camera module adapter component, an algorithm module adapter component, and an external alarm signal module, the system can perform image detection and trigger alarms without adapting to new platforms or algorithms, by using an internal state machine to manage the enable states of the camera and algorithm modules.

Benefits of technology

This avoids the huge amount of adaptation work required for each switch, improves driving monitoring efficiency, and achieves stability and low maintenance costs for rapid adaptation to different hardware platforms and algorithm vendors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121600660A_ABST
    Figure CN121600660A_ABST
Patent Text Reader

Abstract

The invention provides a driver monitoring method and system, and is applied to a driver monitoring system, and the driver monitoring system comprises an engine module; the engine module comprises a state manager assembly, a camera module adapter assembly, an algorithm module adapter assembly and an alarm signal outgoing module; the method comprises the following steps: a state manager component receives an external control signal, manages enabling states of a camera module adapter component and an algorithm module adapter component based on an internal state machine, and judges whether a target sub-function of the driver monitoring system is started or not; the camera module adapter assembly obtains videos collected by a camera, carries out video stream taking circulation on the videos and obtains camera images frame by frame, and the algorithm module adapter assembly receives the camera images, carries out image detection based on the camera images and receives corresponding image detection results. The outgoing alarm signal module sends out a corresponding alarm signal based on the outgoing alarm type when triggering the alarm based on the image detection result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of driver monitoring technology, and more specifically, to a driver monitoring method and system. Background Technology

[0002] Driver monitoring system (DMS) is a common vehicle safety feature used to monitor the driver's status in real time and issue alerts. It is typically used to warn the driver of any abnormal conditions (such as fatigue, distraction, or deviating from the driver's line of sight) or driving risks that require the driver's immediate attention.

[0003] Currently, when a vehicle's driver monitoring system issues a warning, it usually means that the system has detected an abnormal driver state or potential driving risk, requiring the driver to take appropriate action. These warnings may involve multiple monitoring dimensions, including the driver's physiological state (such as eyelid closure and heart rate) and behavioral characteristics (such as head posture and hand operations). Each warning has its specific meaning and corresponding response method.

[0004] However, due to the existence of multiple hardware platforms and algorithm vendors, the application software of driver monitoring systems often needs to be adapted to new platforms or new algorithms. Without a stable software architecture, the workload of adaptation is very large each time a switch is made. Summary of the Invention

[0005] In view of this, the purpose of this application is to provide a driver monitoring method and system that does not require adaptation to new platforms or new algorithms, avoids the huge adaptation workload of each switch, and improves the efficiency of driver monitoring.

[0006] In a first aspect, embodiments of this application provide a driver monitoring method applied to a driver monitoring system, the driver monitoring system including an engine module; the engine module includes a state manager component, a camera module adapter component, an algorithm module adapter component, and an external alarm signal module; the method includes: The state manager component receives external control signals and manages the enable states of the camera module adapter component and the algorithm module adapter component based on the internal state machine, and determines whether the target sub-function of the driver monitoring system is started. The camera module adapter component acquires the video captured by the camera and performs video stream extraction loop on the video, acquiring the corresponding camera image frame by frame; The algorithm module adapter component receives the camera image, performs image detection based on the camera image, and receives the corresponding image detection result; When the external alarm signal module triggers an alarm based on the image detection result, it sends out the corresponding alarm signal based on the predefined external alarm type.

[0007] In one possible implementation, the state manager component defines multiple driver states and control conditions corresponding to each driver state; The driver status includes at least fatigue, distraction, dangerous actions, and health status; each driver status includes at least a status type, status name, and status meaning; the status meaning represents two functions: starting monitoring and stopping monitoring. The control conditions characterize the control conditions for each driver state, and the control conditions include at least the control type, control condition name, and control state meaning for each driver state; the control state meaning characterizes the alarm time interval; the control condition name and the state name of the control conditions are matched. The alarm signal includes at least a first alarm signal determined by the fatigue state, a second alarm signal determined by the distraction state, and a third alarm signal determined by the dangerous action; the first alarm signal corresponds to the fatigue level of the fatigue state, the second alarm signal corresponds to the distraction level of the distraction state, and the third alarm signal corresponds to the dangerous action level of the dangerous action.

[0008] In one possible implementation, the method further includes: If the camera module adapter component receives an enable signal from an external control signal, it will start sending the camera image to the algorithm module adapter component. If the camera module adapter component receives an external control signal that is a non-enable signal, it will stop sending the camera image to the algorithm module adapter component.

[0009] In one possible implementation, the driver monitoring system includes a control module; the control module represents an OEM business logic adapter customized according to the manufacturer's business needs; the method further includes: The control module receives serial bus signals from the serial bus and external control signals. The control module generates the status signals required by the status manager component based on the serial bus signal and the control signal, and controls the enable state of the engine module based on the status signals.

[0010] In one possible implementation, the control module includes a CAN bus adapter, a control signal adapter, and a management component; the method further includes: The CAN bus adapter receives serial bus signals on the serial bus and sends them to the management component; The control signal adapter receives external control signals and sends them to the management component; The management component receives and generates the status signals required by the status manager component based on the serial bus signals and the control signals, and controls the enable state of the engine module based on the status signals.

[0011] In one possible implementation, controlling the enable state of the engine module based on the state signal includes: The status signal is sent to the status manager component in the engine module; The state manager component receives the state signal and manages the enable state of the camera module adapter component and the algorithm module adapter component based on the state signal.

[0012] In one possible implementation, the method further includes: Determine the target vendor's business needs and business logic; Based on the business requirements and business logic, obtain the corresponding control module.

[0013] In one possible implementation, the algorithm module adapter component has an algorithm function interface provided by the target vendor; the method further includes: Determine the algorithm function interface provided by the target vendor; The algorithm module adapter component interacts with the algorithm function interface provided by the target manufacturer.

[0014] In one possible implementation, the method further includes: The external alarm signal module sends out the corresponding alarm signal at preset intervals.

[0015] Secondly, embodiments of this application also provide a driver monitoring system, the driver monitoring system including an engine module; the engine module includes a state manager component, a camera module adapter component, an algorithm module adapter component, and an external alarm signal module; The driver monitoring system is used to perform the driver monitoring method provided in the first aspect embodiment.

[0016] This application provides a driver monitoring method and system. A state manager component receives external control signals and manages the enable states of a camera module adapter component and an algorithm module adapter component based on an internal state machine. It determines whether the target sub-function of the driver monitoring system is activated. The camera module adapter component acquires video captured by the camera and performs video streaming loop, acquiring corresponding camera images frame by frame. The algorithm module adapter component receives the camera images, performs image detection based on the images, and receives the corresponding image detection results. When an alarm is triggered based on the image detection results, the external alarm signal module sends out the corresponding alarm signal based on a predefined external alarm type. This application eliminates the need to adapt to new platforms or algorithms, avoiding the significant adaptation workload of each switch and improving driver monitoring efficiency.

[0017] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0018] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 This is a flowchart of a driver monitoring method provided according to an embodiment of this application; Figure 2 This is a schematic diagram of the platform-based DMS system block diagram; Figure 3 This is a schematic diagram of the DMS Engine module components; Figure 4 This is a schematic diagram of the DMS enable state machine; Figure 5 This is a schematic diagram of the DMS Controller module components. Detailed Implementation

[0020] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the accompanying drawings in this application are for illustrative and descriptive purposes only and are not intended to limit the scope of protection of this application. Furthermore, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of this application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed or implemented simultaneously. In addition, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.

[0021] Furthermore, the described embodiments are merely some, not all, of the embodiments of this application. The components of the embodiments of this application described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0022] It should be noted that the term "comprising" will be used in the embodiments of this application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.

[0023] Given that Driver Monitoring System (DMS) is a common vehicle safety feature used to monitor the driver's status in real time and issue alerts, it is typically used to warn the driver of any abnormal conditions (such as fatigue, distraction, or deviating from the driver's line of sight) or driving risks that require the driver's immediate attention.

[0024] Currently, when a vehicle's driver monitoring system issues a warning, it usually means that the system has detected an abnormal driver state or potential driving risk, requiring the driver to take appropriate action. These warnings may involve multiple monitoring dimensions, including the driver's physiological state (such as eyelid closure and heart rate) and behavioral characteristics (such as head posture and hand operations). Each warning has its specific meaning and corresponding response method.

[0025] However, due to the existence of multiple hardware platforms and algorithm vendors, the application software of driver monitoring systems often needs to be adapted to new platforms or new algorithms. Without a stable software architecture, the workload of adaptation is very large each time a switch is made.

[0026] To address this issue, this application provides a driver monitoring method and system that does not require adaptation to new platforms or algorithms, thus avoiding the enormous adaptation workload of each switch and improving the efficiency of driver monitoring.

[0027] Figure 1 This is a flowchart of a driver monitoring method provided according to an embodiment of this application. The driver monitoring method of this application is applied to a driver monitoring system (DMS), which includes an engine module; the engine module includes a status manager component, a camera module adapter component, an algorithm module adapter component, and an external alarm signal module.

[0028] For example, such as Figure 2 and Figure 3 As shown, Engine represents the engine module, which is the core scheduling module for the DMS function; StateManager represents the state manager component; Camera Adapter represents the camera module adapter component, which provides standard video control flow; Algorithm Adapter represents the algorithm module adapter component, which provides standard algorithm control flow; and Alarm Sender represents the external alarm signal module. Additionally, Camera API represents the camera function interface of a specific platform, implementing the control flow of the Camera Adapter; and AlgorithmAPI represents the algorithm function interface provided by a specific vendor, implementing the control flow of the Algorithm Adapter.

[0029] like Figure 1 As shown, the driver monitoring method in this application embodiment may specifically include: S101, the state manager component receives external control signals and manages the enable states of the camera module adapter component and the algorithm module adapter component based on the internal state machine, and determines whether the target sub-function of the driver monitoring system is started.

[0030] S102, The camera module adapter component acquires the video captured by the camera and performs video stream extraction in a loop, acquiring the corresponding camera image frame by frame.

[0031] S103, the algorithm module adapter component receives camera images, performs image detection based on the camera images, and receives the corresponding image detection results.

[0032] S104. When the alarm is triggered based on the image detection result, the external alarm signal module sends out the corresponding alarm signal based on the predefined external alarm type.

[0033] The driver monitoring methods described above do not require adaptation to new platforms or algorithms, thus avoiding the huge workload of adaptation for each switch and improving the efficiency of driver monitoring.

[0034] The exemplary steps described above in the embodiments of this application are illustrated below with specific examples: S101, the state manager component receives external control signals and manages the enable states of the camera module adapter component and the algorithm module adapter component based on the internal state machine, and determines whether the target sub-function of the driver monitoring system is started.

[0035] It should be noted that the state manager component defines various driver states and corresponding control conditions for each driver state. Driver states include at least fatigue, distraction, dangerous actions, and health. Each driver state includes at least a state type, a state name, and a state meaning. The state meaning represents two functions: starting monitoring and stopping monitoring. For example, as shown in Table 1 below: Table 1 State Manager State Definitions

[0036] In addition, the control conditions characterize the control conditions for each driver state. Each control condition includes at least the control type, control condition name, and control state meaning for each driver state. The control state meaning characterizes the alarm time interval. The control condition name and the state name of the control condition are matched. For example, as shown in Table 2 below: Table 2 State Manager Control Condition Definitions

[0037] Continuing, the alarm signals include the driver's fatigue state, distraction state, and the level of dangerous action. That is, the alarm signals include at least a first alarm signal determined by fatigue state, a second alarm signal determined by distraction state, and a third alarm signal determined by dangerous action. The first alarm signal corresponds to the fatigue level of the fatigue state, the second alarm signal corresponds to the distraction level of the distraction state, and the third alarm signal corresponds to the level of dangerous action. For example, as shown in Table 3 below: Table 3 Alarm Sender Signal Definitions

[0038] In this embodiment, the target sub-functions are the sub-functions corresponding to the camera module adapter component (camera function) and the algorithm module adapter component (algorithm function). The State Manager component is responsible for receiving external control signals and managing the enable states. Specifically, it manages the enable states of the camera module adapter component and the algorithm module adapter component based on an internal state machine, determining whether the target sub-functions of the driver monitoring system, namely the camera function and the algorithm function, are started for subsequent processing. For example, Figure 3 As shown.

[0039] S102, the camera module adapter component acquires the video captured by the camera and performs video stream extraction loop, acquiring the corresponding camera image frame by frame.

[0040] In this embodiment, the Camera Adapter component is used to control the video stream. After startup, the component completes camera initialization, starts a frame cycle, and acquires camera images frame by frame for subsequent processing. For example, as... Figure 3 As shown.

[0041] S103, the algorithm module adapter component receives the camera image, performs image detection based on the camera image, and receives the corresponding image detection result.

[0042] In this embodiment, after the Algorithm Adapter component starts, it first completes algorithm initialization and waits to receive images (controlled by the StateManager). When it receives the received camera images frame by frame from the camera module adapter component in step S102, it performs image detection based on the camera images and receives the corresponding image detection results for subsequent processing. For example, as... Figure 3 As shown in the diagram. Here, the Algorithm Adapter defines an image input interface and a result callback interface. It sends camera images to the algorithm via the image input interface for image detection and obtains the image detection results via the result callback interface.

[0043] S104, when the external alarm signal module triggers an alarm based on the image detection result, it sends out the corresponding alarm signal based on the predefined external alarm type.

[0044] In this embodiment, the external alarm signal module Alarm Sender defines the DMS external alarm type. When an alarm is triggered based on the image detection result, an alarm signal is sent out based on the predefined external alarm type. For example, ... Figure 3 As shown.

[0045] The driver monitoring method provided in this application involves a state manager component receiving external control signals and managing the enable states of the camera module adapter component and the algorithm module adapter component based on an internal state machine. This determines whether the target sub-function of the driver monitoring system is activated. The camera module adapter component acquires video captured by the camera and performs video streaming loop, acquiring corresponding camera images frame by frame. The algorithm module adapter component receives the camera images, performs image detection based on the images, and receives the corresponding image detection results. When an alarm is triggered based on the image detection results, the external alarm signal module sends out the corresponding alarm signal based on a predefined external alarm type. This driver monitoring method eliminates the need to adapt to new platforms or algorithms, avoiding the significant adaptation workload associated with each switch and improving driver monitoring efficiency.

[0046] Furthermore, if the external control signal received by the camera module adapter component is an enable signal, it will start sending camera images to the algorithm module adapter component; if the external control signal received by the camera module adapter component is a disable signal, it will stop sending camera images to the algorithm module adapter component.

[0047] Specifically, after the Engine module starts, it first initializes the camera and algorithm library, then starts the video streaming loop to acquire camera images. However, it does not immediately feed the images to the algorithm interface via the algorithm module adapter component. Once it receives an external enable signal, it begins image detection by sending the camera images to the algorithm interface via the algorithm module adapter component. If it receives an external disable signal, it stops feeding images and returns to the ready-to-enable state. For example, ... Figure 4 As shown.

[0048] The driver monitoring system includes a control module; this module represents an OEM business logic adapter customized according to the manufacturer's business needs, used to control the DMS switch enable / disable. Additionally, the control module includes a CAN bus adapter, a control signal adapter, and management components. For example, such as... Figure 5 As shown, the Controller module represents the control module, the CanSignal Adapter represents the CAN bus adapter, which is used to acquire CAN bus signals and supports OEM business logic customization, the UserControlAdapter represents the control signal adapter, which acquires user control signals and supports OEM business logic customization, and the Manager represents the management component.

[0049] Furthermore, the control module receives serial bus signals on the serial bus and external control signals; the control module generates state signals required by the state manager component based on the serial bus signals and control signals, and controls the enable state of the engine module based on the state signals.

[0050] In some implementations, the CAN bus adapter receives serial bus signals on the serial bus and sends them to the management component; the control signal adapter receives external control signals and sends them to the management component; the management component receives and generates status signals required by the status manager component based on the serial bus signals and control signals, and controls the enable state of the engine module based on the status signals.

[0051] Optionally, when controlling the enable state of the engine module based on the status signal, the status signal is sent to the status manager component in the engine module; the status manager component receives the status signal and manages the enable state of the camera module adapter component and the algorithm module adapter component based on the status signal.

[0052] Specifically, the Controller module implements the host manufacturer's customized business logic. The CanSignal Adapter component is responsible for receiving signals from the serial bus, and the UserControl adapter component is responsible for receiving user control signals (generally from the DMS APP). For example, the Manager component (which contains different business logic) implements the control logic required by the user. Based on the bus signals and user setting signals, it ultimately generates the state signals required by the State Manager, controlling the enable state of the Engine module, specifically the enable state of the camera module adapter component and the algorithm module adapter component. Figure 5 As shown.

[0053] Furthermore, determine the target vendor's business requirements and business logic; and obtain the corresponding control modules based on the business requirements and business logic.

[0054] Specifically, different control modules, such as different CAN bus adapters and control signal adapters, can be obtained based on the target manufacturer's business needs and business logic to achieve customization by the host manufacturer.

[0055] Furthermore, the algorithm module adapter component has an algorithm function interface provided by the target manufacturer; the algorithm function interface provided by the target manufacturer is determined; and the algorithm module adapter component interacts with the algorithm function interface provided by the target manufacturer.

[0056] Furthermore, the external alarm signal module sends out the corresponding alarm signal at preset intervals.

[0057] Specifically, once a certain sub-function is enabled, alarms of the same type will only be sent out once within a specified interval.

[0058] In summary, this application proposes a platform-based DMS system framework, consisting of an Engine, Camera adapter, and Algorithm adapter as fixed functional cores, along with other peripheral auxiliary functions. The core lies in the DMS functional foundation platform comprised of the Engine, Camera adapter, and Algorithm adapter. Based on the business characteristics of the DMS functions, the abstracted Engine module is the core of the business logic. Internally, it integrates the CameraAdapter and AlgorithmAdapter. Through the standard processes defined by the Engine, hardware platforms and algorithm vendors can be easily replaced, thereby achieving code platformization.

[0059] Therefore, this application platforms the functions of the vehicle driver monitoring system. By providing standard control inputs and standard alarm outputs, it solidifies the core scheduling process of the driver monitoring system. Its peripheral adapters can be quickly adapted to the needs of different OEMs, different hardware platforms and different algorithm suppliers, and have the advantages of high stability, fast adaptation and low maintenance cost.

[0060] This application embodiment also provides a driver monitoring system, which includes an engine module; the engine module includes a state manager component, a camera module adapter component, an algorithm module adapter component, and an external alarm signal module; The driver monitoring system described above is used to execute the driver monitoring method described above.

[0061] The driver monitoring system provided in this application includes a state manager component that receives external control signals and manages the enable states of the camera module adapter component and the algorithm module adapter component based on an internal state machine. This determines whether the target sub-function of the driver monitoring system is activated. The camera module adapter component acquires video captured by the camera and performs video streaming loop, acquiring corresponding camera images frame by frame. The algorithm module adapter component receives the camera images, performs image detection based on the images, and receives the corresponding image detection results. When an alarm is triggered based on the image detection results, the external alarm signal module sends out the corresponding alarm signal based on a predefined alarm type. This driver monitoring system eliminates the need to adapt to new platforms or algorithms, avoiding the significant adaptation workload of each switch and improving driver monitoring efficiency.

[0062] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems and devices described above can be referred to the corresponding processes in the method embodiments, and will not be repeated here. In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some communication interfaces; the indirect coupling or communication connection of devices or modules can be electrical, mechanical, or other forms.

[0063] The modules described as separate components may or may not be physically separate. The components shown as modules 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.

[0064] In addition, 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.

[0065] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the deployment methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0066] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A driver monitoring method, characterized in that, The method is applied to a driver monitoring system, which includes an engine module; the engine module includes a state manager component, a camera module adapter component, an algorithm module adapter component, and an external alarm signal module; the method includes: The state manager component receives external control signals and manages the enable states of the camera module adapter component and the algorithm module adapter component based on the internal state machine, and determines whether the target sub-function of the driver monitoring system is started. The camera module adapter component acquires the video captured by the camera and performs video stream extraction loop on the video, acquiring the corresponding camera image frame by frame; The algorithm module adapter component receives the camera image, performs image detection based on the camera image, and receives the corresponding image detection result; When the external alarm signal module triggers an alarm based on the image detection result, it sends out the corresponding alarm signal based on the predefined external alarm type.

2. The method according to claim 1, characterized in that, The state manager component defines various driver states and the corresponding control conditions for each driver state; The driver status includes at least fatigue, distraction, dangerous actions, and health status; each driver status includes at least a status type, status name, and status meaning; the status meaning represents two functions: starting monitoring and stopping monitoring. The control conditions characterize the control conditions for each driver state, and the control conditions include at least the control type, control condition name, and control state meaning for each driver state; the control state meaning characterizes the alarm time interval; the control condition name and the state name of the control conditions are matched. The alarm signal includes at least a first alarm signal determined by the fatigue state, a second alarm signal determined by the distraction state, and a third alarm signal determined by the dangerous action; the first alarm signal corresponds to the fatigue level of the fatigue state, the second alarm signal corresponds to the distraction level of the distraction state, and the third alarm signal corresponds to the dangerous action level of the dangerous action.

3. The method according to claim 1, characterized in that, The method further includes: If the camera module adapter component receives an enable signal from an external control signal, it will start sending the camera image to the algorithm module adapter component. If the camera module adapter component receives an external control signal that is a non-enable signal, it will stop sending the camera image to the algorithm module adapter component.

4. The method according to claim 1, characterized in that, The driver monitoring system includes a control module; the control module represents an OEM business logic adapter customized according to the manufacturer's business needs; the method further includes: The control module receives serial bus signals from the serial bus and external control signals. The control module generates the status signals required by the status manager component based on the serial bus signal and the control signal, and controls the enable state of the engine module based on the status signals.

5. The method according to claim 4, characterized in that, The control module includes a CAN bus adapter, a control signal adapter, and a management component; the method further includes: The CAN bus adapter receives serial bus signals on the serial bus and sends them to the management component; The control signal adapter receives external control signals and sends them to the management component; The management component receives and generates the status signals required by the status manager component based on the serial bus signals and the control signals, and controls the enable state of the engine module based on the status signals.

6. The method according to claim 5, characterized in that, The control of the enable state of the engine module based on the state signal includes: The status signal is sent to the status manager component in the engine module; The state manager component receives the state signal and manages the enable state of the camera module adapter component and the algorithm module adapter component based on the state signal.

7. The method according to claim 1, characterized in that, The method further includes: Determine the target vendor's business needs and business logic; Based on the business requirements and business logic, obtain the corresponding control module.

8. The method according to claim 1, characterized in that, The algorithm module adapter component has an algorithm function interface provided by the target manufacturer; the method further includes: Determine the algorithm function interface provided by the target vendor; The algorithm module adapter component interacts with the algorithm function interface provided by the target manufacturer.

9. The method according to claim 1, characterized in that, The method further includes: The external alarm signal module sends out the corresponding alarm signal at preset intervals.

10. A driver monitoring system, characterized in that, The driver monitoring system includes an engine module; the engine module includes a status manager component, a camera module adapter component, an algorithm module adapter component, and an external alarm signal module; The driver monitoring system is applied to the driver monitoring method as described in any one of claims 1-9.