A vehicle light switching method and device, electronic equipment and storage medium

By acquiring traffic and lighting information through image acquisition equipment, the system automatically controls the vehicle to switch between high and low beam headlight modes, solving the problem of insufficient nighttime driving safety caused by manual switching by the driver, and realizing intelligent and safe headlight switching.

CN115246355BActive Publication Date: 2025-12-12ZHEJIANG GEELY HLDG GRP CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210996523.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-19
Publication Date
2025-12-12
Estimated Expiration
2042-08-19

AI Technical Summary

Technical Problem

In existing technologies, vehicle headlight switching mainly relies on manual operation by the driver, which is easily affected by driving habits and driving conditions, resulting in insufficient safety when driving at night.

Method used

By acquiring traffic and ambient light information through image acquisition equipment, the system automatically controls vehicles to switch between high and low beam headlight modes, including intelligent switching based on factors such as the number of road lighting devices, the distance and brightness of oncoming vehicles, and the position of following vehicles.

Benefits of technology

It improves nighttime driving safety and driver comfort, and reduces the occurrence of traffic accidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115246355B_ABST
    Figure CN115246355B_ABST
Patent Text Reader

Abstract

The application discloses a vehicle light switching method and device, electronic equipment and a storage medium, and relates to the technical field of automobile electronics. The method comprises the following steps: acquiring traffic road information and ambient light brightness information of a surrounding environment in which a first vehicle is located; wherein the traffic road information and the ambient light brightness information are information processed by an image acquisition device; if it is determined that the surrounding environment in which the first vehicle is located is night according to the ambient light brightness information, the first vehicle is controlled to start a near light mode; and the first vehicle is controlled to switch a light mode according to the traffic road information, so as to accurately switch the near light and the far light.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of automobile electronics, and in particular to a vehicle light switching method and device, an electronic device, and a storage medium. BACKGROUND

[0002] With the development of society, people's living standards are also getting higher and higher, and vehicles have entered thousands of households. During night driving, the safety experience of vehicle travel is particularly important, and the switching and correct use of light are one of the factors to ensure night driving safety.

[0003] Currently, when switching light modes, the following technical means are mainly used: the driver (user) switches the high beam and low beam modes by adjusting the light handle, and manual control is easily affected by the driving habits or driving state of the driver. If the driver fails to make a correct judgment on the road conditions, for example, in the case of turning on the high beam, the driver of the opposite vehicle may not be able to see the road conditions clearly and make a mistake, thereby increasing the incidence of traffic accidents.

[0004] Therefore, how to accurately switch the high beam and low beam during night driving of a vehicle is a problem that needs to be solved at present. SUMMARY

[0005] The present application provides a vehicle light switching method for accurately switching the high beam and low beam.

[0006] In a first aspect, a vehicle light switching method is provided, comprising:

[0007] obtaining traffic road information and ambient brightness information of a surrounding environment of a first vehicle; wherein the traffic road information and the ambient brightness information are information processed by an image acquisition device; if it is determined that the surrounding environment of the first vehicle is at night according to the ambient brightness information, controlling the first vehicle to turn on a low beam mode; and controlling the first vehicle to switch light modes according to the traffic road information.

[0008] In a possible implementation manner, the traffic road information includes the number of road lighting devices; and the controlling the first vehicle to switch light modes according to the traffic road information comprises:

[0009] if the number of road lighting devices is less than a first threshold, controlling the first vehicle to switch the low beam mode to a high beam mode, otherwise, maintaining the low beam mode of the first vehicle.

[0010] In a possible implementation, the traffic road information comprises a first distance between the oncoming vehicle and the first vehicle, and a light brightness value of the oncoming vehicle; and the controlling the first vehicle to switch the light mode according to the traffic road information comprises:

[0011] controlling the first vehicle to switch the low beam light mode to the high beam light mode if the first distance is greater than a second threshold value and the light brightness value is less than a third threshold value, or controlling the first vehicle to switch the low beam light mode to the high beam light mode if the first distance is greater than the second threshold value, or controlling the first vehicle to switch the low beam light mode to the high beam light mode if the light brightness value is less than the third threshold value, or keeping the low beam light mode of the first vehicle.

[0012] In a possible implementation, the traffic road information comprises a second distance between the first vehicle and a following vehicle followed by the first vehicle, and position information of the following vehicle; and the controlling the vehicle to switch the light mode according to the traffic road information comprises:

