Intelligent control method, device and system for vehicle atmosphere lamp, storage medium and vehicle

The method addresses the inconsistency in vehicle ambient lighting by automatically extracting and adjusting RGB data from pixel regions to match intended colors, enhancing visual experience and reducing development costs through accurate color reproduction.

CN120321845APending Publication Date: 2025-07-15ZHEJIANG SMART INTELLIGENCE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510518923.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-23
Publication Date
2025-07-15

AI Technical Summary

Technical Problem

In the prior art, the light color output of the vehicle ambient light is inconsistent with the light color to be output selected by the user, resulting in poor visual effect and reduced user experience.

Method used

The RGB data of multiple pixels corresponding to the color area of the color selection instruction is extracted automatically, the target RGB data of the light color to be output is determined, and the data is sent to the atmosphere light controller to control the light color output, and the light color consistency is ensured in combination with the driving current adjustment.

Benefits of technology

Improve the consistency between the actual output light color of the ambient light and the light color to be output, and improve the visual effect and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120321845A_ABST
    Figure CN120321845A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle atmosphere lamp intelligent control method, device and system, a storage medium and a vehicle, and relates to the technical field of vehicle light control. The vehicle atmosphere lamp intelligent control method comprises the steps that when an entertainment domain controller detects a color selection instruction for the light color to be output of an atmosphere lamp, first RGB data of each pixel point in a plurality of first pixel points contained in a color area corresponding to the color selection instruction is extracted in an automatic mode; and determining the target RGB data corresponding to the light color to be output according to the first RGB data of the plurality of first pixel points, thereby improving the accuracy of the target RGB data. Furthermore, the target RGB data is sent to an atmosphere lamp controller to control the atmosphere lamp to output the to-be-output light color, so that the atmosphere lamp is controlled to output the to-be-output light color based on the accurate target RGB data, the actual output light color of the atmosphere lamp is closer to the to-be-output light color, the consistency of the actual output light color of the atmosphere lamp and the to-be-output light color is improved, and the user experience is improved. The visual effect is improved, and the user 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 lighting control, and particularly relates to a method, device, system, storage medium and vehicle for intelligent control of vehicle ambient lights. Background Technique

[0002] With the development of vehicle intelligence, more and more vehicles are equipped with ambient lights. The ambient lights can enhance the technological sense of the vehicle and make the vehicle more modern. Moreover, the colors supported by the ambient lights inside the vehicle are gradually becoming diverse. Users can switch the output light color of the ambient lights by sliding the color bar of the ambient lights on the in-vehicle display screen.

[0003] In the related art, when detecting a user's selection operation for the color to be output on the color bar of the in-vehicle display screen, based on the mapping relationship between the colors on the color bar and the tristimulus color (Red Green Blue, abbreviated as RGB) data, the target RGB data corresponding to the color to be output is determined; according to the target RGB data, the ambient lights are controlled to output the light color corresponding to the target RGB. Among them, the above mapping relationship is set by manually arranging the RGB data corresponding to different colors on the color bar after setting the color bar.

[0004] However, there is a problem that the light color output by the ambient lights is inconsistent with the color to be output in the above manner. Summary of the Invention

[0005] The present application provides a method, device, system, storage medium and vehicle for intelligent control of vehicle ambient lights to solve the problem that the light color output by the ambient lights is inconsistent with the color to be output.

[0006] In a first aspect, the present application provides a method for intelligent control of vehicle ambient lights, which is applied to an entertainment domain controller. The method for intelligent control of vehicle ambient lights includes:

[0007] Responding to detecting a color selection instruction for the color to be output by the ambient lights, extracting the first RGB data of each pixel point among the multiple first pixel points included in the color area corresponding to the color selection instruction;

[0008] Determining the target RGB data corresponding to the color to be output according to the first RGB data of the multiple first pixel points;

[0009] Sending the target RGB data to the ambient light controller to control the ambient lights to output the color to be output.

[0010] In a possible implementation manner, determining the target RGB data corresponding to the color to be output according to the first RGB data of the multiple first pixel points includes:

[0011] For any target channel in the RGB data, the following processing is performed, where the target channel includes the R channel, G channel and B channel:

[0012] Determine the mean data of the data corresponding to the target channel in the first RGB data of multiple first pixel points;

[0013] According to the mean data corresponding to the target channel, determine the data of the target channel in the target RGB data corresponding to the light color to be output.

[0014] In a possible implementation manner, according to the mean data corresponding to the target channel, determining the data of the target channel in the target RGB data corresponding to the light color to be output includes:

[0015] Determine the mean data corresponding to the target channel as the data of the target channel in the target RGB data corresponding to the light color to be output;

[0016] Alternatively, perform a conversion process on the mean data corresponding to the target channel to obtain the data of the target channel in the target RGB data corresponding to the light color to be output, and the conversion process includes rounding processing and / or processing based on a set base number.

[0017] In a possible implementation manner, a color bar including a slider component is set on the in-vehicle display screen, the in-vehicle display screen is connected to the entertainment domain controller, and after determining the target RGB data corresponding to the light color to be output, it further includes:

[0018] Update the RGB data corresponding to the slider component to the target RGB data.

[0019] In a second aspect, the present application provides a vehicle ambient light intelligent control method, which is applied to an ambient light controller. The vehicle ambient light intelligent control method includes:

[0020] Receive the target RGB data sent by the entertainment domain controller. The target RGB data is determined according to the first RGB data of multiple first pixel points, and the multiple first pixel points are the pixel points included in the color area corresponding to the color selection instruction for the light color to be output by the ambient light;

[0021] Based on the correspondence between the RGB data and the driving current, determine the target driving current corresponding to the target RGB data;

[0022] According to the target driving current, drive the ambient light to output the light color corresponding to the target RGB data.

[0023] In a possible implementation manner, after driving the ambient light to output the light color corresponding to the target RGB data, it further includes:

[0024] Obtain the light color image information of the ambient light;

[0025] According to the light color image information, determine the actual RGB data of the ambient light;

[0026] Based on the actual RGB data and the target RGB data, determine the deviation value of the actual RGB data relative to the target RGB data;

[0027] If the deviation value is greater than or equal to the difference threshold, adjust the driving current of the ambient light until the deviation value of the actual RGB data of the ambient light relative to the target RGB data is less than the difference threshold.

[0028] In a possible implementation manner, determining the actual RGB data of the ambient light according to the light color image information includes:

[0029] Based on image processing technology, extract the second RGB data of multiple second pixel points included in the light color image information;

[0030] For any target channel in the RGB data, perform the following processing, where the target channel includes the R channel, the G channel, and the B channel:

[0031] Determine the mean data of the data corresponding to the target channel in the second RGB data of multiple second pixel points;

[0032] According to the mean data corresponding to the target channel, determine the data of the target channel in the actual RGB data of the ambient light.

[0033] In a possible implementation manner, determining the data of the target channel in the actual RGB data of the ambient light according to the mean data corresponding to the target channel includes:

[0034] Determine the mean data corresponding to the target channel as the data of the target channel in the actual RGB data of the ambient light;

