An in-vehicle atmosphere lamp control method and device, a storage medium and a vehicle

CN116761301BActive Publication Date: 2026-09-08ZHEJIANG GEELY HLDG GRP CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310528140.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-10
Publication Date
2026-09-08
Estimated Expiration
2043-05-10

AI Technical Summary

Technical Problem

[0003]目前,为了提高趣味性,车内氛围灯的视觉效果常随着音乐节奏的律动发生变化,但是,当音乐节奏变化过大时,会导致氛围灯亮度变化的连贯性较差,突兀感较强,甚至可能会造成光污染,影响行车安全

Benefits of technology

[0038]The beneficial effects of the in-vehicle ambient lighting control method, device, storage medium, and vehicle of the present invention are as follows: First audio analysis data for the next moment is acquired, and a target value for the number of ambient lights corresponding to the first audio analysis data is determined. A preset correspondence between the audio analysis data and the number of ambient lights can be established in advance, and the audio analysis data can be positively correlated with the number of ambient lights. A brightness change curve for each ambient light is generated based on a Bézier curve, and these curves are arranged sequentially according to the control order of the ambient lights to form the Bézier curve. When each ambient light is controlled sequentially according to its corresponding brightness change curve in the control order, the brightness of each ambient light changes according to the Bézier curve, making the brightness change of the ambient lights smoother until the number of illuminated ambient lights reaches the target value. Compared to the prior art where ambient lights suddenly turn on or off to a corresponding number, the present invention controls the brightness of each ambient light sequentially according to the Bézier curve, reducing the abruptness of the brightness change and improving the continuity of the brightness change.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116761301B_ABST
    Figure CN116761301B_ABST
Patent Text Reader

Abstract

The application provides an in-vehicle atmosphere lamp control method and device, a storage medium and a vehicle, and relates to the technical field of vehicles.The control method comprises the following steps: obtaining first audio analysis data of the next moment; determining an atmosphere lamp quantity target value corresponding to the first audio analysis data in a preset correspondence relationship, wherein the preset correspondence relationship comprises audio analysis data and corresponding atmosphere lamp quantity; generating a brightness change curve of each atmosphere lamp according to a Bezier curve, wherein the brightness change curves of each atmosphere lamp are arranged in sequence according to a control order to form the Bezier curve; and controlling the brightness change of each atmosphere lamp according to the corresponding brightness change curve in sequence until the number of lit atmosphere lamps reaches the atmosphere lamp quantity target value.The application generates a brightness change curve according to a Bezier curve to control each atmosphere lamp, which can reduce the abruptness of the brightness change of the atmosphere lamp and improve the continuity of the brightness change of the atmosphere lamp.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle technology, and more specifically, to a method, device, storage medium, and vehicle for controlling ambient lighting in a vehicle. Background Technology

[0002] As users demand more personalization and comfort in their cars, there is a growing trend of decorating car interiors with various types of ambient lighting. By placing ambient lighting in appropriate locations within the car, users can create a warm, relaxing, and comfortable atmosphere.

[0003] Currently, to enhance the visual appeal, the visual effects of ambient lighting in cars often change with the rhythm of music. However, when the rhythm of the music changes too drastically, the brightness of the ambient lighting becomes less consistent and abrupt, potentially causing light pollution and affecting driving safety. Summary of the Invention

[0004] The problem solved by this invention is how to reduce the abruptness of changes in ambient light brightness and improve the continuity of changes in ambient light brightness.

[0005] To address the aforementioned problems, this invention provides a method, apparatus, and storage medium for controlling ambient lighting in a vehicle.

[0006] In a first aspect, the present invention provides a method for controlling ambient lighting in a vehicle, comprising:

[0007] Obtain the first audio parsing data for the next moment;

[0008] A target value for the number of ambient lights corresponding to the first audio parsing data is determined in a preset correspondence relationship, wherein the preset correspondence relationship includes audio parsing data and the corresponding number of ambient lights;

[0009] The brightness variation curves of each ambient light are generated according to the Bézier curve, wherein the brightness variation curves of each ambient light are arranged in sequence according to the control order to form the Bézier curve;

[0010] The brightness of each ambient light is controlled sequentially according to the corresponding brightness change curve until the number of illuminated ambient lights reaches the target value.

[0011] Optionally, before generating the brightness variation curves of each ambient light based on the Bezier curve, the in-vehicle ambient light control method further includes:

