Vehicle and vehicle-mounted atmosphere lamp control method and related device thereof

By generating and reading timing control data, the problem of difficulty in achieving complex lighting effects in vehicle-mounted ambient lights in the existing technology is solved, and the display effect and driving experience of the vehicle-mounted ambient lights are improved.

CN120812810APending Publication Date: 2025-10-17ZHEJIANG ZEEKR INTELLIGENT TECH CO LTD +2
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202511136909.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-14
Publication Date
2025-10-17

AI Technical Summary

Technical Problem

Existing technologies make it difficult to achieve complex or irregular vehicle ambient lighting effects, resulting in an insufficient driving experience.

Method used

By pre-generating timing control data, including the display data, display duration, and display timing of RGB LED particles, the target lighting effect of the vehicle ambient light can be directly read and controlled to avoid real-time calculation limitations.

Benefits of technology

Complex or irregular vehicle ambient lighting effects are achieved, improving the driving experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120812810A_ABST
    Figure CN120812810A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle, a vehicle-mounted atmosphere lamp control method thereof and a related device, and relates to the technical field of vehicle atmosphere lamps. The method comprises the steps that a detected control instruction for a vehicle-mounted atmosphere lamp is responded, time sequence control data corresponding to a target lamp effect are read, the control instruction is used for indicating and displaying the target lamp effect, and the time sequence control data comprise at least one set of control data; each group of control data comprises display data corresponding to RGB LED particles in the vehicle-mounted atmosphere lamp, a display time length and a display time sequence in the time sequence control data; and controlling the vehicle-mounted atmosphere lamp to display the target lamp effect according to the time sequence control data. According to the invention, the complex or irregular vehicle-mounted atmosphere lamp effect can be realized at the vehicle end, and the driving experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of vehicle ambient lighting, and in particular to a vehicle and a method for controlling its onboard ambient lighting and related devices. Background Art

[0002] With the advancement of automotive technology, ambient lighting is increasingly being incorporated into both interior and exterior vehicle designs. These lighting typically utilizes red, green, and blue (RGB) light-emitting diodes (LEDs), paired with light guides and coordinated with interior or exterior materials to create a variety of cool, immersive, and brand-specific cabin or exterior lighting scenarios. The use of RGB LEDs allows for a wider range of colorful effects and expands the potential of ambient lighting applications.

[0003] In related technologies, a car ambient light controller uses ambient light effect information to generate control signals corresponding to the ambient light effect information in real time, and then controls the RGB LED particles in the car ambient light based on the control signals. This method can achieve simple and regular ambient light effects such as breathing and gradual changes, but it is difficult to achieve more complex or irregular ambient light effects. Summary of the Invention

[0004] The embodiments of the present application provide a vehicle and a method and related device for controlling the vehicle-mounted ambient light, which can realize complex or irregular vehicle-mounted ambient light effects on the vehicle side and enhance the driving experience.

[0005] In a first aspect, an embodiment of the present application provides a method for controlling a vehicle ambient light, comprising:

[0006] In response to detecting a control instruction for the vehicle ambient light, reading timing control data corresponding to a target lighting effect, the control instruction being used to instruct display of the target lighting effect, the timing control data including at least one set of control data, each set of control data including display data corresponding to RGB LED particles in the vehicle ambient light, display duration, and display timing in the timing control data;

[0007] According to the timing control data, the vehicle ambient light is controlled to display the target lighting effect.

[0008] In one possible implementation, the timing control data is obtained in the following manner:

[0009] Get the target lighting effect;

[0010] If the target lighting effect is in video format, sampling a lighting effect image of the target lighting effect at a preset frame sampling rate to obtain a lighting effect image set, where the lighting effect image set includes at least one first lighting effect image;

[0011] According to the position information of the RGB LED particles in the vehicle ambient light, pixel points corresponding to the RGB LED particles in the first light effect image are sampled to obtain a second light effect image corresponding to the first light effect image;

[0012] For any second light effect image, display data corresponding to the second light effect image is obtained according to color coordinate values and brightness values of pixel points included in the second light effect image;

[0013] According to a preset frame sampling rate, a display duration corresponding to the second light effect image is obtained;