[0035] Alternatively, perform a conversion process on the mean data corresponding to the target channel to obtain the data of the target channel in the actual RGB data of the ambient light, and the conversion process includes rounding processing and / or processing based on a set number system.

[0036] In a possible implementation manner, after adjusting the driving current of the ambient light, it further includes:

[0037] In the correspondence relationship between the RGB data and the driving current, update the driving current corresponding to the target RGB data to the adjusted driving current.

[0038] In a possible implementation manner, based on the correspondence relationship between the RGB data and the driving current, determining the target driving current corresponding to the target RGB data includes:

[0039] Determine whether the target RGB data is data after rounding processing and / or determine whether the target RGB data is data after processing based on a set number system;

[0040] If so, based on the correspondence between RGB data and driving current, determine the target driving current corresponding to the target RGB data;

[0041] If not, perform rounding processing and / or processing based on a set number system on the target RGB data to obtain processed data; based on the correspondence between RGB data and driving current, determine the target driving current corresponding to the processed data.

[0042] In a third aspect, the present application provides a vehicle atmosphere light intelligent control device, which is applied to an entertainment domain controller. The vehicle atmosphere light intelligent control device includes:

[0043] An extraction module, configured to respond to a detected color selection instruction for the light color to be output by the atmosphere light, and extract the first RGB data of each pixel point among a plurality of first pixel points included in the color area corresponding to the color selection instruction;

[0044] A determination module, configured to determine the target RGB data corresponding to the light color to be output according to the first RGB data of the plurality of first pixel points;

[0045] A sending module, configured to send the target RGB data to an atmosphere light controller to control the atmosphere light to output the light color to be output.

[0046] In a possible implementation manner, the determination module is specifically configured to: for any target channel in the RGB data, perform the following processing, where the target channel includes the R channel, the G channel, and the B channel: determine the mean data of the data corresponding to the target channel in the first RGB data of the plurality of first pixel points; according to the mean data corresponding to the target channel, determine the data of the target channel in the target RGB data corresponding to the light color to be output.

[0047] In a possible implementation manner, the determination module is further configured to: determine the mean data corresponding to the target channel as the data of the target channel in the target RGB data corresponding to the light color to be output; or, perform conversion processing on the mean data corresponding to the target channel to obtain the data of the target channel in the target RGB data corresponding to the light color to be output, and the conversion processing includes rounding processing and / or processing based on a set number system.

[0048] In a possible implementation manner, a color bar including a slider component is provided on an in-vehicle display screen. The in-vehicle display screen is connected to the entertainment domain controller. The vehicle atmosphere light intelligent control device further includes an update module, and the update module is configured to: after determining the target RGB data corresponding to the light color to be output, update the RGB data corresponding to the slider component to the target RGB data.

[0049] In a fourth aspect, the present application provides a vehicle atmosphere light intelligent control device, which is applied to an atmosphere light controller. The vehicle atmosphere light intelligent control device includes:

[0050] A receiving module, configured to receive target RGB data sent by an entertainment domain controller, where the target RGB data is determined according to the first RGB data of a plurality of first pixel points, and the plurality of first pixel points are pixel points included in a color region corresponding to a color selection instruction for the light color to be output by the ambient light;

[0051] A determining module, configured to determine a target drive current corresponding to the target RGB data based on the correspondence between the RGB data and the drive current;

[0052] A driving module, configured to drive the ambient light to output the light color corresponding to the target RGB data according to the target drive current.

[0053] In a possible implementation manner, the vehicle ambient light intelligent control device further includes a calibration module, and the calibration module is configured to: after driving the ambient light to output the light color corresponding to the target RGB data, obtain the light color image information of the ambient light; determine the actual RGB data of the ambient light according to the light color image information; determine the deviation value of the actual RGB data relative to the target RGB data based on the actual RGB data and the target RGB data; if the deviation value is greater than or equal to the difference threshold, adjust the drive current of the ambient light until the deviation value of the actual RGB data of the ambient light relative to the target RGB data is less than the difference threshold.

[0054] In a possible implementation manner, the calibration module is specifically configured to: based on an image processing technology, extract the second RGB data of a plurality of second pixel points included in the light color image information; for any target channel in the RGB data, perform the following processing, where the target channel includes the R channel, the G channel, and the B channel: determine the mean data of the data corresponding to the target channel in the second RGB data of the plurality of second pixel points; determine the data of the target channel in the actual RGB data of the ambient light according to the mean data corresponding to the target channel.

[0055] In a possible implementation manner, the calibration module is further configured to: determine the mean data corresponding to the target channel as the data of the target channel in the actual RGB data of the ambient light; or perform a conversion process on the mean data corresponding to the target channel to obtain the data of the target channel in the actual RGB data of the ambient light, and the conversion process includes rounding processing and / or processing based on a set number system.

[0056] In a possible implementation manner, the vehicle ambient light intelligent control device further includes an update module, and the update module is configured to: after adjusting the drive current of the ambient light, update the drive current corresponding to the target RGB data to the adjusted drive current in the correspondence between the RGB data and the drive current.

[0057] In a possible implementation, the determination module is specifically configured to: determine whether the target RGB data is rounded data, and / or determine whether the target RGB data is data processed based on a set number system; if so, determine the target drive current corresponding to the target RGB data based on the correspondence between RGB data and drive current; if not, perform rounding processing and / or processing based on the set number system on the target RGB data to obtain processed data; and determine the target drive current corresponding to the processed data based on the correspondence between RGB data and drive current.

[0058] In a fifth aspect, the present application provides a vehicle ambient light intelligent control system, including:

[0059] An entertainment domain controller for executing the vehicle ambient light intelligent control method of the first aspect;

[0060] An ambient light controller for executing the vehicle ambient light intelligent control method of the second aspect.

[0061] In a sixth aspect, the present application provides a vehicle including the vehicle ambient light intelligent control system of the fifth aspect.

[0062] In a seventh aspect, the present application provides an electronic device, including: a memory and a processor;

[0063] The memory stores computer execution instructions;

[0064] The processor executes the computer execution instructions stored in the memory, so that the processor executes the vehicle ambient light intelligent control method of the first aspect as above, and / or executes the vehicle ambient light intelligent control method of the second aspect as above.

[0065] In an eighth aspect, the present application provides a computer-readable storage medium storing computer execution instructions, which are used to implement the vehicle ambient light intelligent control method of the first aspect as above, and / or execute the vehicle ambient light intelligent control method of the second aspect as above when executed by a processor.

[0066] In a ninth aspect, the present application provides a computer program product including a computer program, which implements the vehicle ambient light intelligent control method of the first aspect as above, and / or executes the vehicle ambient light intelligent control method of the second aspect as above when executed by a processor.

[0067] The vehicle ambient light intelligent control method, device, system, storage medium and vehicle provided by the present application, when detecting a color selection instruction for the light color to be output by the ambient light, extract the first RGB data of each pixel point in multiple first pixel points included in the color area corresponding to the color selection instruction in an automated manner; determine the target RGB data corresponding to the light color to be output according to the first RGB data of the multiple first pixel points; compared with relying on manual arrangement to obtain the mapping relationship between different colors and RGB data, and then determining the target RGB corresponding to the light color to be output based on this mapping relationship, the present application realizes the intelligent extraction of the target RGB data of the light color to be output from the color area, solves the error generated due to the manual arrangement of the mapping relationship between colors and RGB data, and improves the accuracy of the target RGB data. Further, send the target RGB data to the ambient light controller to control the ambient light to output the light color to be output, realize controlling the ambient light to output the light color to be output based on the accurate target RGB data, make the actual output light color of the ambient light closer to the light color to be output, thereby improving the consistency problem between the actual output light color and the light color to be output of the ambient light, enhancing the visual effect, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application.