[0012] The sequence number of each ambient light is determined sequentially according to the control order of the ambient lights;

[0013] A coordinate system is constructed with time length as the horizontal axis and the serial number of the ambient lights as the vertical axis, wherein the serial numbers of the ambient lights are arranged sequentially on the vertical axis in order of size.

[0014] The Bezier curve is drawn with the origin of the coordinate system as the starting point, the horizontal axis representing the duration of brightness change, and the vertical axis representing the maximum value of the ambient light's serial number as the ending point.

[0015] The duration of the brightness change represents the time required for all the ambient lights to change with the audio analysis data at a single moment.

[0016] Optionally, controlling the brightness changes of each ambient light sequentially according to the corresponding brightness change curve includes:

[0017] The duration of each ambient light bulb's LED change is determined based on the corresponding brightness change curve.

[0018] The brightness of each ambient light is controlled sequentially according to the control sequence, changing within the corresponding duration of the light bead change.

[0019] Optionally, controlling the brightness of each ambient light in the control sequence within the corresponding lamp bead variation time includes:

[0020] For any of the ambient lights, the brightness of the ambient light is controlled to change proportionally within the corresponding duration of the change of the lamp beads.

[0021] Optionally, before sequentially controlling the brightness changes of each ambient light according to the corresponding brightness change curve, the in-vehicle ambient light control method further includes:

[0022] Obtain the second audio parsing data at the current moment;

[0023] The control method of the ambient light is determined by comparing the first audio parsing data and the second audio parsing data based on the comparison result.

[0024] Optionally, determining the control method of the ambient light based on the comparison results includes:

[0025] When the first audio parsing data is greater than or equal to the second audio parsing data, the ambient light is controlled to be off;

[0026] When the first audio parsing data is less than the second audio parsing data, the ambient light is controlled to be turned on.

[0027] Optionally, controlling the brightness changes of each ambient light sequentially according to the corresponding brightness change curve includes:

[0028] Each ambient light is controlled sequentially according to the control order of the ambient lights. For any ambient light, the brightness change of the ambient light is controlled according to the corresponding brightness change curve in the control method.

[0029] Secondly, the present invention provides an in-vehicle ambient lighting control device, comprising:

[0030] The acquisition module is used to acquire the first audio parsing data for the next moment;

[0031] The processing module is used to determine a target value for the number of ambient lights corresponding to the first audio parsing data in a preset correspondence relationship, wherein the preset correspondence relationship includes the audio parsing data and the corresponding number of ambient lights;

[0032] The generation module is used to generate the brightness change curve of each ambient light according to the Bézier curve, wherein the brightness change curves of each ambient light are arranged in sequence according to the control order to form the Bézier curve;

[0033] The control module is used to sequentially control the brightness change of each ambient light according to the corresponding brightness change curve until the number of illuminated ambient lights reaches the target value of the number of ambient lights.

[0034] Thirdly, the present invention provides a computer-readable storage medium storing a computational basic program, which, when executed by a processor, implements the in-vehicle ambient lighting control method as described in the first aspect.

[0035] Fourthly, the present invention provides a vehicle including a memory and a processor;

[0036] The memory is used to store computer programs;

[0037] The processor is configured to implement the in-vehicle ambient lighting control method as described in the first aspect when executing the computer program.

[0038] The beneficial effects of the in-vehicle ambient lighting control method, device, storage medium, and vehicle of the present invention are as follows: First audio analysis data for the next moment is acquired, and a target value for the number of ambient lights corresponding to the first audio analysis data is determined. A preset correspondence between the audio analysis data and the number of ambient lights can be established in advance, and the audio analysis data can be positively correlated with the number of ambient lights. A brightness change curve for each ambient light is generated based on a Bézier curve, and these curves are arranged sequentially according to the control order of the ambient lights to form the Bézier curve. When each ambient light is controlled sequentially according to its corresponding brightness change curve in the control order, the brightness of each ambient light changes according to the Bézier curve, making the brightness change of the ambient lights smoother until the number of illuminated ambient lights reaches the target value. Compared to the prior art where ambient lights suddenly turn on or off to a corresponding number, the present invention controls the brightness of each ambient light sequentially according to the Bézier curve, reducing the abruptness of the brightness change and improving the continuity of the brightness change. Attached Figure Description

[0039] Figure 1 This is a flowchart illustrating a method for controlling ambient lighting in a vehicle according to an embodiment of the present invention.