[0013] determining a light illumination area of the first vehicle according to the second distance and the position information of the following vehicle, so that the light illumination area of the first vehicle does not affect the following vehicle, and controlling the first vehicle to turn on a light capable of forming the light illumination area according to the light illumination area.

[0014] In a possible implementation, after the controlling the first vehicle to switch the light mode according to the traffic road information, the method further comprises:

[0015] outputting a notification message, the notification message being used to indicate a light mode switching state and / or a light illumination state of the first vehicle.

[0016] In a second aspect, a vehicle light switching apparatus is provided, comprising:

[0017] a first vehicle, a control module, and a light control module; the acquisition module is configured to acquire traffic road information and ambient light brightness information of a surrounding environment in which the first vehicle is located; the traffic road information and the ambient light brightness information are determined by an image acquisition device; the control module is configured to control the first vehicle to turn on a low beam light mode if it is determined that the surrounding environment in which the first vehicle is located is night according to the ambient light brightness information, and to control the first vehicle to switch a light mode according to the traffic road information.

[0018] In a possible implementation, the traffic road information comprises a number of road lighting devices; and the control module is specifically configured to:

[0019] If the number of the road lighting devices is less than a first threshold value, the first vehicle is controlled to switch the near light mode to a far light mode, otherwise, the near light mode of the first vehicle is maintained.

[0020] In a possible implementation, the traffic road information includes a first distance between the first vehicle and an oncoming vehicle, and light intensity information of the oncoming vehicle; and the control module is specifically configured to:

[0021] If the first distance is greater than a second threshold value and the light intensity value is less than a third threshold value, the first vehicle is controlled to switch the near light mode to a far light mode, otherwise, the near light mode of the first vehicle is maintained; or if the first distance is greater than the second threshold value, the first vehicle is controlled to switch the near light mode to a far light mode, otherwise, the near light mode of the first vehicle is maintained; or if the light intensity value is less than the third threshold value, the first vehicle is controlled to switch the near light mode to a far light mode, otherwise, the near light mode of the first vehicle is maintained.

[0022] In a possible implementation, the traffic road information includes a second distance between the first vehicle and a following vehicle followed by the first vehicle, and position information of the following vehicle; and the control module is specifically configured to:

[0023] According to the second distance and the position information of the following vehicle, a light illumination area of the first vehicle is determined, so that the light illumination area of the first vehicle does not affect the following vehicle; and according to the light illumination area, the first vehicle is controlled to turn on a light capable of forming the light illumination area.

[0024] In a possible implementation, the apparatus further includes a notification module.

[0025] The notification module is specifically configured to output a notification message, the notification message being used to indicate a light mode switching state and / or a light illumination state of the first vehicle.

[0026] In a third aspect, an electronic device is provided, including:

[0027] a memory configured to store a computer program;

[0028] a processor configured to execute the computer program stored in the memory, so as to implement the method steps of any one of the first aspect.

[0029] In a fourth aspect, a computer readable storage medium is provided, the computer readable storage medium storing a computer program, the computer program being executed by a processor to implement the method steps of any one of the first aspect.

[0030] In the embodiments of the present application, the traffic road information and the ambient light brightness information of the surrounding environment where the vehicle (the first vehicle) is located are acquired. Since the traffic road information and the ambient light brightness information are directly determined after the image information collected by the image collection device is processed, compared with the image information collected being forwarded to other modules for processing, the interference of other factors can be excluded, and the processing efficiency is accelerated. In addition, since the surrounding environment where the vehicle is located is determined to be at night according to the ambient light brightness information, the near light mode of the vehicle is controlled to be turned on, and in the case of dark light, the user can clearly see the field of view of the front road. According to the traffic road information, the light mode of the vehicle is controlled to be switched, which can accurately switch the far and near light in any case, thereby improving the safety of driving at night.

[0031] The above-mentioned various aspects in the second aspect to the fourth aspect and the technical effects that can be achieved by the various aspects will be described in the above-mentioned technical effects that can be achieved by the first aspect or the various possible schemes in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0032] Figure 1 A vehicle light switching system is provided for the present application.

[0033] Figure 2 Another vehicle light switching system is provided for the embodiments of the present application.

[0034] Figure 3 A flowchart of a vehicle light switching method is provided for the embodiments of the present application.

[0035] Figure 4 A display schematic diagram of road traffic information is provided for the embodiments of the present application.

[0036] Figure 5 A structural schematic diagram of a vehicle light switching device is provided for the embodiments of the present application.

[0037] Figure 6 A structural schematic diagram of an electronic device is provided for the embodiments of the present application. DETAILED DESCRIPTION