[0014] According to a sampling order of the second light effect image, a display timing corresponding to the second light effect image is obtained;

[0015] According to the display data, the display duration and the display timing corresponding to the second light effect image, timing control data for controlling the vehicle ambient light to realize a target light effect is generated.

[0016] In a possible implementation, according to the display data, the display duration and the display timing corresponding to the second light effect image, the timing control data for controlling the vehicle ambient light to realize the target light effect is generated, including:

[0017] According to the display timing, the display data and the display duration corresponding to the second light effect image are time-sequentially sorted to obtain the timing control data for controlling the vehicle ambient light to realize the target light effect.

[0018] In a possible implementation, according to the preset frame sampling rate, the display duration corresponding to the second light effect image is obtained, including:

[0019] According to the preset frame sampling rate, a sampling interval duration is determined;

[0020] The sampling interval duration is taken as the display duration corresponding to the second light effect image.

[0021] In a possible implementation, according to the timing control data, the vehicle ambient light displays the target light effect, including:

[0022] Based on the display timing, control data in a corresponding group included in the timing control data is read;

[0023] According to display data included in the corresponding group of control data, the RGB LED particles are controlled to display colors and brightness;

[0024] When a duration for which the RGB LED particles display the corresponding group of control data reaches a display duration corresponding to the display data, it is determined whether there is control data in a group corresponding to a next display timing;

[0025] If the step of reading the corresponding set of control data contained in the timing control data is performed based on the display timing.

[0026] In a possible implementation, the RGB LED particles are controlled to display colors and brightness according to the display data contained in the corresponding set of control data.

[0027] Color data for controlling the RGB LED particles to display colors is calculated according to the color coordinate values corresponding to the target light effect.

[0028] Brightness data for controlling the RGB LED particles to display brightness is calculated according to the brightness values corresponding to the target light effect.

[0029] The RGB LED particles are controlled to display colors and brightness according to the color data and the brightness data.

[0030] In a possible implementation, the timing control data is in binary or hexadecimal format.

[0031] In a second aspect, an embodiment of the present application provides a vehicle ambient light control device, including:

[0032] The reading module is configured to read timing control data corresponding to a target light effect in response to detecting a control instruction for the vehicle ambient light, the control instruction being used to instruct to display the target light effect, the timing control data including at least one set of control data, each set of control data containing display data corresponding to RGB LED particles in the vehicle ambient light, a display time length, and a display timing in the timing control data.

[0033] The control module is configured to control the vehicle ambient light to display the target light effect according to the timing control data.

[0034] In a third aspect, an embodiment of the present application provides a vehicle ambient light control device, including a memory and a processor.

[0035] The memory stores computer execution instructions.

[0036] The processor executes the computer execution instructions stored in the memory, so that the processor performs the first aspect and / or various possible implementations of the first aspect.

[0037] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, the computer readable storage medium storing computer execution instructions, the computer execution instructions being executed to implement the first aspect and / or various possible implementations of the first aspect.

[0038] In a fifth aspect, an embodiment of the present application provides a computer program product, comprising a computer program, which, when executed, implements the vehicle ambient light control method according to the first aspect and / or various possible implementation manners of the first aspect.

[0039] In a sixth aspect, an embodiment of the present application provides a vehicle, comprising: a vehicle body, and a vehicle ambient light controller and a vehicle ambient light arranged on the vehicle body;

[0040] The vehicle ambient light controller executes the vehicle ambient light control method according to the first aspect and / or various possible implementation manners of the first aspect to control the vehicle ambient light to display a target light effect.

[0041] The vehicle ambient light control method and related device provided by the embodiment of the present application, when detecting a control instruction for indicating a target light effect of a vehicle ambient light, directly reads time sequence control data corresponding to the target light effect, the time sequence control data comprising at least one group of control data, each group of control data containing display data corresponding to RGB LED particles in the vehicle ambient light, display duration, and display time sequence in the time sequence control data; according to the time sequence control data, the vehicle ambient light is controlled to display the target light effect, and the time sequence control data corresponding to the target light effect is pre-generated and stored by using a processor with more abundant computing resources in advance, without real-time generation by the vehicle, so that the vehicle ambient light can realize complex or irregular vehicle ambient light effects under the condition that the computing resources and storage resources of the vehicle are limited, and the driving experience is improved. BRIEF DESCRIPTION OF DRAWINGS

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