[0040] Figure 2 This is a schematic diagram illustrating the process of drawing a Bézier curve according to an embodiment of the present invention;

[0041] Figure 3 This is a schematic diagram of a Bézier curve according to an embodiment of the present invention;

[0042] Figure 4 This is a schematic diagram showing the control time corresponding to each ambient light in an embodiment of the present invention;

[0043] Figure 5 This is a schematic diagram showing all seven ambient lights of this embodiment of the invention lit up.

[0044] Figure 6 This is a schematic diagram of the structure of an in-vehicle ambient lighting control device according to an embodiment of the present invention. Detailed Implementation

[0045] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Although some embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the accompanying drawings and embodiments of the present invention are for illustrative purposes only and are not intended to limit the scope of protection of the present invention.

[0046] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.

[0047] The term "comprising" and its variations as used herein are open-ended, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optionally" means "optional embodiments". Definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc., mentioned in this invention are used only to distinguish different devices, modules, or units, and are not intended to limit the order of functions performed by these devices, modules, or units or their interdependencies.

[0048] It should be noted that the terms "a" and "a plurality of" used in this invention are illustrative rather than restrictive. Those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0049] The names of the messages or information exchanged between the multiple devices in the embodiments of the present invention are for illustrative purposes only and are not intended to limit the scope of these messages or information.

[0050] In existing technology, the lighting effects of ambient lights change with the rhythm of the music. If the number of ambient lights corresponding to the audio analysis data at the current moment is 10, then all 10 ambient lights will be turned on. If the number of ambient lights corresponding to the audio analysis data at the next moment is 1, then 9 ambient lights will be turned off, leaving only one ambient light on. This rhythmic change can lead to abrupt and jarring changes in the lighting effects when the fluctuations are too large.

[0051] like Figure 1 As shown, in view of the problems existing in the prior art, the present invention provides an in-vehicle ambient lighting control method, which can be applied to a controller. The in-vehicle ambient lighting control method includes:

[0052] S110, obtain the first audio parsing data for the next moment.

[0053] Specifically, the in-vehicle entertainment system outputs audio parsing data at fixed time intervals, and the controller acquires this audio parsing data. The audio parsing data can be parsed data of audio signals such as music and radio broadcasts, and may include the amplitude and frequency of the audio signal.

[0054] S120, determine the target value of the number of ambient lights corresponding to the first audio parsing data in the preset correspondence relationship, wherein the preset correspondence relationship includes the audio parsing data and the corresponding number of ambient lights.

[0055] Specifically, a pre-defined correspondence can be established between audio analysis data and the number of ambient lights. The magnitude of the audio analysis data can be positively correlated with the number of ambient lights. For example, the greater the amplitude or frequency of the audio signal, the more ambient lights are required.

[0056] When the first audio parsing data for the next moment is obtained, a corresponding number of ambient lights need to be turned on. Specifically, the ambient lights can be controlled to light up sequentially according to a preset control order until the corresponding number of ambient lights are lit.

[0057] S130, Generate the brightness change curve of each ambient light according to the Bézier curve, wherein the brightness change curves of each ambient light are arranged in sequence according to the control order to form the Bézier curve.

[0058] Specifically, the control sequence can represent the order in which the ambient lights are turned on and off, and the ambient lights can be sorted according to the control sequence. For example... Figure 3 As shown, a Bézier curve can be pre-drawn based on the ambient light's serial number and the duration of brightness change.

[0059] A Bézier curve can include multiple brightness change curves, each corresponding to an ambient light. The endpoint of the brightness change curve corresponding to the i-th ambient light coincides with the starting point of the brightness change curve corresponding to the (i+1)-th ambient light, where i is greater than or equal to 1.

[0060] S140, according to the corresponding brightness change curve, the brightness change of each ambient light is controlled sequentially until the number of illuminated ambient lights reaches the target value of the number of ambient lights.

[0061] Specifically, each ambient light is controlled sequentially according to the control sequence. The brightness of each ambient light can be controlled to change according to the corresponding brightness change curve. Specifically, the brightness change curve can include the brightness value of the ambient light at different times. The brightness of the ambient light can be adjusted to the brightness value of the corresponding time according to the change of time.

[0062] Controlling the brightness of ambient lights can include turning the ambient lights on or off. By turning the ambient lights on or off sequentially, the number of ambient lights that are lit can reach the target number of ambient lights corresponding to the first audio analysis data.