[0038] In order to make the purposes, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the drawings. The specific operation methods in the method embodiments can also be applied to the device embodiments or system embodiments. It should be noted that, in the description of the present application, "multiple" is understood as "at least two". The association relationship of the associated objects is described, which means that there can be three relationships, for example, A and / or B can mean that A exists alone, A and B exist together, and B exists alone. A and B are connected, which means that A and B are directly connected and A and B are connected through C. In addition, in the description of the present application, "first", "second", etc. are used only for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can it be understood as indicating or implying order.

[0039] The embodiments of the present application will be described in detail below with reference to the drawings.

[0040] In order to better understand the embodiments of the present application, the technical terms involved in the embodiments of the present application will be described first.

[0041] (1) The automated driving control unit (ADCU) is an intelligent computing platform for L3 / L4 level unmanned driving applications. It can integrate computationally intensive sensor data processing and sensor fusion work with control strategy development into a control unit, and help to establish a structured and organized vehicle controller network. It can be used in unmanned logistics, unmanned delivery / courier, unmanned sanitation vehicle, unmanned mine vehicle and other application scenarios.

[0042] (2) The body gateway module (BGM) generally integrates BCM, PEPS, TPMS, gateway and other functions, and can also expand seat adjustment, rearview mirror control, air conditioning control and other functions. It comprehensively and uniformly manages various actuators and reasonably and effectively allocates system resources.

[0043] (3) The oncoming vehicle refers to the vehicle (first vehicle) in front of the oncoming vehicle, and the following vehicle refers to the vehicle in front of the first vehicle.

[0044] In the automobile scene, the image acquisition device (front camera) bus node is in the intelligent driving domain, and the headlight controller is in the body domain CAN bus. Because the body domain controller integrates the gateway function, the front camera can forward the related information to the ADCU, and then the ADCU can forward the related information to the body domain controller. Further, the body domain controller can forward the related information to the headlight controller, so as to realize the switching of the light.

[0045] In view of this,Figure 1 A vehicle light switching system is provided for the embodiments of the present application. The vehicle light switching system 100 can mainly be composed of an image acquisition device 10, an AD control unit 11, a body domain controller (BGM) 12, and a headlamp control module (HCM) 13. The image acquisition device 10 and the AD control unit 11 can communicate with each other through wired communication or wireless communication. The AD control unit 11 and the BGM 12 can communicate with each other through wired communication or wireless communication. The BGM 12 and the HCM 13 can communicate with each other through wired communication or wireless communication. The wireless communication can be established through a CAN bus.

[0046] The image acquisition device 10 can be a front camera module (FCM) and can be installed between a rearview mirror and a windshield of a vehicle or behind a front grille of the vehicle. The embodiments of the present application do not limit the installation position of the image acquisition device 10. The image acquisition device 10 (FCM 10) can be used to acquire image information in real time and process the acquired image information. For example, the FCM 10 can be used to detect the clarity of a field of view in front of the vehicle, judge the brightness of an environment around the vehicle, judge the lighting condition of a road, judge the parallel light intensity when meeting another vehicle, and judge the area where the other vehicle is located, etc. The FCM 10 can be used to obtain processed information (for example, traffic road information, ambient light brightness information, etc.) and send the information to the AD control unit 11 through a CAN bus.

[0047] The AD control unit 11 can be used to receive information from the FCM 10 and forward the information to the BGM 12.

[0048] The BGM 12 integrates a body domain controller and a gateway function and can be connected to a light switch through a hard-wired connection. The BGM 12 can be used to receive information sent by the AD control unit 11, send the information to the HCM 13 through a CAN bus, and receive the light mode switching state and the light-emitting diode (LED) light-on state of the vehicle sent by the HCM 13.

[0049] The HCM 13 can be used to receive information sent by the BGM 12, control the driving of LEDs in different areas of the vehicle based on the information, for example, complete the lighting of LEDs in different areas of the vehicle and the switching of high-beam and low-beam light modes, and send the light mode switching state and the LED light-on state of the vehicle to the BGM 12.

[0050] In some embodiments, the vehicle light switching system 100 can further include a light switch 14, a light sensor 15, and a light source 16. Figure 1In addition to the image acquisition device 10, the AD conversion unit 11, the BGM 12, and the HCM 13 shown in the figure, an engine management system (EMS), a vehicle control unit (VCU), a transmission control unit (TCU), a driver integration module (DIM), an electronic stability controller (ESC), and the like can be further included, such as Figure 2 As shown in the figure, the BGM 12 can be connected to the EMS, the VCU, the TCU, the ESC, and the DIM through the CAN bus.

