Vehicle high beam control method and device, electronic equipment and storage medium
The on-board camera detects the high beam status of the incoming car and prompts to turn it off when it is turned on, which solves the driving safety problem caused by the abuse of high beams in low brightness environments and improves driving safety.
Patent Information
- Application Number
- CN202311386579.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-24
- Publication Date
- 2025-04-25
AI Technical Summary
In an environment with low brightness, if the high beam is turned on incoming cars, it is easy to cause the driver's vision to be blocked and the road conditions ahead are not normally judged, causing a hidden danger of driving safety.
Image information is obtained through the on-board camera, and it will automatically detect whether the high beam is turned on by the incoming vehicle. If it is turned on, the incoming vehicle will be turned off by alternately flashing through low beam and high beam or the Internet of Vehicles communication.
Reduce the impact on incoming vehicles on vehicle drivers, reduce the occurrence of traffic accidents, and improve driving safety.
Smart Images

Figure CN119872441A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a method, device, electronic equipment and storage medium for controlling a high beam of a vehicle. Background Art
[0002] When a vehicle is driving in an environment with low brightness (such as at night or in a tunnel), if the oncoming vehicle has turned on its high beam, the strong high beam from the oncoming car can easily dazzle the driver's eyes and make it impossible for the driver to judge the road conditions ahead, posing a huge hidden danger to driving safety.
[0003] In order to avoid driving safety problems caused by the abuse of high beams, the existing technology usually requires the driver to actively identify that the oncoming vehicle has turned on the high beams, and actively use the method of flashing the low beams and high beams alternately to remind the oncoming vehicle to switch to the headlights. However, due to the slow reaction of some drivers, they often fail to notice that the oncoming vehicle has turned on the high beams and take corresponding measures in time, resulting in obstructed vision and temporary blind spots when meeting close-range vehicles, which can easily cause traffic accidents. Summary of the invention
[0004] The present invention is completed to solve the above-mentioned problem, and its purpose is to provide a vehicle high beam control method, device, electronic device and storage medium, which can automatically detect whether an oncoming vehicle has turned on its high beam, and promptly remind the oncoming vehicle to turn off its high beam after detecting that the oncoming vehicle has turned on its high beam, so as to reduce the impact of the oncoming vehicle on the vehicle driver and the occurrence of traffic accidents.
[0005] According to one aspect of the present invention, a method for controlling the high beam of a vehicle is provided, comprising the following steps: when a preset start condition is met, obtaining the vehicle's driving information and surrounding vehicle information; when it is detected that the speed of the vehicle exceeds a preset speed threshold, and there is an oncoming vehicle, and the vehicle distance between the vehicle and the oncoming vehicle is less than or equal to a preset vehicle distance threshold, obtaining image information from the vehicle's onboard camera; determining a first ambient brightness of the oncoming vehicle and a second ambient brightness of the oncoming vehicle based on the image information, wherein the first ambient brightness refers to an ambient brightness within a preset distance range from the oncoming vehicle, and the second ambient brightness refers to an ambient brightness within a preset distance range from the oncoming vehicle; judging whether the oncoming vehicle has turned on the high beam based on the first ambient brightness and the second ambient brightness; and in the case where the oncoming vehicle has turned on the high beam, prompting the oncoming vehicle to turn off the high beam.
[0006] Preferably, in judging whether the oncoming vehicle has turned on the high beam based on the first ambient brightness and the second ambient brightness, if the first ambient brightness is greater than a first brightness threshold and the second ambient brightness is less than a second brightness threshold, it is determined that the oncoming vehicle has turned on the high beam.
[0007] Preferably, in judging whether the oncoming vehicle has turned on the high beam based on the first ambient brightness and the second ambient brightness, if the first ambient brightness is continuously greater than a first brightness threshold and the second ambient brightness is continuously less than a second brightness threshold during a preset first period, it is determined that the oncoming vehicle has turned on the high beam.
[0008] Preferably, the first brightness threshold is greater than the second brightness threshold.
[0009] Preferably, the preset start condition is that the perceived brightness of the vehicle's driving environment is less than a third brightness threshold.
[0010] Preferably, the third brightness threshold is equal to the second brightness threshold.
[0011] Preferably, if the oncoming vehicle has turned on its high beam, in prompting the oncoming vehicle to turn off its high beam, the low beam and the high beam are continuously controlled to flash alternately during a preset second period, thereby prompting the oncoming vehicle to turn off its high beam.
[0012] Preferably, in a case where the oncoming vehicle has turned on its high beam, in prompting the oncoming vehicle to turn off its high beam, the oncoming vehicle is prompted to turn off its high beam through vehicle networking communication.
[0013] According to another aspect of the present invention, a high beam control device for a vehicle is provided, comprising: a first acquisition module, for acquiring the vehicle's driving information and surrounding vehicle information when a preset start condition is met; a second acquisition module, for acquiring image information from a vehicle-mounted camera of the vehicle when it is detected that the speed of the vehicle exceeds a preset speed threshold, and there is an oncoming vehicle and the vehicle distance between the vehicle and the oncoming vehicle is less than or equal to a preset vehicle distance threshold; a determination module, for determining a first ambient brightness of the oncoming vehicle and a second ambient brightness of the oncoming vehicle based on the image information, wherein the first ambient brightness refers to an ambient brightness within a preset distance range from the oncoming vehicle, and the second ambient brightness refers to an ambient brightness within a preset distance range from the oncoming vehicle; a judgment module, for judging whether the oncoming vehicle has turned on the high beam based on the first ambient brightness and the second ambient brightness; and a prompt module, for prompting the oncoming vehicle to turn off the high beam if the oncoming vehicle has turned on the high beam.
[0014] According to another aspect of the present invention, an electronic device is provided, comprising a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded by the processor and executes the method described in one of the above aspects.
[0015] According to another aspect of the present invention, a computer storage medium is provided, wherein at least one instruction or at least one program is stored in the storage medium, and the at least one instruction or the at least one program is loaded by a processor and executes the method according to the above aspect of claim 1. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a flow chart of a method for controlling a high beam of a vehicle provided in an embodiment of the present invention.
[0017] Figure 2 It is a structural block diagram of a high beam control device for a vehicle provided in an embodiment of the present invention.
[0018] Figure 3 It is a structural block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0019] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It should also be noted that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.
[0020] The terms used herein are only used to describe specific embodiments and are not intended to limit the present disclosure. As used herein, the singular forms "a", "an" and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It will also be understood that when the terms "comprising" and / or "made of" are used in this specification, the presence of the features, wholes, steps, operations, elements and / or components is specified, but the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof is not excluded.
[0021] The embodiments described herein may be described with reference to plan views and / or cross-sectional views by means of idealized schematic diagrams of the present disclosure. Therefore, the example illustrations may be modified according to manufacturing techniques and / or tolerances. Therefore, the embodiments are not limited to the embodiments shown in the accompanying drawings, but include modifications of the configurations formed based on the manufacturing process. Therefore, the regions illustrated in the accompanying drawings have schematic properties, and the shapes of the regions shown in the figures illustrate the specific shapes of the regions of the elements, but are not intended to be limiting.
[0022] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted as having an idealized or overly formal meaning unless explicitly defined as such herein.
[0023] The embodiments of the present invention provide a method and device for controlling the high beam of a vehicle based on the same concept. Since the method and the device solve problems in similar principles, the implementation of the device and the method can refer to each other, and the repeated parts will not be repeated.
[0024] Figure 1 It is a flow chart of the method for controlling the high beam of a vehicle provided by an embodiment of the present invention. This specification provides method operation steps such as the embodiment or flow chart, but more or fewer operation steps may be included based on conventional or non-creative labor. The order of steps listed in the embodiment is only one way of executing the steps among many orders, and does not represent the only order of execution. When the actual system or server product is executed, it can be executed in the order of the method shown in the embodiment or the figure or in parallel (for example, in a parallel processor or multi-threaded processing environment).
[0025] like Figure 1 As shown, the vehicle high beam control method provided in this embodiment includes the following steps.
[0026] S101: When a preset start condition is met, the driving information of the vehicle 1 and the surrounding vehicle information are obtained.
[0027] Here, the preset start condition may be that the perceived driving environment brightness of the vehicle 1 is less than a preset third brightness threshold THC. First, the driving environment brightness of the vehicle 1 needs to be determined, which can be obtained by a sensor, or by collecting images through a vehicle-mounted camera, and then performing image processing to determine the driving environment brightness of the vehicle 1. The preset third brightness threshold THC may be set to 2lx, for example, but the present invention is not limited thereto and may also be set to other values.
[0028] When the preset start-up conditions are met, the driving information of vehicle 1 is obtained, where the driving information includes the driving speed and driving direction of vehicle 1, and the surrounding vehicle information is obtained at the same time, including the distance between the surrounding vehicles and vehicle 1 and the driving direction of the surrounding vehicles.
[0029] S102: When it is detected that the driving speed of vehicle 1 exceeds a preset speed threshold, there is an oncoming vehicle and the distance between vehicle 1 and the oncoming vehicle is less than or equal to a preset distance threshold, image information of the onboard camera of vehicle 1 is obtained.
[0030] Based on the driving speed of vehicle 1 obtained in step S101, detect whether the speed of vehicle 1 exceeds the preset speed threshold, and based on the driving direction of vehicle 1 and the driving direction of surrounding vehicles (the driving direction of the oncoming vehicle is opposite to that of vehicle 1), determine whether there is an oncoming vehicle with vehicle 1, and at the same time determine whether the distance between vehicle 1 and the oncoming vehicle is less than or equal to the preset distance threshold.
[0031] When the speed of vehicle 1 exceeds a preset speed threshold, and there is an oncoming vehicle and the distance between vehicle 1 and the oncoming vehicle is less than or equal to a preset distance threshold, image information collected by the onboard camera of vehicle 1 is obtained.
[0032] Here, the preset speed threshold may be set to 30 km / h, and the preset vehicle distance threshold may be set to 600 meters. Of course, this is only an example, and other values may also be set.
[0033] S103: Determine a first ambient brightness of the oncoming vehicle and a second ambient brightness of the oncoming vehicle based on the image information, wherein the first ambient brightness refers to an ambient brightness within a preset distance range from the oncoming vehicle, and the second ambient brightness refers to an ambient brightness within a preset distance range from the oncoming vehicle.
[0034] Based on the image information including the oncoming vehicle captured by the vehicle-mounted camera of vehicle 1, and through image processing, the first ambient brightness and the second ambient brightness of the oncoming vehicle can be determined, wherein the first ambient brightness refers to the ambient brightness within a preset distance range from the oncoming vehicle, and the second ambient brightness refers to the ambient brightness within a preset distance range from the oncoming vehicle. The preset distance range here can be set based on the search distance of the high beam, and is usually set to a value in the range of 80-120 meters. In addition, the distance range from the oncoming vehicle here refers to the distance from the front part of the oncoming vehicle.
[0035] S104: Determine whether the oncoming vehicle has turned on its high beam based on the first environment brightness and the second environment brightness.
[0036] Specifically, if the first environment brightness is greater than the first brightness threshold THA and the second environment brightness is less than the second brightness threshold THB, it is determined that the oncoming vehicle has turned on the high beam. The first brightness threshold THA is greater than the second brightness threshold THB.
[0037] For example, the first brightness threshold THA may be set to 4lx, and the second brightness threshold THB may be set to 2lx, that is, the third brightness threshold may be equal to the second brightness threshold.
[0038] In addition, it is also possible to determine whether the first ambient brightness is continuously greater than the first brightness threshold and the second ambient brightness is continuously less than the second brightness threshold during the preset first period. If the first ambient brightness is continuously greater than the first brightness threshold and the second ambient brightness is continuously less than the second brightness threshold during the preset first period, it is determined that the high beam of the oncoming vehicle has been turned on.
[0039] S105: If the oncoming vehicle has turned on its high beam, prompt the oncoming vehicle to turn off its high beam.
[0040] Specifically, the low beam and high beam can be controlled to flash alternately during the preset second period, thereby prompting the oncoming vehicle to switch the headlights and turn off the high beam. A request message can also be sent to the oncoming vehicle through vehicle-to-everything (V2X) communication, prompting the oncoming vehicle to switch the headlights and turn off the high beam.
[0041] Figure 2 4 is a structural block diagram of a vehicle high beam control device 200 provided in an embodiment of the present invention.
[0042] like Figure 2 As shown, the high beam control device 200 of a vehicle includes: a first acquisition module 201 , a second acquisition module 202 , a determination module 203 , a judgment module 204 and a prompt module 205 .
[0043] Among them, the first acquisition module 201 is used to obtain the driving information of the vehicle 1 and the surrounding vehicle information when the preset start condition is met. The second acquisition module 202 is used to obtain the image information of the vehicle-mounted camera of the vehicle 1 when it is detected that the speed of the vehicle 1 exceeds the preset speed threshold, and there is an oncoming vehicle of the vehicle 1 and the distance between the vehicle 1 and the oncoming vehicle is less than or equal to the preset distance threshold. The determination module 203 is used to determine the first ambient brightness of the oncoming vehicle and the second ambient brightness of the oncoming vehicle according to the image information, wherein the first ambient brightness refers to the ambient brightness within a preset distance range from the oncoming vehicle, and the second ambient brightness refers to the ambient brightness within a preset distance range from the oncoming vehicle. The judgment module 204 is used to determine whether the oncoming vehicle has turned on the high beam based on the first ambient brightness and the second ambient brightness. The prompt module 205 is used to prompt the oncoming vehicle to turn off the high beam when the oncoming vehicle has turned on the high beam.
[0044] Figure 3 is a structural block diagram of an electronic device provided by an embodiment of the present invention. Figure 3 As shown, the present invention also provides an electronic device 300, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded by the processor and executes the method described in the above embodiment.
[0045] The present invention also provides a computer storage medium, in which at least one instruction or at least one program is stored, and the at least one instruction or at least one program is loaded and executed by a processor to implement the method described in the above embodiment.
[0046] Optionally, in this embodiment, the storage medium may be located in at least one of the multiple network servers of the computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
[0047] Those skilled in the art should be able to appreciate that the modules, units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of electronic hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in electronic hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0048] Although the present invention has been described with reference to the current specific embodiments, those skilled in the art should recognize that the scope of the invention involved in the present invention is not limited to the technical solutions formed by the specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present invention (but not limited to) by each other.
Claims
1. A method for controlling a high beam of a vehicle, characterized in that: The steps include: When the preset start conditions are met, the vehicle's driving information and surrounding vehicle information are obtained; When it is detected that the speed of the vehicle exceeds a preset speed threshold, and there is an oncoming vehicle, and the distance between the vehicle and the oncoming vehicle is less than or equal to a preset distance threshold, acquiring image information from the vehicle's onboard camera; Determine a first ambient brightness of the oncoming vehicle and a second ambient brightness of the oncoming vehicle according to the image information, wherein the first ambient brightness refers to an ambient brightness within a preset distance range from the oncoming vehicle, and the second ambient brightness refers to an ambient brightness within a preset distance range from the oncoming vehicle; Determining whether the oncoming vehicle has turned on its high beam based on the first ambient brightness and the second ambient brightness; and In the case that the oncoming vehicle has turned on the high beam, the oncoming vehicle is prompted to turn off the high beam.
2. The vehicle high beam control method according to claim 1, characterized in that: determining whether the oncoming vehicle has turned on its high beam based on the first ambient brightness and the second ambient brightness; If the first environment brightness is greater than a first brightness threshold and the second environment brightness is less than a second brightness threshold, it is determined that the oncoming vehicle has turned on the high beam.
3. The vehicle high beam control method according to claim 1, characterized in that: determining whether the oncoming vehicle has turned on its high beam based on the first ambient brightness and the second ambient brightness; If the first environment brightness is continuously greater than a first brightness threshold and the second environment brightness is continuously less than a second brightness threshold during a preset first period, it is determined that the oncoming vehicle has turned on the high beam.
4. The vehicle high beam control method according to claim 2 or 3, characterized in that: The first brightness threshold is greater than the second brightness threshold.
5. The vehicle high beam control method according to claim 2 or 3, characterized in that: The preset start condition is that the perceived brightness of the vehicle's driving environment is less than a third brightness threshold.
6. The vehicle high beam control method according to claim 5, characterized in that: The third brightness threshold is equal to the second brightness threshold.
7. The vehicle high beam control method according to claim 1 or 2, characterized in that: If the oncoming vehicle has turned on its high beam, prompting the oncoming vehicle to turn off its high beam, By continuously controlling the low beam and the high beam to flash alternately during the preset second period, the oncoming vehicle is prompted to turn off the high beam.
8. The vehicle high beam control method according to claim 1 or 2, characterized in that: In the case where the oncoming vehicle has turned on its high beam, prompting the oncoming vehicle to turn off its high beam, The oncoming vehicle is prompted to turn off the high beam through vehicle networking communication.
9. A high beam control device for a vehicle, characterized in that: include: A first acquisition module, used to acquire the driving information of the vehicle and the surrounding vehicle information when a preset start condition is met; A second acquisition module is used to acquire image information from a vehicle-mounted camera of the vehicle when it is detected that the speed of the vehicle exceeds a preset speed threshold, and there is an oncoming vehicle and the distance between the vehicle and the oncoming vehicle is less than or equal to a preset distance threshold; A determination module, configured to determine a first ambient brightness of the oncoming vehicle and a second ambient brightness of the oncoming vehicle according to the image information, wherein the first ambient brightness refers to an ambient brightness within a preset distance range from the oncoming vehicle, and the second ambient brightness refers to an ambient brightness within a preset distance range from the oncoming vehicle; a judgment module, configured to judge whether the oncoming vehicle has turned on its high beam based on the first ambient brightness and the second ambient brightness; and The prompting module is used to prompt the oncoming vehicle to turn off the high beam when the oncoming vehicle has turned on the high beam.
10. An electronic device, characterized in that: The electronic device comprises a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded by the processor and executes the method according to any one of claims 1 to 8.
11. A computer storage medium, characterized in that: The storage medium stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded by a processor and executes the method according to any one of claims 1 to 8.