[0043] Figure 1 Flowchart of the vehicle ambient light control method provided by the embodiment of the present application Figure One ;

[0044] Figure 2 Schematic diagram of the time sequence control data provided by the embodiment of the present application

[0045] Figure 3 Schematic diagram of the time sequence control data acquisition process provided by the embodiment of the present application

[0046] Figure 4 Flowchart of the vehicle ambient light control method provided by the embodiment of the present application Figure Two ;

[0047] Figure 5 Schematic diagram of the vehicle ambient light control device provided by the embodiment of the present application

[0048] Figure 6 A structure schematic diagram of a vehicle ambient light control device provided by an embodiment of the present application is shown in the following figure.

[0049] Figure 7 A vehicle structure schematic diagram provided by an embodiment of the present application is shown in the following figure.

[0050] The specific embodiments of the present application have been shown in the above figures, and will be described in more detail hereinafter. These figures and the following description are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0051] The exemplary embodiments will be described in detail herein with reference to the attached drawings. Unless otherwise indicated, the same numbers on different drawings represent the same or similar elements. The following detailed description does not limit the application thereto, as the application can be practiced in other embodiments.

[0052] To solve the technical problems in the related art, the vehicle ambient light control method provided by the present application breaks through the limitation that it is difficult for a vehicle ambient light controller to calculate control data in real time to implement complex light effects, by directly reading time sequence control data generated according to a target light effect, and controlling the vehicle ambient light to display according to the time sequence control data, so that the vehicle ambient light can not only implement simple light effects such as breathing and gradual change, but also implement any complex or irregular light effect, such as a light effect in which fireflies fly along irregular tracks, thereby improving the driving experience.

[0053] The technical solutions of the present application and how the technical solutions of the present application solve the above technical problems will be described in detail in the following specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described again in some embodiments. The embodiments of the present application will be described in combination with the drawings.

[0054] Figure 1 A flowchart of the vehicle ambient light control method provided by an embodiment of the present application is shown in the following figure. Figure One The vehicle ambient light control method provided by the embodiment of the present application is executed by a vehicle ambient light controller. Specifically, the vehicle ambient light controller can be an independent controller or a module corresponding to the vehicle ambient light control function in a vehicle central controller. As shown in the figure, the method comprises the following steps. Figure 1

[0055] ​S101. In response to detecting a control instruction for a vehicle ambient light, read timing control data corresponding to a target lighting effect. The control instruction is used to instruct display of the target lighting effect. The timing control data includes at least one set of control data. Each set of control data includes display data corresponding to RGB LED particles in the vehicle ambient light, display duration, and display timing in the timing control data.

[0056] Specifically, the driver and passengers can send control instructions to the vehicle ambient light controller to display the target lighting effect through buttons in the cockpit, a human-computer interactive control interface or a voice control system. When the vehicle ambient light controller receives the control instruction, it reads the timing control data corresponding to the target lighting effect from the preset lighting effect storage space.

[0057] The timing control data includes at least one set of control data, each set of control data includes the display data, display duration and display timing in the timing control data corresponding to the RGBLED particles in the vehicle atmosphere light. The vehicle atmosphere light may include multiple RGB LED particles. At this time, one set of control data includes the display data, display duration and display timing in the timing control data corresponding to multiple RGB LED particles. According to the preset RGB LED particle number, the display data and display duration corresponding to different RGB LED particles are distinguished.

[0058] For example, Figure 2 This is a schematic diagram of timing control data provided by the embodiment of the present application. Figure 2 As shown, the leftmost column of the timing control data is the display time, and the difference between adjacent display times is the display duration. The display timing of the control data can be obtained through the display time. The first line in the timing control data is the RGB LED particle number, and the data in the table is the display data corresponding to the RGB LED particles.

[0059] In some real-time methods, the timing control data corresponding to a lighting effect is packaged into a timing control file, and the timing control file is imported into a preset lighting effect storage space for storage.

