Vehicle lamp control method and device, equipment, storage medium and product

Through a car light control method, in response to obtaining the light-out signal, the current operating status of the vehicle is obtained, and the car lights are controlled to gradually turn off according to the preset light-removing curve, solving the additional cost of car light safety control in the prior art Problem, safe and reliable headlight control is achieved.

CN119428428APending Publication Date: 2025-02-14GAC TOYOTA MOTOR
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411791317.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

The prior art has problems with additional cost while ensuring safety control of the vehicle lights, especially when using MAC certification or hard-wire transmission of control signals.

Method used

Through a headlight control method, in response to obtaining the light-out signal, the current operating state of the vehicle is obtained, and when the vehicle is in a driving state, the control headlights gradually turn off according to the preset light-out curve, and the vehicle's headlight control signal is continuously obtained. . During the process of gradually extinguishing the lights, the lights are restored to a fully lit state in response to obtaining the light signals.

Benefits of technology

On the basis of cost saving, the safety control of the car lights is ensured, and the abnormal turn-off of the car lights caused by malicious tampering with the signal is achieved, thus ensuring the safety of drivers and passengers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119428428A_ABST
    Figure CN119428428A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle lamp control method, device and equipment, a storage medium and a product, and relates to the technical field of vehicle safety. Under the condition that the lamp turn-off signal is obtained and the vehicle is in the driving state, the vehicle lamp is controlled to be gradually turned off according to the preset lamp turn-off curve, and meanwhile the legality of the obtained lamp turn-off signal is determined based on the vehicle lamp control signal on the bus; according to the technical scheme, when the lamp turn-on signal is obtained before the vehicle lamp is not completely turned off, it can be known that the obtained lamp turn-off signal is illegal, so that the vehicle lamp is controlled to be completely turned on again, it is guaranteed that in the vehicle driving process, the vehicle lamp cannot be completely turned off due to maliciously tampered signals, and the safety of a driver and passengers in the driving process can be guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle safety technology, and in particular to a vehicle light control method, device, equipment, storage medium and product. Background Art

[0002] When a vehicle is driving at night, the headlights are an important factor in ensuring the safety of the driver and passengers. In related technologies, headlights are mostly transmitted through the Controller Area Network (CAN), but due to the risk of tampering with the CAN, when the CAN signal is tampered with, the headlights will be turned off abnormally, which brings extremely high safety risks to users when driving at night. Therefore, many vehicle manufacturers often use the Media Access Control (MAC) authentication method or control the low beam lights through hard wires alone to avoid tampering.

[0003] However, both MAC authentication and separate transmission of control signals via hard wires will incur inevitable additional costs.

[0004] Therefore, how to ensure the safe control of car lights on the basis of cost saving is an urgent problem to be solved. Summary of the invention

[0005] The main purpose of this application is to provide a vehicle light control method, device, equipment, storage medium and product, aiming to solve the technical problem of how to ensure the safe control of vehicle lights on the basis of cost saving.

[0006] To achieve the above purpose, the present application proposes a vehicle light control method, which includes: In response to obtaining the light-off signal, obtaining the current operating state of the vehicle; When the vehicle is currently in a driving state, the vehicle lights are controlled to be gradually turned off according to a preset light-off curve, and a vehicle light control signal is continuously obtained, wherein the vehicle light control signal includes a light-off signal and a light-on signal, and the vehicle light control signal is a periodic signal; In the process of controlling the vehicle lights to gradually turn off, in response to obtaining a light-on signal, the vehicle lights are restored to a fully lit state.

[0007] In some embodiments, in response to obtaining the light-off signal, obtaining the current running state of the vehicle includes: In response to obtaining the light-off signal, obtaining an ignition signal of the vehicle; When the ignition signal is on, determining that the vehicle is currently in a driving state; When the ignition signal is turned off, it is determined that the vehicle is currently in a stationary state.

[0008] In some embodiments, after obtaining the current running state of the vehicle in response to obtaining the light-off signal, the method further includes: When the vehicle is currently stationary, the vehicle lights are controlled to be completely turned off.

[0009] In some embodiments, the preset light-off curve is a curve of change between light source brightness and time. When the light source brightness is at a maximum value, the headlights are fully lit, and when the light source brightness is 0, the headlights are completely extinguished.