[0069] Figure 1 is a schematic flow chart of the vehicle ambient light intelligent control method provided by an embodiment of the present application Figure 1 ;

[0070] Figure 2 is a schematic structural diagram of a color bar on an in-vehicle display screen provided by an embodiment of the present application;

[0071] Figure 3 is a schematic flow chart of the vehicle ambient light intelligent control method provided by an embodiment of the present application Figure 2 ;

[0072] Figure 4 is a schematic structural diagram of the vehicle ambient light intelligent control device provided by an embodiment of the present application Figure 1 ;

[0073] Figure 5 is a schematic structural diagram of the vehicle ambient light intelligent control device provided by an embodiment of the present application Figure 2 ;

[0074] Figure 6 is a schematic structural diagram of the vehicle ambient light intelligent control device provided by an embodiment of the present application Figure 3 ;

[0075] Figure 7 is a schematic structural diagram of the vehicle ambient light intelligent control device provided by an embodiment of the present applicationFigure 4 ;

[0076] Figure 8 It is a schematic structural diagram of the vehicle atmosphere light intelligent control system provided by the embodiment of the present application;

[0077] Figure 9 It is a schematic structural diagram of the electronic device provided by the embodiment of the present application.

[0078] Through the above-mentioned drawings, specific embodiments of the present application have been shown, and there will be more detailed descriptions hereinafter. These drawings and textual descriptions are not intended to limit the scope of the concept 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 of the Embodiments

[0079] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0080] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects and do not necessarily have to be used to describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, products, or devices.

[0081] In the related art, the RGB data arrangement of different colors of the color bar on the vehicle display screen (i.e., the light colors to be output by the ambient light) is pre-arranged manually, the mapping relationship between the colors and the RGB data is established, and the mapping relationship is stored in the vehicle controller. Due to the limitations of the human eye in recognizing colors or the differences in color perception among different people, problems of inaccurate color allocation may occur, resulting in an inaccurate mapping relationship. Based on this inaccurate mapping relationship, the determined target RGB is also inaccurate. Controlling the ambient light to output the light color according to the target RGB results in the output light color being inconsistent with the light color to be output selected by the user on the vehicle display screen. As the number of colors supported by the ambient light increases, the above inconsistency problem becomes more prominent, especially after the vehicle display screen is beautified and transitioned according to different colors, this inconsistency problem is more obvious.

[0082] In addition, there are also problems such as discontinuous color gradients and color jumps in the manual arrangement. Eventually, the output light color of the ambient light is not beautiful, affecting the visual effect and reducing the user experience.

[0083] To solve the above technical problems, the vehicle ambient light intelligent control method provided in this application does not rely on the mapping relationship between different colors and RGB data obtained by manual arrangement. It automatically extracts the first RGB data of each pixel point among multiple first pixel points included in the color area corresponding to the color selection instruction, and determines the target RGB data corresponding to the light color to be output according to the first RGB data of the multiple first pixel points, solving the error caused by the manual arrangement of the mapping relationship between colors and RGB data and improving the accuracy of the target RGB data. Further, the target RGB data is sent to the ambient light controller to control the ambient light to output the light color to be output, realizing the control of the ambient light to output the light color to be output based on the accurate target RGB data, making the actual output light color of the ambient light closer to the light color to be output, thereby improving the consistency problem between the actual output light color and the light color to be output of the ambient light, enhancing the visual effect, and improving the user experience.

[0084] The technical solution of this application and how this technical solution solves the above technical problems will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.

[0085] Figure 1 Schematic flow of the vehicle ambient light intelligent control method provided by the embodiments of this application Figure 1 The vehicle ambient light intelligent control method provided by the embodiments of this application is applied to the entertainment domain controller. The entertainment domain controller manages the entertainment and information systems of the vehicle, including functions such as vehicle display screens, audio, video, navigation, Bluetooth connection, and voice recognition. It is the core component that provides user interaction and information entertainment services.

[0086] As shown in Figure 1 the figure, the vehicle ambient light intelligent control method provided by the embodiment of the present application includes:

[0087] S101. In response to detecting a color selection instruction for the light color to be output by the ambient light, extract the first RGB data of each pixel point in the multiple first pixel points included in the color area corresponding to the color selection instruction.

[0088] Exemplarily, the in-vehicle display screen of the vehicle provides a display interface for user operation. A color bar (color ribbon), color disk (color wheel), or color block for the user to select the light color to be output by the ambient light is set on the operation interface. According to personal preferences or actual scenario requirements, the user interacts with the display interface, such as sliding the slider on the color bar, touching and clicking the color block, or moving the selector on the color disk, to trigger the generation of a color selection instruction for the light color to be output by the ambient light.

[0089] When the in-vehicle entertainment domain controller detects the color selection instruction, for example, when the program monitors the color selection instruction event, which includes the color area position coordinates, the program accesses the in-vehicle display screen buffer, and extracts the color data of the pixels corresponding to the color area from the buffer according to the color area position coordinates. Among them, the color data is usually stored in RGB format. The color area contains multiple pixel points, and each pixel point contains the component values of three channels: red (R), green (G), and blue (B). The component value is usually an integer, and the range of each component value is from 0 to 255, representing the intensity of the color.

[0090] S102. Determine the target RGB data corresponding to the light color to be output according to the first RGB data of the multiple first pixel points.

[0091] Exemplarily, according to the multiple first RGB data, the average value method, median method, or mode method is used to determine the target RGB data corresponding to the light color to be output. Specifically:

[0092] In one implementation, the average value is calculated for each channel (R, G, B) respectively, that is, the arithmetic average of the first RGB data of all first pixel points in the three channels of R, G, and B is calculated respectively, and the average values of the three channels are combined into the target RGB data, so as to determine the target RGB data corresponding to the light color to be output by the average value method.

[0093] In another implementation, for multiple first RGB data, the values of each channel are sorted, and the median value is taken as the value of that channel. For example, sorting the R channel: 0, 240, 250, 255, 255, the median of the R channel is obtained as 250; sorting the G channel: 0, 0, 0, 5, 10, the median of the G channel is obtained as 0; sorting the B channel: 0, 5, 10, 255, 255, the median of the B channel is obtained as 10. If the number of the first pixel points is even, the average value of the two middle numbers is taken as the median value, and the median values of the three channels are combined into the target RGB data. For example, the median (250, 0, 10) is the target RGB data, realizing the determination of the target RGB data corresponding to the light color to be output by the median method.

[0094] In yet another implementation, the RGB color space is quantized. For example, each channel is divided into 8 segments, and there are a total of 512 colors for the three channels. The number of occurrences of each color is counted, and the color with the highest frequency is taken as the target RGB data, realizing the determination of the target RGB data corresponding to the light color to be output by the mode method.