[0060] Timing control data is generated on the design side based on the original design file for the target lighting effect. Specifically, the design side can be a processor outside the vehicle, a cloud server, or the vehicle's central controller. After the design side generates the timing control data, it imports the timing control data into the preset lighting effect storage space. This allows the in-vehicle ambient light controller to directly read the timing control data from the preset lighting effect storage space and control the in-vehicle ambient light display.

[0061] Exemplarily, the original design file of the target light effect is a light effect video designed by a light effect designer, and a processor outside the vehicle is used to generate the timing control data according to the light effect video and store the timing control data in a preset light effect storage space in the vehicle.

[0062] In another example, the original design file of the target light effect is a light effect video uploaded by the driver or passenger to a cloud server through a human-computer interaction interface of the vehicle, and the timing control data is generated according to the light effect video and stored in a preset light effect storage space in the vehicle.

[0063] In yet another example, the original design file of the target light effect is a light effect video uploaded by the driver or passenger to the central controller of the vehicle through a human-computer interaction interface of the vehicle, and the timing control data is generated according to the light effect video and stored in a preset light effect storage space in the vehicle.

[0064] It can be understood that the type of the original design file of the target light effect can not only be a video, but also can be a picture. When the type of the original design file of the target light effect is a picture, the process of generating the timing control data at different design ends is consistent with the processing mode of the light effect video described above.

[0065] S102, controlling the vehicle-mounted atmosphere lamp to display the target light effect according to the timing control data.

[0066] Specifically, the vehicle-mounted atmosphere lamp controller controls the color and brightness of the RGB LED particles of the vehicle-mounted atmosphere lamp according to the display data in the timing control data, and controls the color and brightness of the RGB LED particles in time sequence according to the display time sequence in the display data, so that the RGB LED particles can present a dynamic and complex light effect effect.

[0067] The vehicle-mounted atmosphere lamp control method provided by the embodiment of the application directly loads the timing control data corresponding to the target light effect by the vehicle-mounted atmosphere lamp controller, without using the vehicle-mounted atmosphere lamp controller to calculate the control data corresponding to the target light effect in real time, so that the vehicle-mounted atmosphere lamp light effect is no longer limited by the computing resources of the vehicle, and any complex or irregular light effect can be realized.

[0068] Figure 3 A timing control data acquisition flowchart is provided for the embodiment of the application. The timing control data acquisition method is executed by a design end, and specifically, the design end can be a processor outside the vehicle, a cloud server, or a central controller of the vehicle. As shown in the figure, Figure 3 In a possible implementation, the timing control data is obtained in the following manner:

[0069] S301, acquiring a target light effect.

[0070] S302, if the target lamp effect is in a video format, sampling the target lamp effect at a preset frame sampling rate to obtain a lamp effect image set, the lamp effect image set containing at least one first lamp effect image.

[0071] Exemplarily, the preset frame sampling rate is 20fps~50fps, so that the content change of the lamp effect images in the lamp effect image set obtained by sampling has continuity when played continuously, and the viewing effect of the vehicle-mounted atmosphere lamp is ensured.

[0072] In an embodiment, the preset frame sampling rate is determined according to the clock signal period of the vehicle, for example, if the clock signal period of the whole vehicle is 25ms, then 1 / 0.25=40 fps can be taken as the preset frame sampling rate.

[0073] S303, according to the position information of the RGB LED particles in the vehicle-mounted atmosphere lamp, sampling the pixel points of the first lamp effect image corresponding to the RGB LED particles to obtain a second lamp effect image corresponding to the first lamp effect image.

[0074] Generally, the vehicle-mounted atmosphere lamp is composed of a plurality of RGB LED particles in the form of an RGB LED particle array. According to the positions of the RGB LED particles in the RGB LED particle array, the pixel points at the corresponding positions in the first lamp effect image are anchored, and the pixel points in the first lamp effect image corresponding to the positions of the RGB LED particles are retained to obtain the second lamp effect image.

[0075] S304, for any second lamp effect image, according to the color coordinate values and the brightness values corresponding to the pixel points contained in the second lamp effect image, obtaining display data corresponding to the second lamp effect image.

[0076] The color coordinate value refers to the coordinate value of a color in a color space. Exemplarily, the color space can be the Commission Internationale de l´Eclairage 1931 XYZ (CIE1931 XYZ) color space or the Commission Internationale del´Eclairage 1976 (CIE1976 ) color space, etc.

