Vehicle lamp control method and device, electronic equipment and computer readable storage medium
Through the vehicle's headlight control method, the light speech mode is edited and analyzed to achieve control of ordinary vehicle lamps, solving the problem that mid- and low-end models are difficult to carry high-end lighting equipment, meeting users' personalized needs and improving the visual effect of the vehicle.
Patent Information
- Application Number
- CN202411998324.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-15
AI Technical Summary
It is difficult for mid- and low-end models to be equipped with digital projection headlights and interactive taillights, which affects the user experience.
Different lighting effects are achieved through the vehicle's headlights, and the vehicle light control method is adopted, including editing the editing light language mode in response to receiving the light language mode editing instruction, obtaining the target light language mode, and controlling the corresponding lights according to the mode parameters of each light in the vehicle.
It realizes the execution of different lighting modes through ordinary vehicle lighting fixtures at low cost, meets users' personalized needs and improves the unique visual effect of the vehicle.
Smart Images

Figure CN119835841A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a vehicle light control method, a vehicle light control device, an electronic device and a computer-readable storage medium. Background Art
[0002] With the rapid development of vehicle technology, vehicles are no longer limited to basic driving functions, but also need to meet users' aesthetic needs. Lighting is a tool that can meet personalized needs. Currently, many vehicles will be equipped with additional digital projection headlights and interactive taillights to achieve different styles of light shows. However, the circuits of digital projection headlights and interactive taillights are complex and expensive, and it is difficult for mid- and low-end models to be equipped, which affects the user experience. Summary of the invention
[0003] The main technical problem solved by the present application is to provide a vehicle light control method, a vehicle light control device, an electronic device and a computer-readable storage medium, which can achieve different lighting effects through the vehicle lights.
[0004] In order to solve the above technical problems, a technical solution adopted in the present application is: a vehicle light control method is provided, the method comprising: in response to receiving a light language mode editing instruction, editing the light language mode to be edited in the light language mode editing instruction to obtain a target light language mode; parsing the target light language mode to obtain mode parameters of each vehicle light in the vehicle; and controlling the corresponding vehicle lights according to the mode parameters of each vehicle light in the vehicle.
[0005] In some embodiments, the light language mode includes at least one control element, and the step of editing the light language mode to be edited in the light language mode editing instruction to obtain the target light language mode includes: obtaining the target parameters of the control element from the light language mode editing instruction; replacing the initial parameters of the corresponding control element in the light language mode according to the target parameters of the control element in the light language mode editing instruction to obtain the target light language mode.
[0006] In some embodiments, the control element includes a vehicle light timing, and the step of replacing the initial parameters of the corresponding control element in the light language pattern according to the target parameters of the control element in the light language mode editing instruction to obtain the target light language mode includes: in response to the control element in the light language mode editing instruction including the vehicle light timing, obtaining the target parameters of the vehicle light timing from the light language mode editing instruction; replacing the initial parameters of the vehicle light timing in the light language pattern with the target parameters of the vehicle light timing to obtain the target light language mode.
[0007] In some embodiments, the mode parameters include light timing and light brightness, and the step of controlling and processing the corresponding lights according to the mode parameters of each light in the vehicle includes: obtaining the light timing of each light in the vehicle; controlling and processing the corresponding lights according to the light brightness of each light from morning to night according to the light timing of each light.
[0008] In some embodiments, the mode parameters of each headlight include headlight brightness and headlight frequency. Before the step of controlling and processing the corresponding headlights according to the mode parameters of each headlight in the vehicle, the method further includes: determining whether the headlight brightness of each headlight is greater than a preset headlight brightness, and / or whether the headlight frequency of each headlight is greater than a preset headlight frequency; if so, adjusting the headlight brightness of the corresponding headlight to the preset headlight brightness, and / or adjusting the headlight frequency of the corresponding headlight to the preset headlight frequency, to obtain the mode parameters of each headlight.
[0009] In some embodiments, the step of controlling and processing the corresponding lights in the vehicle according to the mode parameters of each light includes: in the process of controlling each light to be processed according to the corresponding mode parameters, detecting the actual light brightness and the actual light frequency of each light; in response to the actual light brightness of each light being greater than the preset light brightness, and / or the actual light frequency of each light being greater than the preset light frequency, reducing the actual light brightness and / or the actual light frequency of the corresponding light.
[0010] In some embodiments, the step of controlling and processing the corresponding lights in the vehicle according to the mode parameters of each light includes detecting the execution results of each light during the process of controlling each light to be processed according to the corresponding mode parameters; in response to the existence of an execution result of a light indicating an execution failure, converting the vehicle from the target light language mode to the standard light language mode.
[0011] In order to solve the above technical problems, another technical solution adopted in the present application is: a vehicle light control device is provided, the device comprising: an editing module, an analysis module and a control module, the editing module is used for editing the light language pattern to be edited in the light language pattern editing instruction in response to receiving a light language pattern editing instruction, and obtaining a target light language pattern; the analysis module is used for analyzing the target light language pattern and obtaining the mode parameters of each vehicle light in the vehicle; the control module is used for controlling the corresponding vehicle light according to the mode parameters of each vehicle light in the vehicle.
[0012] In order to solve the above technical problems, another technical solution adopted in the present application is: to provide an electronic device, including a memory and a processor, the memory storing program instructions, and the processor calling the program instructions from the memory to execute the above-mentioned vehicle light control method.
[0013] In order to solve the above technical problems, another technical solution adopted by the present application is: providing a computer-readable storage medium including program data stored therein, wherein the program data is used to implement the above vehicle light control method when executed by a processor.
[0014] In the above scheme, in response to receiving a light language mode editing instruction, the light language mode to be edited in the light language mode editing instruction is edited to obtain a target light language mode. In this way, custom editing of the light language mode can be achieved to meet personalized needs. After that, the target light language mode is parsed to obtain the mode parameters of each headlight in the vehicle; the corresponding headlights are controlled according to the mode parameters of each headlight in the vehicle. In this way, the light language mode can be executed based on the headlights of the vehicle without the need for additional equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] 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 are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work, among which:
[0016] Figure 1 is a flowchart of an exemplary embodiment of a vehicle light control method shown in the present application;
[0017] Figure 2 yes Figure 1 A flow chart of an exemplary embodiment of step S110 in the vehicle light control method is shown;
[0018] Figure 3 A schematic structural diagram of an exemplary embodiment of a vehicle light control device shown in the present application;
[0019] Figure 4 It is a structural schematic diagram of an embodiment of an electronic device provided by the present application;
[0020] Figure 5 It is a structural schematic diagram of an embodiment of a computer-readable storage medium provided by the present application. DETAILED DESCRIPTION
[0021] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It will be appreciated that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only some but not all structures related to the present application are shown in the drawings. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the art without making creative work are within the scope of protection of the present application.
[0022] As an essential part of a vehicle, headlights usually play a role in lighting. At present, many automobile manufacturers will design different headlight shapes to beautify the appearance of the car, but few of them beautify the headlights. Based on this, the present application proposes a headlight control method, a headlight control device, an electronic device and a computer-readable storage medium, which can meet different lighting effects based on vehicle headlights and meet the personalized needs of users. For details, please refer to Figure 1 , Figure 1 It is a flowchart of an exemplary embodiment of a vehicle light control method shown in the present application.
[0023] The execution subject of the vehicle light control method may be a terminal device or a server or other processing device, wherein the terminal device may be a user equipment (UE), a computer, a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. The execution subject of the vehicle light control method may also be a vehicle light control device. In some possible implementations, the vehicle light control method may be implemented by a processor calling a computer-readable instruction stored in a memory.
[0024] Specifically, the vehicle light control method of this embodiment includes the following steps:
[0025] S110: In response to receiving the light language mode editing instruction, the light language mode to be edited in the light language mode editing instruction is edited to obtain a target light language mode.
[0026] The light language mode editing instruction is used to instruct the corresponding light language mode to be edited. Exemplarily, in response to receiving a change operation of the light language mode by the target object, a light language mode editing instruction is generated based on the change operation. The target object may be a user or a change instruction stored locally in the vehicle light control device. When the target object is a user, the user may enter the light setting menu through an interactive interface, such as the central control screen, and select the light language mode switch. The vehicle light control device receives the user's change operation and generates a light language mode editing instruction based on the change operation.
[0027] The light language mode to be edited refers to the light language mode to be changed. The headlight control device has multiple built-in light language modes, such as dynamic flowing lights, breathing lights, flashing lights, etc. Each light language mode includes at least one control element, and each control element can be edited to achieve different lighting effects. In some embodiments, the parameters of the control elements of each light language mode can be customized by the user. If the user does not customize it, the headlights are controlled according to the initial parameters of each control element. In other embodiments, different light language modes can also be determined according to the driving mode of the vehicle. In other embodiments, different light language modes can also be determined according to the driving scene of the vehicle, such as parking, unlocking, etc. After the headlight control device recognizes the corresponding driving scene, it automatically switches to the corresponding light language mode.
[0028] The target light language mode is the light language mode finally executed by the vehicle light control device. Exemplarily, after receiving the light language mode editing instruction, the corresponding light language mode to be edited is determined from the light language mode editing instruction, and then the corresponding light language mode to be edited is edited to obtain the target light language mode. Among them, the vehicle light control device has multiple light language modes built in, and the user can edit only some of the light language modes. The light language mode that is edited selects the light language mode after the editing as the target light language mode, and the light language mode that is not edited is also retained as the target light language mode.
[0029] S120: Analyze the target light language pattern to obtain the pattern parameters of each headlight in the vehicle.
[0030] The lights in the vehicle include lights used for lighting, signal transmission, etc. Exemplarily, the lights in the vehicle include ordinary lights such as headlights, taillights, fog lights, turn signals, and daytime running lights. Thus, dynamic lighting effects can be achieved by controlling ordinary lights in the vehicle. The lights in the vehicle are driven by corresponding control modules, which are connected to the central domain controller in communication, receive corresponding mode parameters, and drive the lights according to the mode parameters.
[0031] Mode parameters refer to mode parameters of the headlights in different light language modes. For example, the mode parameters include but are not limited to parameters such as headlight brightness, headlight timing, headlight frequency, and headlight brightness change curve.
[0032] S130: Control the corresponding lights in the vehicle according to the mode parameters of the lights.
[0033] After determining the mode parameters of each headlight in the vehicle, the headlight control device controls the corresponding headlight according to the mode parameters of each headlight in the vehicle. As an example, a headlight control device receives a light language pattern editing instruction, for example, the light language pattern editing instruction includes an editing operation on a dynamic flowing light, which lights up each headlight in sequence according to the headlight timing to simulate the effect of water flow, thereby producing a gradual, flowing visual effect; the dynamic flowing light is then edited and processed according to the light language pattern editing instruction, for example, the execution headlight group of the dynamic flowing light can be adjusted, that is, determining which headlights in the vehicle participate in the dynamic flowing light, and the headlight brightness, headlight frequency, headlight timing, etc. of each participating headlight in the dynamic flowing light can also be adjusted; the vehicle scene of the dynamic flowing light can also be adjusted, that is, in what driving scene the vehicle is in to execute the dynamic flowing light; the edited dynamic flowing light is determined as the target light language pattern; the target light language pattern is parsed and processed to obtain the mode parameters of each headlight in the vehicle; then when the vehicle is in the vehicle scene of the dynamic flowing light, each headlight is controlled to execute according to the corresponding mode parameters to obtain the corresponding lighting effect.
[0034] It can be seen that in response to receiving a light language mode editing instruction, the vehicle light control method of the embodiment of the present application edits the light language mode to be edited in the light language mode editing instruction to obtain a target light language mode. This allows custom editing of the light language mode to meet personalized needs. The target light language mode is then parsed to obtain the mode parameters of each vehicle light; the corresponding vehicle lights are controlled according to the mode parameters of each vehicle light. In this way, the light language mode can be executed based on the vehicle lights without the need for additional equipment.
[0035] Based on the above embodiments, the embodiments of the present application adopt Figure 2 The flowchart explains in detail how to edit the light language mode. To get the target light language mode, please refer to Figure 2 , Figure 2 yes Figure 1 The flowchart of an exemplary embodiment of step S110 in the vehicle light control method is shown. Specifically, step S110 edits the light language mode to be edited in the light language mode editing instruction, and the process of obtaining the target light language mode specifically includes the following steps:
[0036] S210: Obtain target parameters of the control element from the light language mode editing instruction.
[0037] Control elements refer to the elements in the light language mode that can be changed. Control elements include but are not limited to the execution light group, light timing, light frequency, light brightness, light brightness change curve, light color, etc. in the light language mode. By adjusting the parameters of the control elements, different lighting effects can be achieved.
[0038] The target parameter is the parameter of the control element after the change. As an example, when the user adjusts the execution light group of the dynamic flowing light through the central control screen, and adjusts the original headlights and taillights to headlights, fog lights and taillights, the light control device receives the user's change operation and generates a corresponding light language mode editing instruction; obtains the target parameters of the execution light group of the dynamic flowing light in the light language mode editing instruction, namely, headlights, fog lights and taillights; and adjusts the parameters of the execution light group in the dynamic flowing light to headlights, fog lights and taillights.
[0039] S220: replacing the initial parameters of the corresponding control elements in the light language mode according to the target parameters of the control elements in the light language mode editing instruction to obtain the target light language mode.
[0040] In some embodiments, after the headlight control device obtains the target parameters of the control elements from the light language mode editing instruction, it replaces the initial parameters of the corresponding control elements in the corresponding light language mode with the target parameters to obtain the target light language mode. In other embodiments, after the headlight control device obtains the target parameters of the control elements from the light language mode editing instruction, it detects whether the target parameters are compliant. If not, the replacement fails and prompts the user that the target parameters are not compliant. This ensures that the operation is within a safe range and avoids interference with other road users.
[0041] As an example, the control element includes the light timing. In response to the control element in the light language mode editing instruction including the light timing, the target parameters of the light timing are obtained from the light language mode editing instruction; the initial parameters of the light timing in the light language mode are replaced with the target parameters of the light timing to obtain the target light language mode. The light timing includes the execution order of each light and the interval time period of each light. For example, the target parameter of the light timing can be the execution order of the lights. The executing light group includes the headlights, fog lights and tail lights, starting from the headlights, and lighting up from left to right in sequence. The interval time period for lighting each light is 100 milliseconds.
[0042] As another example, the control element includes the brightness of the headlights. In response to the control element in the light language mode editing instruction including the brightness of the headlights, the target parameter of the headlight brightness is obtained from the light language mode editing instruction; the initial parameter of the headlight brightness of each headlight in the light language mode is replaced with the target parameter to obtain the target light language mode. The target parameter of the headlight brightness includes the headlight brightness of each headlight in the execution headlight group.
[0043] As another example, the control element includes the headlight frequency. In response to the control element in the light language pattern editing instruction including the headlight frequency, the target parameters of the headlight frequency are obtained from the light language pattern editing instruction; the initial parameters of the headlight frequency of each headlight in the light language pattern are replaced with the target parameters to obtain the target light language pattern.
[0044] As another example, in response to the control elements in the light language mode editing instruction including the light timing, light brightness and light frequency, the target parameters of the light timing, light brightness and light frequency are obtained from the light language mode editing instruction; the initial parameters of the light timing of each light in the light language mode are replaced with the target parameters of the light timing, the initial parameters of the light brightness of each light are replaced with the target parameters of the light brightness, and the initial parameters of the light frequency of each light are replaced with the target parameters of the light frequency to obtain the target light language mode. This is just an example and does not limit the control elements of the light language mode. The control elements may also include executing light groups, light brightness change curves and light colors, etc.
[0045] Furthermore, after obtaining the target light language pattern, the headlight control device parses and processes the target light language pattern to obtain the pattern parameters of each headlight, and controls each headlight according to the pattern parameters of each headlight to achieve a corresponding lighting effect.
[0046] Among them, as an example, the mode parameters include light timing and light brightness. The steps of controlling and processing the corresponding lights according to the mode parameters of each light in the vehicle include: obtaining the light timing of each light in the vehicle; controlling and processing the corresponding lights according to the light brightness of each light from morning to night according to the light timing of each light.
[0047] The headlight control device first determines the headlight timing of each headlight from the mode parameters of each headlight, sorts the headlights, and determines the interval time period for lighting adjacent headlights; then, starting from the headlight with the first order, it lights up the headlight with the corresponding headlight brightness; then, after the interval time period, it lights up the headlight with the brightness of the second order headlight until all the headlights in the target light language mode are controlled.
[0048] As another example, the mode parameters include not only the light timing and light brightness, but also the light frequency. After the light control device determines the light timing of each light, when it is the turn of a light, it will be lit according to the light brightness and frequency corresponding to the light.
[0049] Taking the dynamic flowing lights as an example, the vehicle scene corresponding to the dynamic flowing lights can unlock the vehicle, and the headlights and taillights light up in sequence, forming a flow effect from left to right, highlighting the sense of technology and ritual. The timing of the dynamic flowing lights starts with the headlights, and gradually lights up the headlights and taillights from left to right, that is, the left front headlight lights up first, the right front headlight second, the right rear taillight third, and the left rear taillight lights up last. The lighting interval time period between each headlight is 100ms, that is, when the left front headlight lights up 100ms, the right front headlight lights up again; the headlight brightness of each headlight in the dynamic flowing lights is 400cd (candela), and the headlight brightness when it is off is 0cd; the cycle frequency of all lights in the dynamic flowing lights is 1HZ (Hertz).
[0050] It should be noted that in order to ensure the safe execution of each light language mode, before the step of controlling the corresponding lights according to the mode parameters of each light in the vehicle, the following steps are also included: judging whether the light brightness of each light is greater than the preset light brightness, and / or whether the light frequency of each light is greater than the preset light frequency; if so, adjusting the light brightness of the corresponding light to the preset light brightness, and / or adjusting the light frequency of the corresponding light to the preset light frequency, and obtaining the mode parameters of each light. This ensures that the light brightness and light frequency of each light will not exceed the preset value, and improves the safety of the light language mode.
[0051] Among them, after receiving the corresponding light language mode editing instruction, it is determined whether the target parameters of the control elements in the light language mode editing instruction are compliant. In some embodiments, the headlight control device can determine whether the headlight brightness of each headlight is greater than the preset headlight brightness. If it is greater, the headlight brightness of each headlight is adjusted to the preset headlight brightness to ensure that the headlight brightness is within the preset headlight brightness range. In other embodiments, the headlight control device can determine whether the headlight frequency of each headlight is greater than the preset headlight frequency. If it is greater, the headlight frequency of each headlight is adjusted to the preset headlight frequency to ensure that the headlight brightness is within the preset headlight frequency range. In other embodiments, the headlight control device can also determine whether the headlight brightness of each headlight is greater than the preset headlight brightness, and whether the headlight frequency of each headlight is greater than the preset headlight frequency. If both are greater, the headlight brightness of the corresponding headlight is adjusted to the preset headlight brightness and the headlight frequency of the corresponding headlight is adjusted to the preset headlight frequency.
[0052] In other embodiments, the headlight control device determines whether the headlight brightness of each headlight is greater than a preset headlight brightness, and / or whether the headlight frequency of each headlight is greater than a preset headlight frequency. If there is a headlight whose brightness is greater than the preset headlight brightness or whose frequency is greater than the preset headlight frequency, the modification is rejected, the initial parameters are still maintained, and the user is informed of the safe brightness range and safe frequency range.
[0053] Furthermore, during the execution of the light language mode, the actual headlight brightness and actual headlight frequency of each headlight can also be detected in real time to determine whether the actual headlight brightness of each headlight exceeds the preset headlight brightness, and whether the actual headlight frequency of each headlight exceeds the preset headlight frequency. Once an abnormality exceeding the preset range is found, the headlight control device can immediately adjust the headlight output parameters to a safe range, and at the same time prompt the user to reconfigure on the central control screen. Exemplarily, during the process of controlling each headlight to process according to the corresponding mode parameters, the actual headlight brightness and actual headlight frequency of each headlight are detected; in response to the actual headlight brightness of each headlight being greater than the preset headlight brightness, and / or the actual headlight frequency of each headlight being greater than the preset headlight frequency, the actual headlight brightness and / or actual headlight frequency of the corresponding headlight are adjusted down.
[0054] As an example, when controlling each headlight according to the corresponding mode parameters, it is detected whether the actual headlight brightness of each headlight is greater than the preset headlight brightness. If so, the actual headlight brightness of the corresponding headlight is reduced, for example, it can be adjusted to the preset headlight brightness.
[0055] As another example, when controlling each headlight according to the corresponding mode parameters, it is detected whether the actual headlight frequency of each headlight is greater than the preset headlight frequency. If so, the actual headlight frequency of the corresponding headlight is adjusted down, for example, it can be adjusted to the preset headlight frequency.
[0056] As another example, in the process of controlling each headlight to perform processing according to the corresponding mode parameters, it is detected whether the actual headlight brightness of each headlight is greater than the preset headlight brightness, and whether the actual headlight frequency of each headlight is greater than the preset headlight frequency. If there is a headlight whose actual headlight brightness is greater than the preset headlight brightness and whose actual headlight frequency is greater than the preset headlight frequency, the actual headlight brightness and the actual headlight frequency of the vehicle can be adjusted down. For example, the actual headlight brightness can be adjusted to the preset headlight brightness, and the actual headlight frequency can be adjusted to the preset headlight frequency.
[0057] Among them, the preset headlight brightness and preset headlight frequency can be set according to relevant regulations, such as ECE R48 regulations, or can be obtained according to experiments. For example, the preset headlight brightness can be set in the range of 100cd-500cd according to the headlight type and scene, and the preset headlight frequency can be set in the range of 0.5Hz-4Hz. The preset headlight frequency is generally used to limit the strobe or flow effect of dynamic light language to prevent visual fatigue or interference with other road users. In an application scenario, if the parameters entered by the user exceed the safe range, a prompt will pop up on the central control screen and force the parameters to be adjusted to the maximum or minimum value that meets the requirements.
[0058] Furthermore, when an abnormality occurs in the execution of the light language mode, the vehicle can be switched to the standard light language mode to avoid affecting the normal driving of the user. Specifically, in the process of controlling each headlight to process according to the corresponding mode parameters, the execution result of each headlight is detected; in response to the execution result of a headlight indicating execution failure, the vehicle is switched from the target light language mode to the standard light language mode.
[0059] Among them, the execution result characterizes the following situations when the execution fails: the communication between the headlight and the headlight control device is interrupted, the headlight cannot execute the command, etc. After the execution result characterizes the execution failure of the headlight, the vehicle will be converted from the target light language mode to the standard light language mode to ensure minimum interference and safety reliability. As an example, the mode parameters of each headlight in the standard light language mode include: headlights: low beam brightness: 500cd~1200cd, constant lighting, no dynamic effect; high beam brightness: 1500cd~2000cd, manually activated when the driver needs it; daytime running lights (DRL): brightness: 400cd, continuous lighting, no flickering; taillights: brightness: 120cd, static lighting to avoid light interference to the rear driver; turn signal: frequency: 1.5Hz, 50% duty cycle, brightness of 300cd.
[0060] Finally, it should be noted that the prerequisite for controlling the corresponding lights according to the mode parameters of each light in the vehicle is that the vehicle must be stationary, that is, the speed is less than or equal to 3km / h, and the central control light language switch of the central control screen is on, and the vehicle is in a specific scenario, such as unlocking, locking, charging, parking, etc.
[0061] The above-mentioned vehicle light control method is elaborated in detail. The vehicle light control device includes a central control large screen IVI, AHLL / AHLR (left and right headlight control modules), HPC (central domain controller) and CAN / LIN (bus network). The central control large screen is the input interface for users to select different light language modes; AHLL / AHLR (left and right headlight control modules) receives HPC instructions and is responsible for switching different light language modes; HPC (central domain controller) is used to control each vehicle light group to perform different lighting effects; CAN / LIN (bus network) is used for data communication between controllers. The user enters the "Lighting Settings" menu through the central control screen and selects "Lighting Mode Switching"; the headlight control device provides a variety of light language modes, which can be customized according to user preferences or driving modes; when the user selects a certain light language mode on the central control screen interface, the central control screen generates the corresponding light language mode editing instructions, and edits the light language mode to be edited according to the light language mode editing instructions to obtain the target light language mode, and sends the target light language mode to the HPC through the CAN or LIN bus; after the HPC receives the target light language mode, it parses the target light language mode to obtain the mode parameters of each headlight; the HPC sends a control signal to the corresponding light drive module according to the mode parameters of each headlight, and drives the corresponding headlight according to the preset mode parameters; each light language mode has different headlight timing and brightness change curves, and controls the headlights, taillights, daytime running lights, etc. to coordinate and cooperate. In addition, users can also choose preset light language modes or custom edits, and adjust the specific details of each light language mode, such as headlight color and headlight frequency, through the central control screen.
[0062] During the execution of the light language mode, the headlight control device will first identify the current driving scene of the vehicle and automatically switch to the corresponding light language mode; the central control screen will display the currently activated light language mode in real time, and the user can change it at any time. HPC will also monitor the execution of each light language mode to ensure that it operates within a safe brightness range and frequency to avoid interference with other road users. If a system abnormality is detected (such as the headlights cannot execute instructions or communication is interrupted), the controller will switch back to the default standard lighting mode and display a fault prompt on the central control screen.
[0063] Therefore, this application only uses ordinary lamps of the vehicle at a low cost to complete the execution of different light language modes, adopts a multi-level display algorithm, and displays different animation effects on multiple execution lamp groups, realizing complex and multiple lighting effects, making the vehicle have a more unique visual effect. In addition, the lamp control device also supports connection with smart phones or smart home devices. Users can remotely trigger or program the vehicle's light language mode through mobile phone software, such as triggering a welcome light show in the home mode, to enhance the intelligent experience.
[0064] As an example, after the user selects the "dynamic water flow light mode" through the central control screen, the central domain controller (HPC) generates the corresponding animation instructions; the HPC sends the target parameters including the light timing, light brightness and light frequency to the light driver module (such as AHLR / AHLL) through the CAN bus; after receiving the instructions, each light driver module gradually drives the corresponding lights to light up according to the preset light timing and light brightness change curve, and the headlights and taillights complete the water flow animation synchronously; during the execution of the dynamic water flow light mode, the HPC monitors the light feedback information in real time. If a light fails to complete the animation on time, or the light parameters are abnormal and exceed the safety range, the system will switch to the standard light mode, and prompt the user of the system failure on the central control screen, and record the error information for subsequent diagnosis.
[0065] See also Figure 3 , Figure 3 3 is a schematic diagram of an exemplary embodiment of a vehicle light control device shown in the present application. The vehicle light control device 300 includes an editing module 310, a parsing module 320 and a control module 330. The editing module 310 is used to edit the light language mode to be edited in the light language mode editing instruction in response to receiving the light language mode editing instruction, and obtain the target light language mode; the parsing module 320 is used to parse the target light language mode and obtain the mode parameters of each vehicle light in the vehicle; the control module 330 is used to control the corresponding vehicle light according to the mode parameters of each vehicle light in the vehicle.
[0066] In the above scheme, in response to receiving the light language mode editing instruction, the headlight control device edits the light language mode to be edited in the light language mode editing instruction to obtain the target light language mode. In this way, the light language mode can be customized to meet personalized needs. After that, the target light language mode is parsed to obtain the mode parameters of each headlight in the vehicle; the corresponding headlights are controlled according to the mode parameters of each headlight in the vehicle. In this way, the light language mode can be executed based on the headlights of the vehicle without the need for additional equipment.
[0067] The functions of each module can be found in the embodiment of the vehicle light control method, which will not be described in detail here.
[0068] In order to implement the vehicle light control method of the above embodiment, the present application proposes another electronic device, for details, please refer to Figure 4 , Figure 4 It is a structural schematic diagram of an embodiment of an electronic device provided by the present application.
[0069] The electronic device 400 includes a memory 410 and a processor 420 , wherein the memory 410 and the processor 420 are coupled.
[0070] The memory 410 is used to store program data, and the processor 420 is used to execute the program data to implement the vehicle light control method of the above embodiment.
[0071] In this embodiment, the processor 420 may also be referred to as a CPU (Central Processing Unit). The processor 420 may be an integrated circuit chip having signal processing capabilities. The processor 420 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. A general-purpose processor may be a microprocessor or the processor 420 may also be any conventional processor, etc.
[0072] The present application also provides a computer-readable storage medium, such as Figure 5 As shown, the computer-readable storage medium 500 is used to store program data 510. When the program data 510 is executed by the processor, it is used to implement the vehicle light control method in the method embodiment of the present application.
[0073] The method involved in the embodiment of the vehicle light control method of the present application, when implemented in the form of a software functional unit and sold or used as an independent product, can be stored in a device, such as a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0074] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also 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 receiving the light language mode editing instruction, editing the light language mode to be edited in the light language mode editing instruction to obtain a target light language mode; Analyzing the target light language pattern to obtain the pattern parameters of each headlight in the vehicle; The corresponding headlights in the vehicle are controlled and processed according to the mode parameters of the headlights.
2. The vehicle light control method according to claim 1, characterized in that: The light language mode includes at least one control element, and the step of editing the light language mode to be edited in the light language mode editing instruction to obtain the target light language mode includes: Obtaining target parameters of control elements from the light language mode editing instruction; The initial parameters of the corresponding control elements in the light language mode are replaced according to the target parameters of the control elements in the light language mode editing instruction to obtain the target light language mode.
3. The vehicle light control method according to claim 2, characterized in that: The control element includes a vehicle light timing sequence, and the step of replacing the initial parameters of the corresponding control elements in the light language mode according to the target parameters of the control elements in the light language mode editing instruction to obtain the target light language mode includes: In response to the control element in the light language mode editing instruction including a vehicle light timing sequence, obtaining a target parameter of the vehicle light timing sequence from the light language mode editing instruction; The initial parameters of the vehicle light timing in the light language pattern are replaced with the target parameters of the vehicle light timing to obtain the target light language pattern.
4. The vehicle light control method according to claim 1, characterized in that: The mode parameters include the timing of the lights and the brightness of the lights. The step of controlling the corresponding lights according to the mode parameters of the lights in the vehicle includes: Obtaining a light timing of each light in the vehicle; According to the light timing of each light from morning to night, the corresponding light is controlled and processed according to the light brightness of each light.
5. The vehicle light control method according to claim 1, characterized in that: The mode parameters of each headlight include headlight brightness and headlight frequency. Before the step of controlling the corresponding headlight according to the mode parameters of each headlight in the vehicle, the method further includes: Determine whether the headlight brightness of each headlight is greater than a preset headlight brightness, and / or whether the headlight frequency of each headlight is greater than a preset headlight frequency; If so, the headlight brightness of the corresponding headlight is adjusted to the preset headlight brightness, and / or the headlight frequency of the corresponding headlight is adjusted to the preset headlight frequency to obtain the mode parameters of each headlight.
6. The vehicle light control method according to claim 1, characterized in that: The step of controlling the corresponding headlights according to the mode parameters of the headlights in the vehicle comprises: In the process of controlling each lamp to process according to the corresponding mode parameters, detecting the actual lamp brightness and actual lamp frequency of each lamp; In response to the actual headlight brightness of each headlight being greater than the preset headlight brightness, and / or the actual headlight frequency of each headlight being greater than the preset headlight frequency, the actual headlight brightness and / or the actual headlight frequency of the corresponding headlight are reduced.
7. The vehicle light control method according to claim 1, characterized in that: The light language mode includes a standard light language mode, and the step of controlling the corresponding lights according to the mode parameters of each light in the vehicle includes: In the process of controlling each headlight to process according to the corresponding mode parameters, detecting the execution result of each headlight; In response to the existence of an execution result of a vehicle light indicating execution failure, the vehicle is converted from the target light language mode to a standard light language mode.
8. A vehicle light control device, characterized in that: The device comprises: An editing module, configured to edit the light language pattern to be edited in the light language pattern editing instruction in response to receiving the light language pattern editing instruction, to obtain a target light language pattern; A parsing module, used for parsing the target light language pattern to obtain the pattern parameters of each headlight in the vehicle; The control module is used to control the corresponding headlights in the vehicle according to the mode parameters of the headlights.
9. An electronic device, characterized in that: include: A memory and a processor, wherein the memory stores program instructions, and the processor retrieves the program instructions from the memory to execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: include: Program data is stored, and when the program data is executed by a processor, it is used to implement the method according to any one of claims 1 to 7.