[0051] The EMS can be used to send engine running state information to the BGM 12 through the CAN bus after the engine of the vehicle is started, so as to facilitate the BGM 12 to determine whether the vehicle is in a normal running state.

[0052] The VCU can be used for high-voltage on hybrid and new energy vehicles, and the VCU can also send high-voltage running state information to the BGM 12 through the CAN bus, so as to facilitate the BGM 12 to determine whether the vehicle is in a normal running state.

[0053] The ESC can be used to send a vehicle speed signal (running speed) to the BGM 12 through the CAN bus, and the BGM 12 can also send the vehicle speed signal of the vehicle to the HCM 13 after receiving the vehicle speed signal, so as to facilitate the HCM 13 to determine whether the light mode needs to be switched through the vehicle speed signal sent by the ESC.

[0054] The TCU can be used to send a gear signal of the vehicle to the BGM 12 through the CAN bus, and the BGM 12 can also send the gear signal of the vehicle to the HCM 13 after receiving the gear signal, so as to facilitate the HCM 13 to determine the gear of the vehicle during the current running according to the gear signal, and if the gear is D, the low beam is automatically turned on, or the high beam of the vehicle is switched to the low beam.

[0055] The DIM can be used to display light mode switching state information, light on state information, and the like.

[0056] Figure 3 A flowchart of a vehicle light switching method provided by the embodiments of the present application is shown. The flowchart can be executed by a vehicle light switching device. The device can be implemented in a hardware manner, a software manner, or a combination of hardware and software. For the convenience of description, the vehicle in the embodiments of the present application is referred to as a first vehicle, and the flowchart includes the following steps, as shown in the figure:

[0057] 301: Obtain traffic road information and ambient light brightness information of a surrounding environment where the first vehicle is located. The traffic road information and the ambient light brightness information are determined by an image collection device.

[0058] The image collection device in this step can be specifically the FCM 10 in the vehicle in FIG. 1. Figure 1

[0059] Optionally, the ambient light brightness information can be an ambient light brightness value, which can be used to represent the darkness of the surrounding environment of the first vehicle.

[0060] Optionally, the traffic road information can include the number of road lighting devices, and can also include the lighting brightness value of the road lighting device and the distance of the adjacent road lighting device.

[0061] During the driving of the first vehicle, if there is a meeting vehicle in the surrounding environment where the first vehicle is located, the traffic road information can include a first distance between the meeting vehicle and the first vehicle, and a light brightness value of the meeting vehicle, and can also include the running speed of the meeting vehicle and the running speed of the first vehicle. Optionally, the traffic road information is determined by the image collection device. As shown in FIG. 2, an example of a traffic road information display schematic diagram provided by the embodiment of the application is shown. Figure 4 Figure 4 In FIG. 2, S is the first distance between the meeting vehicle B and the first vehicle A, C is the position (coordinate position) of the meeting vehicle, and F is the front camera.

[0062] During the driving of the first vehicle, if the first vehicle is following a vehicle in front, the traffic road information can include a second distance between the first vehicle and the followed vehicle, position information of the followed vehicle, and can also include the running speed of the first vehicle and the running speed of the followed vehicle.

[0063] Optionally, the traffic road information and the ambient light brightness information can be determined by the following manner: the image collection device can collect image information of the surrounding environment where the first vehicle is located in real time according to a set period, identify the collected image information, and determine the traffic road information and the ambient light brightness information of the surrounding environment where the first vehicle is located.

[0064] 302: According to the ambient light brightness information, it is determined whether the surrounding environment where the first vehicle is located is night, if yes, go to 303, if not, keep the current running state.

[0065] Optionally, whether the surrounding environment where the first vehicle is located is night can be determined by the following manner:

[0066] ​​If the current ambient light brightness value meets the set threshold value, it indicates that the surrounding environment of the first vehicle is dark enough to affect the driver's forward vision, and the process goes to step 303. If the current ambient light brightness value does not meet the set threshold value, it indicates that the surrounding environment of the first vehicle is bright enough, and the high beam or low beam of the first vehicle does not need to be turned on, so the current running state is maintained, thereby saving resources.

[0067] 303: Control the first vehicle to turn on the low beam mode.