[0077] In an embodiment, the color coordinate values and the brightness values corresponding to the pixel points are determined, the color coordinate values and the brightness values are uniformly represented by hexadecimal numbers, and the hexadecimal numbers are converted into binary numbers as the display data. Alternatively, the color coordinate values and the brightness values are saved as the display data in hexadecimal numbers.

[0078] ​S305, obtain a display duration corresponding to the second lamp effect image according to the preset frame sampling rate.

[0079] It can be understood that the reciprocal of the preset frame sampling rate is the sampling interval duration between two adjacent lamp effect images. When the display duration is less than or equal to the reciprocal of the preset frame sampling rate, the dynamic effect of the lamp effect when displayed has better continuity.

[0080] S306, obtain a display time sequence corresponding to the second lamp effect image according to the sampling order of the second lamp effect image.

[0081] S307, generate time sequence control data for controlling the vehicle ambient light to realize the target lamp effect according to the display data, the display duration and the display time sequence corresponding to the second lamp effect image.

[0082] Specifically, the display data is combined with the corresponding display duration, and the display data and the corresponding display duration are sorted according to the display time sequence, to obtain the time sequence control data for controlling the vehicle ambient light to realize the target lamp effect.

[0083] The vehicle ambient light control method provided by the embodiment of the application first performs frame sampling on the target lamp effect in video format, then performs pixel point sampling according to the position information of the RGB LED particles in the vehicle ambient light, determines the display data according to the color coordinate values and the brightness values of the pixel points in the sampled lamp effect image, determines the display duration corresponding to the display data according to the preset frame sampling rate, determines the display time sequence according to the sampling order of the lamp effect image, and determines the time sequence control data according to the display data, the display duration and the display time sequence, so that the vehicle ambient light can well restore the dynamic effect of the target lamp effect when displaying the target lamp effect, and improve the driving experience.

[0084] In a possible implementation, the time sequence control data for controlling the vehicle ambient light to realize the target lamp effect is generated according to the display data, the display duration and the display time sequence corresponding to the second lamp effect image, including:

[0085] The display data and the display duration corresponding to the second lamp effect image are time sequence sorted according to the display time sequence, to obtain the time sequence control data for controlling the vehicle ambient light to realize the target lamp effect.

[0086] It can be understood that the display data and the display duration are sorted according to the display time sequence, so that the vehicle ambient light controller can read the display data and the display duration in sequence, control the vehicle ambient light to display, and make the finally presented lamp effect dynamic effect have continuity.

[0087] The vehicle ambient light control method provided by the embodiment of the application sorts the display data and the display duration according to the display time sequence, and guarantees the continuity of the lamp effect dynamic effect.

[0088] In a possible implementation, the display duration corresponding to the second lamp effect image is obtained according to the preset frame sampling rate, including: determining a sampling interval duration according to the preset frame sampling rate; and taking the sampling interval duration as the display duration corresponding to the second lamp effect image.

[0089] It can be understood that the reciprocal of the preset frame sampling rate is the sampling interval duration between two adjacent lamp effect images, and when the display duration is less than or equal to the sampling interval duration, the dynamic effect of the lamp effect when displayed has better continuity.

[0090] Taking the sampling interval duration as the display duration corresponding to the second lamp effect image can ensure that the lamp effect displayed by the vehicle-mounted atmosphere lamp has continuity and is consistent with the dynamic effect in the target lamp effect.

[0091] The vehicle-mounted atmosphere lamp control method provided by the embodiment of the application can ensure that the lamp effect presented on the vehicle-mounted atmosphere lamp is consistent with the target lamp effect, so that the vehicle-mounted atmosphere lamp can better restore the dynamic effect of the target lamp effect.

[0092] Figure 4 The vehicle-mounted atmosphere lamp control method provided by the embodiment of the application is shown in the flowchart Figure Two . As shown in Figure 4 , in a possible implementation, the vehicle-mounted atmosphere lamp is controlled to display a target lamp effect according to timing control data, including:

[0093] S401, reading control data of a corresponding group included in the timing control data based on a display timing.

