Vehicle lamp control method, device and equipment and readable storage medium
By detecting the fault of the headlights and replacing the lights, the problem of vehicle headlight failure affecting safety is solved and the accident rate is reduced.
Patent Information
- Application Number
- CN202411184969.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-12-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
During use, the lights cannot be turned on normally according to the preset control logic after the vehicle is in use, which affects the safety of the vehicle.
By detecting whether the headlights are on according to the preset control logic, if a fault is found, the corresponding second headlight is controlled to replace the first headlight to temporarily replace its function and reduce the incidence of accidents caused by headlight failure.
When the first car light fails, the second car light will be replaced by the second car light and temporarily replace its function, reducing the incidence of accidents caused by the car light failure and improving the safety of vehicle use.
Smart Images

Figure CN119058545A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle light control, and in particular to a vehicle light control method, device, equipment and readable storage medium. Background Art
[0002] Headlights are tools for lighting the road for vehicles, and are also tools for issuing various driving signals. Headlights include combination headlights, combination taillights, and license plate lights. Combination headlights are located at the front of the car. The light emitted by combination headlights can illuminate the road conditions in front of the car, allowing the driver to drive safely. According to their functions, they can be divided into daytime running lights, low beam lights, high beam lights, front turn signals, front clearance lights, and front fog lights. Combination taillights are located at the rear of the car. Combination taillights generally include rear clearance lights, brake lights, rear fog lights, and rear turn signals.
[0003] In the prior art, a vehicle will control the corresponding lights to light up according to a preset control logic based on its own status to meet usage requirements. For example, the daytime running lights will light up when driving during the day, the brake lights will light up when braking, and the turn signals will light up when turning.
[0004] However, any headlight may fail during vehicle use, causing the headlight to not light up according to the preset control logic, thereby affecting vehicle safety. For example, the failure of the brake light during driving is most likely to cause a rear-end collision. Summary of the invention
[0005] The embodiments of the present invention provide a vehicle light control method, device, equipment and readable storage medium to solve the technical problem in the related art that when a vehicle light fails during use, the light cannot be normally lit according to the preset control logic, thus affecting the safety of the vehicle.
[0006] In a first aspect, a vehicle light control method is provided, comprising the following steps:
[0007] Controlling the first headlight to light up according to a preset control logic according to the vehicle state and / or external environment information;
[0008] Detecting whether the first vehicle light is on according to the preset control logic;
[0009] If not, the second headlight is controlled to light up instead of the first headlight.
[0010] In some embodiments, the step of detecting whether the first vehicle light is turned on according to a preset control logic includes:
[0011] Acquire the current brightness of the first headlight through a photosensitive sensor;
[0012] Comparing the current headlight brightness of the first headlight with the headlight brightness in the preset control logic;
[0013] If the comparison result is inconsistent, it is determined that the first headlight is not lit according to the preset control logic, and the first headlight fault information is generated and sent to the central control screen; if the comparison result is consistent, it is determined that the first headlight is lit according to the preset control logic.
[0014] In some embodiments, the step of controlling the first headlight to light up according to a preset control logic according to the vehicle state and / or external environment information includes:
[0015] When the vehicle is powered on and the external environment is daytime, the daytime running lights are controlled to light up.
[0016] In some embodiments, if not, the step of controlling the second headlight to light up instead of the first headlight comprises:
[0017] If the daytime running lights do not light up according to the preset control logic, the low beam lights will be controlled to replace the daytime running lights.
[0018] In some embodiments, if the daytime running lights are not turned on according to the preset control logic, the step of controlling the low beam lights to replace the daytime running lights includes:
[0019] Determine whether the brightness of the low beam headlight is consistent with the brightness of the daytime running light that is lit according to the preset control logic;
[0020] If not, adjust the brightness of the low beam headlights so that the brightness of the low beam headlights is consistent with the brightness of the daytime running lights that are lit according to the preset control logic.
[0021] In some embodiments, the step of controlling the first headlight to light up according to a preset control logic according to the vehicle state and / or external environment information includes:
[0022] When the vehicle is in the powered-on state and is located in a non-motorized vehicle lane, the turn signal lamp is controlled to flash.
[0023] In some embodiments, if not, the step of controlling the second headlight to light up instead of the first headlight comprises:
[0024] If the turn signal fails to light up according to the preset control logic, the fog light will be controlled to light up instead of the brake light.
[0025] In a second aspect, a vehicle light control device is provided, comprising:
[0026] A first control unit, the first control unit is used to control the first headlight to light up according to a preset control logic according to the vehicle state and / or external environment information;
[0027] A detection unit, the detection unit is used to detect whether the first vehicle light is turned on according to a preset control logic;
[0028] The second control unit is used for controlling the second headlight to light up instead of the first headlight if no.
[0029] In a third aspect, a computer device is provided, comprising: a memory and a processor, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the aforementioned vehicle light control method.
[0030] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a computer, the computer executes the aforementioned vehicle light control method.
[0031] The beneficial effects brought about by the technical solution provided by the present invention include:
[0032] The embodiment of the present invention provides a vehicle light control method, device, equipment and readable storage medium. The vehicle light control method first controls a first vehicle light to light up according to a preset control logic according to the vehicle state or / and external environment information, then detects whether the first vehicle light lights up according to the preset control logic, and finally controls a second vehicle light to light up in place of the first vehicle light if it is detected that the first vehicle light does not light up according to the preset control logic. The present invention uses a second vehicle light near the first vehicle light to light up in place of the first vehicle light when the first vehicle light fails and does not light up according to the preset control logic, temporarily replacing the function of the first vehicle light, thereby reducing the accident rate caused by vehicle light failure. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. 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 these drawings without creative work.
[0034] Figure 1 A schematic diagram of a flow chart of a vehicle light control method provided by an embodiment of the present invention;
[0035] Figure 2 Implementation provided for the embodiments of the present invention Figure 1 A schematic flow chart of step S20;
[0036] Figure 3 A schematic diagram of the connection between various vehicle lights and a vehicle light control device provided by an embodiment of the present invention;
[0037] Figure 4 A schematic diagram of providing a photosensitive sensor at a vehicle lamp according to an embodiment of the present invention;
[0038] Figure 5A schematic diagram of the structure of a vehicle light control device provided by an embodiment of the present invention;
[0039] Figure 6 A schematic diagram of the structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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.
[0041] The embodiment of the present invention provides a vehicle light control method, which can solve the technical problem that when a vehicle is in use, the vehicle light fails and cannot be normally lit according to a preset control logic, thus affecting the safety of the vehicle.
[0042] See also Figure 1 As shown, an embodiment of the present invention provides a vehicle light control method, comprising the following steps:
[0043] Step S10, controlling the first vehicle light to light up according to a preset control logic according to the vehicle state and / or external environment information.
[0044] Specifically, taking the first headlight being a daytime running light as an example, the step of controlling the first headlight to light up according to a preset control logic according to the vehicle state and / or external environment information includes:
[0045] When the vehicle is powered on and the external environment is daytime, the daytime running lights are controlled to light up. Vehicles are generally equipped with daytime running lights, which must be turned on during the day. Daytime running lights are used to indicate the presence of the vehicle ahead, especially when passing under wall beams, cableways and other sections where the brightness changes rapidly. It helps the vehicle ahead to detect the situation of the vehicle behind and to the side. Turning on the daytime running lights can reduce the probability of vehicle accidents and deaths in traffic accidents.
[0046] Step S20, detecting whether the first vehicle lamp is lit according to a preset control logic.
[0047] Specifically, see Figure 2 As shown, the step of detecting whether the first vehicle lamp is lit according to the preset control logic includes:
[0048] Step S201: obtaining the current brightness of the first headlight through a photosensitive sensor.
[0049] Step S202: compare the current brightness of the first headlight with the brightness of the headlight in the preset control logic.
[0050] Step S203, if the comparison result is inconsistent, it is determined that the first headlight is not lit according to the preset control logic, and the first headlight fault information is generated and sent to the central control screen; if the comparison result is consistent, it is determined that the first headlight is lit according to the preset control logic.
[0051] Figure 3 This is a schematic diagram of the connection between each vehicle lamp and the lamp control device. Figure 4 The schematic diagram is a diagram of setting a photosensitive sensor at a headlight. Taking the first headlight as a daytime running light as an example, after the headlight control device controls the daytime running light to light up according to the preset control logic, the photosensitive sensor at the daytime running light obtains the current headlight brightness of the daytime running light, and compares the current headlight brightness of the daytime running light with the headlight brightness in the preset control logic. If the comparison result is inconsistent, it is determined that the daytime running light is not lit according to the preset control logic. If the comparison result is consistent, it is determined that the first headlight is lit according to the preset control logic. Usually, the headlight brightness is a voltage signal, that is, the photosensitive sensor converts the light of the headlight into a voltage signal. When the difference between the voltage signal converted by the photosensitive sensor from the light of the first headlight and the voltage signal in the corresponding preset control logic is within a preset range, it can be determined that the comparison result is consistent. When the difference between the voltage signal converted by the photosensitive sensor from the light of the first headlight and the voltage signal in the corresponding preset control logic is not within the preset range, it can be determined that the comparison result is inconsistent. At this time, the value of the voltage signal converted by the photosensitive sensor is generally small, indicating that the headlight is faulty. Furthermore, if the comparison result is inconsistent, a first headlight fault message is generated and sent to the central control screen to remind the driver that the corresponding headlight is damaged. In addition, the photosensitive sensor may be a light-dependent resistor (LDR) sensor.
[0052] Step S30: If not, control the second headlight to light up instead of the first headlight.
[0053] Specifically, taking the first headlight being a daytime running light as an example, if the first headlight fails to light up according to the preset control logic, the step of controlling the second headlight to light up in place of the first headlight comprises:
[0054] If the daytime running lights do not light up according to the preset control logic, the low beam lights will be controlled to replace the daytime running lights. Figure 3 As shown, if the daytime running car fails to light up according to the preset control logic, the low beam headlight is used as the second headlight to temporarily replace the daytime running car, and the low beam headlight is controlled to light up to replace the daytime running car. Among them, if the left daytime running car fails, the left low beam headlight can temporarily replace the left daytime running car; if the right daytime running car fails, the right low beam headlight can temporarily replace the right daytime running car.
[0055] Furthermore, if the daytime running lights are not turned on according to the preset control logic, the step of controlling the low beam lights to replace the daytime running lights includes:
[0056] Determine whether the brightness of the low beam headlight is consistent with the brightness of the daytime running light that is lit according to the preset control logic;
[0057] If not, adjust the brightness of the low beam headlights so that the brightness of the low beam headlights is consistent with the brightness of the daytime running lights that are lit according to the preset control logic.
[0058] The brightness of different headlights of a vehicle when lit according to the preset control logic is not necessarily the same. When a headlight fails, the brightness of the replacement headlight is adjusted to the brightness of the replaced headlight when lit according to the preset control logic. This can reduce the difference between the replacement headlight and the replaced headlight, accurately replace the failed headlight, and more accurately remind passers-by or other drivers of the vehicle's true driving intention.
[0059] The vehicle light control method in the embodiment of the present invention first controls the first vehicle light to light up according to the preset control logic according to the vehicle state and / or the external environment information, then detects whether the first vehicle light lights up according to the preset control logic, and finally controls the second vehicle light to light up in place of the first vehicle light if it is detected that the first vehicle light does not light up according to the preset control logic. In the present invention, when the first vehicle light fails to light up according to the preset control logic, the second vehicle light near the first vehicle light replaces the first vehicle light to temporarily replace the function of the first vehicle light, thereby reducing the accident rate caused by vehicle light failure.
[0060] As an optional implementation, in an embodiment of the invention, the step of controlling the first headlight to light up according to a preset control logic according to the vehicle state and / or external environment information includes:
[0061] When the vehicle is in the powered-on state and the vehicle is in a non-motorized vehicle lane, the turn signal is controlled to flash. Assuming that the first headlight is a turn signal, in some special scenarios when the driver does not actively turn on the turn signal through a hard switch, the headlight control device of an embodiment of the present invention controls the turn signal to flash when the vehicle is in the powered-on state and the vehicle is in a non-motorized vehicle lane, thereby reducing the probability of accidents. For example, when the headlight control device determines that the vehicle is in a non-motorized vehicle lane based on the GPS positioning signal and the vehicle navigation system, it actively controls the turn signal to flash. During actual use, a certain parking time can be set. For example, if the vehicle is in the powered-on state and the vehicle is in a non-motorized vehicle lane for more than 30 seconds, the turn signal is controlled to flash.
[0062] Furthermore, if the turn signal lamp does not light up according to the preset control logic, the fog lamp is controlled to light up instead of the brake lamp. Figure 3As shown, when all turn signals are normally flashing, the headlight control device does not make the next control; when one or all of the left front turn signals or the right front turn signals fail and fail to flash normally according to the preset control logic, the headlight control device will prompt the driver on the central control screen that the corresponding headlight is damaged, and start the front fog lights to flash at the same time, to remind the surrounding pedestrians and vehicles; when one or all of the left rear turn signals or the right rear turn signals fail and fail to flash normally according to the preset control logic, the headlight control device will prompt the driver on the central control screen that the corresponding headlight is damaged, and start the rear fog lights to flash at the same time, to remind the surrounding pedestrians and vehicles, thereby reducing the accident rate caused by headlight failure. Similarly, it is determined whether the headlight brightness of the fog lights is consistent with the headlight brightness of the turn signals according to the preset control logic; if not, the headlight brightness of the fog lights is adjusted to make the headlight brightness of the fog lights consistent with the headlight brightness of the turn signals according to the preset control logic, so as to more accurately remind passers-by or other drivers of the vehicle's true driving intention.
[0063] As an optional implementation, in one embodiment of the invention, if the first vehicle lamp is a brake lamp, when the brake lamp is not lit according to the preset control logic, the rear fog lamp is controlled to replace the brake lamp. Figure 3 As shown, under normal circumstances, when the driver brakes during driving, the brake lights should light up. When all brake lights are normally lit, the headlight control device will not make the next control. When one or all of the left rear brake lights or the right rear brake lights fail and the preset control logic does not light up normally, the headlight control device will prompt the driver on the central control screen that the corresponding headlight is damaged, and at the same time start the rear fog lights to light up, to warn surrounding pedestrians and vehicles, and reduce the accident rate caused by headlight failure.
[0064] See also Figure 5 As shown, an embodiment of the present invention further provides a vehicle light control device, including: a first control unit, a detection unit and a second control unit.
[0065] The first control unit is used to control the first vehicle light to light up according to a preset control logic according to the vehicle state and / or external environment information.
[0066] The detection unit is used to detect whether the first vehicle light is turned on according to a preset control logic.
[0067] The second control unit is used for controlling the second headlight to light up instead of the first headlight if no.
[0068] In the vehicle light control device in the embodiment of the present invention, the first control unit first controls the first vehicle light to light up according to the preset control logic according to the vehicle state and / or external environment information, the detection unit then detects whether the first vehicle light lights up according to the preset control logic, and the second control unit finally controls the second vehicle light to replace the first vehicle light if it detects that the first vehicle light does not light up according to the preset control logic. In the present invention, when the first vehicle light fails to light up according to the preset control logic, the second vehicle light nearby replaces the first vehicle light to temporarily replace the function of the first vehicle light, thereby reducing the accident rate caused by vehicle light failure.
[0069] The vehicle light control device may be a mutually independent dual-control redundant controller (hereinafter referred to as VM controller). When a partition of the VM controller fails in functionality, it may be replaced by another partition. Under the condition that no functional failure occurs, only half of the partition of the VM controller needs to work, and the computing power of the other partition may be used to perform other operations.
[0070] An embodiment of the present invention also provides a computer device, comprising: a memory, a processor and a network interface connected via a system bus, wherein at least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to implement all or part of the steps of the aforementioned vehicle light control method.
[0071] The network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0072] The processor may be a CPU, or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, etc. The processor is the control center of the computer device, and uses various interfaces and lines to connect various parts of the entire computer device.
[0073] The memory can be used to store computer programs and / or modules. The processor realizes various functions of the computer device by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a video playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as video data, image data, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device or other volatile solid-state storage device.
[0074] In one embodiment of the invention, the processor is used to run a computer program stored in the memory to implement the following steps:
[0075] Step S10, controlling the first headlight to light up according to a preset control logic according to the vehicle state and / or external environment information;
[0076] Step S20, detecting whether the first vehicle lamp is lit according to a preset control logic;
[0077] Step S30: If not, control the second headlight to light up instead of the first headlight.
[0078] As an optional implementation, in one embodiment of the invention, the step of detecting whether the first vehicle light is turned on according to a preset control logic includes:
[0079] Step S201, obtaining the current brightness of the first headlight through a photosensitive sensor;
[0080] Step S202, comparing the current headlight brightness of the first headlight with the headlight brightness in the preset control logic;
[0081] Step S203, if the comparison result is inconsistent, it is determined that the first headlight is not lit according to the preset control logic, and the first headlight fault information is generated and sent to the central control screen; if the comparison result is consistent, it is determined that the first headlight is lit according to the preset control logic.
[0082] Figure 3 This is a schematic diagram of the connection between each vehicle lamp and the lamp control device. Figure 4The schematic diagram is a diagram of setting a photosensitive sensor at a headlight. Taking the first headlight as a daytime running light as an example, after the headlight control device controls the daytime running light to light up according to the preset control logic, the photosensitive sensor at the daytime running light obtains the current headlight brightness of the daytime running light, and compares the current headlight brightness of the daytime running light with the headlight brightness in the preset control logic. If the comparison result is inconsistent, it is determined that the daytime running light is not lit according to the preset control logic. If the comparison result is consistent, it is determined that the first headlight is lit according to the preset control logic. Usually, the headlight brightness is a voltage signal, that is, the photosensitive sensor converts the light of the headlight into a voltage signal. When the difference between the voltage signal converted by the photosensitive sensor from the light of the first headlight and the voltage signal in the corresponding preset control logic is within a preset range, it can be determined that the comparison result is consistent. When the difference between the voltage signal converted by the photosensitive sensor from the light of the first headlight and the voltage signal in the corresponding preset control logic is not within the preset range, it can be determined that the comparison result is inconsistent. At this time, the value of the voltage signal converted by the photosensitive sensor is generally small, indicating that the headlight is faulty. Furthermore, if the comparison result is inconsistent, a first headlight fault message is generated and sent to the central control screen to remind the driver that the corresponding headlight is damaged.
[0083] As an optional implementation, in an embodiment of the invention, the step of controlling the first headlight to light up according to a preset control logic according to the vehicle state and / or external environment information includes:
[0084] When the vehicle is powered on and the external environment is daytime, the daytime running lights are controlled to light up. When the vehicle is powered on and the external environment is daytime, the daytime running lights are controlled to light up. Vehicles are generally equipped with daytime running lights, which must be turned on during the day. Daytime running lights are used to indicate the presence of the vehicle ahead, especially when passing under wall beams, cableways and other sections where the brightness changes rapidly. It helps the vehicle ahead to detect the situation of the vehicle behind and to the side. Turning on the daytime running lights can reduce the probability of vehicle accidents and deaths in traffic accidents.
[0085] As an optional implementation, in an embodiment of the invention, the step of controlling the second headlight to replace the first headlight to light up, if not, includes:
[0086] If the daytime running lights do not light up according to the preset control logic, the low beam lights will be controlled to replace the daytime running lights. Figure 3 As shown, if the daytime running car fails to light up according to the preset control logic, the low beam headlight is used as the second headlight to temporarily replace the daytime running car, and the low beam headlight is controlled to light up to replace the daytime running car. Among them, if the left daytime running car fails, the left low beam headlight can temporarily replace the left daytime running car; if the right daytime running car fails, the right low beam headlight can temporarily replace the right daytime running car.
[0087] As an optional implementation, in an embodiment of the invention, if the daytime running lights are not turned on according to the preset control logic, the step of controlling the low beam lights to replace the daytime running lights includes:
[0088] Determine whether the brightness of the low beam headlight is consistent with the brightness of the daytime running light that is lit according to the preset control logic;
[0089] If not, adjust the brightness of the low beam headlights so that the brightness of the low beam headlights is consistent with the brightness of the daytime running lights that are lit according to the preset control logic.
[0090] The brightness of different headlights of a vehicle when lit according to the preset control logic is not necessarily the same. When a headlight fails, the brightness of the replacement headlight is adjusted to the brightness of the replaced headlight when lit according to the preset control logic. This can reduce the difference between the replacement headlight and the replaced headlight, accurately replace the failed headlight, and more accurately remind passers-by or other drivers of the vehicle's true driving intention.
[0091] As an optional implementation, in an embodiment of the invention, the step of controlling the first headlight to light up according to a preset control logic according to the vehicle state and / or external environment information includes:
[0092] When the vehicle is in the powered-on state and the vehicle is in a non-motorized vehicle lane, the turn signal is controlled to flash. In some special scenarios, when the driver does not actively turn on the turn signal through the hard switch, the vehicle light control device of the embodiment of the present invention controls the turn signal to flash when the vehicle is in the powered-on state and the vehicle is in a non-motorized vehicle lane, thereby reducing the probability of accidents. For example, when the vehicle light control device determines that the vehicle is in a non-motorized vehicle lane based on the GPS positioning signal and the vehicle navigation system, it actively controls the turn signal to flash. During actual use, a certain parking time can be set. For example, if the vehicle is in the powered-on state and the vehicle is in a non-motorized vehicle lane for more than 30 seconds, the turn signal is controlled to flash.
[0093] As an optional implementation, in an embodiment of the invention, the step of controlling the second headlight to replace the first headlight to light up, if not, includes:
[0094] If the turn signal lamp does not light up according to the preset control logic, the fog lamp will be controlled to light up instead of the brake lamp. Figure 3As shown, when all the turn signals are flashing normally, the headlight control device will not perform the next control; when one or both of the left front turn signal or the right front turn signal fail and fail to flash normally according to the preset control logic, the headlight control device will prompt the driver on the central control screen that the corresponding headlight is damaged, and at the same time start the front fog light to flash, to alert the surrounding pedestrians and vehicles; when one or both of the left rear turn signal or the right rear turn signal fail and fail to flash normally according to the preset control logic, the headlight control device will prompt the driver on the central control screen that the corresponding headlight is damaged, and at the same time start the rear fog light to flash, to alert the surrounding pedestrians and vehicles, thereby reducing the accident rate caused by headlight failure.
[0095] The embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, all or part of the steps of the aforementioned vehicle light control method are implemented.
[0096] The embodiment of the present invention implements all or part of the aforementioned processes, and can also be completed by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of each of the above methods can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.
[0097] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, servers or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program codes.
[0098] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0099] The serial numbers in the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0100] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, 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 device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0101] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.
Claims
1. A vehicle light control method, characterized in that: The following steps are involved: Controlling the first headlight to light up according to a preset control logic according to the vehicle state and / or external environment information; Detecting whether the first vehicle light is on according to the preset control logic; If not, the second headlight is controlled to light up instead of the first headlight.
2. The vehicle light control method according to claim 1, characterized in that: The step of detecting whether the first vehicle light is on according to a preset control logic comprises: Acquire the current brightness of the first headlight through a photosensitive sensor; Comparing the current headlight brightness of the first headlight with the headlight brightness in the preset control logic; If the comparison result is inconsistent, it is determined that the first headlight is not lit according to the preset control logic, and the first headlight fault information is generated and sent to the central control screen; if the comparison result is consistent, it is determined that the first headlight is lit according to the preset control logic.
3. The vehicle light control method according to claim 1, characterized in that: The step of controlling the first headlight to light up according to a preset control logic according to the vehicle state and / or external environment information comprises: When the vehicle is powered on and the external environment is daytime, the daytime running lights are controlled to light up.
4. The vehicle light control method according to claim 3, characterized in that: If not, the step of controlling the second headlight to light up instead of the first headlight comprises: If the daytime running lights do not light up according to the preset control logic, the low beam lights will be controlled to replace the daytime running lights.
5. The vehicle light control method according to claim 4, characterized in that: The step of controlling the low beam to replace the daytime running lights if the daytime running lights do not light up according to the preset control logic comprises: Determine whether the brightness of the low beam headlight is consistent with the brightness of the daytime running light that is lit according to the preset control logic; If not, adjust the brightness of the low beam headlights so that the brightness of the low beam headlights is consistent with the brightness of the daytime running lights that are lit according to the preset control logic.
6. The vehicle light control method according to claim 1, characterized in that: The step of controlling the first vehicle light to light up according to a preset control logic according to the vehicle state and / or external environment information comprises: When the vehicle is in the powered-on state and is located in a non-motorized vehicle lane, the turn signal lamp is controlled to flash.
7. The vehicle light control method according to claim 6, characterized in that: If not, the step of controlling the second headlight to light up instead of the first headlight comprises: If the turn signal fails to light up according to the preset control logic, the fog light will be controlled to light up instead of the brake light.
8. A vehicle light control device, characterized in that: include: A first control unit, the first control unit is used to control the first headlight to light up according to a preset control logic according to the vehicle state and / or external environment information; A detection unit, the detection unit is used to detect whether the first vehicle light is turned on according to a preset control logic; The second control unit is used for controlling the second headlight to light up instead of the first headlight if no.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the vehicle light control method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a computer, the computer is enabled to execute the vehicle light control method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Car light multiplexing control method and car light multiplexing control circuit
CN101239598A
Rear lamp control method, rear lamp control device and automobile
CN105835758A
Car lamp control system
CN116946017A