[0095] It should be noted that the embodiment of the present application does not limit the algorithm for determining the target RGB data, and a suitable algorithm can be selected according to specific requirements.

[0096] S103. Send the target RGB data to the atmosphere lamp controller to control the atmosphere lamp to output the light color to be output.

[0097] Among them, the atmosphere lamp controller, as a downstream node, receives the target RGB data sent by the entertainment domain controller (upstream node), and controls the execution of the lighting effect according to the target RGB data.

[0098] Exemplarily, the upstream and downstream nodes can communicate through a bus protocol. For example, a Local Interconnect Network (LIN) bus or a Controller Area Network (CAN) bus; they can also communicate wirelessly. For example, the entertainment domain controller, as a server, broadcasts an instruction carrying the target RGB data through Bluetooth, WiFi or a mobile network, and the atmosphere lamp controller, as a client, joins the network and receives the instruction; or, the entertainment domain controller communicates with the main controller through the CAN bus, and the main controller then communicates with multiple atmosphere lamp controllers through the LIN bus for control.

[0099] Optionally, multiple ambient light controllers can be configured in the vehicle, which are respectively arranged at different positions in the cabin to provide lighting effects for different needs or scenarios. Different ambient light controllers control different ambient lights to output corresponding light colors. It can be understood that the user can select the color of the light to be output for different ambient lights on the in-vehicle display screen. After the entertainment domain controller extracts the target RGB data, it is then sent to the corresponding ambient light controller.

[0100] In the embodiments of the present application, the first RGB data of each pixel point in the color area corresponding to the color selection instruction is extracted in an automated manner; according to the first RGB data of multiple first pixel points, the target RGB data corresponding to the light color to be output is determined; compared with relying on manual arrangement to obtain the mapping relationship between different colors and RGB data, and then determining the target RGB corresponding to the light color to be output based on this mapping relationship, the embodiments of the present application realize the intelligent extraction of the target RGB data of the light color to be output from the color area, solve the error caused by the manual arrangement of the mapping relationship between colors and RGB data, and improve the accuracy of the target RGB data. Further, send accurate target RGB data to the ambient light controller to control the ambient light to output the light color to be output, so that the actual output light color of the ambient light is closer to the light color to be output, thereby improving the consistency problem between the actual output light color and the light color to be output of the ambient light, enhancing the visual effect, and improving the user experience. In addition, if it is necessary to adjust the color of the light to be output by the ambient light on the in-vehicle display screen (such as adding or reducing colors, changing the color arrangement order), it can be directly adjusted. Since the present application does not rely on the mapping relationship between colors and RGB data obtained by manual arrangement, after adjustment, manual rearrangement is avoided, reducing the development cost, improving the development efficiency and the intelligent level.

[0101] It should be noted that due to the differences in color gamuts of different models of ambient lights (such as OLED, LED, etc.), after the selection of the vehicle ambient light is determined, during the development of the upstream entertainment domain controller, the color range of the light color to be output on the in-vehicle display screen should not exceed the color gamut supported by this model of ambient light.

[0102] In some embodiments, determining the target RGB data corresponding to the light color to be output according to the first RGB data of multiple first pixel points includes: for any target channel in the RGB data, the following processing is performed, where the target channel includes the R channel, the G channel, and the B channel: determining the mean data of the data corresponding to the target channel in the first RGB data of multiple first pixel points; according to the mean data corresponding to the target channel, determining the data of the target channel in the target RGB data corresponding to the light color to be output.

[0103] Exemplarily, is marked as the mean data corresponding to the R channel, is marked as the mean data corresponding to the G channel, Mark the mean data corresponding to the B channel, then:

[0104] …………………(Formula 1)

[0105] …………………(Formula 2)

[0106] …………………(Formula 3)

[0107] Wherein, represents the number of the first pixel points, represents the data corresponding to the R channel in the first RGB data of the th first pixel point, represents the data corresponding to the G channel in the first RGB data of the th first pixel point, represents the data corresponding to the B channel in the first RGB data of the th first pixel point. Combine the mean data corresponding to the R channel, G channel and B channel into new RGB data as the target RGB data, that is, the target RGB data is ( ).

[0108] In the embodiment of the present application, the average value method is adopted to obtain the mean data corresponding to the three channels respectively, so as to determine the target RGB data corresponding to the light color to be output. By a simple algorithm, the target RGB data can be quickly determined. While reducing the algorithm complexity, it can also make the calculated target RGB data closer to the actual color of the light color to be output presented on the vehicle-mounted display screen, ensuring the accuracy of the target RGB data.

[0109] In some embodiments, according to the mean data corresponding to the target channel, determining the data of the target channel in the target RGB data corresponding to the light color to be output includes the following two implementation manners:

[0110] One implementation manner is to determine the mean data corresponding to the target channel as the data of the target channel in the target RGB data corresponding to the light color to be output.

[0111] Exemplarily, as described in the above embodiment, combine the mean data corresponding to the R channel, G channel and B channel into new RGB data as the target RGB data, that is, the target RGB data is ( ).

[0112] Another implementation manner is to perform conversion processing on the mean data corresponding to the target channel to obtain the data of the target channel in the target RGB data corresponding to the light color to be output. The conversion processing includes rounding processing and / or processing based on a set number system.

[0113] Considering that the mean data corresponding to the target channel is calculated based on multiple first RGB data by using the average method, the mean data corresponding to the target channel may be non-integer. To reduce the complexity of RGB data, simplify program control, reduce the amount of data transmitted between the entertainment domain controller and the ambient light controller, and reduce the bus load, rounding processing can be performed on ( ), where the rounding processing includes rounding, ceiling, floor, etc. For example, ( ) is specifically (25.6, 30, 150.4). If rounding is performed, the data of the target channel in the target RGB data corresponding to the light color to be output is obtained as (26, 30, 150); if ceiling is performed, the data of the target channel in the target RGB data corresponding to the light color to be output is obtained as (26, 30, 151); if floor is performed, the data of the target channel in the target RGB data corresponding to the light color to be output is obtained as (25, 30, 150).

[0114] Optionally, to take into account the storage space of the downstream ambient light controller, such as when the storage space is small, or to reduce the occupancy of the storage space of the downstream ambient light controller and save memory, it is necessary to limit the volume of RGB data. Specifically, after the rounding processing, based on the set base number processing, the rounded RGB data is divided by the base number, rounded to the nearest integer, and then multiplied by the base number to obtain the data of the target channel in the target RGB data. For example, using base 5, the processed RGB data (26, 30, 150) after rounding is processed, and finally the data of the target channel in the target RGB data corresponding to the light color to be output is (25, 30, 150).

[0115] Alternatively, only the mean data corresponding to the target channel can be processed based on the set base number.

[0116] It should be noted that the specific implementation method of determining the data of the target channel in the target RGB data corresponding to the light color to be output according to the mean data corresponding to the target channel in this application embodiment is not specifically limited, and it can be selected according to actual design requirements.