[0068] The interaction process of this step can be that the FCM (e.g., FCM 10 in FIG. 1) sends the ambient light brightness information to the AD CU (e.g., AD CU 11 in FIG. 1), the AD CU forwards the ambient light brightness information to the BGM (e.g., BGM 12 in FIG. 1) after receiving the ambient light brightness information, the BGM forwards the ambient light brightness information to the HCM (e.g., HCM 13 in FIG. 1) after receiving the ambient light brightness information, and the HCM can generate an instruction to control the first vehicle to turn on the low beam after receiving the ambient light brightness information. Figure 1 Figure 1 Figure 1 Figure 1

[0069] 304: After controlling the first vehicle to turn on the low beam mode, the traffic road information is used to control the first vehicle to switch the light mode.

[0070] Optionally, controlling the first vehicle to switch the light mode can include the following cases:

[0071] Case 1: During night driving, the case of whether the road lighting is bright or not.

[0072] In some embodiments, the traffic road information can include the number of road lighting devices. Optionally, the switching of the light mode can be performed in the following manner: if the number of road lighting devices is less than a first threshold value (e.g., less than 2), the first vehicle is controlled to switch the low beam mode to the high beam mode, otherwise, the low beam mode of the first vehicle is maintained, thereby ensuring that the user (driver) of the first vehicle can clearly see the road conditions in front of the vehicle, and the safety of night driving is improved.

[0073] In some other embodiments, the traffic road information can include the lighting brightness value of the road lighting device. Optionally, the switching of the light mode can be performed in the following manner: if the lighting brightness value is less than a threshold value (e.g., less than 10 lux), the first vehicle is controlled to switch the low beam mode to the high beam mode, otherwise, the low beam mode of the first vehicle is maintained.

[0074] Case 2: During night driving, the case of night meeting.

[0075] ​​​​When the traffic road information includes the first distance of the oncoming vehicle from the first vehicle and the light brightness value of the oncoming vehicle, optionally, the switching of the light mode can be as follows: if the first distance is greater than the second threshold value and the light brightness value is less than the third threshold value, the first vehicle is controlled to switch the near light mode to the far light mode, otherwise, the near light mode of the first vehicle is maintained. For example, if the first distance is 200m greater than the second threshold value (100m) and the light brightness value is 800 lumens less than the third threshold value (1500 lumens), the first vehicle can be controlled to switch the near light mode to the far light mode, otherwise the near light mode of the first vehicle is maintained, thereby avoiding the discomfort, distraction, glare and other phenomena of the user (driver) of the oncoming vehicle, and improving the user experience.

[0076] In other embodiments, if the first distance is greater than the second threshold value, the first vehicle is controlled to switch the near light mode to the far light mode, otherwise the near light mode of the first vehicle is maintained.

[0077] In other embodiments, if the light brightness value is less than the third threshold value, the first vehicle is controlled to switch the near light mode to the far light mode, otherwise the near light mode of the first vehicle is maintained.

[0078] Case 3: During night driving, for the case of the first vehicle following at night.

[0079] When the traffic road information includes the second distance of the first vehicle from the followed following vehicle and the position information of the following vehicle, optionally, the switching of the light mode can be as follows: according to the second distance and the position information of the following vehicle, the light illumination area of the first vehicle is determined, and according to the light illumination area, the first vehicle is controlled to turn on (light up) the light that can form the light illumination area, thereby ensuring that the light illumination area of the first vehicle does not affect the following vehicle, and avoiding the discomfort, distraction and other phenomena of the user of the following vehicle, and improving the user experience.

[0080] Optionally, after the first vehicle switches the light mode according to the above traffic road information, a notification message can be output to indicate the light mode switching state of the first vehicle. In other embodiments, it can also be used to indicate the light on state of the first vehicle. In other embodiments, it can also be used to indicate the light mode switching state and the light on state of the first vehicle.

[0081] For example, when the first vehicle switches the near light mode to the far light mode, the DIM can output a notification message, which can include that the first vehicle switches the near light mode to the far light mode, and can also include that the far light is in the on state and the near light is in the off state, thereby facilitating the user of the first vehicle to manage and know the status of various lights.

[0082] In the embodiment of the present application, through the above steps, the first vehicle can be controlled to turn on (light up) the low beam light when the ambient light is dark. In the process of driving at night, when the road is not bright enough, the first vehicle can be controlled to automatically switch to the high beam light. When the road is bright, the first vehicle can be controlled to automatically switch to the low beam light. When meeting another vehicle, the first vehicle can be controlled to switch between the high beam light and the low beam light according to the light brightness value of the other vehicle and the distance between the two vehicles. When following another vehicle, the first vehicle can be controlled to switch between the high beam light and the low beam light according to the distance between the two vehicles and the position information of the other vehicle. Therefore, the comfort and safety of the driver are improved.