[0063] In this embodiment, the first audio analysis data for the next moment is acquired, and a target value for the number of ambient lights corresponding to the first audio analysis data is determined. A preset correspondence between the audio analysis data and the number of ambient lights can be established in advance, and the audio analysis data can be positively correlated with the number of ambient lights. A brightness change curve for each ambient light is generated based on a Bézier curve, and these curves are arranged sequentially according to the control order of the ambient lights to form the Bézier curve. When each ambient light is controlled sequentially according to its corresponding brightness change curve in the control order, the brightness of each ambient light changes according to the Bézier curve, making the brightness change of the ambient lights smoother until the number of lit ambient lights reaches the target value. Compared to the prior art where ambient lights suddenly turn on or off to a corresponding number, this invention controls the brightness of each ambient light sequentially according to the Bézier curve, reducing the abruptness of the brightness change and improving the continuity of the brightness change.

[0064] It should be noted that for a lighting group consisting of multiple ambient lights, the brightness control can be divided into on and off modes. For on / off control, it is not necessary to follow a Bézier curve; instead, the ambient lights are controlled to illuminate sequentially according to the control order, ensuring that the required number of illuminated ambient lights are reached within the specified brightness variation time. For off control, a Bézier curve can be followed, controlling the ambient lights to extinguish sequentially according to their corresponding brightness variation curves until the required number of remaining illuminated ambient lights are reached.

[0065] The duration of brightness change for ambient light illumination control and the duration of brightness change for ambient light extinguishing control can be the same or different. Furthermore, the control sequence for ambient light illumination control and the control sequence for ambient light extinguishing control can be the same or different.

[0066] Optionally, such as Figure 2 As shown, before generating the brightness variation curves of each ambient light based on the Bezier curve, the in-vehicle ambient light control method further includes:

[0067] S210, determine the sequence number of each ambient light according to the control sequence of the ambient lights.

[0068] Specifically, the ambient lights are sorted in sequence according to the control order to determine the serial number of each ambient light.

[0069] For example, assuming there are A ambient lights, each ambient light is assigned a serial number according to the control sequence, so the A ambient lights can be divided into light 1, light 2, ..., light A.

[0070] S220, a coordinate system is constructed with time length as the horizontal axis and the serial number of the ambient light as the vertical axis, wherein the serial numbers of the ambient lights are arranged sequentially on the vertical axis in order of size.

[0071] Specifically, such as Figure 3 and Figure 4 As shown, the time lengths on the horizontal axis are arranged in ascending order, while the ambient light numbers on the vertical axis are arranged in ascending order. That is, the closer to the origin of the coordinate system, the smaller the ambient light number and the shorter the time length. For example, the numbers of A ambient lights are arranged in the order of light 1, light 2, ..., light A on the vertical axis, with light 1 being closer to the origin of the coordinate system.

[0072] S230, with the origin of the coordinate system as the starting point, the coordinate point where the horizontal axis is the duration of brightness change and the vertical axis is the maximum value of the serial number of the ambient light as the ending point, draw the Bezier curve;

[0073] The duration of the brightness change represents the time required for all the ambient lights to change with the audio analysis data at a single moment.

[0074] Specifically, the duration of brightness change can characterize the time required for all ambient lights to complete one brightness change (lighting on or off) based on the audio analysis data obtained at a certain moment. The Bézier curve can include cubic Bézier curves and B-spline curves. The B-spline curve is a generalized curve of the Bézier curve; in this embodiment, a cubic Bézier curve is preferred.

[0075] like Figure 3 and Figure 4 As shown, a Bézier curve is drawn with the coordinate point (0,0) as the starting point and the coordinate point (TA, light A) as the ending point on the coordinate system. Here, light A represents the maximum value of the ambient light number, and TA represents the duration of the brightness change.

[0076] It should be noted that multiple Bézier curves can be drawn from the starting point to the ending point. One of them can be selected to determine the brightness change curve of each ambient light, so as to control the brightness change of each ambient light.

[0077] In this optional embodiment, the endpoint of the Bézier curve corresponds to the last ambient light in terms of brightness change duration and control sequence. The brightness change curves corresponding to each ambient light are arranged sequentially to form the Bézier curve. This ensures that when each ambient light is controlled sequentially according to its corresponding brightness change curve in the control sequence, the brightness of each ambient light gradually changes according to the Bézier curve, improving the continuity of brightness changes and reducing abruptness in brightness changes.