[0094] Specifically, control data of a group corresponding to a current time is read based on a display timing. For example, first group control data corresponding to a first time is read when the vehicle-mounted atmosphere lamp starts to display the target lamp effect, and second group control data corresponding to a second time is read according to the display timing when the display of the first group control data is completed.

[0095] S402, controlling the RGB LED particles to display colors and brightness according to display data included in the control data of the corresponding group.

[0096] S403, determining whether there is control data of a group corresponding to a next display timing when the display duration of the RGB LED particles for the control data of the corresponding group reaches the display duration corresponding to the display data.

[0097] After the vehicle-mounted atmosphere lamp controller controls the vehicle-mounted atmosphere lamp to display the control data of the corresponding group, the current display state is maintained unchanged until the display duration reaches the display duration corresponding to the display data, and then it is determined whether there is control data of a group corresponding to a next display timing, so as to realize the update of the display state of the vehicle-mounted atmosphere lamp.

[0098] If the control data corresponding to the next display timing group exists, step S401 is performed to update the display state of the vehicle ambient light to the display state corresponding to the next timing.

[0099] If the control data corresponding to the next display timing group does not exist, step S404 is performed.

[0100] S404, end the light effect display, or according to the pre-set light effect loop playing information, re-read the timing control data from the beginning to realize the light effect loop playing.

[0101] The vehicle ambient light control method provided by the embodiment of the application sets a control data mechanism for cyclically reading the control data in the timing control data according to the display timing, realizes automatic updating of the display state of the vehicle ambient light, and thus makes the vehicle ambient light present a continuous dynamic effect.

[0102] In a possible implementation, the RGB LED particles are controlled to display colors and brightness according to the display data contained in the corresponding group of control data, including:

[0103] Color data for controlling the RGB LED particles to display colors is calculated according to the color coordinate values corresponding to the target light effect, brightness data for controlling the RGB LED particles to display brightness is calculated according to the brightness values corresponding to the target light effect, and the RGB LED particles are controlled to display colors and brightness according to the color data and the brightness data.

[0104] It can be understood that the color coordinate values and the brightness values provide display information for the RGB LED particles, but because the driving modes of different RGB LED particles are different, the color coordinate values and the brightness values cannot be directly used to control the display of the RGB LED particles, therefore, the vehicle ambient light controller needs to use a conversion algorithm or a timing control data reading tool to convert the display data in the timing control data into driving data that can be used to drive the RGB LED particles to display colors and brightness, so as to ensure that the RGB LED particles in the vehicle ambient light can be controlled to display colors and brightness according to the timing control data.

[0105] The vehicle ambient light control method provided by the embodiment of the application converts the display data in the timing control data into driving data that can be used to drive the RGB LED particles to display colors and brightness, so as to ensure that the RGB LED particles in the vehicle ambient light can be controlled to display colors and brightness according to the timing control data.

[0106] In a possible implementation, the timing control data is in binary format or hexadecimal.

[0107] Binary and hexadecimal are common digital codes in modern computer systems, and the embodiment of the present application uses binary format or hexadecimal to generate timing control data, which can ensure that the vehicle ambient light has high efficiency when reading and processing timing control data.

[0108] Figure 5 The structural diagram of the vehicle ambient light control device provided by the embodiment of the present application is shown in FIG. 1, which comprises: Figure 5

[0109] The reading module 501 is configured to read timing control data corresponding to a target light effect in response to detecting a control instruction for the vehicle ambient light, the control instruction being used to instruct to display the target light effect, and the timing control data comprising at least one group of control data, each group of control data containing display data corresponding to red-green-blue (RGB) light-emitting diode (LED) particles in the vehicle ambient light, a display time length, and a display timing in the timing control data.

[0110] The control module 502 is configured to control the vehicle ambient light to display the target light effect according to the timing control data.

[0111] In a possible implementation, the control module 502 is specifically configured to:

[0112] read the corresponding group of control data contained in the timing control data based on the display timing;

[0113] control the RGB LED particles to display color and brightness according to the display data contained in the corresponding group of control data;

[0114] determine whether there is control data corresponding to the next display timing after the RGB LED particles display the corresponding group of control data for a time length corresponding to the display data;

[0115] if there is, execute the step of reading the corresponding group of control data contained in the timing control data based on the display timing.

[0116] In a possible implementation, the control module 502 is specifically configured to:

