Drunk driving intelligent detection system and method and vehicle
By embedding cameras and alcohol detectors in the vehicle steering wheel, combining seat belt sensors and speed detectors to obtain driver data in real time, the existing problems of low efficiency and insufficient accuracy of drunk driving detection are solved, and accurate from the source of the vehicle is achieved Test drunk driving to reduce accidents.
Patent Information
- Application Number
- CN202411308353.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2024-12-10
AI Technical Summary
The existing methods of drunk driving testing are inefficient and inaccurate, resulting in frequent drunk driving accidents, and there is a lack of effective detection and prevention methods from the source.
Design an intelligent detection system for drunk driving. By installing a camera and an alcohol detector in the vehicle steering wheel, combining a seat belt sensor and a speedometer, it can obtain driver's face data and gas alcohol data in real time, and control the vehicle's driving through the control gear switch. Status to ensure the accuracy and convenience of detection.
It realizes accurate detection of drunk driving from the source of the vehicle, avoids the mismatch between the alcohol data of the Haqi and the face data, improves the accuracy and convenience of drunk driving detection, and effectively reduces the occurrence of drunk driving accidents.
Smart Images

Figure CN119099331A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to an intelligent drunk driving detection system, method and vehicle. Background Art
[0002] With the rapid development of the transportation industry, cars have become one of the indispensable means of transportation for families. However, due to the irregular driving of some people, cars have brought convenience to people's lives, but also caused some traffic accidents, among which traffic accidents caused by drunk driving ranked first.
[0003] The current method of detecting drunk driving is mainly for traffic police to check in places with heavy traffic or at intersections. This method is inefficient and has limited detection capacity, and traffic accidents caused by drunk driving remain high. Summary of the invention
[0004] In view of this, the purpose of this application is to propose an intelligent detection system, method and vehicle for drunk driving to solve the problem of a large number of traffic accidents caused by drunk driving.
[0005] Based on the above purpose, the present application provides an intelligent drunk driving detection system, including a controller, and a camera, an alcohol detector and a gear switch respectively connected to the controller;
[0006] The camera and the alcohol detector are both embedded in the middle of the steering wheel of the vehicle and are used to collect the driver's facial data and breath alcohol data respectively;
[0007] Wherein, the controller is used to control the gear switch to be in an on or off state according to the driver's facial data and breath alcohol data.
[0008] Furthermore, the intelligent drunk driving detection system also includes a seat belt sensor, which is located in the seat belt slot of the driver's seat and is connected to the controller.
[0009] Furthermore, a mounting groove is provided in the middle of the steering wheel, and the camera and the alcohol detector are integrated and installed in the mounting groove.
[0010] Furthermore, the intelligent drunk driving detection system also includes a speedometer, which is located on the vehicle and connected to the controller.
[0011] Based on the same inventive concept, the present application also provides a drunk driving intelligent detection method, which is applied to the controller in the drunk driving intelligent detection system as described above, and the method includes:
[0012] In response to determining that the vehicle is started, acquiring driver's facial data through a camera;
[0013] Comparing the driver's facial data with a dataset of sober facial data;
[0014] In response to determining that the driver's face data is not included in the sober face data set, performing a breath alcohol test on the driver using an alcohol detector to obtain a test result;
[0015] In response to determining that the detection result is not drinking, the driver's facial data is stored in the not drinking facial data set, and the vehicle is controlled to be in a drivable driving state by controlling the gear switch to be in an on state.
[0016] Furthermore, before acquiring the driver's facial data through the camera, the method includes:
[0017] The vehicle speed is obtained through the speedometer, and the driver's seat belt is judged by the seat belt sensor whether it is fastened;
[0018] In response to determining that the vehicle speed is zero and the driver's seat belt is not fastened, the vehicle is controlled to be in a non-drivable driving state by controlling the shift switch to be in an off state.
[0019] Furthermore, before acquiring the driver's facial data through the camera, the method further includes:
[0020] In response to determining that the vehicle speed is not zero, executing the step of acquiring the driver's facial data through a camera;
[0021] In response to determining that the vehicle speed is zero and the driver's seat belt is fastened, the step of acquiring the driver's facial data through the camera is executed.
[0022] Furthermore, before the breath alcohol test of the driver is performed by the alcohol detector to obtain the test result, the following steps are included:
[0023] In response to determining that the vehicle speed is not zero and the driver's face data is not included in the sober face data set, the vehicle is controlled to be in an undriveable state after the preset time by controlling the gear switch to be in an off state after the preset time;
[0024] Wherein, when the gear switch is in the closed state, the gear position of the vehicle is P gear.
[0025] Furthermore, the method further comprises:
[0026] In response to determining that the vehicle is turned off, the so-alcoholic face dataset is cleared.
[0027] Based on the same inventive concept, the present application also provides a vehicle, including the intelligent drunk driving detection system as described above.
[0028] From the above, it can be seen that the intelligent drunk driving detection system provided by the present application, by embedding a camera and an alcohol tester in the middle of the steering wheel of the vehicle and connecting it to the controller, is convenient for obtaining the driver's facial information and the driver's breath alcohol data, and then it is convenient to confirm whether the driver is drunk driving. By setting the gear switch, the controller can control the driving state of the vehicle by controlling the gear switch. The present application confirms whether the driver is drunk driving based on the driver's facial data and the driver's breath alcohol data, and realizes the combination of the driver's facial data and the breath alcohol data, thereby avoiding the situation where the breath alcohol data does not match the facial data, which is conducive to ensuring the accuracy of the intelligent drunk driving detection system, avoiding the occurrence of drunk driving from the source of the vehicle, and is conducive to the promotion and application of the intelligent drunk driving detection system. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0030] Figure 1 This is a schematic diagram of the structure of the intelligent drunk driving detection system according to an embodiment of the present application;
[0031] Figure 2 This is a flow chart of the intelligent drunk driving detection method according to an embodiment of the present application;
[0032] Figure 3 This is a schematic diagram of the structure of the intelligent drunk driving detection device according to an embodiment of the present application;
[0033] Figure 4 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present application.
[0034] In the picture: 1. Camera; 2. Alcohol tester; 3. Gear switch; 4. Seat belt sensor; 5. Speedometer. DETAILED DESCRIPTION
[0035] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0036] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connecting" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to represent relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0037] In the prior art, cars have become one of the indispensable means of transportation for current families. However, due to the irregular driving of some people, cars have brought convenience to people's lives, but have also caused some traffic accidents, among which accidents caused by drunk driving rank first.
[0038] Currently, the detection of drunk driving is mainly done by traffic police at places with heavy traffic or at intersections. This traditional method is inefficient and has limited detection capacity. Some drivers may take chances, which may lead to safety accidents. In order to reduce the occurrence of traffic accidents at the source, people have begun to study the vehicle drunk driving detection system. The existing drunk driving detection systems have the problems of single detection method, inaccurate detection or inconvenient use, so they have not been widely used.
[0039] Based on this, the present application proposes an intelligent drunk driving detection system, method and vehicle to improve the accuracy and convenience of the drunk driving detection system, thereby facilitating its promotion and application.
[0040] Hereinafter, one or more embodiments of the present application will be described in detail through specific examples.
[0041] This application provides an intelligent drunk driving detection system, such as Figure 1 As shown, the drunk driving intelligent detection system includes a controller, and a camera 1, an alcohol detector and a gear switch respectively connected to the controller;
[0042] The camera 1 and the alcohol detector are both embedded in the middle of the steering wheel of the vehicle, and are used to collect the driver's facial data and breath alcohol data respectively;
[0043] Wherein, the controller is used to control the gear switch to be in an on or off state according to the driver's facial data and breath alcohol data.
[0044] Specifically, the camera 1 and the alcohol detector are embedded in the middle of the steering wheel of the vehicle, and can be set close to the driver, which is convenient for the camera 1 to collect the driver's facial data and the alcohol detector to collect the driver's breath alcohol data, which is convenient for the driver. It can also prevent the camera 1 and the alcohol detector from rotating with the steering wheel, which is beneficial for the camera 1 and the alcohol detector to collect the corresponding data of the driver, thereby ensuring the stable operation of the drunk driving intelligent detection system.
[0045] Specifically, the controller is connected to the starting power supply of the vehicle. When the vehicle starts, the controller is awakened. The controller can drive the camera 1 and the alcohol detector to operate, and control the driver's facial data and breath alcohol data collected by the camera 1 and the alcohol detector to be sent to the controller. The controller judges and integrates the received driver's facial data and breath alcohol data to determine the state of the gear switch 3, thereby controlling the vehicle's driving state.
[0046] It should be noted that the camera 1 can simply take a picture of the driver's face and send it to the controller for face recognition to obtain the driver's face data, or the camera 1 can take a picture of the driver's face and then perform face recognition on its own to obtain the driver's face data and send it to the controller.
[0047] The alcohol detector can directly send the measured alcohol content value to the controller, or it can determine whether the driver has been drinking after measuring the alcohol content value and send the conclusion to the controller.
[0048] The controller can be a vehicle controller or an additional controller. The controller is connected to a sound output terminal (a speaker inside the vehicle, an external computer or tablet) to generate a corresponding prompt tone through the sound output terminal (a speaker inside the vehicle, an external computer or tablet). The prompt tone can be "Driver, please blow into the alcohol detector", "Driver, please shift gears normally", "Driver has been drinking and cannot shift gears", and "Facial information is incorrect. The vehicle gear will jump to P gear within 10 minutes. To ensure driving safety, please park the vehicle within 10 minutes", etc.
[0049] In this embodiment, a camera 1 and an alcohol tester 2 are embedded in the middle of the steering wheel of the vehicle and connected to the controller to obtain the driver's facial information and the driver's breath alcohol data, thereby facilitating confirmation of whether the driver is driving under the influence of alcohol. By setting the gear switch 3, the controller can control the driving state of the vehicle by controlling the gear switch 3. Based on the driver's facial data and the driver's breath alcohol data, it is confirmed whether the driver is driving under the influence of alcohol, and the facial data and breath alcohol data of the driver are combined, thereby avoiding the mismatch between the breath alcohol data and the facial data, which is conducive to ensuring the accuracy of the intelligent detection system for driving under the influence of alcohol, avoiding the occurrence of driving under the influence of alcohol from the source of the vehicle, and facilitating the promotion and application of the intelligent detection system for driving under the influence of alcohol.
[0050] In some embodiments, the drunk driving intelligent detection system further includes a seat belt sensor 4, which is located in a seat belt slot of the driver's seat and is connected to the controller.
[0051] Specifically, the seat belt sensor 4 is a sensor. When the driver's seat belt is fastened, that is, the driver's seat belt buckle is inserted into the driver's seat belt slot, the seat belt sensor 4 senses the seat belt buckle, that is, it is determined that the driver's seat belt is fastened. The seat belt sensor 4 sends the sensed information to the controller, and the controller can determine whether the driver's seat belt is fastened.
[0052] It should be noted that, when the seat belt buckle of the driver's seat is located in the seat belt slot of the driver's seat, the signal sensed by the seat belt sensor 4 is 1, and "1" is sent to the controller. When the controller receives the signal "1" sent by the seat belt sensor 4, it can be determined that the driver's seat belt is fastened; when the seat belt buckle of the driver's seat is outside the seat belt slot of the driver's seat, the signal sensed by the seat belt sensor 4 is "0", and "0" is sent to the controller. When the controller receives the signal "0" sent by the seat belt sensor 4, it can be determined that the driver's seat belt is not fastened.
[0053] In this embodiment, the seat belt sensor 4 is provided to facilitate the controller to obtain the state of the driver's seat belt to determine whether the driver's seat belt is fastened, so that the controller can control the state of the shift switch 3 based on the state of the driver's seat belt. The seat belt sensor 4 is a tool for the controller to obtain the driver's intention. When the driver's seat belt is fastened, it is determined that the driver's intention is to drive the vehicle.
[0054] In some embodiments, a mounting groove is provided in the middle of the steering wheel, and the camera 1 and the alcohol detector are integrated and installed in the mounting groove.
[0055] Specifically, the camera 1 and the alcohol detector are integrated and connected together in a horizontal or vertical row, the mounting groove is adapted to the outer size of the camera 1 and the alcohol detector after the integration, and the camera 1 and the alcohol detector are embedded in the middle of the steering wheel through the mounting groove.
[0056] In this embodiment, the setting of the installation groove can facilitate the integrated installation of the camera 1 and the alcohol detector, which is beneficial to the installation efficiency and promotion and application of the intelligent drunk driving detection system.
[0057] In some embodiments, the intelligent drunk driving detection system further includes a speedometer 5, which is located on the vehicle and connected to the controller.
[0058] Specifically, the speed meter 5 can be a radar speed meter 5 or a laser speed meter 5, which can be located at any position on the vehicle and set toward the front of the vehicle to accurately measure the speed of the vehicle.
[0059] In this embodiment, the setting of the speedometer 5 enables the controller to obtain the vehicle speed and further determine the driver's intention based on the vehicle speed to determine the state of the gear switch 3, thereby avoiding the situation where the vehicle replaces a drunk driver during driving, which is beneficial to the detection accuracy of the drunk driving intelligent detection system and avoids the occurrence of drunk driving accidents from the root.
[0060] Based on the same inventive concept, the present application also provides a drunk driving intelligent detection method, which is applied to the controller in the drunk driving intelligent detection system as described above, with reference to Figure 2 , the method comprising:
[0061] Step S100, in response to determining that the vehicle is started, obtaining the driver's face data through camera 1;
[0062] Specifically, the controller is connected to the starting power supply of the vehicle. When the vehicle starts, the controller is powered on and drives the camera 1 to operate to obtain the driver's facial data.
[0063] It should be noted that when the vehicle is in the starting state, the camera 1 continues to run to continuously obtain the driver's facial data, which can prevent the driver from cheating in collusion with others and is conducive to ensuring the accuracy of the drunk driving intelligent detection system.
[0064] In addition, when the vehicle is just started (or when the vehicle speed is zero), the controller controls the camera 1 to perform facial recognition on the driver (it can also control the camera 1 to cooperate with the controller to perform facial recognition to obtain the facial image required by the controller for facial recognition) to fully grasp the driver's facial data, which is beneficial for continuous facial matching of the driver during subsequent driving to avoid driver replacement.
[0065] When the controller controls the camera 1 to perform facial recognition on the driver, it also outputs information to the sound output terminal (tablet, computer or vehicle internal speaker) connected to the controller, so that the corresponding sound output terminal outputs a prompt sound "Please face the camera 1", prompting the driver to perform facial recognition.
[0066] Step S200, comparing the driver's facial data with a dataset of sober facial data;
[0067] Specifically, the controller compares the obtained driver's facial data with the facial data in the so-cold facial data set stored therein to determine whether the driver's facial data belongs to the so-cold facial data set.
[0068] It should be noted that the driver facial data may be the driver facial data obtained during facial recognition, or may be the driver facial data obtained by taking a picture of the driver's face in real time. The driver facial data obtained by taking a picture of the driver's face in real time is less than or equal to the driver facial data obtained during facial recognition, but it can be judged whether the driver facial data obtained by taking a picture of the driver's face in real time is the driver facial data obtained during facial recognition.
[0069] In addition, the sober face dataset is the faces of drivers who have been confirmed to be sober during the duration of the vehicle startup, which avoids repeated face recognition and alcohol testing due to driver changes, and is beneficial to the user's driving experience.
[0070] Step S300, in response to determining that the driver's face data is not included in the sober face data set, performing a breath alcohol test on the driver through an alcohol detector to obtain a test result;
[0071] Specifically, if the controller finds through comparison that the driver's facial data does not match the facial data in the so-not-drinking facial data set, that is, the driver's facial data is not included in the so-not-drinking facial data set, the alcohol detector is driven to perform a breath alcohol test on the driver to determine whether the driver has been drinking.
[0072] It should be noted that when the controller controls the operation of the alcohol detector, it also outputs information to the sound output end (tablet, computer or vehicle internal speaker) connected to the controller, so that the corresponding sound output end outputs a prompt sound of "Driver, please blow into the alcohol detector", prompting the driver to perform a breath alcohol test.
[0073] The alcohol detector can generate a test result of "drinking" or "not drinking", and can also generate a test result of breath alcohol content, and send it to the controller. The controller obtains the test result of "drinking" or "not drinking" based on the breath alcohol content.
[0074] For example, according to the current standards for identifying drunk driving, a driver is considered to have been drinking if the alcohol content in his blood is greater than or equal to 20 mg / 100 ml. When the alcohol detector measures the alcohol content in the driver's breath to be 20 mg / 100 ml, the controller generates a test result of "drinking"; when the alcohol detector measures the alcohol content in the driver's breath to be 20 mg / 100 ml, the alcohol detector generates a test result of "drinking" and sends it to the controller.
[0075] Step S400, in response to determining that the detection result is not drinking, the driver's facial data is stored in the not drinking facial data set, and the vehicle is controlled to be in a drivable driving state by controlling the gear switch 3 to be in an on state.
[0076] Specifically, if the controller obtains a breath alcohol test result of the driver that shows that he is not drunk, it determines that the driver corresponding to the test result is not drunk, and stores the driver's facial data in the non-drinking facial data set for use in the subsequent vehicle startup process to avoid repeated facial recognition and repeated alcohol detection. At the same time, the controller controls the gear switch 3 to be turned on, and the user can shift gears according to actual needs to drive the vehicle.
[0077] It should be noted that when the controller controls the gear switch 3 to be turned on, it also outputs information to the sound output end (tablet, computer or vehicle internal speaker) connected to the controller, so that the corresponding sound output end outputs a prompt sound of "Please driver shift gears and drive normally", prompting the driver to pass the test of the alcohol detection system and can drive the vehicle normally; when the controller controls the gear switch 3 to be turned off, the controller outputs information to the sound output end (tablet, computer or vehicle internal speaker) connected to the controller, so that the corresponding sound output end outputs a prompt sound of "The driver has drunk alcohol and cannot shift gears and drive", prompting the driver to be unable to drive the vehicle normally and need to be replaced.
[0078] In this embodiment, when the vehicle is in the starting state, the driver's facial data is obtained in real time through camera 1, and the driver's facial data is compared with the facial data in the so-called non-drinking facial data set. This can not only avoid affecting the driver's driving experience, but also avoid the situation where a drunk person pretends to be a so-drinking person to drive the vehicle, effectively avoid the occurrence of drunk driving, and thus help avoid the occurrence of drunk driving accidents, which is conducive to promotion and implementation.
[0079] In some embodiments, in step S100: before acquiring the driver's face data through camera 1, the following steps are included:
[0080] Step S101, obtaining the vehicle speed through the speed meter 5, and determining whether the driver's seat belt is fastened through the seat belt sensor 4;
[0081] Specifically, the speed meter 5 operates in real time to obtain the real-time vehicle speed, and sends the obtained vehicle speed to the controller, and the controller obtains the real-time vehicle speed through the speed meter 5;
[0082] Specifically, the controller obtains the state of the driver's seat belt through the real-time operation of the seat belt sensor 4, and then determines whether the driver's seat belt is fastened.
[0083] Step S102, in response to determining that the vehicle speed is zero and the driver's seat belt is not fastened, the vehicle is controlled to be in a non-drivable driving state by controlling the shift switch 3 to be in a closed state.
[0084] Specifically, when the controller determines that the vehicle speed is zero and the driver's seat belt is not fastened, that is, it determines that the driver has no driving intention, then the controller controls the shift switch 3 to be in a closed state, and the driver cannot shift gears, that is, the vehicle is in a non-drivable driving state, avoiding the situation where the driver's seat belt is not fastened and the vehicle is driven, which is not conducive to driving safety.
[0085] In this embodiment, the vehicle speed and the driver's seat belt status are respectively obtained by the speedometer 5 and the seat belt sensor 4 to determine whether the driver has the intention to drive. When the driver has no intention to drive, the subsequent step of obtaining the driver's facial data is not executed, and the alcohol detection step is not performed accordingly, so as to avoid wasting computing power.
[0086] It should be noted that when the vehicle is just started, the state of the gear switch 3 is closed by default, that is, the vehicle is in a non-driving state. When the vehicle speed is zero and the driver's seat belt is not fastened, the controller only needs to control the gear switch 3 to remain in the closed state.
[0087] The default state of the gear switch 3 is the closed state, which is also beneficial to the driving safety of the vehicle and avoids the situation of accidentally touching the gear.
[0088] In some embodiments, in step S100: before acquiring the driver's face data through camera 1, the method further includes:
[0089] Step S103, in response to determining that the vehicle speed is not zero, executing the step of acquiring the driver's face data through camera 1;
[0090] Specifically, when the controller determines that the vehicle speed is not zero, it means that the driver is driving the vehicle, so the controller controls the camera 1 to operate to obtain the driver's facial data in real time, so as to facilitate real-time comparison of the driver's facial data with the facial data in the non-drinking facial data set, avoid the situation where the driver is replaced, and help to improve the accuracy of the method.
[0091] Step S104 , in response to determining that the vehicle speed is zero and the driver's seat belt is fastened, a step of acquiring the driver's facial data through camera 1 is executed.
[0092] Specifically, when the controller determines that the vehicle speed is zero and the driver's seat belt is fastened, that is, confirms that the driver has the intention to drive, the controller controls camera 1 to obtain the driver's facial data. At this time, partial facial data of the driver can be obtained without facial recognition, and the obtained partial facial data of the driver is compared with the facial data in the so-not-drinking facial data set. If the comparison result is that the partial facial data of the driver does not belong to the so-not-drinking facial data set, the controller controls camera 1 to perform facial recognition to obtain all the driver's facial data; if the comparison result is that the partial facial data of the driver belongs to the so-not-drinking facial data set, the controller controls camera 1 to obtain partial facial data of the driver without facial recognition.
[0093] In this embodiment, the steps of acquiring the driver's facial data through the camera 1 are described in detail. Under different preconditions, the camera 1 acquires the driver's facial data in different ways. One is to acquire the driver's facial data through facial recognition, and the other is to acquire the driver's facial data through real-time photography. This can not only ensure the accuracy of the method, but also avoid the waste of computing power by repeated facial recognition, which is conducive to the promotion and application of the method.
[0094] In some embodiments, in step S300: the process of performing breath alcohol testing on the driver by using an alcohol detector, before obtaining the test result, includes:
[0095] Step S301, in response to determining that the vehicle speed is not zero and the driver's face data is not included in the sober face data set, the vehicle is controlled to be in an undriveable state after the preset time by controlling the gear switch 3 to be in an off state after the preset time;
[0096] When the gear switch 3 is in the off state, the gear position of the vehicle is P gear.
[0097] Specifically, when the vehicle speed is not zero and it is determined that the driver's facial data acquired in real time does not belong to the so-cold facial data set, the controller can determine that the driver has cheated in the drunk driving detection. Then, the gear switch 3 is controlled to be in a closed state after a preset time, that is, the gear of the vehicle jumps to P gear after a preset time, making the vehicle in an undriveable state, forcing the driver to stop the vehicle to avoid drunk driving.
[0098] Exemplarily, the preset time length may be 10 minutes. The preset time length cannot be too long or too short. It needs to ensure that the driver can park the vehicle safely and effectively avoid drunk driving.
[0099] It should be noted that when the controller controls the gear switch 3 to be in a closed state after a preset time, it also outputs information to the sound output end (tablet, computer or vehicle internal speaker) connected to the controller, so that the corresponding sound output end outputs a prompt tone of "The facial information is incorrect. The vehicle gear will jump to P gear within 10 minutes. To ensure driving safety, please park the vehicle within 10 minutes and accept facial recognition and alcohol testing." This prompts the driver to park the vehicle within the preset time and re-perform facial recognition and alcohol testing.
[0100] In some embodiments, the method further comprises:
[0101] Step S500, in response to determining that the vehicle is turned off, clearing the sober face dataset.
[0102] Specifically, when the controller determines that the vehicle is stalled, that is, the power of the driving controller is turned off, the controller clears the stored sober facial data set to avoid the sober facial data determined during the current vehicle startup process affecting the accuracy of the intelligent drunk driving detection of the driver when the vehicle is started next time, thereby improving the accuracy of the method and facilitating its promotion and application.
[0103] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.
[0104] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0105] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides an intelligent detection device for drunk driving.
[0106] refer to Figure 3 The intelligent drunk driving detection device comprises:
[0107] The acquisition module 100 is configured to acquire the driver's face data through a camera in response to determining that the vehicle is started;
[0108] A comparison module 200 is configured to compare the driver's facial data with a dataset of sober facial data;
[0109] The alcohol detection module 300 is configured to, in response to determining that the driver's face data is not included in the sober face data set, perform a breath alcohol test on the driver through an alcohol detector to obtain a test result;
[0110] The execution module 400 is configured to store the driver's facial data into the so-not-drinking facial data set in response to determining that the detection result is so-not-drinking, and control the vehicle to a drivable driving state by controlling the gear switch to be in an on state.
[0111] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0112] The device of the above embodiment is used to implement the corresponding intelligent drunk driving detection method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0113] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the intelligent drunk driving detection method described in any of the above embodiments is implemented.
[0114] Figure 4A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0115] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0116] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0117] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0118] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0119] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0120] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0121] The electronic device of the above-mentioned embodiment is used to implement the corresponding intelligent drunk driving detection method in any of the above-mentioned embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0122] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the intelligent drunk driving detection method as described in any of the above embodiments.
[0123] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0124] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the intelligent detection method for drunk driving as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0125] Based on the same concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a computer program product, including computer program instructions. When the computer program instructions are run on a computer, the computer executes the method described in any of the above embodiments, which has the beneficial effects of the corresponding method embodiments and will not be repeated here.
[0126] It is understandable that before using the technical solutions of each embodiment of the present disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.
[0127] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0128] As an optional but non-limiting implementation, in response to receiving the user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0129] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0130] A person skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0131] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.
[0132] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0133] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the present application. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the present application.
Claims
1. An intelligent drunk driving detection system, characterized in that: It includes a controller, and a camera, an alcohol detector and a gear switch respectively connected to the controller; The camera and the alcohol detector are both embedded in the middle of the steering wheel of the vehicle, and are used to collect the driver's facial data and breath alcohol data respectively; Wherein, the controller is used to control the gear switch to be in an on or off state according to the driver's facial data and breath alcohol data.
2. The intelligent drunk driving detection system according to claim 1 is characterized in that: It also includes a seat belt sensor, which is located in the seat belt slot of the driver's seat and is connected to the controller.
3. The intelligent drunk driving detection system according to claim 1 is characterized in that: A mounting groove is provided in the middle of the steering wheel, and the camera and the alcohol detector are integrated and installed in the mounting groove.
4. The intelligent drunk driving detection system according to claim 1 is characterized in that: Also included is a speedometer, which is located on the vehicle and connected to the controller.
5. A drunk driving intelligent detection method, applied to the controller in the drunk driving intelligent detection system according to any one of claims 1 to 4, characterized in that: The method comprises: In response to determining that the vehicle is started, acquiring driver's facial data through a camera; Comparing the driver's facial data with a dataset of sober facial data; In response to determining that the driver's face data is not included in the sober face data set, performing a breath alcohol test on the driver using an alcohol detector to obtain a test result; In response to determining that the detection result is not drinking, the driver's facial data is stored in the not drinking facial data set, and the vehicle is controlled to be in a drivable driving state by controlling the gear switch to be in an on state.
6. The method according to claim 5, characterized in that Before obtaining the driver's facial data through a camera, the following steps are included: The vehicle speed is obtained through the speedometer, and the driver's seat belt is judged by the seat belt sensor whether it is fastened; In response to determining that the vehicle speed is zero and the driver's seat belt is not fastened, the vehicle is controlled to be in a non-drivable driving state by controlling the shift switch to be in an off state.
7. The method according to claim 6, characterized in that Before obtaining the driver's face data through the camera, the method further includes: In response to determining that the vehicle speed is not zero, executing the step of acquiring the driver's facial data through a camera; In response to determining that the vehicle speed is zero and the driver's seat belt is fastened, the step of acquiring the driver's facial data through the camera is executed.
8. The method according to claim 6, characterized in that Before the breath alcohol test of the driver is performed by the alcohol detector and the test result is obtained, the following steps are included: In response to determining that the vehicle speed is not zero and the driver's face data is not included in the sober face data set, the vehicle is controlled to be in an undriveable state after the preset time by controlling the gear switch to be in an off state after the preset time; Wherein, when the gear switch is in the closed state, the gear position of the vehicle is P gear.
9. The method according to claim 5, characterized in that Also includes: In response to determining that the vehicle is turned off, the so-alcoholic face dataset is cleared.
10. A vehicle, characterized in that: It comprises the intelligent drunk driving detection system as described in any one of claims 1 to 4.
Citation Information
Cited By
Configuration and detection method of drunk driving intelligent detection system
CN119858442A