[0078] Optionally, controlling the brightness changes of each ambient light sequentially according to the corresponding brightness change curve includes:

[0079] The duration of each ambient light bulb's LED change is determined based on the corresponding brightness change curve.

[0080] Specifically, the duration of the LED bead change represents the length of time corresponding to the brightness change of a single ambient light. Following the sequence number of each ambient light, from the first to the last, the duration of the LED bead change for each ambient light decreases from long to short, and then increases again. The sum of the durations of the LED bead change for all ambient lights equals the duration of the brightness change. The durations of the LED bead change for each ambient light are shown in Table 1.

[0081] Table 1: Duration of LED Bead Changes for Each Ambient Light

[0082]

[0083] like Figure 4 As shown in Table 1, the control time for lamp 1 is T1, for lamp 2 it is T2, for lamp 3 it is T3, ..., and for lamp A it is TA. On the vertical axis, [0, lamp 1] represents the brightness range of lamp 1, from darkest to brightest, or from brightest to darkest; [lamp 1, lamp 2] represents the brightness range of lamp 2, from darkest to brightest, or from brightest to darkest, where lamp 1 represents the darkest state of lamp 1 and lamp 2 represents the brightest state of lamp 2; [lamp 2, lamp 3] represents the brightness range of lamp 3, ..., and [lamp (A-1), lamp A] represents the brightness range of lamp A. The specific meaning of the brightness ranges will not be elaborated here. Figure 4 In Table 1, the ellipsis between Lamp 3 and Lamp A indicates other ambient lights arranged sequentially between Lamp 3 and Lamp A; the ellipsis between T3 and TA indicates the control time corresponding to other ambient lights between Lamp 3 and Lamp A; the ellipsis between Lamp bead change duration t3 and Lamp bead change duration tA indicates the Lamp bead change duration corresponding to other ambient lights between Lamp 3 and Lamp A; and the blank parts in Table 1 indicate that the brightness state of the corresponding ambient light remains unchanged within the corresponding time period.

[0084] T1 can represent the control time corresponding to lamp 1, T2 can represent the control time corresponding to lamp 2, T3 can represent the control time corresponding to lamp 3, ..., TA can represent the control time corresponding to lamp A. Wherein, TA represents the duration of brightness change. The duration corresponding to the interval [0, T1] can represent the duration of the brightness change of the lamp corresponding to lamp 1, which can be represented as t1; the duration corresponding to the interval [T1, T2] can represent the duration of the brightness change of the lamp corresponding to lamp 2, which can be represented as t2; the duration corresponding to the interval [T2, T3] can represent the duration of the brightness change of the lamp corresponding to lamp 3, which can be represented as t3; ...; the duration corresponding to the interval [T(A-1), TA] can represent the duration of the brightness change of the lamp corresponding to lamp A, which can be represented as tA.

[0085] The brightness of each ambient light is controlled sequentially according to the control sequence, changing within the corresponding duration of the light bead change.

[0086] Specifically, each ambient light is controlled sequentially according to the control order. For any ambient light, the brightness of the ambient light is controlled within the corresponding lamp bead change time, that is, the ambient light is controlled to be turned on or off.

[0087] For example, lamp 1 can be controlled to turn on or off in the interval [0, T1] first, then lamp 2 can be controlled to turn on or off in the interval [T1, T2], and so on, and finally lamp A can be controlled to turn on or off in the interval [T(A-1), TA].

[0088] In this optional embodiment, the duration of the LED bead change for each ambient light is determined according to the brightness change curve. The durations of the LED bead change for each ambient light are arranged sequentially to form the brightness change duration. Each ambient light is controlled to light up or turn off within its corresponding LED bead change duration, making the light changes of each ambient light more consistent throughout the brightness change duration.

[0089] Optionally, controlling the brightness of each ambient light in the control sequence within the corresponding lamp bead variation time includes:

[0090] For any of the ambient lights, the brightness of the ambient light is controlled to change proportionally within the corresponding duration of the change of the lamp beads.

[0091] For example, the duration tA for the change of the LED corresponding to lamp A can be represented as nT, where n is greater than zero and T is the unit duration, such as 1ms. If it is necessary to control lamp A to turn off, lamp A will turn off within the duration nT for the change of the LED. The brightness of lamp A can be reduced by 1 / n every time interval T until lamp A turns off.