[0117] In some embodiments, a color bar including a slider component is set on the in-vehicle display screen. The in-vehicle display screen is connected to the entertainment domain controller. After determining the target RGB data corresponding to the light color to be output, it further includes: updating the RGB data corresponding to the slider component to the target RGB data.

[0118] Such as Figure 2Schematic diagram of the color bar on the in-vehicle display provided by the embodiment of the present application. A slider component is provided on the color bar, and the user selects the color of the light to be output by sliding the slider component. Generally, to distinguish the slider component on the color bar, for example, the height of the slider component is set to be greater than the height of the color bar, and a border with a color different from that on the color bar is set for the slider component.

[0119] To ensure better follow-up effect of the slider component during the sliding process, improve the consistency between the color presented after the slider component is superimposed on the color bar and the background color of the color bar, and avoid a large deviation between the color of the light to be output (the color obtained by superimposing the color of the slider component) shown on the in-vehicle display and the actual output light color of the ambient light. Therefore, it is necessary to ensure that the color of the slider component is consistent with that of the color bar during the sliding process, and update the RGB data corresponding to the slider component to the target RGB data.

[0120] Figure 3 Flow schematic of the intelligent control method for vehicle ambient light provided by the embodiment of the present application Figure 2 The intelligent control method for vehicle ambient light provided by the embodiment of the present application is applied to the ambient light controller. The intelligent control method for vehicle ambient light provided by the embodiment of the present application includes:

[0121] S301. Receive the target RGB data sent by the entertainment domain controller. The target RGB data is determined according to the first RGB data of multiple first pixel points, and the multiple first pixel points are the pixel points included in the color area corresponding to the color selection instruction for the light color to be output by the ambient light.

[0122] Among them, the target RGB data can be determined through steps S101 and S102.

[0123] Exemplarily, the ambient light controller receives the target RGB data sent by the entertainment domain controller through the CAN bus.

[0124] S302. Based on the correspondence between RGB data and drive current, determine the target drive current corresponding to the target RGB data.

[0125] Among them, the correspondence between RGB data and drive current calibrated in advance is stored in the ambient light controller. After receiving the target RGB, the target drive current corresponding to the target RGB data is found in this correspondence.

[0126] S303. Drive the ambient light to output the light color corresponding to the target RGB data according to the target drive current.

[0127] Exemplarily, the ambient light controller drives the ambient light head to light the corresponding three-color RGB LED with a target drive current, thereby outputting the light color corresponding to the target RGB data. Each RGB LED includes three independent LED chips for red, green, and blue respectively, and each chip corresponds to one path of drive current. The target drive current includes three paths of current, which respectively correspond to the three channels in the target RGB data. By regulating the drive current corresponding to each chip, the brightness of the RGB LED is controlled, thereby mixing different colors.

[0128] In the embodiment of the present application, according to the target RGB data sent by the entertainment domain controller, the ambient light is controlled to output the light color to be output. Since the target RGB data is extracted from the color area corresponding to the color selection instruction based on an automated method and does not rely on the mapping relationship between different colors and RGB data obtained by manual arrangement, the ambient light controller controls the output of the ambient light based on the target RGB data with high accuracy, making the actual output light color of the ambient light closer to the light color to be output. Thus, the consistency problem between the actual output light color and the light color to be output of the ambient light is improved, the visual effect is enhanced, and the user experience is improved.

[0129] In a possible implementation manner, after driving the ambient light to output the light color corresponding to the target RGB data, it further includes: obtaining the light color image information of the ambient light; determining the actual RGB data of the ambient light according to the light color image information; determining the deviation value of the actual RGB data relative to the target RGB data based on the actual RGB data and the target RGB data; if the deviation value is greater than or equal to the difference threshold, adjusting the drive current of the ambient light until the deviation value of the actual RGB data of the ambient light relative to the target RGB data is less than the difference threshold.

[0130] Exemplarily, the light color image information presented by the ambient light is obtained through an in-vehicle camera or other image acquisition devices and sent to the ambient light controller. That is, the ambient light controller obtains the light color image information of the ambient light from the in-vehicle camera. It should be noted that in order to ensure that the resolution and quality of the image are high enough to accurately extract the RGB data information, a high-performance in-vehicle camera or other image acquisition devices are installed in the vehicle. According to a preset rule, for example, a region of a set size is intercepted from the light color image information, and the RGB data is extracted based on the light color image information corresponding to the region (the extracted RGB data is the actual RGB data of the ambient light).

[0131] In practical applications, due to various factors such as the non-linear response of LEDs, the optical property differences of LEDs in different batches, and temperature, there may be a deviation between the actual RGB data and the target RGB data. For example, if the target RGB data is (25, 30, 150) and the actual RGB data is (20, 30, 100), then the deviation value of the actual RGB data relative to the target RGB data is (5, 0, 50). For any target channel in the RGB data, compare the data of the target channel in the deviation value with the difference threshold of the target channel respectively. If the deviation value of the target channel exceeds the corresponding difference threshold, adjust the driving current corresponding to the target channel, such as adjusting by 1% each time, until the deviation value of the target channel in the actual RGB data is lower than the corresponding difference threshold; if the deviation value of the target channel is lower than the corresponding difference threshold, do not adjust the driving current corresponding to the target channel.

[0132] In the embodiments of the present application, through the feedback and compensation mechanism, the output light color of the ambient light is dynamically adjusted to calibrate the output light color of the ambient light, effectively reducing the deviation between the target RGB data and the actual output light color, ensuring the consistency between the color of the light to be output on the in-vehicle display screen and the actual output light color of the ambient light, and improving the accuracy of ambient light control and the user experience.

[0133] In some embodiments, after adjusting the driving current of the ambient light, it further includes: in the correspondence between the RGB data and the driving current, updating the driving current corresponding to the target RGB data to the adjusted driving current.

[0134] In the embodiments of the present application, by timely updating the correspondence between the RGB data and the driving current and recalibrating the correspondence, the ambient light can more accurately reproduce the light color to be output selected by the user, significantly improving the user experience and satisfaction.

[0135] In some embodiments, determining the actual RGB data of the ambient light according to the light color image information includes: based on the image processing technology, extracting the second RGB data of multiple second pixel points included in the light color image information; for any target channel in the RGB data, perform the following processing, where the target channel includes the R channel, the G channel, and the B channel: determining the mean data of the data corresponding to the target channel in the second RGB data of the multiple second pixel points; and determining the data of the target channel in the actual RGB data of the ambient light according to the mean data corresponding to the target channel.

[0136] Exemplarily, based on an image processing library (such as OpenCV, PIL / Pillow, etc.), the light color image information is read, and the second RGB data of each second pixel point is extracted. Based on multiple second RGB data, according to Formula 1, Formula 2, and Formula 3 in the above embodiments, the mean data corresponding to the R channel, the mean data corresponding to the G channel, and the mean data corresponding to the B channel are calculated respectively, and the mean data corresponding to the R channel, G channel, and B channel are combined into new RGB data as the actual RGB data.

[0137] In some embodiments, according to the mean data corresponding to the target channel, determining the data of the target channel in the actual RGB data of the atmosphere light includes the following two implementation manners:

[0138] One implementation manner is to determine the mean data corresponding to the target channel as the data of the target channel in the actual RGB data of the atmosphere light.