[0117] calculate color data for controlling the RGB LED particles to display color according to color coordinate values corresponding to the target light effect;

[0118] calculate brightness data for controlling the RGB LED particles to display brightness according to brightness values corresponding to the target light effect;

[0119] control the RGB LED particles to display color and brightness according to the color data and the brightness data.

[0120] ​The vehicle-mounted ambient light control device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effects are similar, and are not described in detail in this embodiment.

[0121] Figure 6 This is a schematic diagram of the structure of the vehicle-mounted ambient light control device provided in the embodiment of the present application. Figure 6 As shown, the vehicle ambient light control device 60 provided in this embodiment includes: at least one processor 601 and a memory 602. Optionally, the device 60 also includes a communication interface 603. The processor 601, the memory 602, and the communication interface 603 are connected via a communication bus 604.

[0122] During the specific implementation process, at least one processor 601 executes the computer-executable instructions stored in the memory 602, so that the at least one processor 601 performs the above method.

[0123] The specific implementation process of the processor 601 can be found in the above method embodiment. Its implementation principle and technical effects are similar and will not be repeated here in this embodiment.

[0124] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the present invention may be directly executed by a hardware processor or by a combination of hardware and software modules in the processor.

[0125] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage.

[0126] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application does not limit to only one bus or one type of bus.

[0127] Figure 7 A vehicle structure schematic diagram is provided for the embodiments of the present application. As shown in the figure, Figure 7 a vehicle 70 is provided, comprising a vehicle body 701, and a vehicle-mounted atmosphere lamp controller 702 and a vehicle-mounted atmosphere lamp 703 arranged on the vehicle body 701; the vehicle-mounted atmosphere lamp controller 702 performs the vehicle-mounted atmosphere lamp control method as described in the above embodiments to control the vehicle-mounted atmosphere lamp 703 to display a target lamp effect.

[0128] The embodiments of the present application also provide a computer program product, comprising a computer program, which, when executed, implements the above method.

[0129] The embodiments of the present application also provide a computer readable storage medium, which stores computer execution instructions, and when the computer execution instructions are executed, the above method is implemented.

[0130] The above readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special purpose computer.

[0131] An exemplary readable storage medium is coupled to the processor, so that the processor can read information from the readable storage medium, and can write information to the readable storage medium. Of course, the readable storage medium can also be an integral part of the processor. The processor and the readable storage medium can be located in an Application Specific Integrated Circuit (ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in the device.

[0132] The division of units is only a logical function division, and actual implementation can have another division manner, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0133] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, can be located in one place, or can be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.

[0134] In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit.

[0135] If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application or the part of the present application that essentially contributes to the prior art or the part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various program code storage media.

[0136] Those skilled in the art can understand that all or part of the steps of the above-mentioned method embodiments can be completed by program instruction related hardware. The aforementioned program can be stored in a computer readable storage medium. The program executes to perform the steps of the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk, and various program code storage media.

[0137] It should be understood that many of the materials and devices exemplified in this disclosure are articles of manufacture (i.e., articles of manufacture) according to this disclosure. The articles of manufacture can be employed as such to provide advantageous results. The articles of manufacture can also be employed in the practice or testing of the present disclosure. The articles of manufacture can also be employed in the practice or testing of other examples of the present disclosure. The articles of manufacture employed as such for practicing the present disclosure: include those devices and those manufacturing techniques that are known to those of skill in the art in this field. The articles of manufacture employed as such for practicing the present disclosure: include those devices and those manufacturing techniques that are analogous to those devices and those manufacturing techniques that are known to those of skill in the art in this field. The articles of manufacture employed as such for practicing the present disclosure: include those devices and those manufacturing techniques that are later developed by those of skill in the art in this field and are equivalent to those devices and those manufacturing techniques that are known to those of skill in the art in this field.

Claims

1. A method for controlling a vehicle-mounted ambient light, characterized in that: include: In response to detecting a control instruction for the vehicle ambient light, reading timing control data corresponding to the target lighting effect, the control instruction being used to instruct display of the target lighting effect, the timing control data comprising at least one set of control data, each set of control data comprising display data corresponding to red, green, and blue (RGB) light-emitting diode (LED) particles in the vehicle ambient light, a display duration, and a display timing in the timing control data; According to the timing control data, the vehicle ambient light is controlled to display the target lighting effect.

