Vehicle control method, vehicle, medium, and computer program product
By setting up multiple alcohol sensors in the vehicle, real-time detection of alcohol concentration in the vehicle and controlling the vehicle status based on the detection results, the problem of failure to detect drinking and driving behavior in the prior art is solved, and driving safety is improved.
Patent Information
- Application Number
- CN202411583989.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2025-02-18
AI Technical Summary
The existing alcohol detection technology fails to detect whether the driver has drunk driving behavior in real time during the vehicle driving, which poses certain safety hazards.
By setting a first alcohol sensor and a second alcohol sensor in the main driving area and the co-pilot area, the alcohol concentration in the car is detected in real time, and whether there is a passenger when the concentration exceeds the standard. If there is no passenger, the vehicle will be controlled to enter the lock mode. Passengers enter the speed-down lock mode.
Real-time detection and processing of drivers' drunk driving behavior during vehicle driving is realized, driving safety is improved, and the risk of traffic accidents is reduced.
Smart Images

Figure CN119459317A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of alcohol detection, and in particular to a vehicle control method, a vehicle, a medium and a computer program product. Background Art
[0002] The existing alcohol detection method only tests the driver's alcohol before starting the vehicle. The commonly used detection method is to set a sensor on the roof and steering wheel. When both sensors detect that the alcohol concentration exceeds the standard, a voice broadcast reminder or direct notification to the traffic police will be made that someone is driving drunk. This method does not take into account the situation of drunk driving during the vehicle driving, which poses certain safety risks. Summary of the invention
[0003] The main purpose of the present invention is to propose a vehicle control method, which aims to solve the problem that the existing alcohol detection technology does not take into account the situation of drunk driving during vehicle driving, and there are certain safety hazards.
[0004] To achieve the above object, the present invention provides a vehicle control method, the vehicle control method comprising:
[0005] Detecting a first alcohol concentration in the vehicle by using a first alcohol sensor disposed in the main driving area and a second alcohol sensor disposed in the co-pilot area;
[0006] When the first alcohol concentrations are all less than a preset concentration threshold, controlling the vehicle to run according to a user instruction;
[0007] During the operation of the vehicle, continue to detect the second alcohol concentration in the vehicle;
[0008] When the second alcohol concentration is greater than or equal to a preset concentration threshold, detecting whether there is a passenger;
[0009] If there are no passengers, the vehicle is controlled to enter the locking mode.
[0010] Optionally, when the second alcohol concentration is greater than or equal to a preset concentration threshold, after the step of detecting whether there is a passenger, the step further includes:
[0011] If there are passengers, the vehicle will be controlled to enter the speed reduction and locking mode.
[0012] After the deceleration and locking mode reaches a preset time, obtaining the driver's heart rate value, the driver's facial image, the alcohol concentration detected by the first alcohol sensor, the alcohol concentration detected by the second alcohol sensor, the response time of the first alcohol sensor, and the response time of the second alcohol sensor;
[0013] Determine the number of items that meet the following four conditions, wherein the four conditions are: the heart rate value of the driver is greater than or equal to a preset heart rate threshold; the image sensor in the vehicle determines that the user has a drinking behavior; the third alcohol concentration detected by the first alcohol sensor is greater than or equal to the third alcohol concentration detected by the second alcohol sensor; and the response time of the first alcohol sensor is less than the response time of the second alcohol sensor;
[0014] When at least three of the above four conditions are met, the vehicle is controlled to smoothly decelerate and stop and enter a locked state.
[0015] Optionally, after the step of determining the number of items that the following four conditions are satisfied, wherein the four conditions are that the heart rate value of the driver is greater than or equal to a preset heart rate threshold, the image sensor in the vehicle determines that the user has a drinking behavior, the third alcohol concentration detected by the first alcohol sensor is greater than or equal to the third alcohol concentration detected by the second alcohol sensor, and the response time of the first alcohol sensor is less than the response time of the second alcohol sensor, the step further includes:
[0016] When one or two of the above four conditions are met, the vehicle is controlled to slow down and stop;
[0017] receiving a first alcohol test result sent by the alcohol tester;
[0018] If the first alcohol test result is that the alcohol concentration exceeds the standard, the vehicle is controlled to enter the locking mode.
[0019] Optionally, if the first alcohol test result is that the alcohol concentration exceeds the standard, the vehicle is controlled to enter a locking mode, and the step of controlling the vehicle to enter a locking mode further includes:
[0020] Upload the driver's facial image information to the cloud platform;
[0021] After waiting for a preset time, detect whether there is a driver in the driving position;
[0022] When a driver is detected in the driving position, the driver's facial image information at this time is compared with the driver's facial image information uploaded to the cloud platform;
[0023] If the driver's facial image information at this time does not match the driver's facial image information uploaded to the cloud platform, an alcohol concentration test is performed on the driver at this time to obtain a second alcohol test result;
[0024] If the second alcohol test result shows that the alcohol concentration does not exceed the standard, the vehicle is controlled to enter the normal driving mode.
[0025] Optionally, if the second alcohol test result is that the alcohol concentration does not exceed the standard, the step of controlling the vehicle to enter the normal driving mode further includes:
[0026] Before the engine is turned off, the driver's facial information is collected every preset time interval;
[0027] Compare the collected driver's facial image information with the driver's facial image information uploaded to the cloud platform;
[0028] When the collected driver's facial portrait information matches the driver's facial portrait information uploaded to the cloud platform, the vehicle is controlled to enter the speed reduction and locking mode.
[0029] Optionally, after the step of receiving the first alcohol test result sent by the alcohol tester, the step further includes:
[0030] If the first alcohol test result shows that the alcohol concentration does not exceed the standard, the vehicle is controlled to enter a normal driving mode.
[0031] Optionally, when the driver is detected to be in the driving position, after comparing the driver's facial portrait information at this time with the driver's facial portrait information uploaded to the cloud platform, the method further includes:
[0032] If the driver's facial profile information matches the driver's facial profile information uploaded to the cloud platform, the process returns to the step of waiting for a preset time and then detecting whether the driver is in the driving position.
[0033] In addition, to achieve the above objectives, the present application also proposes a vehicle, which can implement the steps of the vehicle control method described above.
[0034] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the vehicle control method described above are implemented.
[0035] In addition, to achieve the above-mentioned purpose, the present application also proposes a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the vehicle control method described above are implemented.
[0036] The present application discloses a vehicle control method, a vehicle, a medium and a computer program product, and relates to the field of alcohol detection technology; the disclosed vehicle control method includes: detecting a first alcohol concentration in the vehicle by means of a first alcohol sensor disposed in the main driving area and a second alcohol sensor disposed in the co-pilot area; when each of the first alcohol concentrations is less than a preset concentration threshold, controlling the vehicle operation according to a user instruction; during the operation of the vehicle, continuing to detect the second alcohol concentration in the vehicle; when each of the second alcohol concentrations is greater than or equal to the preset concentration threshold, detecting whether there are passengers; if there are no passengers, controlling the vehicle to enter a locking mode. The present application can realize continuous detection of whether the driver has drunk driving behavior during the driving of the vehicle by means of a first alcohol sensor disposed in the main driving area and a second alcohol sensor disposed in the co-pilot area, and performing corresponding processing according to the driving situation, thereby improving driving safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present invention 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 invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0038] Figure 1 This is a flow chart of the first embodiment of the vehicle control method of the present application;
[0039] Figure 2 This is a flow chart of a second embodiment of the vehicle control method of the present application;
[0040] Figure 3 This is a flow chart of the third embodiment of the vehicle control method of the present application.
[0041] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0043] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components in a certain specific posture. If the specific posture changes, the directional indication will also change accordingly.
[0044] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features limited to "first" and "second" may explicitly or implicitly include at least one of the features. In addition, if "and / or" or "and / or" appears in the full text, its meaning includes three parallel solutions. Taking "A and / or B" as an example, it includes solution A, solution B, or solutions that satisfy both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in this field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0045] The present application embodiment provides a vehicle control method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the vehicle control method of the present application.
[0046] In this embodiment, the vehicle control method includes steps S10 to S50;
[0047] S10: detecting a first alcohol concentration in the vehicle by using a first alcohol sensor disposed in the main driving area and a second alcohol sensor disposed in the co-pilot area;
[0048] S20: When the first alcohol concentrations are all lower than a preset concentration threshold, controlling the vehicle to run according to a user instruction;
[0049] S30: During the operation of the vehicle, continue to detect a second alcohol concentration in the vehicle through the first alcohol sensor and the second alcohol sensor;
[0050] S40: When the second alcohol concentration is greater than or equal to a preset concentration threshold, detecting whether there is a passenger;
[0051] S50: If there is no passenger, the vehicle is controlled to enter a locking mode.
[0052] It should be noted that the first alcohol sensor and the second alcohol sensor may be a thermal conductivity alcohol sensor, an optical alcohol sensor, an infrared alcohol sensor, or a gas-sensitive resistor alcohol sensor or other types of alcohol sensors, which are not limited in this embodiment.
[0053] It should be noted that the preset concentration threshold can be modified according to actual conditions, and this embodiment does not limit this.
[0054] It should be noted that the method for detecting whether there are passengers may be through an image recognition method, a seat gravity judgment method or other methods that can be used to detect passengers, and this embodiment does not limit this.
[0055] In this embodiment, the vehicle lock mode is to control the gas pedal of the vehicle and the driving components (engine or motor) of the vehicle to be in a disconnected state, and control the braking torque of the brake according to the vehicle speed at that time.
[0056] In this embodiment, when the vehicle enters the locking mode, the brakes of the vehicle are controlled to give an estimated initial torque, and the speed of decrease of the vehicle speed is determined, and the braking torque is automatically adjusted according to the speed of decrease of the vehicle speed. When the speed of decrease of the vehicle speed reaches the expected speed of decrease, the braking torque at this time is recorded as the corresponding first braking torque, second braking torque or third braking torque.
[0057] Specifically, according to the vehicle speed range, the vehicle controller controls the brake to provide a braking torque corresponding to the vehicle speed range, and controls the vehicle to decelerate until the vehicle speed drops to the next vehicle speed range.
[0058] In this embodiment, the vehicle speed is first determined. When the vehicle speed is higher than 80 km / h, the vehicle speed is controlled with a braking force that reduces the vehicle speed by about 15 km / h per second, and the braking torque at this time is obtained as the first braking torque.
[0059] When it is determined that the vehicle speed is running between 40km / h and 80km / h, the vehicle speed is controlled with a braking force that reduces the vehicle speed by about 10km / h per second, and the braking torque at this time is obtained as the second braking torque.
[0060] When it is determined that the vehicle is running at a speed of 20km / h-40km / h, the vehicle speed is controlled to reduce by about 5km / h per second with a braking force, and the braking torque at this time is obtained as the third braking torque.
[0061] When it is detected that the vehicle speed drops below 20km / h, or when it is determined that the vehicle speed is already below 20km / h when the driver is drunk, only the gas pedal of the vehicle is disconnected from the vehicle's drive components, the brake pedal remains in normal condition, and the driver is reminded to quickly drive the vehicle to a safe position, and the driver is reminded that the vehicle will be completely unable to start in 1 minute. Therefore, the driver can still control the vehicle within one minute, but cannot start the accelerator pedal and can only control the vehicle to run at a low speed to a safe position.
[0062] It is understandable that if there are no tourists, it is obvious that there is only the driver in the car. At this time, it can be determined that the driver is drunk. If the engine or motor is directly controlled to stop working at this time, it may cause the vehicle to lose control. Therefore, when it is determined that the driver is drunk and the vehicle is already in a driving state, the locking mode is activated. In this embodiment, the locking mode controls the braking torque of the brake according to the vehicle speed at this time, so that the vehicle can stop gradually and smoothly, thereby improving safety.
[0063] In specific implementation, the first alcohol concentration in the vehicle is detected by a first alcohol sensor arranged in the main driving area and a second alcohol sensor arranged in the co-pilot area; when the first alcohol concentrations are all less than the first concentration threshold, the vehicle operation is controlled according to user instructions; during the operation of the vehicle, the second alcohol concentration in the vehicle continues to be detected by the first alcohol sensor and the second alcohol sensor; when the second alcohol concentrations are greater than or equal to the first concentration threshold, it is detected whether there are passengers; if there are no passengers, the vehicle is controlled to enter the locking mode.
[0064] This embodiment can realize continuous detection of whether the driver is driving under the influence of alcohol while the vehicle is driving, and perform corresponding processing according to the driving situation, thereby improving driving safety.
[0065] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the first embodiment can refer to the above introduction, and will not be repeated in the following. Figure 2 , Figure 2 This is a flow chart of the second embodiment of the vehicle control method of the present application.
[0066] In this embodiment, the step S40 further includes steps S511 to S514;
[0067] S511: If there is a passenger, control the vehicle to enter a deceleration and locking mode;
[0068] S512: After the deceleration and locking mode reaches a preset time, obtaining the driver's heart rate value, the driver's facial image, the alcohol concentration detected by the first alcohol sensor, the alcohol concentration detected by the second alcohol sensor, the response time of the first alcohol sensor, and the response time of the second alcohol sensor;
[0069] S513: Determine the number of items that meet the following four conditions, wherein the four conditions are: the driver's heart rate value is greater than or equal to a preset heart rate threshold, the image sensor in the car determines that the user has been drinking, the third alcohol concentration detected by the first alcohol sensor is greater than or equal to the third alcohol concentration detected by the second alcohol sensor, and the response time of the first alcohol sensor is less than the response time of the second alcohol sensor.
[0070] S514: When at least three of the above four conditions are met, the vehicle is controlled to smoothly decelerate and stop and enter a locked state.
[0071] It should be noted that the driver's heart rate value can be obtained through a heart rate monitoring system integrated in the car, a smart watch or bracelet, a heart rate monitoring chest strap or other methods, and this embodiment is not limited to this.
[0072] It should be noted that the image sensor may be a charge coupled device, a complementary metal oxide semiconductor, a contact image sensor, a 3D time-of-flight image sensor, or other types of image sensors.
[0073] It can be understood that the four conditions that the driver's heart rate value is greater than or equal to the preset heart rate threshold, the image sensor in the car determines that the user has been drinking, the third alcohol concentration detected by the first alcohol sensor is greater than or equal to the third alcohol concentration detected by the second alcohol sensor, and the response time of the first alcohol sensor is less than the response time of the second alcohol sensor can all be used to determine that the driver may be driving under the influence of alcohol. When three or more of the four conditions are met, it is determined that the driver has been drinking. For the driver's safety, the vehicle should be controlled to slow down and stop smoothly and be in a locked state.
[0074] In this embodiment, in the deceleration and locking mode, the vehicle quickly starts the external circulation, the ventilation in the vehicle is opened to the maximum air volume, the gas pedal of the vehicle is controlled to be in a disconnected state with the driving components of the vehicle (engine or motor), and the brake of the vehicle controls the vehicle to provide the fourth braking torque, and the alarm system in the vehicle is turned on to remind the driver that he may be drinking, so that the driver can stay focused and control the vehicle to quickly reduce the speed to below 40km / h.
[0075] It is understandable that if there are passengers in the car, it is impossible to determine whether it is the driver or the passenger who is drinking. In order to prevent misjudgment from bringing a bad experience to the driver, the speed reduction and car locking mode is turned on.
[0076] In specific implementation, if there are passengers, the vehicle is controlled to enter the speed reduction and locking mode; after the speed reduction and locking mode reaches a preset time, the driver's heartbeat value, the driver's facial image, the alcohol concentration detected by the first alcohol sensor, the alcohol concentration detected by the second alcohol sensor, the response time of the first alcohol sensor and the response time of the second alcohol sensor are obtained; the number of items that the following four conditions are met is judged, and the four conditions are respectively that the driver's heartbeat value is greater than or equal to a preset heartbeat threshold, the image sensor in the car determines that the user has drinking behavior, the third alcohol concentration detected by the first alcohol sensor is greater than or equal to the third alcohol concentration detected by the second alcohol sensor and the response time of the first alcohol sensor is less than the response time of the second alcohol sensor; when at least three of the above four conditions are met, the vehicle is controlled to smoothly slow down and stop and enter a locked state.
[0077] In this embodiment, the step S513 further includes steps S524 to S536;
[0078] S524: When one or two of the above four conditions are met, the vehicle is controlled to slow down and stop;
[0079] S525: receiving a first alcohol test result sent by the alcohol tester;
[0080] S526: If the first alcohol test result is that the alcohol concentration exceeds the standard, control the vehicle to enter a locking mode;
[0081] S536: If the first alcohol test result shows that the alcohol concentration is within the standard, the vehicle is controlled to enter a normal driving mode.
[0082] It should be noted that the alcohol tester may be a breath alcohol tester, a saliva alcohol tester or other types of alcohol testers, and this embodiment does not limit this.
[0083] It can be understood that the test results include that the alcohol concentration does not exceed the standard and that the alcohol concentration does not exceed the standard.
[0084] It is understandable that the driver's heart rate value is greater than or equal to the preset heart rate threshold, the image sensor in the car determines that the user may be drinking, the third alcohol concentration detected by the first alcohol sensor is greater than or equal to the third alcohol concentration detected by the second alcohol sensor, and the response time of the first alcohol sensor is less than the response time of the second alcohol sensor. These four conditions can all determine that the driver may be driving under the influence of alcohol. When one or two of the four conditions are met, it is not enough to directly determine that the driver is drinking. For the driver's experience and safety, the vehicle should be controlled to slow down and stop smoothly and be in a locked state. Start the braking system, control the vehicle to slow down and stop smoothly, but the vehicle is not locked. The driver can test the alcohol concentration through a contact alcohol concentration tester. When it is determined that the driver's alcohol concentration does not meet the conditions of driving with alcohol or drunk driving, the vehicle is controlled to enter the normal driving mode, so that the driver can control the vehicle normally and continue to drive. When it is determined that the driver's alcohol concentration meets the conditions of driving with alcohol or drunk driving, the vehicle is controlled to lock the vehicle so that the driver cannot continue to start the vehicle and drive.
[0085] In specific implementation, when one or two of the four conditions are met, namely, the third alcohol concentration detected by the first alcohol sensor is greater than or equal to the third alcohol concentration detected by the second alcohol sensor and the response time of the first alcohol sensor is less than the response time of the second alcohol sensor, the vehicle is controlled to slow down and stop; if the first alcohol test result is that the alcohol concentration exceeds the standard, the vehicle is controlled to enter the locking mode; if the first alcohol test result is that the alcohol concentration does not exceed the standard, the vehicle is controlled to enter the normal driving mode.
[0086] Based on the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those of the second embodiment can be referred to the above introduction, and will not be repeated in the following. Figure 3 , Figure 3 This is a flow chart of the third embodiment of the vehicle control method of the present application.
[0087] In this embodiment, the step S526 further includes steps S527 to S338;
[0088] S527: Uploading the driver's facial image information at this time to the cloud platform;
[0089] S528: After waiting for a preset time, detecting whether there is a driver in the driving position;
[0090] S529: When it is detected that there is a driver at the driving position, the facial portrait information of the driver at this time is compared with the facial portrait information of the driver uploaded to the cloud platform;
[0091] S5210: If the facial image information of the driver at this time does not match the facial image information of the driver uploaded to the cloud platform, an alcohol concentration test is performed on the driver at this time to obtain a second alcohol test result;
[0092] S5211: If the second alcohol test result shows that the alcohol concentration is within the standard, the vehicle is controlled to enter normal driving mode.
[0093] S5212: Before the engine is turned off, the driver's facial image information is collected once every preset time period;
[0094] S5213: Compare the collected driver's facial portrait information with the driver's facial portrait information uploaded to the cloud platform;
[0095] S5214: When the collected driver's facial portrait information matches the driver's facial portrait information uploaded to the cloud platform, the vehicle is controlled to enter a speed reduction and locking mode.
[0096] It should be noted that the cloud platform may be a public cloud platform, a private cloud platform, or a hybrid cloud platform, and this embodiment does not impose any limitation on this.
[0097] It should be noted that the preset duration can be modified according to actual conditions, and this embodiment does not limit this.
[0098] It should be noted that the method of detecting the alcohol concentration of the driver can be through an alcohol sensor in the car, or through an alcohol tester or other methods, which is not limited in this embodiment.
[0099] It is understandable that when the vehicle determines that the driver is driving after drinking, and after the vehicle is locked, the driver is not prevented from cheating with the help of other people to continue driving, and the driver's facial portrait information is uploaded to the cloud platform and the vehicle is controlled to be unable to start within a certain period of time. After a certain period of time, if the vehicle wants to continue to start, the driver needs to sit in the driving position, measure the alcohol concentration through a contact alcohol concentration tester or other alcohol testing methods, and control the image sensor in the car to compare the image of the driver at this time with the driver who was previously judged to be drunk, and determine whether it is the same person. If it is not the same person, and the alcohol content of the new driver at this time meets the requirements, restart the vehicle, and before turning off the engine, collect the driver's facial portrait information every preset time, and compare the collected driver's facial portrait information with the driver's facial portrait information uploaded to the cloud platform. When the collected driver's facial portrait information matches the driver's facial portrait information uploaded to the cloud platform, the vehicle is controlled to enter the deceleration and lock mode to prevent the previous driver from continuing to drive the vehicle. In this way, it is possible to prevent the driver from cheating with the help of other people and continuing to drive under the influence of alcohol, thereby further improving safety.
[0100] In specific implementation, the driver's facial portrait information is uploaded to the cloud platform; after waiting for a preset time, it is detected whether there is a driver in the driving position; when it is detected that there is a driver in the driving position, the driver's facial portrait information is compared with the driver's facial portrait information uploaded to the cloud platform; if the driver's facial portrait information at this time does not match the driver's facial portrait information uploaded to the cloud platform, the alcohol concentration of the driver at this time is detected to obtain a second alcohol test result; if the second alcohol test result is that the alcohol concentration does not exceed the standard, the vehicle is controlled to enter the normal driving mode. Before the engine is turned off, the driver's facial portrait information is collected once every preset time; the collected driver's facial portrait information is compared with the driver's facial portrait information uploaded to the cloud platform; when the collected driver's facial portrait information matches the driver's facial portrait information uploaded to the cloud platform, the vehicle is controlled to enter the speed reduction and locking mode.
[0101] In this embodiment, the step S529 further includes step S5310;
[0102] S5310: If the driver's facial profile information at this time matches the driver's facial profile information uploaded to the cloud platform, then the process returns to the step of waiting for a preset time and then detecting whether the driver is in the driving position.
[0103] It can be understood that if the facial portrait information of the driver is detected to be consistent with the facial portrait information of the driver uploaded to the cloud platform, the preset waiting time will continue until it is detected that the driver is not the original drunk driver. This method can further prevent drunk drivers from continuing to drive and causing traffic accidents.
[0104] In a specific implementation, if the driver's facial portrait information at this time matches the driver's facial portrait information uploaded to the cloud platform, the process returns to the step of waiting for a preset time and then detecting whether the driver is in the driving position.
[0105] In addition, to achieve the above objectives, the present application also proposes a vehicle, which can implement the steps of the vehicle control method described above.
[0106] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the vehicle control method described above are implemented.
[0107] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0108] The computer-readable storage medium carries one or more programs, and the computer program code for performing the operation of the present application can be written in one or more programming languages or a combination thereof, and the programming language includes an object-oriented programming language, such as Java, Smalltalk, C++, and a conventional procedural programming language, such as "C" language or a similar programming language. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0109] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0110] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0111] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions for executing the above-mentioned vehicle control method. The beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the vehicle control method provided in the above-mentioned embodiment, and will not be repeated here.
[0112] The present application also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of the vehicle control method as described above are implemented.
[0113] The above description is only for the present invention and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.
Claims
1. A vehicle control method, characterized in that: The vehicle control method comprises: Detecting a first alcohol concentration in the vehicle by using a first alcohol sensor disposed in the main driving area and a second alcohol sensor disposed in the co-pilot area; When the first alcohol concentrations are all less than a preset concentration threshold, controlling the vehicle to run according to a user instruction; During the operation of the vehicle, continue to detect the second alcohol concentration in the vehicle; When the second alcohol concentration is greater than or equal to a preset concentration threshold, detecting whether there is a passenger; If there are no passengers, the vehicle is controlled to enter the locking mode.
2. The vehicle control method according to claim 1, characterized in that: When the second alcohol concentration is greater than or equal to the preset concentration threshold, the step of detecting whether there is a passenger further includes: If there are passengers, the vehicle will be controlled to enter the deceleration and locking mode; After the deceleration and locking mode reaches a preset time, obtaining the driver's heart rate value, the driver's facial image, the alcohol concentration detected by the first alcohol sensor, the alcohol concentration detected by the second alcohol sensor, the response time of the first alcohol sensor, and the response time of the second alcohol sensor; Determine the number of items that meet the following four conditions, wherein the four conditions are: the heart rate value of the driver is greater than or equal to a preset heart rate threshold; the image sensor in the vehicle determines that the user has a drinking behavior; the third alcohol concentration detected by the first alcohol sensor is greater than or equal to the third alcohol concentration detected by the second alcohol sensor; and the response time of the first alcohol sensor is less than the response time of the second alcohol sensor; When at least three of the above four conditions are met, the vehicle is controlled to smoothly decelerate and stop and enter a locked state.
3. The vehicle control method according to claim 2, characterized in that: The step of determining the number of items that meet the following four conditions, wherein the four conditions are that the heart rate value of the driver is greater than or equal to a preset heart rate threshold, the image sensor in the vehicle determines that the user has a drinking behavior, the third alcohol concentration detected by the first alcohol sensor is greater than or equal to the third alcohol concentration detected by the second alcohol sensor, and the response time of the first alcohol sensor is less than the response time of the second alcohol sensor, further includes: When one or two of the above four conditions are met, the vehicle is controlled to slow down and stop; receiving a first alcohol test result sent by the alcohol tester; If the first alcohol test result is that the alcohol concentration exceeds the standard, the vehicle is controlled to enter the locking mode.
4. The vehicle control method according to claim 3, characterized in that: If the first alcohol test result is that the alcohol concentration exceeds the standard, the vehicle is controlled to enter the lock mode, and the step of controlling the vehicle to enter the lock mode also includes: The driver's facial image information is uploaded to the cloud platform and waits for a preset time; Detecting whether a driver is in the driving position; When a driver is detected in the driving position, the driver's facial image information at this time is compared with the driver's facial image information uploaded to the cloud platform; If the driver's facial image information at this time does not match the driver's facial image information uploaded to the cloud platform, an alcohol concentration test is performed on the driver at this time to obtain a second alcohol test result; If the second alcohol test result shows that the alcohol concentration does not exceed the standard, the vehicle is controlled to enter the normal driving mode.
5. The vehicle control method according to claim 4, characterized in that: If the second alcohol test result is that the alcohol concentration does not exceed the standard, the step of controlling the vehicle to enter the normal driving mode also includes: Before the engine is turned off, the driver's facial information is collected every preset time interval; Compare the collected driver's facial image information with the driver's facial image information uploaded to the cloud platform; When the collected driver's facial portrait information matches the driver's facial portrait information uploaded to the cloud platform, the vehicle is controlled to enter the speed reduction and locking mode.
6. The vehicle control method according to claim 3, characterized in that: The step of receiving the first alcohol test result sent by the alcohol tester also includes: If the first alcohol test result shows that the alcohol concentration does not exceed the standard, the vehicle is controlled to enter a normal driving mode.
7. The vehicle control method according to claim 4, characterized in that: After the step of comparing the driver's facial portrait information at this time with the driver's facial portrait information uploaded to the cloud platform when the driver is detected to be in the driving position, the method further includes: If the driver's facial profile information matches the driver's facial profile information uploaded to the cloud platform, the process returns to the step of waiting for a preset time and then detecting whether the driver is in the driving position.
8. A vehicle, characterized in that: The vehicle can implement the steps of the vehicle control method according to any one of claims 1-7.
9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the vehicle control method according to any one of claims 1 to 7 are implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the vehicle control method according to any one of claims 1 to 7 are implemented.