[0092] In this optional embodiment, the brightness of the ambient light is controlled proportionally so that the brightness of the ambient light changes gradually within the duration of the light bead change, avoiding the abrupt feeling caused by the ambient light suddenly turning on or off, thereby improving the continuity of the ambient light brightness change.

[0093] Optionally, before sequentially controlling the brightness changes of each ambient light according to the corresponding brightness change curve, the in-vehicle ambient light control method further includes:

[0094] Obtain the second audio parsing data at the current moment.

[0095] Specifically, the second audio analysis data may include the amplitude and frequency of audio signals such as music and broadcasts, and the "first" and "second" in the first audio analysis data are only used to distinguish audio analysis data at different times.

[0096] The control method of the ambient light is determined by comparing the first audio parsing data and the second audio parsing data based on the comparison result.

[0097] Specifically, assuming the first audio parsing data is Y1 and the second audio parsing data is Y2, the control method of the ambient light is determined based on the comparison result of Y1 and Y2. The control method may include turning on and turning off.

[0098] It should be noted that the number of ambient lights N1 corresponding to the first audio parsing data and the number of ambient lights N2 corresponding to the second audio parsing data can be determined first. The number of ambient lights N1 and the number of ambient lights N2 can be compared, and the control method for controlling the ambient lights can be determined based on the comparison result.

[0099] Optionally, determining the control method of the ambient light based on the comparison results includes:

[0100] When the first audio parsing data is greater than or equal to the second audio parsing data, the ambient light is controlled to be turned off.

[0101] Specifically, when Y1≥Y2, it means that the number of ambient lights lit at the current moment is greater than or equal to the number of ambient lights to be lit at the next moment. Therefore, the ambient lights are controlled to be turned off, that is, the ambient lights are controlled to be turned off in the control sequence until the number of ambient lights lit reaches the target value of the number of ambient lights corresponding to the first audio parsing data.

[0102] When the first audio parsing data is less than the second audio parsing data, the ambient light is controlled to be turned on.

[0103] Specifically, when Y1 < Y2, it means that the number of ambient lights lit at the current moment is less than the number of ambient lights that need to be lit at the next moment. Therefore, the ambient lights are controlled to be lit in sequence until the number of ambient lights lit reaches the target value of the number of ambient lights corresponding to the first audio parsing data.

[0104] It should be noted that the number of ambient lights corresponding to the two audio parsing data can also be compared, that is, N1 and N2. When N1 ≥ N2, it means that the ambient lights need to be turned off sequentially until the number of ambient lights reaches N2. When N1 < N2, it means that the ambient lights need to be turned on sequentially until the number of ambient lights reaches N2.

[0105] Alternatively, the difference between the number of ambient lights N1 and N2 can be determined first. This difference represents the number of ambient lights to be controlled. Each ambient light can then be controlled in sequence according to a Bézier curve. The brightness variation curve of each ambient light can be determined based on the Bézier curve, and these curves are arranged in chronological order to form a Bézier curve. The brightness of each ambient light can then be controlled sequentially based on its corresponding brightness variation curve.

[0106] Optionally, controlling the brightness changes of each ambient light sequentially according to the corresponding brightness change curve includes:

[0107] Each ambient light is controlled sequentially according to the control order of the ambient lights. For any ambient light, the brightness change of the ambient light is controlled according to the corresponding brightness change curve in the control method.

[0108] Specifically, the brightness change curve includes the brightness values ​​of the corresponding ambient light at different control times. Based on the corresponding control time, the brightness of the corresponding ambient light is adjusted to the brightness value of the corresponding time.

[0109] like Figure 5 As shown below, the control process of a lighting group consisting of 7 ambient lights will be explained in detail below.

[0110] For controlling the lighting of the light group, if it is necessary to control all 7 ambient lights to turn on from the off state, the 7 ambient lights can be controlled to turn on sequentially within 20ms, without needing to control the brightness change of each ambient light according to the Bézier curve until all 7 ambient lights are lit.

[0111] For the control of the light group's shutdown, assuming that all 7 ambient lights need to be turned off from the lit state, the 7 ambient lights can be controlled to turn off sequentially according to a Bézier curve within 360ms until all 7 ambient lights are off. During the shutdown control process, the brightness of the 7 ambient lights at different control times is shown in Table 2.

[0112] Table 2 shows the brightness of each ambient light at different control times.

[0113]