2. The vehicle-mounted ambient light control method according to claim 1, characterized in that: The timing control data is obtained by: Get the target lighting effect; If the target lighting effect is in video format, sampling a lighting effect image of the target lighting effect at a preset frame sampling rate to obtain a lighting effect image set, where the lighting effect image set includes at least one first lighting effect image; According to the position information of the RGB LED particles in the vehicle ambient light, sampling the pixel points corresponding to the RGB LED particles in the first lighting effect image to obtain a second lighting effect image corresponding to the first lighting effect image; For any of the second lighting effect images, obtaining display data corresponding to the second lighting effect image based on color coordinate values ​​and brightness values ​​corresponding to pixels included in the second lighting effect image; Obtaining a display duration corresponding to the second lighting effect image according to the preset frame sampling rate; Obtaining a display timing corresponding to the second lighting effect image according to a sampling order of the second lighting effect image; According to the display data, display duration and display timing corresponding to the second lighting effect image, timing control data for controlling the vehicle atmosphere light to achieve the target lighting effect is generated.

3. The vehicle-mounted ambient light control method according to claim 2, characterized in that: The generating, based on the display data, display duration, and display timing corresponding to the second lighting effect image, timing control data for controlling the vehicle ambient light to achieve the target lighting effect includes: According to the display timing, the display data and display duration corresponding to the second lighting effect image are time-sequentially sorted to obtain timing control data for controlling the vehicle atmosphere light to achieve the target lighting effect.

4. The vehicle-mounted ambient light control method according to claim 2, characterized in that: Obtaining the display duration corresponding to the second lighting effect image according to the preset frame sampling rate includes: Determining a sampling interval duration according to the preset frame sampling rate; The sampling interval duration is used as the display duration corresponding to the second lighting effect image.

5. The vehicle ambient light control method according to any one of claims 1 to 4, characterized in that: The controlling the vehicle ambient light to display the target lighting effect according to the timing control data includes: Based on the display timing, reading the control data of the corresponding group included in the timing control data; Controlling the RGB LED particles to display color and brightness according to the display data included in the corresponding group of control data; When the duration for which the RGB LED particles display the corresponding group of control data reaches the display duration corresponding to the display data, determining whether there is control data for the next group corresponding to the display timing; If so, the step of reading the control data of the corresponding group included in the timing control data based on the display timing is performed.

6. The vehicle-mounted ambient light control method according to claim 5, characterized in that: The step of controlling the RGB LED particles to display color and brightness according to the display data included in the corresponding group of control data includes: Calculating color data for controlling the color displayed by the RGB LED particles according to the color coordinate values ​​corresponding to the target lighting effect; Calculating brightness data for controlling the display brightness of the RGB LED particles according to the brightness value corresponding to the target lighting effect; According to the color data and the brightness data, the RGB LED particles are controlled to display color and brightness.

7. The vehicle-mounted ambient light control method according to any one of claims 1 to 4, characterized in that: The timing control data is in binary format or hexadecimal format.

8. A vehicle-mounted ambient light control device, characterized in that: include: a reading module, configured to respond to detection of a control instruction for the vehicle ambient light and read timing control data corresponding to the target lighting effect, wherein the control instruction is used to instruct display of the target lighting effect, and the timing control data includes at least one set of control data, each set of control data including display data corresponding to red, green, and blue (RGB) light-emitting diode (LED) particles in the vehicle ambient light, display duration, and display timing in the timing control data; A control module is used to control the vehicle ambient light to display the target lighting effect according to the timing control data.

9. A vehicle-mounted ambient light control device, characterized in that: include: Memory, processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 7.

10. A vehicle, characterized in that: include: A vehicle body and a vehicle ambient light controller and a vehicle ambient light arranged on the vehicle body; The vehicle-mounted ambient light controller executes the vehicle-mounted ambient light control method according to any one of claims 1 to 7 to control the vehicle-mounted ambient light to display a target lighting effect.

Citation Information

Cited By

  • Light effect control method, device and vehicle

    CN122458261A

  • A control method and device of an atmosphere lamp and a vehicle

    CN122458284A