[0139] Exemplarily, the mean data corresponding to the R channel, G channel, and B channel are combined into new RGB data as the actual RGB data.

[0140] Another implementation manner is to perform a conversion process on the mean data corresponding to the target channel to obtain the data of the target channel in the actual RGB data of the atmosphere light. The conversion process includes rounding processing and / or processing based on a set number system.

[0141] After the atmosphere light controller calculates the actual RGB data, it may store the actual RGB data. To reduce the occupancy of storage space, the data volume can be reduced through a conversion process during the process of obtaining the actual RGB data.

[0142] Exemplarily, only perform rounding processing on the mean data corresponding to the target channel. Another exemplarily, first perform rounding processing on the mean data corresponding to the target channel, and then perform processing based on a set number system. Still another exemplarily, only perform processing based on a set number system on the mean data corresponding to the target channel. The specific implementation process can refer to the description in the foregoing embodiments and will not be elaborated here.

[0143] In some embodiments, based on the correspondence between RGB data and drive current, determining the target drive current corresponding to the target RGB data includes: determining whether the target RGB data is data after rounding processing and / or determining whether the target RGB data is data after processing based on a set number system; if so, based on the correspondence between RGB data and drive current, determining the target drive current corresponding to the target RGB data; if not, performing rounding processing and / or processing based on a set number system on the target RGB data to obtain processed data; based on the correspondence between RGB data and drive current, determining the target drive current corresponding to the processed data.

[0144] Exemplarily, the target RGB data sent by the entertainment domain controller includes two flag bits. One flag bit reflects whether the RGB data has been rounded. If it has been rounded, this flag bit is 1; otherwise, it is 0. The other flag bit reflects whether the RGB data has been processed with a set number system. If it has been processed with a set number system, this flag bit is 1; otherwise, it is 0. When the ambient light controller receives the target RGB data, by identifying these two flag bits, it determines whether the target RGB data is data after rounding processing or data after processing with a set number system.

[0145] If both flag bits are 1, then look up the target drive current corresponding to the target RGB data in the correspondence between the RGB data and the drive current.

[0146] If both flag bits are 0, then perform rounding processing and set number system processing on the target RGB data, or perform only rounding processing, or perform only set number system processing.

[0147] If it is determined through identifying the flag bits that the target RGB data has not been rounded but has been processed with a set number system, then look up the target drive current corresponding to the target RGB data in the correspondence between the RGB data and the drive current.

[0148] If it is determined through identifying the flag bits that the target RGB data has been rounded but has not been processed with a set number system, then perform set number system processing on the target RGB data.

[0149] In the embodiment of the present application, considering that the ambient light controller may store the target RGB data sent by the entertainment domain after receiving it, in order to reduce the occupation of storage space, it first determines whether the target RGB data is data after conversion processing before storage, which has high flexibility.

[0150] In summary, the present application has at least the following beneficial effects:

[0151] 1. Extract the first RGB data of each pixel point among multiple first pixel points included in the color area corresponding to the color selection instruction through an automated method; determine the target RGB data corresponding to the light color to be output based on the first RGB data of the multiple first pixel points. Compared with relying on manual arrangement to obtain the mapping relationship between different colors and RGB data and then determining the target RGB corresponding to the light color to be output based on this mapping relationship, the embodiment of the present application realizes the intelligent extraction of the target RGB data of the light color to be output from the color area, solves the error generated due to the manual arrangement of the mapping relationship between colors and RGB data, and improves the accuracy of the target RGB data. Further, send accurate target RGB data to the ambient light controller to control the ambient light to output the light color to be output, so that the actual output light color of the ambient light is closer to the light color to be output, thereby improving the consistency problem between the actual output light color and the light color to be output of the ambient light, enhancing the visual effect, and improving the user experience. In addition, if it is necessary to adjust the color of the light color to be output of the ambient light on the in-vehicle display screen (such as increasing or decreasing colors, changing the color arrangement order), it can be directly adjusted. Since the present application does not rely on the mapping relationship between colors and RGB data obtained by manual arrangement, after adjustment, manual rearrangement is avoided, reducing the development cost, improving the development efficiency and the intelligent level.

[0152] 2. By updating the RGB data corresponding to the slider component to the target RGB data, ensure that the follow-up effect of the slider component during sliding is better, improve the consistency between the color presented after the slider component is superimposed on the color bar and the background color of the color bar, and avoid a large deviation between the color of the light color to be output displayed on the in-vehicle display screen (this color is the color of the slider component superimposed) and the actual output light color of the ambient light.

[0153] 3. Dynamically adjust the output light color of the ambient light through a feedback and compensation mechanism to calibrate the output light color of the ambient light, effectively reduce the deviation between the target RGB data and the actual output light color, ensure the consistency between the color of the light color to be output on the in-vehicle display screen and the actual output light color of the ambient light, and improve the accuracy of the ambient light control and the user experience.

[0154] 4. On the side of the entertainment domain controller, obtain the target RGB data by rounding the average value data corresponding to the target channel and / or processing based on a set number system, reduce the complexity of the target RGB data, simplify the program control, while reducing the amount of data transmitted between the entertainment domain controller and the ambient light controller, and reducing the bus load. In addition, it also reduces the storage space occupation of the ambient light controller and saves memory.

[0155] V. Compared with the related art, the calibration process of the output light color of the ambient light not only involves the adjustment of the mapping relationship between the colors on the entertainment domain controller side and the RGB data, but also involves the adjustment of the target drive current on the ambient light controller side. The vehicle ambient light intelligent control method provided by this application only needs to adjust the target drive current, thereby simplifying the calibration process of the output light color of the ambient light and avoiding problems such as calibration time cost and color inconsistency caused by dynamic adjustment on both sides.

[0156] Figure 4 Structural schematic of the vehicle ambient light intelligent control device provided by the embodiment of this application Figure 1 As Figure 4 shown, this application provides a vehicle ambient light intelligent control device, which is applied to an entertainment domain controller. The vehicle ambient light intelligent control device 40 includes: an extraction module 41, a determination module 42, and a sending module 43. Among them:

[0157] The extraction module 41 is configured to, in response to detecting a color selection instruction for the light color to be output by the ambient light, extract the first RGB data of each pixel point in multiple first pixel points included in the color area corresponding to the color selection instruction;

[0158] The determination module 42 is configured to determine the target RGB data corresponding to the light color to be output according to the first RGB data of the multiple first pixel points;

[0159] The sending module 43 is configured to send the target RGB data to the ambient light controller to control the ambient light to output the light color to be output.

[0160] In a possible implementation manner, the determination module 42 is specifically configured to: for any target channel in the RGB data, perform the following processing, where the target channel includes the R channel, the G channel, and the B channel: determine the mean data of the data corresponding to the target channel in the first RGB data of the multiple first pixel points; according to the mean data corresponding to the target channel, determine the data of the target channel in the target RGB data corresponding to the light color to be output.

[0161] In a possible implementation manner, the determination module 42 is further configured to: determine the mean data corresponding to the target channel as the data of the target channel in the target RGB data corresponding to the light color to be output; or perform a conversion process on the mean data corresponding to the target channel to obtain the data of the target channel in the target RGB data corresponding to the light color to be output, and the conversion process includes rounding processing and / or processing based on a set number system.