[0010] In some embodiments, the time variation value of the preset light-extinguishing curve is greater than a transmission cycle of the vehicle light control signal.

[0011] In some embodiments, the method further comprises: In the process of controlling the vehicle lights to be gradually turned off, in response to obtaining a light-off signal again, the vehicle lights are continuously controlled to be gradually turned off until the vehicle lights are completely turned off.

[0012] In addition, to achieve the above-mentioned purpose, the present application also proposes a vehicle light control device, the vehicle light control device comprising: A signal response module, used for obtaining the current running state of the vehicle in response to obtaining the light-off signal; A headlight control module, used to control the headlights to gradually turn off according to a preset headlight turning-off curve when the vehicle is currently in a driving state, and continuously obtain a headlight control signal of the vehicle, wherein the headlight control signal includes a headlight turning-off signal and a headlight turning-on signal, and the headlight control signal is a periodic signal; The safety recovery module is used to restore the vehicle lights to a fully lit state in response to obtaining a light-on signal during the process of controlling the vehicle lights to gradually turn off.

[0013] In addition, to achieve the above objectives, the present application also proposes a vehicle light control device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the vehicle light control method as described above.

[0014] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the vehicle light control method described above are implemented.

[0015] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of the vehicle light control method described above are implemented.

[0016] One or more technical solutions proposed in this application have at least the following technical effects: When a light-off signal is obtained and the vehicle is in motion, the lights are controlled to gradually turn off according to a preset light-off curve, and the legitimacy of the obtained light-off signal is judged based on the light control signal on the bus. When a light-on signal is obtained before the lights are completely turned off, the obtained light-off signal is judged to be illegal, and the lights are controlled to be fully lit again, thereby ensuring that the lights will not be completely turned off due to maliciously tampered signals during the driving of the vehicle, thereby ensuring the safety of the driver and passengers during driving. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0019] Figure 1 A schematic diagram showing a flow chart of a vehicle light control method provided by an embodiment of the present application is shown; Figure 2 A schematic diagram of a connection structure of an electronic control unit provided by an exemplary embodiment of the present application is shown; Figure 3 A schematic diagram of a preset light-off curve provided by an exemplary embodiment of the present application is shown; Figure 4 A schematic diagram showing the change in brightness of a vehicle lamp provided by an exemplary embodiment of the present application is shown; Figure 5 A schematic diagram of the structure of a vehicle light control device provided in an embodiment of the present application is shown; Figure 6 A schematic diagram of the structure of a vehicle light control device provided in an embodiment of the present application is shown.

[0020] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0021] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0022] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0023] The main solution of the embodiment of the present application is: in response to obtaining a light-off signal through the controller local area network bus, obtaining the current operating status of the vehicle; when the vehicle is currently in a driving state, controlling the lights to gradually turn off according to a preset light-off curve, and continuously obtaining the vehicle's light control signal through the controller local area network bus; in the process of controlling the lights to gradually turn off, in response to obtaining a light-on signal, restoring the lights to a fully lit state.

[0024] In the related technology, when a vehicle is driving at night, the headlights are an important factor in ensuring the life safety of the driver and passengers. At present, most headlights transmit signals through the controller area network CAN, but due to the risk of tampering with CAN, when the CAN signal is tampered with, the headlights will be abnormally extinguished, which brings extremely high safety risks to users when driving at night. Therefore, many vehicle manufacturers often use MAC authentication or control the low beam lights through hard wires alone to avoid tampering.

[0025] However, both MAC authentication and separate transmission of control signals via hard wires will incur inevitable additional costs.

[0026] In summary, how to ensure the safe control of car lights on the basis of cost saving is a problem that needs to be solved urgently.

[0027] Based on this, the present application provides a solution that enables safe control of vehicle lights without the need to add additional hardware facilities, saving additional costs.

[0028] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or a headlight control device capable of realizing the above functions, etc. The following takes the headlight control device as an example to illustrate this embodiment and the following embodiments.

[0029] Reference Figure 1 , Figure 1 The flowchart of the vehicle light control method provided by an embodiment of the present application is shown. The vehicle light control method can be applied to a vehicle light control device, and includes the following steps S110 to S130: Step S110, in response to obtaining the light-off signal, obtaining the current operating state of the vehicle.