[0114] As shown in Table 2, the seven ambient lights are controlled sequentially from light 1 to light 7. Light 1 gradually turns off within the range of [0, 100 ms], light 2 within [100 ms, 180 ms], light 3 within [180 ms, 240 ms], light 4 within [240 ms, 280 ms], light 5 within [280 ms, 300 ms], light 6 within [300 ms, 320 ms], and light 7 within [320 ms, 360 ms]. In Table 2, 0% to 100% represents the ambient light's brightness gradually decreasing from its brightest state; 0% indicates the ambient light is at its brightest, and 100% indicates it is off. Blank areas in Table 2 indicate ambient lights whose brightness remains constant during that time period.

[0115] like Figure 6 As shown, an embodiment of the present invention provides a vehicle interior ambient lighting control device, comprising:

[0116] The acquisition module is used to acquire the first audio parsing data for the next moment;

[0117] The processing module is used to determine a target value for the number of ambient lights corresponding to the first audio parsing data in a preset correspondence relationship, wherein the preset correspondence relationship includes the audio parsing data and the corresponding number of ambient lights;

[0118] The generation module is used to generate the brightness change curve of each ambient light according to the Bézier curve, wherein the brightness change curves of each ambient light are arranged in sequence according to the control order to form the Bézier curve;

[0119] The control module is used to sequentially control the brightness change of each ambient light according to the corresponding brightness change curve until the number of illuminated ambient lights reaches the target value of the number of ambient lights.

[0120] The in-vehicle ambient lighting control device of this embodiment is used to implement the in-vehicle ambient lighting control method described above, and its advantages over the prior art are the same as the advantages of the in-vehicle ambient lighting control method compared to the prior art.

[0121] Optionally, the in-vehicle ambient lighting control device further includes a drawing module, which is used to: determine the sequence number of each ambient light according to the control order of the ambient lights; construct a coordinate system with time length as the horizontal axis and the sequence number of the ambient light as the vertical axis, wherein the sequence numbers of the ambient lights are arranged sequentially on the vertical axis in order of size; draw the Bézier curve with the origin of the coordinate system as the starting point, the horizontal axis representing the duration of brightness change, and the vertical axis representing the coordinate point of the maximum value of the sequence number of the ambient light as the ending point; wherein the duration of brightness change represents the time required for all the ambient lights to change with the audio analysis data at a single moment.

[0122] Optionally, the control module is specifically used to: determine the duration of the LED bead change for each ambient light according to the corresponding brightness change curve; and control the brightness of each ambient light to change within the corresponding duration of the LED bead change according to the control sequence.

[0123] Optionally, the control module is further configured to: for any of the ambient lights, control the brightness of the ambient light to change proportionally within the corresponding duration of the change of the lamp beads.

[0124] Optionally, the in-vehicle ambient lighting control device further includes a comparison module, which is used to: acquire the second audio analysis data at the current moment; compare the first audio analysis data and the second audio analysis data; and determine the control mode of the ambient lighting based on the comparison result.

[0125] Optionally, the comparison module is specifically used to: turn off the ambient light when the first audio parsing data is greater than or equal to the second audio parsing data; and turn on the ambient light when the first audio parsing data is less than the second audio parsing data.

[0126] Optionally, the control module is further configured to: control each ambient light sequentially according to the control order of the ambient lights, wherein, for any ambient light, the brightness change of the ambient light is controlled according to the corresponding brightness change curve in the control method.

[0127] This invention provides a computer-readable storage medium storing a basic computing program. When the computer program is executed by a processor, it implements the in-vehicle ambient lighting control method described above.

[0128] An embodiment of the present invention provides a vehicle, including a memory and a processor;

[0129] The memory is used to store computer programs;

[0130] The processor is configured to implement the in-vehicle ambient lighting control method as described above when executing the computer program.

[0131] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc. In this application, the units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiments of the present invention according to actual needs. Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated units can be implemented in hardware or as software functional units.

[0132] While the present invention has been disclosed above, its scope of protection is not limited thereto. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, and all such changes and modifications will fall within the scope of protection of the present invention.

Claims