[0162] See Figure 5As shown, in a possible implementation, a color bar including a slider component is provided on the in-vehicle display screen. The in-vehicle display screen is connected to the entertainment domain controller. The vehicle ambient light intelligent control device 40 further includes an update module 44. The update module 44 is configured to: after determining the target RGB data corresponding to the light color to be output, update the RGB data corresponding to the slider component to the target RGB data.

[0163] The vehicle ambient light intelligent control device provided by the embodiment of the present application can execute the method provided by the above method embodiment, and its implementation principle and technical effects are similar, which will not be elaborated here in this embodiment.

[0164] Figure 6 This is a schematic structure of the vehicle ambient light intelligent control device provided by the embodiment of the present application Figure 3 , such as Figure 6 As shown, the present application provides a vehicle ambient light intelligent control device, which is applied to an ambient light controller. The vehicle ambient light intelligent control device 60 includes: a receiving module 61, a determining module 62, and a driving module 63. Among them:

[0165] The receiving module 61 is configured to receive the target RGB data sent by the entertainment domain controller. The target RGB data is determined according to the first RGB data of a plurality of first pixel points. The plurality of first pixel points are the pixel points included in the color area corresponding to the color selection instruction for the light color to be output by the ambient light.

[0166] The determining module 62 is configured to determine the target driving current corresponding to the target RGB data based on the correspondence between the RGB data and the driving current.

[0167] The driving module 63 is configured to drive the ambient light to output the light color corresponding to the target RGB data according to the target driving current.

[0168] See Figure 7 As shown, in a possible implementation, the vehicle ambient light intelligent control device 60 further includes a calibration module 64. The calibration module 64 is configured to: after driving the ambient light to output the light color corresponding to the target RGB data, obtain the light color image information of the ambient light; determine the actual RGB data of the ambient light according to the light color image information; determine the deviation value of the actual RGB data relative to the target RGB data based on the actual RGB data and the target RGB data; if the deviation value is greater than or equal to the difference threshold, adjust the driving current of the ambient light until the deviation value of the actual RGB data of the ambient light relative to the target RGB data is less than the difference threshold.

[0169] In a possible implementation, the calibration module 64 is specifically configured to: based on image processing technology, extract the second RGB data of multiple second pixel points included in the light color image information; for any target channel in the RGB data, perform the following processing, where the target channel includes the R channel, the G channel, and the B channel: determine the mean data of the data corresponding to the target channel in the second RGB data of the multiple second pixel points; and determine the data of the target channel in the actual RGB data of the ambient light according to the mean data corresponding to the target channel.

[0170] In a possible implementation, the calibration module 64 is further configured to: determine the mean data corresponding to the target channel as the data of the target channel in the actual RGB data of the ambient light; or perform a conversion process on the mean data corresponding to the target channel to obtain the data of the target channel in the actual RGB data of the ambient light, and the conversion process includes rounding processing and / or processing based on a set number system.

[0171] See Figure 6 As shown, in a possible implementation, the vehicle ambient light intelligent control device 60 further includes an update module 65, and the update module 65 is configured to: after adjusting the driving current of the ambient light, update the driving current corresponding to the target RGB data to the adjusted driving current in the correspondence between the RGB data and the driving current.

[0172] In a possible implementation, the determination module 62 is specifically configured to: determine whether the target RGB data is data after rounding processing and / or determine whether the target RGB data is data after processing based on a set number system; if so, determine the target driving current corresponding to the target RGB data based on the correspondence between the RGB data and the driving current; if not, perform rounding processing and / or processing based on a set number system on the target RGB data to obtain processed data; and determine the target driving current corresponding to the processed data based on the correspondence between the RGB data and the driving current.

[0173] The vehicle ambient light intelligent control device provided by the embodiments of the present application can execute the method provided by the above method embodiments, and its implementation principle and technical effects are similar, which will not be elaborated here in this embodiment.

[0174] Figure 8 It is a schematic structural diagram of the vehicle ambient light intelligent control system provided by the embodiments of the present application. As Figure 8 shown, the present application provides a vehicle ambient light intelligent control system 80, including: an entertainment domain controller 81 and an ambient light controller 82. Wherein:

[0175] The entertainment domain controller 81 is configured to execute the vehicle ambient light intelligent control method applied to the entertainment domain controller 81;

[0176] The ambient light controller 82 is used to execute the vehicle ambient light intelligent control method applied to the ambient light controller 82 as described above.

[0177] This application also provides a vehicle, including the above-mentioned vehicle ambient light intelligent control system 80.

[0178] Exemplarily, the vehicle includes a vehicle body, a vehicle ambient light intelligent control system, other key systems and components. For example, a battery management system, a telematics system, a power control system, a safety system, etc.

[0179] Through the cooperation of the above systems, comprehensive vehicle functions and user experiences are provided.

[0180] Figure 9 It is a schematic structural diagram of the electronic device provided by the embodiment of this application, as Figure 9 shown, the electronic device 90 provided by this embodiment includes: at least one processor 901 and a memory 902. Optionally, the electronic device 90 further includes a communication component 903. Among them, the processor 901, the memory 902, and the communication component 903 are connected through a bus 904.

[0181] In the specific implementation process, at least one processor 901 executes the computer execution instructions stored in the memory 902, so that at least one processor 901 executes the above method.

[0182] For the specific implementation process of the processor 901, reference can be made to the above method embodiment, and its implementation principle and technical effects are similar, so they will not be elaborated here in this embodiment.

[0183] In the above embodiment, it should be understood that the processor may be a central processing unit (English: Central Processing Unit, abbreviated as: CPU), or other general-purpose processors, a digital signal processor (English: Digital Signal Processor, abbreviated as: DSP), an application specific integrated circuit (English: Application Specific Integrated Circuit, abbreviated as: ASIC), etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the invention can be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.

[0184] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory, NVM), such as at least one disk memory.

[0185] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, 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 buses in the drawings of this application are not limited to only one bus or one type of bus.

[0186] The embodiments of this application also provide a computer program product, including a computer program which, when executed by a processor, implements the above method.

[0187] The embodiments of this application also provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above method.

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

[0189] An exemplary readable storage medium is coupled to the processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component 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 a device.

[0190] The division of units is only a logical function division. In actual implementation, there can be other division methods. 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 displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces, and the indirect couplings or communication connections of devices or units can be in electrical, mechanical or other forms.

[0191] The unit described as a separation component may or may not be physically separated. The component shown as a unit may or may not be a physical unit, that is, it may be located in one place or distributed across multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0192] In addition, in each embodiment of the present invention, each functional unit may be integrated in a processing unit, may exist physically alone for each unit, or two or more units may be integrated in one unit.

[0193] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in each embodiment of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[0194] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When this program is executed, it executes the steps including the above method embodiments; and the aforementioned storage medium includes: various media such as ROM, RAM, magnetic disks, or optical discs that can store program codes.