[0030] The vehicle consists of multiple domain controllers, each of which includes multiple Electronic Control Units (ECUs). ECUs can send and receive data through the CAN bus, and the vehicle's central domain controller (corresponding to the central control terminal, such as the central control display) generally controls the components of the vehicle body. When executing control, the ECU in the central domain controller generally generates a control signal and periodically sends it to the CAN bus; the target ECU corresponding to the control signal can periodically receive the control signal through the CAN bus, thereby parsing the control signal and performing the corresponding action.

[0031] In this embodiment, if Figure 2 As shown, the body ECU and the ECU corresponding to the headlight are connected via a CAN twisted pair (i.e., the bus described below). The body ECU here refers to the ECU in the central domain controller. The body ECU can send the headlight control signal and other vehicle signals (such as ignition signal, speed signal, etc.) to the headlight ECU via the CAN bus, so that the headlight ECU executes the headlight control method provided in this embodiment according to the received data.

[0032] The headlight control signal may include a light-on signal and a light-off signal. It is understandable that the headlights of a vehicle generally have only two working states: on and off, that is, the light-on signal is used to adjust the vehicle to a fully lit state, and the light-off signal is used to adjust the headlights to a fully off state.

[0033] Since car lights are generally used at night and for lighting during driving, it is necessary to ensure that the lights remain on during driving, unless the driver turns them off manually. When the lights are turned off, whether they light up abnormally or not will not affect the driving safety of the vehicle.

[0034] In some embodiments, the light-off signal may be a tampered signal or a signal generated by manual control of the user. For the headlight, whether it is a tampered signal or a normal signal, there is no difference in the nature of the signal, and both will be recognized and executed normally by the headlight ECU.

[0035] Therefore, in this embodiment, when the light-off signal is obtained, it is first determined whether the vehicle is driving. Specifically, in some embodiments, the body ECU can send the vehicle's ignition (IG) signal to the headlight ECU. The headlight ECU can determine whether the vehicle is currently driving based on the IG signal.

[0036] Specifically, after obtaining the vehicle's ignition signal through the controller area network bus, if the ignition signal is on, it can be determined that the vehicle is currently in a driving state, that is, the vehicle is driving; when the ignition signal is off, it is determined that the vehicle is currently in a stationary state, that is, the vehicle is not driving.

[0037] It is understandable that only when the vehicle's ignition signal is START, the vehicle's engine will generate power, that is, the vehicle is in motion; when the vehicle's ignition signal is ON, only the vehicle's electrical system is in working condition, so that various devices and systems in the vehicle can work normally, such as lights, air conditioning, audio, etc.; when the ignition signal is in the ON state, it can be further switched to START to complete ignition, starting and other operations. When the vehicle's ignition signal is OFF, it means that the vehicle's main equipment and systems are not in working condition. That is, in the ON and OFF states, the ignition signal is turned off and the vehicle is stationary; in the START state, the ignition signal is started and the vehicle is in motion.

[0038] In some embodiments, when the vehicle is currently stationary, in response to obtaining a light-off signal through the CAN bus, the lights can be directly controlled to be completely turned off. It is understandable that when the vehicle is not in a driving state, even if the lights are abnormally turned off, it will not affect the safety of the vehicle, so the lights can be directly turned off.

[0039] It is understandable that if the headlights are abnormally turned off when they should be turned on, the driver and passengers can take the initiative to inspect and repair the vehicle to find out the cause of the abnormal headlight control and correct it in time.

[0040] Step S120, when the vehicle is currently in a driving state, the vehicle lights are controlled to be gradually turned off according to a preset light-off curve, and the vehicle light control signal is continuously obtained.

[0041] Step S130, in the process of controlling the vehicle lights to gradually turn off, in response to obtaining a light-on signal, restoring the vehicle lights to a fully lit state.

[0042] Among them, the preset light-off curve is a curve of changes between the brightness of the light source and time. Specifically, when the lights are controlled to be turned off, in order to achieve a more natural transition, the lights can be set to gradually turn off from a fully lit state, rather than directly turning off. It is understandable that the lights generally have a pulse width modulation (PWM) function. Through PWM dimming, the brightness of the LED in the lights can be adjusted, thereby controlling the brightness of the lights to gradually decrease over time until they are completely turned off.

[0043] In some embodiments, when the brightness of the light source is at a maximum value, the headlight is fully lit, and when the brightness of the light source is 0, the headlight is completely extinguished. Figure 3 As shown, the preset light-off curve can be preset as Figure 3 The curve in .