1. A method for controlling ambient lighting inside a vehicle, characterized in that, include: Obtain the first audio parsing data for the next moment; A target value for the number of ambient lights corresponding to the first audio parsing data is determined in a preset correspondence relationship, wherein the preset correspondence relationship includes audio parsing data and the corresponding number of ambient lights; The brightness variation curves of each ambient light are generated according to the Bézier curve, wherein the brightness variation curves of each ambient light are arranged in sequence according to the control order to form the Bézier curve; The brightness of each ambient light is controlled sequentially according to the corresponding brightness change curve until the number of ambient lights lit reaches the target value of the number of ambient lights. Before generating the brightness change curves of each ambient light based on the Bézier curve, the in-vehicle ambient light control method further includes: determining the sequence number of each ambient light according to the control order of the ambient lights; constructing a coordinate system with time length as the horizontal axis and the sequence number of the ambient light as the vertical axis, wherein the sequence numbers of the ambient lights are arranged sequentially on the vertical axis in order of size; plotting the Bézier curve with the origin of the coordinate system as the starting point, the horizontal axis representing the brightness change duration, and the vertical axis representing the coordinate point of the maximum value of the ambient light's sequence number as the ending point; wherein the brightness change duration represents the time required for all the ambient lights to change with the audio analysis data at a single moment.

2. The in-vehicle ambient lighting control method according to claim 1, characterized in that, The step of sequentially controlling the brightness changes of each ambient light according to the corresponding brightness change curve includes: The duration of each ambient light bulb's LED change is determined based on the corresponding brightness change curve. The brightness of each ambient light is controlled sequentially according to the control sequence, changing within the corresponding duration of the light bead change.

3. The in-vehicle ambient lighting control method according to claim 2, characterized in that, The step of controlling the brightness of each ambient light sequentially within the corresponding lamp bead variation time according to the control sequence includes: For any of the ambient lights, the brightness of the ambient light is controlled to change proportionally within the corresponding duration of the change of the lamp beads.

4. The in-vehicle ambient lighting control method according to any one of claims 1 to 3, characterized in that, Before sequentially controlling the brightness changes of each ambient light according to the corresponding brightness change curve, the in-vehicle ambient light control method further includes: Obtain the second audio parsing data at the current moment; The control method of the ambient light is determined by comparing the first audio parsing data and the second audio parsing data based on the comparison result.

5. The in-vehicle ambient lighting control method according to claim 4, characterized in that, The step of determining the control method of the ambient light based on the comparison results includes: When the first audio parsing data is greater than or equal to the second audio parsing data, the ambient light is controlled to be off; When the first audio parsing data is less than the second audio parsing data, the ambient light is controlled to be turned on.

6. The in-vehicle ambient lighting control method according to claim 5, characterized in that, The step of sequentially controlling the brightness changes of each ambient light according to the corresponding brightness change curve includes: Each ambient light is controlled sequentially according to the control order of the ambient lights. For any ambient light, the brightness change of the ambient light is controlled according to the corresponding brightness change curve in the control method.

7. A vehicle interior ambient lighting control device, characterized in that, include: The acquisition module is used to acquire the first audio parsing data for the next moment; The processing module is used to determine a target value for the number of ambient lights corresponding to the first audio parsing data in a preset correspondence relationship, wherein the preset correspondence relationship includes the audio parsing data and the corresponding number of ambient lights; The generation module is used to generate the brightness change curve of each ambient light according to the Bézier curve, wherein the brightness change curves of each ambient light are arranged in sequence according to the control order to form the Bézier curve; The control module is used to sequentially control the brightness change of each ambient light according to the corresponding brightness change curve until the number of illuminated ambient lights reaches the target value of the number of ambient lights. The drawing module is used to determine the sequence number of each ambient light according to the control order of the ambient lights; construct a coordinate system with time length as the horizontal axis and the sequence number of the ambient light as the vertical axis, wherein the sequence numbers of the ambient lights are arranged in ascending order on the vertical axis; draw the Bézier curve with the origin of the coordinate system as the starting point, the horizontal axis representing the duration of brightness change, and the vertical axis representing the point where the maximum value of the ambient light's sequence number is located as the ending point; wherein the duration of brightness change represents the time required for all the ambient lights to change with the audio analysis data at a single moment.

8. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the in-vehicle ambient lighting control method as described in any one of claims 1 to 6.

9. A vehicle, characterized in that, Including memory and processor; The memory is used to store computer programs; The processor is configured to implement the in-vehicle ambient lighting control method as described in any one of claims 1 to 6 when executing the computer program.

Citation Information

Patent Citations

  • Illumination control system, illumination control method, and program

    CN115956399A

  • Lighting system, controller, converter and lighting method

    JP2016152127A