[0195] Finally, it should be noted that: After considering the specification and practicing the invention disclosed herein, those skilled in the art will readily think of other implementation schemes of the present invention. The present invention aims to cover any variations, uses, or adaptive changes of the present invention. These variations, uses, or adaptive changes follow the general principles of the present invention and include common general knowledge or conventional technical means in the technical field of the present invention that are not disclosed in the present invention. It is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present invention is only limited by the appended claims.

Claims

1. A vehicle atmosphere light intelligent control method, characterized in that, Applied to an entertainment domain controller, the vehicle ambient light intelligent control method includes: In response to detecting a color selection instruction for the light color to be output by the ambient light, extracting the first RGB data of each pixel point among the multiple first pixel points included in the color area corresponding to the color selection instruction; Determining the target RGB data corresponding to the light color to be output according to the first RGB data of the multiple first pixel points; Sending the target RGB data to the ambient light controller to control the ambient light to output the light color to be output.

2. The vehicle atmosphere lamp intelligent control method according to claim 1, wherein The determining the target RGB data corresponding to the light color to be output according to the first RGB data of the multiple first pixel points includes: For any target channel in the RGB data, perform the following processing, where the target channel includes the R channel, the G channel, and the B channel: Determining the mean data of the data corresponding to the target channel in the first RGB data of the multiple first pixel points; Determining the data of the target channel in the target RGB data corresponding to the light color to be output according to the mean data corresponding to the target channel.

3. The vehicle atmosphere light intelligent control method according to claim 2, wherein The determining the data of the target channel in the target RGB data corresponding to the light color to be output according to the mean data corresponding to the target channel includes: Determining the mean data corresponding to the target channel as the data of the target channel in the target RGB data corresponding to the light color to be output; Or, performing a conversion process on the mean data corresponding to the target channel to obtain the data of the target channel in the target RGB data corresponding to the light color to be output, where the conversion process includes rounding processing and / or processing based on a set number system.

4. The vehicle atmosphere light intelligent control method according to any one of claims 1 to 3, characterized in that, A color bar including a slider component is set on the in-vehicle display screen, the in-vehicle display screen is connected to the entertainment domain controller, and after determining the target RGB data corresponding to the light color to be output, it further includes: Updating the RGB data corresponding to the slider component to the target RGB data.

5. A vehicle atmosphere lamp intelligent control method, characterized in that, Applied to an ambient light controller, the vehicle ambient light intelligent control method includes: Receiving the target RGB data sent by the entertainment domain controller, where the target RGB data is determined according to the first RGB data of multiple first pixel points, and the multiple first pixel points are the pixel points included in the color area corresponding to the color selection instruction for the light color to be output by the ambient light; Determining the target drive current corresponding to the target RGB data based on the correspondence between the RGB data and the drive current; Driving the ambient light to output the light color corresponding to the target RGB data according to the target drive current.

6. The vehicle ambient light intelligent control method according to claim 5, characterized in that, After driving the ambient light to output the light color corresponding to the target RGB data, it further includes: Obtaining the light color image information of the ambient light; Determining the actual RGB data of the ambient light according to the light color image information; Determining the deviation value of the actual RGB data relative to the target RGB data based on the actual RGB data and the target RGB data; If the deviation value is greater than or equal to the difference threshold, adjusting the drive current of the ambient light until the deviation value of the actual RGB data of the ambient light relative to the target RGB data is less than the difference threshold.

7. The vehicle atmosphere light intelligent control method according to claim 6, wherein The determining the actual RGB data of the ambient light according to the light color image information includes: Based on the image processing technology, extract the second RGB data of multiple second pixel points included in the light color image information; For any target channel in the RGB data, perform the following processing, where the target channel includes the R channel, the G channel, and the B channel: Determine the mean data of the data corresponding to the target channel in the second RGB data of the multiple second pixel points; Based on the mean data corresponding to the target channel, determine the data of the target channel in the actual RGB data of the ambient light.

8. The vehicle ambient light intelligent control method according to claim 7, wherein The step of determining the data of the target channel in the actual RGB data of the ambient light based on the mean data corresponding to the target channel includes: Determine the mean data corresponding to the target channel as the data of the target channel in the actual RGB data of the ambient light; Or, perform a conversion process on the mean data corresponding to the target channel to obtain the data of the target channel in the actual RGB data of the ambient light, where the conversion process includes rounding processing and / or processing based on a set number system.

9. The vehicle ambient light intelligent control method according to any one of claims 6 to 8, characterized in that, After adjusting the drive current of the ambient light, it further includes: In the correspondence between the RGB data and the drive current, update the drive current corresponding to the target RGB data to the adjusted drive current.

10. The vehicle atmosphere light intelligent control method according to any one of claims 5 to 8, characterized in that, The step of determining the target drive current corresponding to the target RGB data based on the correspondence between the RGB data and the drive current includes: Determine whether the target RGB data is data after rounding processing, and / or determine whether the target RGB data is data after processing based on a set number system; If so, based on the correspondence between the RGB data and the drive current, determine the target drive current corresponding to the target RGB data; If not, perform rounding processing and / or processing based on a set number system on the target RGB data to obtain processed data; based on the correspondence between the RGB data and the drive current, determine the target drive current corresponding to the processed data.

11. A vehicle atmosphere light intelligent control device, characterized in that, Applied to an entertainment domain controller, the vehicle ambient light intelligent control device includes: An extraction module, configured to respond to a color selection instruction for the light color to be output by the ambient light, and extract the first RGB data of each pixel point in multiple first pixel points included in the color area corresponding to the color selection instruction; A determination module, configured to determine the target RGB data corresponding to the light color to be output according to the first RGB data of the multiple first pixel points; A sending module, configured to send the target RGB data to an ambient light controller to control the ambient light to output the light color to be output.

12. A vehicle atmosphere lamp intelligent control device, characterized in that Applied to an ambient light controller, the vehicle ambient light intelligent control device includes: A receiving module, configured to receive the target RGB data sent by the entertainment domain controller, where the target RGB data is determined according to the first RGB data of multiple first pixel points, and the multiple first pixel points are pixel points included in the color area corresponding to the color selection instruction for the light color to be output by the ambient light; A determination module, configured to determine the target drive current corresponding to the target RGB data based on the correspondence between the RGB data and the drive current; A drive module, configured to drive the ambient light to output the light color corresponding to the target RGB data according to the target drive current.

13. A vehicle atmosphere light intelligent control system, characterized in that, It includes: An entertainment domain controller for executing the intelligent control method of vehicle ambient lights as described in any one of claims 1 to 4; An ambient light controller for executing the intelligent control method of vehicle ambient lights as described in any one of claims 5 to 10.

14. A vehicle, characterized in that, Comprising: The intelligent control system of vehicle ambient lights as described in claim 13.

15. An electronic device, comprising: A memory and a processor; The memory stores a computer program; The processor executes the computer program to implement the intelligent control method of vehicle ambient lights as described in any one of claims 1 to 4, and / or to implement the intelligent control method of vehicle ambient lights as described in any one of claims 5 to 10.

16. A computer-readable storage medium, characterized in that, Computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed, they are used to implement the intelligent control method of vehicle ambient lights as described in any one of claims 1 to 4, and / or to implement the intelligent control method of vehicle ambient lights as described in any one of claims 5 to 10.