[0044] As mentioned above, after obtaining the light-off signal, the headlight ECU cannot determine whether the light-off signal is generated normally or maliciously tampered with. Therefore, to ensure safe driving, in this embodiment, the headlight ECU controls the headlight brightness to gradually decrease according to the preset light-off curve, while continuously obtaining new headlight control signals through the CAN bus to distinguish the legitimacy of the first light-off signal obtained.

[0045] Specifically, in this embodiment, the time variation value of the preset light-off curve of the vehicle is preset to be greater than a transmission cycle of the vehicle light control signal on the controller area network bus.

[0046] The transmission cycle of the headlight control signal on the CAN bus can be configured in advance by setting the CAN bus protocol. The headlight control signal can be transmitted on the CAN bus in the form of a periodic message, and the transmission cycle of the periodic message can be preset. For example, in some exemplary embodiments, the transmission cycle can be set to 1000ms, that is, it is sent every 1000ms.

[0047] When the driver or passenger manually turns on the vehicle's lights, the message containing the light-on signal is sent according to the above-mentioned sending cycle; the light ECU can parse the light-on signal from the received message once every sending cycle.

[0048] Based on this, the present embodiment is designed to make the time variation value of the preset light-off curve (i.e. Figure 3 The time interval from time 0 to time a in the above formula is greater than the transmission cycle of the vehicle light control signal. Figure 4 As shown in the figure, through such a design, if the light-off signal is maliciously tampered with, the light ECU will receive the light-on signal again when the lights are not completely off. At this time, it can be judged that the light-off signal obtained last time is illegal, so the lights are restored to a fully lit state, avoiding driving risks caused by abnormal light off.

[0049] In addition, in the process of controlling the car lights to gradually turn off, if the light-off signal is obtained again through the controller LAN bus, it means that the light-off signal obtained last time was not maliciously tampered with, that is, the car lights are allowed to continue to be controlled to gradually turn off until the lights are completely turned off.

[0050] The present embodiment provides a method for controlling vehicle lights. When a light-off signal is obtained and the vehicle is in driving state, the vehicle lights are controlled to be gradually turned off according to a preset light-off curve, and the legitimacy of the obtained light-off signal is judged based on the vehicle light control signal on the bus. When a light-on signal is obtained before the vehicle lights are completely turned off, it is determined that the obtained light-off signal is illegal, and the vehicle lights are controlled to be fully lit again, thereby ensuring that the vehicle lights will not be completely turned off due to maliciously tampered signals during driving, so that the safety of the driver and passengers can be guaranteed during driving.

[0051] This application also provides a vehicle light control device, please refer to Figure 5 , the vehicle light control device 100 comprises: The signal response module 110 is used to obtain the current running state of the vehicle in response to obtaining the light-off signal; The vehicle light control module 120 is used to control the vehicle lights to gradually turn off according to a preset light-off curve when the vehicle is currently in a driving state, and continuously obtain the vehicle light control signal, wherein the vehicle light control signal includes a light-off signal and a light-on signal, and the vehicle light control signal is a periodic signal; The safety recovery module 130 is used to restore the vehicle lights to a fully lit state in response to obtaining a light-on signal during the process of controlling the vehicle lights to gradually turn off.

[0052] The vehicle light control device 100 provided in the present application adopts the vehicle light control method in the above embodiment, and can solve the technical problem of how to ensure safe control of vehicle lights on the basis of cost saving. Compared with the prior art, the beneficial effects of the vehicle light control device 100 provided in the present application are the same as the beneficial effects of the vehicle light control method provided in the above embodiment, and other technical features in the vehicle light control device 100 are the same as the features disclosed in the above embodiment method, which will not be described in detail here.

[0053] The present application provides a vehicle light control device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the vehicle light control method in the above-mentioned embodiment 1.

[0054] Reference below Figure 6, which shows a schematic diagram of the structure of a vehicle light control device suitable for implementing the embodiment of the present application. The vehicle light control device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The vehicle light control device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0055] like Figure 6 As shown, the vehicle light control device 200 may include a processing device 210 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 220 or a program loaded from a storage device 230 to a random access memory (RAM: Random Access Memory) 240. In RAM240, various programs and data required for the operation of the vehicle light control device are also stored. The processing device 210, ROM220, and RAM240 are connected to each other through a bus 250. An input / output (I / O) interface 260 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 260: an input device 270 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 280 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 230 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 290. The communication device 290 can allow the vehicle light control device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a vehicle light control device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0056] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through a communication device, or installed from the storage device 230, or installed from the ROM 220. When the computer program is executed by the processing device 210, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0057] The vehicle light control device provided by the present application adopts the vehicle light control method in the above embodiment, which can solve the technical problem of how to ensure the safe control of vehicle lights on the basis of cost saving. Compared with the prior art, the beneficial effects of the vehicle light control device provided by the present application are the same as the beneficial effects of the vehicle light control method provided by the above embodiment, and the other technical features in the vehicle light control device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0058] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0059] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0060] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the vehicle light control method in the above-mentioned embodiment.