[0083] In the embodiment of the present application, the traffic road information and the ambient light brightness information of the surrounding environment of the vehicle (the first vehicle) are acquired. Since the traffic road information and the ambient light brightness information are determined by directly processing the image information collected by the image collection device, compared with forwarding the collected image information to other modules for processing, the interference of other factors can be excluded, and the processing efficiency is improved. In addition, if it is determined according to the ambient light brightness information that the surrounding environment of the vehicle is at night, the low beam light mode of the vehicle is controlled to be turned on, so that the user can clearly see the field of view of the front road in the dark light. According to the traffic road information, the light mode of the vehicle is controlled to be switched, so that the switching between the high beam light and the low beam light can be accurately performed in any case, thereby improving the safety of driving at night.

[0084] Based on the same technical concept, the embodiment of the present application also provides a vehicle light switching device, which can realize the process of the vehicle light switching method in the embodiment of the present application.

[0085] Figure 5 The vehicle light switching device provided in the embodiment of the present application includes an acquisition module 501 and a control module 502, and further includes a notification module 503.

[0086] The acquisition module 501 is configured to acquire traffic road information and ambient light brightness information of a surrounding environment of a first vehicle. The traffic road information and the ambient light brightness information are determined by an image collection device.

[0087] The control module 502 is configured to control the first vehicle to turn on a low beam light mode if it is determined according to the ambient light brightness information that the surrounding environment of the first vehicle is at night, and to control the first vehicle to switch a light mode according to the traffic road information.

[0088] The notification module 503 is specifically configured to output a notification message, and the notification message is used to indicate a light mode switching state and / or a light lighting state of the first vehicle.

[0089] It should be noted that the above-mentioned device provided by the embodiments of the present application can realize all the method steps in the above-mentioned vehicle light switching method embodiments and achieve the same technical effects. Therefore, the same parts and beneficial effects of the embodiments of the present application as the method embodiments will not be repeated in detail.

[0090] Based on the same technical concept, the embodiments of the present application also provide an electronic device, which can realize the functions of the above-mentioned vehicle light switching device.

[0091] Figure 6 The structural schematic diagram of the electronic device provided by the embodiments of the present application.

[0092] The at least one processor 601 and the memory 602 connected with the at least one processor 601. In the embodiments of the present application, the specific connection medium between the processor 601 and the memory 602 is not limited, Figure 6 In the embodiments of the present application, the processor 601 and the memory 602 are connected through the bus 600. The bus 600 is used to transmit data and instructions between the processor 601 and the memory 602. Figure 6 In the embodiments of the present application, the bus 600 is represented by a thick line, and the connection mode between other components is only schematically illustrated and is not limited. The bus 600 can be divided into an address bus, a data bus, a control bus, etc. For convenience, Figure 6 In the embodiments of the present application, the processor 601 can also be called a controller, and the name is not limited.

[0093] In the embodiments of the present application, the memory 602 stores instructions executable by the at least one processor 601. The at least one processor 601 can execute the vehicle light switching method discussed above by executing the instructions stored in the memory 602. The processor 601 can realize the functions of each module in the device shown in the above-mentioned vehicle light switching device. Figure 6

[0094] The processor 601 is the control center of the device, and can connect each part of the entire control device through various interfaces and lines. By running or executing the instructions stored in the memory 602 and calling the data stored in the memory 602, the device can process data and realize various functions, thereby monitoring the entire device.

[0095] ​In a possible design, the processor 601 can include one or more processing units, and the processor 601 can integrate an application processor and a modem processor, where the application processor mainly processes operating systems, driver interfaces, and application programs, and the modem processor mainly processes wireless communication. It can be understood that the modem processor can also not be integrated into the processor 601. In some embodiments, the processor 601 and the memory 602 can be implemented on the same chip, and in some embodiments, they can also be respectively implemented on independent chips.

[0096] The processor 601 can be a general-purpose processor, for example, a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the vehicle light switching method disclosed in the embodiments of the present application can be directly embodied as execution completed by a hardware processor, or executed by a combination of hardware and software modules in the processor.

[0097] The memory 602 is a non-volatile computer readable storage medium, which can be used to store non-volatile software programs, non-volatile computer executable programs, and modules. The memory 602 can include at least one type of storage medium, for example, can include a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (RAM), a static random access memory (SRAM), a programmable read-only memory (PROM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 602 is any other medium capable of carrying or storing desired program codes in the form of instructions or data structures and capable of being accessed by a computer, but is not limited thereto. The memory 602 in the embodiments of the present application can also be a circuit or any other device capable of realizing a storage function, for storing program instructions and / or data.

[0098] By designing and programming the processor 601, the code corresponding to the vehicle light switching method introduced in the foregoing embodiments can be fixed into the chip, so that the chip can execute the code when running Figure 3A vehicle light switching method of the embodiment shown. How to design and program the processor 601 is known to those skilled in the art, and will not be described here.

[0099] It should be noted that the above electronic device provided by the embodiment of the present application can realize all the method steps achieved by the method embodiment and achieve the same technical effects. Therefore, the same parts and beneficial effects of the method embodiment will not be described here in detail.

[0100] The embodiment of the present application also provides a computer readable storage medium, which stores computer executable instructions. The computer executable instructions are used for causing a computer to execute the vehicle light switching method in the above embodiment.

[0101] The embodiment of the present application also provides a computer program product. When the computer program product is invoked by a computer, the computer is caused to execute the vehicle light switching method in the above embodiment.

[0102] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROMs, optical storage devices, etc.) containing computer-usable program code.

[0103] The present application is described with reference to flowcharts and / or block diagrams of the method, device (system), and computer program product according to the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of flows and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing apparatus to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing apparatus produce a device implemented in the flowcharts and / or block diagrams. Figure 1 The function specified in one flow or multiple flows and / or blocks. Figure 1 The device that implements the function specified in one block or multiple blocks.

[0104] These computer program instructions can also be stored in a computer readable storage medium that can direct the computer or other programmable data processing apparatus to work in a specific manner, so that the instructions stored in the computer readable storage medium produce a manufactured product including instruction devices that implement the flowcharts and / or block diagrams. Figure 1 The function specified in one flow or multiple flows and / or blocks. Figure 1the function(s) specified in the block or blocks.

[0105] These computer program instructions can also be loaded into computer or other programmable data processing devices, so that a series of operation steps are performed on the computer or other programmable data processing devices to generate computer-implemented processes, so that the instructions executed on the computer or other programmable devices provide a process for implementing the flowchart Figure 1 the flowchart or flowcharts and / or a block Figure 1 the function(s) specified in the block or blocks.

Claims

1. A vehicle light switching method characterized by, The application is applied to a first vehicle; the first vehicle comprises an image acquisition device, an automatic driving domain controller (ADCU), a body domain controller (BGM), a headlight controller (HCM), a driving information module (DIM) and an electronic stability control module (ESC); wherein the image acquisition device is in communication connection with the ADCU, the ADCU is in communication connection with the BGM, the BGM is in communication connection with the HCM, and the BGM is in communication connection with the DIM; at least one of the wireless communication connection between the image acquisition device and the ADCU, the ADCU and the BGM, and the BGM and the HCM is established through a CAN bus, and the ESC is connected with the BGM through a CAN bus; the image acquisition device comprises a front camera installed between a rearview mirror and a windshield of the vehicle and / or a front camera installed behind a front grille of the vehicle; The method comprises: The BGM receives a vehicle speed signal sent by the ESC, and sends the vehicle speed signal to the HCM, so that the HCM judges whether to perform light mode switching according to the vehicle speed signal; The BGM obtains traffic road information and ambient light brightness information of the surrounding environment of the first vehicle through the forwarding of the ADCU; wherein the traffic road information and the ambient light brightness information are information processed by the image acquisition device; If it is determined according to the ambient light brightness information that the surrounding environment of the first vehicle is at night, the first vehicle is controlled to start the near light mode; According to the traffic road information, the HCM of the first vehicle is controlled to switch the light mode; The BGM controls the DIM to output a notification message, and the notification message is used to indicate the light mode switching state and / or the light illumination state of the first vehicle; The traffic road information comprises the number of road lighting devices, the illumination brightness value of the road lighting device, the first distance between the first vehicle and an oncoming vehicle, the light brightness value of the oncoming vehicle, the second distance between the first vehicle and a following vehicle, and the position information of the following vehicle; According to the traffic road information, the HCM of the vehicle is controlled to switch the light mode, comprising: If the number of road lighting devices is less than a first threshold value, the HCM of the first vehicle is controlled to switch the near light mode to the far light mode, otherwise, the HCM of the first vehicle is controlled to keep the near light mode; or if the illumination brightness value of the road lighting device is less than a threshold value, the first vehicle is controlled to switch the near light mode to the far light mode, otherwise, the first vehicle is controlled to keep the near light mode; According to the second distance and the position information of the following vehicle, the light illumination area of the first vehicle is determined, so that the light illumination area of the first vehicle does not affect the following vehicle; according to the light illumination area, the HCM of the first vehicle is controlled to start the light capable of forming the light illumination area. if the first distance is greater than a second threshold value and the light brightness value is less than a third threshold value, controlling the HCM of the first vehicle to switch the near light mode to a far light mode, otherwise, controlling the HCM to keep the near light mode of the first vehicle; or, if the first distance is greater than the second threshold value, controlling the HCM of the first vehicle to switch the near light mode to a far light mode, otherwise, controlling the HCM to keep the near light mode of the first vehicle; or, if the light brightness value is less than the third threshold value, controlling the HCM of the first vehicle to switch the near light mode to a far light mode, otherwise, controlling the HCM to keep the near light mode of the first vehicle.