[0061] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.

[0062] The computer-readable storage medium may be included in the vehicle light control device; or may exist independently without being assembled into the vehicle light control device.

[0063] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the headlight control device, the headlight control device can write computer program codes for performing the operations of the present application in one or more programming languages ​​or a combination thereof. The programming languages ​​include object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed completely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, through the Internet using an Internet service provider).

[0064] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0065] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0066] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned vehicle light control method, and can solve the technical problem of how to ensure the safe control of vehicle lights on the basis of cost saving. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the vehicle light control method provided by the above-mentioned embodiment, and will not be elaborated here.

[0067] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned vehicle light control method when executed by a processor.

[0068] The computer program product provided by the present application can solve the technical problem of how to ensure the safe control of vehicle lights on the basis of cost saving. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the vehicle light control method provided by the above embodiment, which will not be described in detail here.

[0069] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A vehicle light control method, characterized in that: The vehicle light control method comprises: In response to obtaining the light-off signal, obtaining the current operating state of the vehicle; When the vehicle is currently in a driving state, the vehicle lights are controlled to be gradually turned off according to a preset light-off curve, and a vehicle light control signal is continuously obtained, wherein the vehicle light control signal includes a light-off signal and a light-on signal, and the vehicle light control signal is a periodic signal; In the process of controlling the vehicle lights to gradually turn off, in response to obtaining a light-on signal, the vehicle lights are restored to a fully lit state.

2. The vehicle light control method according to claim 1, characterized in that: The step of obtaining the current running state of the vehicle in response to obtaining the light-off signal includes: In response to obtaining the light-off signal, obtaining an ignition signal of the vehicle; When the ignition signal is on, determining that the vehicle is currently in a driving state; When the ignition signal is turned off, it is determined that the vehicle is currently in a stationary state.

3. The vehicle light control method according to claim 2, characterized in that: After obtaining the current running state of the vehicle in response to obtaining the light-off signal, the method further includes: When the vehicle is currently stationary, the vehicle lights are controlled to be completely turned off.

4. The vehicle light control method according to claim 2, characterized in that: The preset light-off curve is a curve of change between the brightness of the light source and time. When the brightness of the light source is at a maximum value, the headlights are fully lit, and when the brightness of the light source is 0, the headlights are completely extinguished.

5. The vehicle light control method according to claim 2, characterized in that: The time variation value of the preset light-extinguishing curve is greater than a sending cycle of the vehicle light control signal.

6. The vehicle light control method according to claim 1, characterized in that: The method further comprises: In the process of controlling the vehicle lights to be gradually turned off, in response to obtaining a light-off signal again, the vehicle lights are continuously controlled to be gradually turned off until the vehicle lights are completely turned off.

7. A vehicle light control device, characterized in that: The vehicle light control device comprises: A signal response module, used for obtaining the current running state of the vehicle in response to obtaining the light-off signal; A headlight control module, used to control the headlights to gradually turn off according to a preset headlight turning-off curve when the vehicle is currently in a driving state, and continuously obtain a headlight control signal of the vehicle, wherein the headlight control signal includes a headlight turning-off signal and a headlight turning-on signal, and the headlight control signal is a periodic signal; The safety recovery module is used to restore the vehicle lights to a fully lit state in response to obtaining a light-on signal during the process of controlling the vehicle lights to gradually turn off.

8. A vehicle light control device, characterized in that: The vehicle light control device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the vehicle light control method according to any one of claims 1 to 6.

9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the vehicle light control method according to any one of claims 1 to 6 are implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the vehicle light control method according to any one of claims 1 to 6 are implemented.