2. A vehicle light switching device characterized by comprising: The vehicle light switching device is in communication connection with an autonomous driving domain controller (ADCU), a headlamp controller (HCM), a driving information module (DIM) and an electronic stability control module (ESC) respectively; the ADCU is also in communication connection with an image acquisition device; at least one of the image acquisition device and the ADCU, the ADCU and the vehicle light switching device, the vehicle light switching device and the HCM is in wireless communication connection through a CAN bus, and the ESC is connected through a CAN bus; The image acquisition device comprises a front camera installed between a rearview mirror and a windshield of the vehicle, and / or a front camera installed behind a front grille of the vehicle; The vehicle light switching device comprises: an acquisition module configured to acquire traffic road information and ambient light brightness information of a surrounding environment of the first vehicle through forwarding of the ADCU; wherein the traffic road information and the ambient light brightness information are determined by the image acquisition device; a control module configured to control the first vehicle to start a near light mode if it is determined according to the ambient light brightness information that the surrounding environment of the first vehicle is at night, and to control the HCM of the first vehicle to switch a light mode according to the traffic road information; a notification module configured to control the DIM to output a notification message, the notification message being used to indicate a light mode switching state and / or a light lighting state of the first vehicle; The traffic road information comprises a number of road lighting devices, a lighting brightness value of the road lighting devices, a first distance of an oncoming vehicle from the first vehicle, a light brightness value of the oncoming vehicle, a second distance of the first vehicle from a following vehicle, and position information of the following vehicle. The vehicle light switching device is also configured to receive a vehicle speed signal sent by the ESC, and send the vehicle speed signal to the HCM, so that the HCM judges whether to switch the light mode and executes according to the vehicle speed signal; The control module is specifically configured to: If the number of the road lighting devices is less than a first threshold, the HCM of the first vehicle is controlled to switch the near light mode to a far light mode, otherwise, the HCM is controlled to keep the near light mode of the first vehicle; or, if the lighting brightness value of the road lighting devices is less than a threshold, the first vehicle is controlled to switch the near light mode to a far light mode, otherwise, the near light mode of the first vehicle is kept; According to the second distance and the position information of the following vehicle, a light illumination area of the first vehicle is determined, so that the light illumination area of the first vehicle does not affect the following vehicle; According to the light illumination area, the HCM of the first vehicle is controlled to turn on the light capable of forming the light illumination area; If the first distance is greater than a second threshold and the light brightness value is less than a third threshold, the HCM of the first vehicle is controlled to switch the near light mode to a far light mode, otherwise, the HCM is controlled to keep the near light mode of the first vehicle; or, if the first distance is greater than the second threshold, the HCM of the first vehicle is controlled to switch the near light mode to a far light mode, otherwise, the HCM is controlled to keep the near light mode of the first vehicle; or, if the light brightness value is less than the third threshold, the HCM of the first vehicle is controlled to switch the near light mode to a far light mode, otherwise, the HCM is controlled to keep the near light mode of the first vehicle.

3. An electronic device, comprising: Comprise: a memory for storing a computer program; a processor for executing the computer program stored in the memory to realize the steps of the method of claim 1.

4. A computer-readable storage medium, characterized in that, The computer program is stored in the computer readable storage medium, and the computer program is executed by the processor to realize the steps of the method of claim 1.

Citation Information

Patent Citations

  • Vehicle light control method and device and vehicle

    CN113246846A

  • Intelligent adjustment control device and method for automobile headlamp

    CN113650553A

  • Control system of vehicle

    JP2021011198A