Intelligent lighting dynamic ambient lighting effect control method, device, equipment and storage medium

CN122579413APending Publication Date: 2026-08-14BWEETECH ELECTRONICS TECH (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-17
Publication Date
2026-08-14

AI Technical Summary

Technical Problem

[0003]1)光效参数呈静态固化,缺乏自适应能力:现有光效参数通常为出厂预设,无法依据环境光照参量、应用场景模式及时间维度进行动态自适应调节,导致明暗与色彩过渡生硬,难以满足沉浸式视觉体验需求;

Benefits of technology

[0029]1)通过构建了系统化、可量化的动态光效算法体系,突破了现有技术仅依赖简单线性公式进行基础明暗调节的局限,通过引入完整的参数迭代、误差补偿与时序平滑公式,形成了严谨连贯的多模态动态氛围光效控制架构,解决了传统灯光控制缺乏系统化理论支撑的问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122579413A_ABST
    Figure CN122579413A_ABST
Patent Text Reader

Abstract

This application provides a method, device, equipment, and storage medium for intelligent dynamic ambient lighting effect control. The method includes: collecting lighting parameters from multiple lighting units; establishing a three-dimensional lighting effect time-series iterative formula based on the initial lighting effect parameters of each lighting unit; combining real-time ambient light intensity and the three-dimensional lighting effect time-series iterative formula, introducing a deviation compensation coefficient, and constructing an adaptive lighting effect compensation formula; performing dynamic nonlinear smoothing processing on the first, second, and third adaptive lighting effect parameters; using the first, second, and third smoothed output parameters as the output lighting effect parameters of each lighting unit; and synchronizing the dynamic lighting effects corresponding to the output lighting effect parameters of each lighting unit to output the target dynamic ambient lighting effect. This application achieves adaptive differential and precise compensation of three-dimensional parameters and ensures strict synchronization of screen switching during multi-light linkage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of intelligent lighting dynamic control technology, and relates to an intelligent lighting dynamic ambient light effect control method, device, equipment and storage medium. Background Technology

[0002] With the continuous development of smart home and immersive lighting technologies, intelligent ambient lighting systems have been widely deployed in diverse scenarios such as home bedrooms, living rooms, office spaces, and commercial showrooms. However, the dynamic lighting effects of most mainstream intelligent ambient lights currently rely on preset, fixed, and programmed lighting animations, which have the following technical shortcomings in practical applications:

[0003] 1) The lighting parameters are static and fixed, lacking adaptive ability: The existing lighting parameters are usually preset by the factory and cannot be dynamically and adaptively adjusted according to the ambient light parameters, application scene mode and time dimension, resulting in harsh transitions between light and dark and colors, which is difficult to meet the needs of immersive visual experience.

[0004] 2) Independent decoupling of multi-dimensional parameters with poor synergistic coupling: Existing control schemes mostly adopt independent control mechanisms for multi-dimensional light effect parameters such as brightness, hue, and saturation, lacking synergistic coupling logic between parameters. The dynamic change trajectory is fragmented, which can easily lead to visual defects of inconsistent light and shadow states.

[0005] 3) The transition mechanism is simple and has the potential for jumps and flickering: During the dynamic switching of lights, step commands or simple linear adjustments are often used, and there is a lack of effective non-linear smooth transition algorithms, resulting in significant inter-frame jumps and flickering, which are not good for biological safety and visual appeal.

[0006] 4) Coarse control of multiple light groups and poor timing synchronization: In multi-light group linkage scenarios, due to the lack of precise timing alignment and delay compensation mechanisms, it is difficult to keep the dynamic response rhythm of each light unit strictly synchronized, resulting in poor spatial uniformity of the overall ambient lighting effect.

[0007] Therefore, how to achieve adaptive adjustment of intelligent lighting dynamic atmosphere, nonlinear smooth transition and precise timing synchronization control of multiple lights through multi-dimensional quantitative mathematical models and closed-loop compensation mechanisms has become an urgent technical problem to be solved. Summary of the Invention

[0008] This application provides a method, device, equipment, and storage medium for intelligent lighting dynamic atmosphere control, which can realize adaptive adjustment, nonlinear smooth transition, and precise timing synchronization control of multiple lights in intelligent lighting dynamic atmosphere.

[0009] In a first aspect, this application provides an intelligent dynamic ambient lighting effect control method, the method comprising: collecting lighting parameters of multiple lighting units, the lighting parameters including real-time ambient light intensity and initial lighting effect parameters; establishing a three-dimensional lighting effect time-series iterative formula based on the initial lighting effect parameters of each lighting unit; combining the real-time ambient light intensity and the three-dimensional lighting effect time-series iterative formula, introducing a deviation compensation coefficient, and constructing a lighting effect adaptive compensation formula, the lighting effect adaptive compensation formula including a first lighting effect adaptive parameter, a second lighting effect adaptive parameter, and a third lighting effect adaptive parameter; performing dynamic lighting effect nonlinear smoothing processing on the first lighting effect adaptive parameter, the second lighting effect adaptive parameter, and the third lighting effect adaptive parameter respectively to obtain a first smoothed output parameter corresponding to the first lighting effect adaptive parameter, a second smoothed output parameter corresponding to the second lighting effect adaptive parameter, and a third smoothed output parameter corresponding to the third lighting effect adaptive parameter; using the first smoothed output parameter, the second smoothed output parameter, and the third smoothed output parameter as the output lighting effect parameters of each lighting unit respectively; and synchronizing the dynamic lighting effect corresponding to the output lighting effect parameters of each lighting unit to output a target dynamic ambient lighting effect.

[0010] This application constructs a systematic and quantifiable dynamic lighting effect algorithm system, breaking through the limitations of existing technologies that rely solely on simple linear formulas for basic brightness and darkness adjustment. By introducing complete parameter iteration, adaptive compensation, and temporal smoothing formulas, a rigorous and coherent multimodal dynamic ambient lighting effect control architecture is formed, solving the problem of traditional lighting control lacking systematic theoretical support. Differentiated adaptive compensation logic is designed for the three-dimensional lighting effect parameters of brightness, hue, and saturation, abandoning the traditional rigid uniform linear correction method. This logic can dynamically and accurately adjust based on real-time ambient lighting and scene modes, significantly improving the dynamic adaptability and control precision of light and shadow, avoiding the defects of poor adaptability of traditional fixed lighting effects, and achieving differentiated and accurate compensation of three-dimensional parameters. The control logic of this application deeply matches the characteristics of human visual perception, can flexibly adapt to complex dynamic ambient scenes, and solves the problem of rigidity in traditional solutions, so that the smoothness, adaptability, and stability of dynamic ambient lighting effects fully meet the ultimate usage requirements of high-end immersive lighting scenes. The linkage and synchronization of the output light effect parameters of each light unit corresponds to dynamic light effects, breaking the rough mode of traditional multi-light control where a unified timestamp is issued as equivalent to synchronization. It can perform frame-by-frame timing alignment compensation for the output light effect parameters of each light unit, eliminating the action misalignment and step-like gradation caused by the delay difference of multiple light units, and ensuring the strict synchronization of screen switching when multiple lights are linked.

[0011] In one implementation of the first aspect, the step of combining the real-time ambient light intensity and the three-dimensional light effect time-series iteration formula, introducing a deviation compensation coefficient, and constructing a light effect adaptive compensation formula includes: constructing an environmental compensation factor based on the real-time ambient light intensity and the reference light intensity; and using the environmental compensation factor to compensate the light effect time-series iteration parameters in the three-dimensional light effect time-series iteration formula to obtain the light effect adaptive compensation formula.

[0012] In one implementation of the first aspect, the environmental compensation factor is used to compensate the light effect time-series iteration parameters in the three-dimensional light effect time-series iteration formula, resulting in the light effect adaptive compensation formula as follows:

[0013]

[0014]

[0015]

[0016] in, express The first light effect timing iteration parameters at time step, express The second light effect timing iteration parameters at time step, express The third light effect timing iteration parameter at time step, express Environmental compensation factors at any time express The first adaptive parameter of light effect after adaptive compensation at any time. express The adaptive parameters of the second light effect after adaptive compensation at any time. express The third adaptive parameter of light effect after adaptive compensation at any time.

[0017] In one implementation of the first aspect, the step of performing dynamic nonlinear smoothing processing on the first light effect adaptive parameter, the second light effect adaptive parameter, and the third light effect adaptive parameter to obtain a first smoothed output parameter corresponding to the first light effect adaptive parameter, a second smoothed output parameter corresponding to the second light effect adaptive parameter, and a third smoothed output parameter corresponding to the third light effect adaptive parameter includes: calculating the deviation value between the current frame correction parameter and the previous frame output parameter; determining a normalized dynamic smoothing weight based on a smoothing steepness coefficient, a normalized deviation steady-state threshold, and the deviation value; and performing inter-frame weighted fusion smoothing processing on the first light effect adaptive parameter, the second light effect adaptive parameter, and the third light effect adaptive parameter based on the normalized dynamic smoothing weight to obtain a first smoothed output parameter corresponding to the first light effect adaptive parameter, a second smoothed output parameter corresponding to the second light effect adaptive parameter, and a third smoothed output parameter corresponding to the third light effect adaptive parameter.

[0018] In one implementation of the first aspect, the linkage and synchronization of the dynamic light effect corresponding to the output light effect parameter of each light unit to output a target dynamic ambient light effect includes: determining the delay deviation of each light unit; constructing a synchronization calibration formula for the corresponding light unit based on the delay deviation and the output light effect parameter; performing linkage and synchronization processing on the corresponding light unit based on each synchronization calibration formula, adjusting the dynamic light effect corresponding to each output light effect parameter, and outputting a target dynamic ambient light effect.

[0019] In one implementation of the first aspect, the expression for establishing the three-dimensional light effect time-series iterative formula based on the initial light effect parameters of each light unit is:

[0020]

[0021]

[0022]

[0023] in, This indicates the preset baseline lighting effect parameters for the first scene. Indicates the preset baseline lighting effect parameters for the second scene. This indicates the preset baseline lighting effect parameters for the third scene. Indicates compared to The first light effect parameter of the previous iteration time. Indicates compared to The second light effect parameter of the previous iteration time, Indicates compared to The third light effect parameter of the previous iteration time. express The first light effect timing iteration parameters at time step, express The second light effect timing iteration parameters at time step, express The third light effect timing iteration parameter at time step, Indicates the first dynamic rate of change coefficient, Indicates the second dynamic rate of change coefficient, This represents the third dynamic rate of change coefficient. This indicates the sampling iteration time step.

[0024] In one implementation of the first aspect, the method further includes: calculating the error value between the output light effect parameter and the scene preset reference parameter in real time; and correcting the output light effect parameter based on the error value.

[0025] Secondly, this application provides an intelligent dynamic ambient lighting effect control device, the device comprising: a lighting parameter acquisition module, used to acquire lighting parameters of multiple lighting units respectively, the lighting parameters including real-time ambient light intensity and initial lighting effect parameters; a three-dimensional lighting effect time-series iteration formula establishment module, used to establish a three-dimensional lighting effect time-series iteration formula based on the initial lighting effect parameters of each lighting unit; and a lighting effect adaptive compensation formula construction module, used to combine the real-time ambient light intensity and the three-dimensional lighting effect time-series iteration formula, introduce a deviation compensation coefficient, and construct a lighting effect adaptive compensation formula, the lighting effect adaptive compensation formula including a first lighting effect adaptive parameter, a second lighting effect adaptive parameter, and a third lighting effect adaptive parameter; and smoothing. The processing module is used to perform dynamic light effect nonlinear smoothing processing on the first light effect adaptive parameter, the second light effect adaptive parameter, and the third light effect adaptive parameter respectively to obtain a first smoothed output parameter corresponding to the first light effect adaptive parameter, a second smoothed output parameter corresponding to the second light effect adaptive parameter, and a third smoothed output parameter corresponding to the third light effect adaptive parameter; the output light effect parameter determination module is used to use the first smoothed output parameter, the second smoothed output parameter, and the third smoothed output parameter as the output light effect parameters of each light unit respectively; the target dynamic ambient light effect output module is used to synchronize the dynamic light effect corresponding to the output light effect parameters of each light unit and output the target dynamic ambient light effect.

[0026] Thirdly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the intelligent dynamic ambient lighting effect control method described in any one of the first aspects of this application.

[0027] Fourthly, embodiments of this application provide an electronic device, the electronic device comprising: a memory storing a computer program; and a processor communicatively connected to the memory, which executes the intelligent dynamic ambient lighting effect control method described in any one of the first aspects of this application when the computer program is invoked.

[0028] As described above, the intelligent lighting dynamic ambient lighting effect control method, device, equipment, and storage medium of this application have the following beneficial effects:

[0029] 1) By constructing a systematic and quantifiable dynamic lighting effect algorithm system, it breaks through the limitation of existing technologies that rely solely on simple linear formulas for basic brightness and darkness adjustment. By introducing complete parameter iteration, error compensation and time-series smoothing formulas, it forms a rigorous and coherent multimodal dynamic ambient lighting effect control architecture, solving the problem of traditional lighting control lacking systematic theoretical support.

[0030] 2) A differentiated adaptive compensation logic was designed for the three-dimensional lighting effect parameters of brightness, hue, and saturation, abandoning the traditional rigid and uniform linear correction method. This logic can dynamically and accurately adjust the lighting effect by integrating real-time ambient lighting and scene mode, greatly improving the dynamic adaptability and control precision of the lighting effect. It avoids the defects of poor adaptability of traditional fixed lighting effects and realizes differentiated and accurate compensation of three-dimensional parameters. It significantly improves the smoothness and stability of lighting effect transitions: relying on multi-dimensional quantization formulas and error compensation mechanisms, the system can smooth the time-series data, effectively eliminating the sudden changes and jitters in lighting effects during dynamic adjustment, and ensuring the high coherence and stability of multi-modal lighting effect switching and gradation processes. The control logic of this application is deeply compatible with the characteristics of human visual perception and can flexibly adapt to complex dynamic atmosphere scenes. It solves the problem of rigidity in traditional solutions and makes the smoothness, adaptability, and stability of dynamic atmosphere lighting effects fully meet the ultimate usage requirements of high-end immersive lighting scenes.

[0031] 3) By introducing a normalized dynamic smoothing weight calculated based on the deviation value, smoothing steepness coefficient, and normalized deviation steady-state threshold, the fixed step size limitation of traditional linear smoothing is broken. This mechanism can dynamically adjust the smoothing weight according to the deviation between the current frame and the previous frame, and perform precise nonlinear adaptive intervention on the rate of change of three-dimensional light effect parameters (brightness, hue, saturation), giving the system a differentiated response rate. In the inter-frame weighted fusion process, this algorithm mechanism ensures that the first, second, and third smoothing output parameters can completely retain the physical amplitude of the original light effect adaptive parameters through scientific weight allocation. This effectively avoids the problems of light flux attenuation, color shift, or saturation distortion that may be caused by traditional filtering algorithms during the smoothing process, ensuring the absolute fidelity of the light effect output. It balances the contradictory requirements of "smoothness" and "response speed": when the parameters change by a large span, the system can adaptively increase the smoothing resistance to achieve a smooth transition of light and shadow and eliminate visual abruptness and flicker; when the parameters undergo small amplitude fine-tuning, the system can quickly reduce the smoothing delay to achieve high-frequency sensitive tracking between frames. This effect significantly improves the coherence, smoothness, and overall visual experience of dynamic lighting scenes. Attached Figure Description

[0032] Figure 1A The diagram shown illustrates the application scenario of the intelligent lighting dynamic ambient lighting effect control method provided in this application embodiment.

[0033] Figure 1B The flowchart shown is a method for controlling the dynamic ambient lighting effect of intelligent lighting provided in an embodiment of this application.

[0034] Figure 2 The flowchart shown is a process for constructing an adaptive light effect compensation formula provided in an embodiment of this application.

[0035] Figure 3 The flowchart shown is a process for determining smooth output parameters provided in an embodiment of this application.

[0036] Figure 4 The flowchart shown is a process for illustrating the output target dynamic ambient lighting effect provided in an embodiment of this application.

[0037] Figure 5 The diagram shown is a structural diagram of the intelligent lighting dynamic ambient lighting effect control device provided in the embodiments of this application.

[0038] Figure 6 The diagram shown is a structural diagram of an electronic device provided in an embodiment of this application.

[0039] Component designation explanation

[0040] S11~S16 step 55 Output light effect parameter determination module S21~S22 step 56 Target dynamic ambient lighting effect output module S31~S33 step 60 electronic devices S41~S43 step 61 processor 50 Intelligent lighting dynamic ambient lighting effect control device 62 Non-volatile storage media 51 Lighting parameter acquisition module 63 System bus 52 Module for Establishing 3D Light Effect Timing Iteration Formula 64 Internal memory 53 Light Efficacy Adaptive Compensation Formula Construction Module 65 Network interface 54 Smoothing module Detailed Implementation

[0041] The following specific examples illustrate the implementation of this application. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. This application can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be noted that, unless otherwise specified, the following embodiments and features in the embodiments can be combined with each other.

[0042] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of this application. Therefore, the drawings only show the components related to this application and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.

[0043] like Figure 1A As shown in the illustration, this application provides an application scenario diagram corresponding to an intelligent dynamic ambient lighting effect control method. By collecting lighting parameters from multiple lighting units and adjusting these parameters based on a lighting effect adjustment formula, a first adaptive lighting effect parameter, a second adaptive lighting effect parameter, and a third adaptive lighting effect parameter are obtained. After smoothing these parameters, a first smoothed output parameter, a second smoothed output parameter, and a third smoothed output parameter are output. The dynamic lighting effect corresponding to the output lighting effect parameters of each lighting unit is synchronized to output the target dynamic ambient lighting effect. The output lighting effect parameters are obtained from the first smoothed output parameter, the second smoothed output parameter, and the third smoothed output parameter. The lighting effect adjustment formula includes a three-dimensional lighting effect time-series iteration formula and a lighting effect adaptive compensation formula.

[0044] The technical solutions in the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0045] like Figure 1B As shown in the flowchart, this application provides a method for controlling the dynamic ambient lighting effect of intelligent lighting. Figure 1B As shown, the intelligent lighting dynamic ambient lighting effect control method provided in this application embodiment includes the following steps S11 to S16.

[0046] S11 collects lighting parameters from multiple lighting units respectively.

[0047] The lighting parameters include real-time ambient light intensity and initial lighting effect parameters.

[0048] For example, multiple lighting units include smart downlights / spotlights, smart bedside lamps / desktop lamps, smart anti-glare downlights / panel lights, etc.

[0049] For example, the initial light effect parameters include initial brightness, initial hue, and initial saturation.

[0050] For example, the microcontroller inside the lighting unit controls a miniature color sensor to directly acquire the spectral response of the light emitted from the light source. The luminaire has a built-in microcontroller unit (MCU) that directly converts the acquired RGB optical data into real-time brightness, hue, and saturation values ​​locally.

[0051] S12, establish a three-dimensional light effect time-series iterative formula based on the initial light effect parameters of each light unit.

[0052] In some embodiments, the expression for establishing the three-dimensional light effect time-series iterative formula based on the initial light effect parameters of each light unit is:

[0053]

[0054]

[0055]

[0056] in, This indicates the preset baseline lighting effect parameters for the first scene. Indicates the preset baseline lighting effect parameters for the second scene. This indicates the preset baseline lighting effect parameters for the third scene. Indicates compared to The first light effect parameter of the previous iteration time. Indicates compared to The second light effect parameter of the previous iteration time, Indicates compared to The third light effect parameter of the previous iteration time. express The first light effect timing iteration parameters at time step, express The second light effect timing iteration parameters at time step, express The third light effect timing iteration parameter at time step, Indicates the first dynamic rate of change coefficient, Indicates the second dynamic rate of change coefficient, This represents the third dynamic rate of change coefficient. This indicates the sampling iteration time step.

[0057] For example, The value range is 10ms to 50ms.

[0058] For example, the first light effect timing iteration parameter, the second light effect timing iteration parameter, and the third light effect timing iteration parameter represent the light effect timing iteration parameter based on brightness, the light effect timing iteration parameter based on hue, and the light effect timing iteration parameter based on saturation, respectively.

[0059] S13, Combining the real-time ambient light intensity and the three-dimensional light effect time-series iterative formula, a deviation compensation coefficient is introduced to construct an adaptive light effect compensation formula.

[0060] The adaptive light effect compensation formula includes a first adaptive light effect parameter, a second adaptive light effect parameter, and a third adaptive light effect parameter.

[0061] S14, perform dynamic light effect nonlinear smoothing processing on the first light effect adaptive parameter, the second light effect adaptive parameter and the third light effect adaptive parameter respectively to obtain the first smoothed output parameter corresponding to the first light effect adaptive parameter, the second smoothed output parameter corresponding to the second light effect adaptive parameter and the third smoothed output parameter corresponding to the third light effect adaptive parameter.

[0062] S15, the first smooth output parameter, the second smooth output parameter and the third smooth output parameter are respectively used as the output light effect parameters of each light unit.

[0063] In some embodiments, the method further includes: calculating the error value between the output light effect parameter and the scene preset reference parameter in real time; and correcting the output light effect parameter based on the error value.

[0064] For example, the error value between the output light effect parameter and the scene preset reference parameter is calculated in real time; based on the error value, the expression corresponding to the output light effect parameter is corrected as follows:

[0065]

[0066]

[0067] In the formula, Indicates the first Each lighting unit is in Error in real-time light effect parameters at any given moment. Indicates the preset baseline parameters for the scene. Indicates the first Each lighting unit is in Output light effect parameters at any time Indicates the first Each lighting unit is in Output light effect parameters at any time This represents the error correction coefficient, with a value ranging from 0.3 to 0.7. Each lighting unit independently completes frame-by-frame closed-loop iterative correction, suppressing single-lamp parameter drift and ensuring long-term stability of the dynamic ambient lighting effect of multiple light groups, with no cumulative error and no crosstalk.

[0068] S16, synchronize the dynamic light effects corresponding to the output light effect parameters of each light unit, and output the target dynamic ambient light effect.

[0069] This application provides an intelligent dynamic ambient lighting effect control method. By constructing a systematic and quantifiable dynamic lighting effect algorithm system, it overcomes the limitations of existing technologies that rely solely on simple linear formulas for basic brightness and darkness adjustment. By introducing complete parameter iteration, error compensation, and temporal smoothing formulas, a rigorous and coherent multimodal dynamic ambient lighting effect control architecture is formed, solving the problem of traditional lighting control lacking systematic theoretical support. Differentiated adaptive compensation logic is designed for the three-dimensional lighting effect parameters of brightness, hue, and saturation, abandoning the traditional rigid uniform linear correction method. This logic can dynamically and accurately adjust the lighting effect by comprehensively considering real-time ambient lighting and scene modes, significantly improving the dynamic effect of light and shadow. The system achieves improved adaptability and control precision, overcoming the shortcomings of poor adaptability in traditional fixed lighting effects and realizing differentiated and precise compensation of three-dimensional parameters. It significantly enhances the smoothness and stability of lighting effect transitions: relying on multi-dimensional quantization formulas and error compensation mechanisms, the system can smooth time-series data, effectively eliminating abrupt changes and jitter in lighting effects during dynamic adjustment, ensuring high coherence and stability in multi-modal lighting effect switching and gradation processes. The control logic of this application deeply matches the characteristics of human visual perception, enabling flexible adaptation to complex dynamic atmosphere scenes. It solves the rigidity and inflexibility of traditional solutions, ensuring that the smoothness, adaptability, and stability of dynamic atmosphere lighting effects fully meet the ultimate usage requirements of high-end immersive lighting scenes.

[0070] like Figure 2 As shown in the figure, this application provides a flowchart for constructing a light effect adaptive compensation formula, as follows: Figure 2 As shown, the method for constructing an adaptive light effect compensation formula provided in this application includes the following steps S21 to S22.

[0071] S21, construct an environmental compensation factor based on the real-time ambient light intensity and the reference light intensity.

[0072] Specifically, the expression for the environmental compensation factor, based on the real-time ambient light intensity and the reference light intensity, is as follows:

[0073]

[0074] in, This represents the environmental compensation weighting coefficient, with a value ranging from 0.2 to 0.8, used to adjust the environmental adaptation sensitivity. Indicates real-time ambient light intensity. This indicates the reference light intensity, with a preset indoor standard light intensity of 500 lux.

[0075] Specifically, when the real-time ambient light intensity Higher than reference light intensity At that time, environmental compensation factors <1. Appropriately reduce the brightness of the lights to avoid loss of ambient light contrast under strong light; when the real-time ambient light... Below standard lighting At that time, environmental compensation factors >1. Appropriately enhance the sense of layering in the lighting to ensure a constant visual experience for the human eye.

[0076] S22, the environmental compensation factor is used to compensate the light effect time series iteration parameters in the three-dimensional light effect time series iteration formula to obtain the light effect adaptive compensation formula.

[0077] In some embodiments, the environmental compensation factor is used to compensate the light effect time series iteration parameters in the three-dimensional light effect time series iteration formula, resulting in the light effect adaptive compensation formula:

[0078]

[0079]

[0080]

[0081] in, express The first light effect timing iteration parameters at time step, express The second light effect timing iteration parameters at time step, express The third light effect timing iteration parameter at time step, express Environmental compensation factors at any time express The first adaptive parameter of light effect after adaptive compensation at any time. express The adaptive parameters of the second light effect after adaptive compensation at any time. express The third adaptive parameter of light effect after adaptive compensation at any time.

[0082] Specifically, the first, second, and third light effect timing iteration parameters represent the light effect timing iteration parameters based on brightness, hue, and saturation, respectively. That is, the above three sets of formulas perform differentiated adaptive corrections on brightness, hue, and saturation: brightness is linearly adapted to ambient light, hue undergoes subtle visual correction to avoid color shift, and saturation uses square root weak compensation to preserve color gradation. The three work together to ensure the consistency of ambient lighting effects in different environments for the human eye, thus filling the gap in traditional lighting algorithms' lack of dynamic hue compensation logic.

[0083] This application provides a method for constructing an adaptive compensation formula for light effect. In this method, a nonlinear, differentiated adaptive compensation mechanism is constructed for multi-dimensional light effect parameters such as brightness, hue, and saturation to replace the traditional homogeneous linear correction. This mechanism deeply matches the nonlinear response characteristics of human visual perception. By coupling the environmental compensation factor corresponding to the real-time ambient light intensity and the reference light intensity, dynamic adaptive compensation of light effect parameters is achieved, which significantly improves the fitting degree and coordination of light and shadow in complex scenes and effectively overcomes the inherent defects of traditional static light effects, such as lack of generalization ability and abrupt transitions.

[0084] like Figure 3 As shown in the figure, this application provides a flowchart for determining smooth output parameters, such as... Figure 3 As shown, the method for determining smooth output parameters provided in this application embodiment includes the following steps S31 to S33.

[0085] S31, calculate the deviation between the current frame correction parameters and the previous frame output parameters.

[0086] Specifically, the current frame correction parameters represent the first, second, and third light effect adaptive parameters at the current moment, while the previous frame output parameters represent the first, second, and third light effect adaptive parameters at the previous frame moment.

[0087] S32, determine the normalized dynamic smoothing weight based on the smoothing steepness coefficient, the normalized deviation steady-state threshold, and the deviation value.

[0088] Specifically, the expression for determining the normalized dynamic smoothing weight based on the smoothing steepness coefficient, the normalized deviation steady-state threshold, and the deviation value is as follows:

[0089]

[0090] in, This indicates the deviation between the correction parameters of the current frame and the output parameters of the previous frame. This represents the smoothness and steepness coefficient (0.5~2.0). This represents the normalized deviation steady-state threshold, with a value range of 0.05 to 0.15.

[0091] in, Used to determine the level of inter-frame variation in lighting parameters, and to determine the time for smooth, slow changes in lighting and the time for rapid response; To normalize the dynamic smoothing weights, the value range is strictly constrained to (0, 1). When the parameter deviation is large, the weights approach 0 to enhance the smoothing effect; when the parameter deviation is small, the weights approach 1 to ensure sensitive dynamic response.

[0092] S33, based on the normalized dynamic smoothing weights, perform inter-frame weighted fusion smoothing processing on the first light effect adaptive parameter, the second light effect adaptive parameter and the third light effect adaptive parameter respectively to obtain the first smoothing output parameter corresponding to the first light effect adaptive parameter, the second smoothing output parameter corresponding to the second light effect adaptive parameter and the third smoothing output parameter corresponding to the third light effect adaptive parameter.

[0093] Specifically, based on the normalized dynamic smoothing weights, the first light effect adaptive parameter is subjected to inter-frame weighted fusion smoothing processing to obtain the expression corresponding to the first smoothing output parameter of the first light effect adaptive parameter:

[0094]

[0095] in, This represents the normalized dynamic smoothing weight corresponding to the first light effect adaptive parameter; express The first adaptive parameter of light effect after adaptive compensation at any time; Indicates compared to The first smoothed output parameter of the previous iteration time; express The first smooth output parameter at time step.

[0096] Specifically, based on the normalized dynamic smoothing weights, the second light effect adaptive parameter is subjected to inter-frame weighted fusion smoothing processing to obtain the expression corresponding to the second smoothing output parameter of the second light effect adaptive parameter, which is:

[0097]

[0098] in, This represents the normalized dynamic smoothing weight corresponding to the second light effect adaptive parameter; express The adaptive parameters of the second light effect after adaptive compensation at any time; Indicates compared to The second smoothing output parameter of the previous iteration time; express The second smoothing output parameter at time step.

[0099] Specifically, based on the normalized dynamic smoothing weights, the third light effect adaptive parameter is subjected to inter-frame weighted fusion smoothing processing to obtain the expression corresponding to the third smoothing output parameter of the third light effect adaptive parameter:

[0100]

[0101] in, This represents the normalized dynamic smoothing weight corresponding to the third light effect adaptive parameter; express The adaptive parameters of the third light effect after adaptive compensation at any time; Indicates compared to The third smoothing output parameter of the previous iteration time; express The third smoothing output parameter at time step.

[0102] It should be noted that the expressions for determining the first smooth output parameter, the second smooth output parameter, and the third smooth output parameter can be used to non-linearly adjust the rate of change, fully preserving the original light effect parameter amplitude, and achieving a high-quality dynamic effect of smooth transition with large changes and sensitive tracking with small changes.

[0103] This application provides a method for determining smoothing output parameters. This method introduces a normalized dynamic smoothing weight calculated based on the deviation value, smoothing steepness coefficient, and normalized deviation steady-state threshold. This breaks the fixed step size limitation of traditional linear smoothing. This mechanism can dynamically adjust the smoothing weight according to the deviation between the current frame and the previous frame, precisely and non-linearly adaptively intervening in the rate of change of three-dimensional light effect parameters (brightness, hue, saturation), giving the system a differentiated response rate. During inter-frame weighted fusion processing, this algorithm mechanism, through scientific weight allocation, ensures that the first, second, and third smoothing output parameters can completely retain the physical amplitude of the original light effect adaptive parameters. This effectively avoids the problems of luminous flux attenuation, color shift, or saturation distortion that may be caused by traditional filtering algorithms during the smoothing process, ensuring absolute fidelity of the light effect output. It balances the contradictory requirements of "smoothness" and "response speed": when parameters change drastically, the system can adaptively increase the smoothing resistance to achieve a smooth transition of light and shadow, eliminating visual abrupt changes and flicker; when parameters undergo minor amplitude adjustments, the system can quickly reduce smoothing delay, achieving high-frequency sensitive tracking between frames. This effect significantly improves the coherence, smoothness, and overall visual experience of dynamic lighting scenes.

[0104] like Figure 4 As shown in the figure, this application embodiment provides a flowchart for outputting a target dynamic ambient light effect, as follows: Figure 4 As shown, the method for outputting dynamic ambient lighting effects of a target provided in this application embodiment includes the following steps S41 to S43.

[0105] S41, determine the delay deviation for each lighting unit.

[0106] For example, the delay deviation of each lighting unit can be determined through factory calibration tests, online real-time measurements, or other methods.

[0107] S42, based on the delay deviation and the output luminous efficacy parameters, construct the corresponding synchronization calibration formula for the lighting unit.

[0108] Specifically, the synchronization calibration formulas for the corresponding lighting units are constructed based on the delay deviation and the output luminous efficacy parameters as follows:

[0109]

[0110] in, Indicates the first The final output luminous effect parameters (including brightness, hue, and saturation) of each light unit. Indicates the first Compared to individual lighting units The output light effect parameters at any given time (representing the distortion-free smooth output parameters) include the first smooth output parameter, the second smooth output parameter, and the third smooth output parameter; Indicates the first Delay deviation of each lighting unit.

[0111] For example, if the first smooth output parameter is used as the output luminous efficacy parameter of the lighting unit, then Indicates the first Compared to individual lighting units The first smoothed output parameter at any given time; if the second smoothed output parameter is used as the output luminous effect parameter of the lighting unit, then Indicates the first Compared to individual lighting units The second smoothed output parameter at any given time; if the third smoothed output parameter is used as the output luminous effect parameter of the lighting unit, then Indicates the first Compared to individual lighting units The third smoothing output parameter at time step.

[0112] This application achieves multi-light synchronization through a timestamp backtracking compensation mechanism: for light units with greater hardware latency, it retrieves the distortion-free smooth output parameters from an earlier moment to offset hardware transmission and drive latency, so that all light units output completely consistent light effect values ​​at the same physical time point, achieving uniformity of dynamic atmosphere rhythm, color, and brightness across the entire area.

[0113] S43, based on each synchronization calibration formula, the corresponding lighting unit is synchronized and processed to adjust the dynamic light effect corresponding to each output light effect parameter, and the target dynamic ambient light effect is output.

[0114] For example, the dynamic light effect of the corresponding light unit is adjusted based on the calibrated output light effect parameters, and the corresponding output target dynamic ambient light effect of multiple light units is output.

[0115] This application provides a method for outputting a target dynamic ambient lighting effect. In this method, an independent delay deviation is determined for each lighting unit, and a differentiated synchronization calibration formula is constructed accordingly. This mechanism breaks away from the traditional coarse-grained mode where a unified timestamp is equivalent to synchronization in multi-light control. It can perform frame-by-frame timing alignment compensation for the output lighting effect parameters of each lighting unit, eliminating motion misalignment and stepped transitions caused by delay differences among multiple lighting units, and ensuring strict synchronization of screen switching when multiple lights are linked. This application uses a synchronization calibration formula constructed for each light to compensate for the output lighting effect parameters in advance, effectively offsetting the timing drift caused by communication jitter and hardware response differences, ensuring that each lighting unit outputs a consistent lighting effect state at the same time, significantly improving the stability and smoothness of multi-modal dynamic lighting effect switching; after linkage synchronization processing, the dynamic lighting effect of each lighting unit is... With strict alignment on the timeline, the output target dynamic ambient lighting effect presents a highly coordinated overall visual picture in space, rather than the superposition of multiple lights responding independently. This effect meets the stringent requirements of high-end immersive lighting scenes for strict synchronization and image consistency of multiple light units, greatly enhancing the audience's visual immersion and scene expressiveness. Since the calibration and adjustment formulas for delay deviation are constructed based on individual light units, the system can effectively be compatible with heterogeneous light units of different models, different communication protocols, and different drive circuits. It does not require the prerequisite of consistent hardware delay of all lights, improving the deployment flexibility and synchronization robustness of the multi-light linkage system under complex hardware configurations.

[0116] The scope of protection of the intelligent lighting dynamic ambient light effect control method described in this application is not limited to the execution order of the steps listed in this embodiment. Any solution implemented by adding, subtracting, or replacing steps in the prior art based on the principles of this application is included within the scope of protection of this application.

[0117] This application also provides an intelligent dynamic ambient lighting effect control device, which can implement the intelligent dynamic ambient lighting effect control method described in this application. However, the implementation device of the intelligent dynamic ambient lighting effect control method described in this application includes, but is not limited to, the structure of the intelligent dynamic ambient lighting effect control device listed in this embodiment. All structural modifications and substitutions of the prior art made based on the principles of this application are included within the protection scope of this application.

[0118] This application also provides an embodiment to illustrate the technical solution of this application.

[0119] Example 1: Dynamic Ambient Lighting Control in Home Leisure Scenes

[0120] Set iteration time step =20ms, reference illumination intensity E0=500lux, environmental compensation weighting coefficient =0.5, smoothing steepness coefficient σ=1.0, error correction coefficient ξ=0.5; preset leisure scene baseline parameters =60% =220° (cool tone) =45%.

[0121] The ambient light intensity E(t) = 300 lux was collected in real time. First, the environmental compensation factor was calculated, and the result was obtained by substituting it into the formula: =1+0.5×(500-300) / 500=1.2.

[0122] Step 1: Basic temporal iterative calculation. Assume the initial steady-state parameters of the lights are the output values ​​of the previous frame: =40% =220° =35%, select the dynamic change rate coefficient = = =0.4, substitute into the three-dimensional time series iterative formula to complete the basic parameter iteration:

[0123] Brightness iteration: =40% + 0.4 × (60% - 40%) = 48%;

[0124] Tone iteration: =220°+0.4×(220°-220°)=220°;

[0125] Saturation iteration: =35%+0.4×(45%-35%)=39%.

[0126] Step 2: Environmental Adaptive Compensation Correction. The iteratively revised base parameters and compensation factors are then... Substituting 1.2 into the three-dimensional differential compensation formula:

[0127] Brightness compensation: =48% × 1.2 = 57.6%;

[0128] Tone compensation: =220°×[1+0.1×(1-1.2)]=220°×0.98=215.6°, achieving slight color correction and avoiding color shift problems in low-light environments;

[0129] Saturation compensation: =39%×√1.2≈39%×1.0954=42.72%, which moderately enhances the sense of color gradation and avoids the colors appearing grayish in dark light.

[0130] Step 3: Complete Sigmoid nonlinear smoothing calculation. Set the smoothing steepness coefficient. =1.0, Deviation steady-state threshold =0.1, take the final output parameter of the previous frame. =40% =220° =35%.

[0131] First, calculate the absolute deviation of the three-dimensional parameters between frames:

[0132] =|57.6%-40%|=0.176, =|215.6°-220°|=4.4, =|42.72%-35%|=0.0772;

[0133] Substituting into the Sigmoid dynamic weight formula F( )=11+e− (| Generate precise weights one by one from |−x0):

[0134] Brightness weight: =1 / (1+e^(-1.0×(0.176-0.1)))=1 / (1+e^(-0.076))≈1 / (1+0.9268)=0.519;

[0135] Hue weight: =1 / (1+e^(-1.0×(4.4-0.1)))=1 / (1+e^(-4.3))≈0.987;

[0136] Saturation weight: =1 / (1+e^(-1.0×(0.0772-0.1)))=1 / (1+e^(0.0228))≈0.494;

[0137] Substituting the values ​​into the inter-frame weighted fusion formula, we can calculate the complete smooth output parameters for this frame:

[0138] =40%×(1-0.519)+57.6%×0.519=19.24%+29.89%=49.13%;

[0139] =220°×(1-0.987)+215.6°×0.987=2.86°+212.80°=215.66°;

[0140] =35%×(1-0.494)+42.72%×0.494=17.71%+21.10%=38.81%;

[0141] This step achieves a smooth transition from large brightness changes to fine-tuning from small saturation changes, without any amplitude distortion or flicker.

[0142] Step 4: Multi-light group time synchronization calibration. Assume the entire house contains 4 light units, and light 1 has no hardware delay. =0ms,

[0143] Light 2 hardware delay =10ms, hardware delay of LED 3 =15ms, LED 4 hardware delay =20ms; Synchronization formula traced back via timestamp Calibration: Each lighting unit retrieves the global standard light effect parameters corresponding to the delay time to offset the differences in hardware transmission and drive response of different lights. Finally, the four lights output completely consistent L, H, and S parameters at the same physical moment, completely eliminating the problem of light and shadow tearing and rhythm misalignment in multi-light linkage, and achieving full-area light and shadow synchronization without difference.

[0144] Step 5: Individual Lamp Closed-Loop Error Correction. Based on preset reference parameters. =60% =220° With 45% as the standard and an error correction coefficient ξ=0.5, we substitute this into the single-lamp error iteration formula. , ,calculate:

[0145] Brightness error and correction: =60%-49.13%=10.87%, next frame brightness output=49.13%+0.5×10.87%=54.57%;

[0146] Tone error and correction: =220°-215.66°=4.34°, next frame tone output=215.66°+0.5×4.34°=217.83°;

[0147] Saturation error and correction: =45%-38.81%=6.19%, the saturation output of the next frame =38.81%+0.5×6.19%=41.91%;

[0148] Through frame-by-frame closed-loop iteration, the parameters continuously converge to the preset benchmark, completely suppressing long-term parameter drift.

[0149] In summary, the embodiments of this application achieve a dynamic effect of intelligent ambient lighting that adapts to environmental changes, is smooth and seamless, synchronizes multiple lights, and has stable parameter convergence through complete algorithm chain operations. It is free from jumps, flicker, and color distortion, perfectly meeting the needs of immersive soft lighting atmosphere for home relaxation in dim lighting conditions.

[0150] like Figure 5 As shown, in one embodiment, the intelligent dynamic ambient lighting effect control device 50 of this application includes a lighting parameter acquisition module 51, a three-dimensional lighting effect time-series iterative formula establishment module 52, a lighting effect adaptive compensation formula construction module 53, a smoothing processing module 54, an output lighting effect parameter determination module 55, and a target dynamic ambient lighting effect output module 56.

[0151] The lighting parameter acquisition module 51 is used to acquire lighting parameters of multiple lighting units respectively. The lighting parameters include real-time ambient light intensity and initial lighting effect parameters.

[0152] The three-dimensional light effect timing iteration formula establishment module 52 is used to establish a three-dimensional light effect timing iteration formula based on the initial light effect parameters of each light unit.

[0153] The light effect adaptive compensation formula construction module 53 is used to combine the real-time ambient light intensity and the three-dimensional light effect time-series iterative formula, introduce a deviation compensation coefficient, and construct a light effect adaptive compensation formula. The light effect adaptive compensation formula includes a first light effect adaptive parameter, a second light effect adaptive parameter, and a third light effect adaptive parameter.

[0154] The smoothing module 54 is used to perform dynamic light effect nonlinear smoothing on the first light effect adaptive parameter, the second light effect adaptive parameter and the third light effect adaptive parameter respectively, to obtain the first smoothed output parameter corresponding to the first light effect adaptive parameter, the second smoothed output parameter corresponding to the second light effect adaptive parameter and the third smoothed output parameter corresponding to the third light effect adaptive parameter.

[0155] The output light effect parameter determination module 55 is used to take the first smooth output parameter, the second smooth output parameter and the third smooth output parameter as the output light effect parameters of each light unit respectively.

[0156] The target dynamic ambient lighting effect output module 56 is used to synchronize the dynamic lighting effect corresponding to the output lighting effect parameters of each lighting unit and output the target dynamic ambient lighting effect.

[0157] The structure and principle of the following modules correspond one-to-one with the steps in the above-mentioned intelligent lighting dynamic atmosphere effect control method: lighting parameter acquisition module 51, three-dimensional lighting effect time-series iterative formula establishment module 52, lighting effect adaptive compensation formula construction module 53, smoothing processing module 54, output lighting effect parameter determination module 55, and target dynamic atmosphere lighting effect output module 56. Therefore, they will not be described in detail here.

[0158] In the embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, or methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules / units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or units may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of apparatuses or modules or units may be electrical, mechanical, or other forms.

[0159] The modules / units described as separate components may or may not be physically separate. The components shown as modules / units may or may not be physical modules; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules / units can be selected to achieve the objectives of the embodiments of this application, depending on actual needs. For example, the functional modules / units in the various embodiments of this application may be integrated into one processing module, or each module / unit may exist physically separately, or two or more modules / units may be integrated into one module / unit.

[0160] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0161] This application also provides an electronic device. Figure 6 The diagram shown is a structural schematic of an electronic device 60 in one embodiment of this application. The intelligent dynamic ambient lighting effect control method provided in this embodiment can be applied to... Figure 6 The electronic device shown is 60, but it is not limited to this. For example... Figure 6 As shown, the electronic device 60 includes a processor 61, a memory, a system bus 63, and a network interface 65. The memory may include a non-volatile storage medium 62 and internal memory 64.

[0162] The non-volatile storage medium 62 can store an operating system and a computer program. The computer program includes program instructions that, when executed, cause the processor to perform any of the intelligent dynamic ambient lighting effect control methods provided in the embodiments of this application.

[0163] The processor provides computing and control capabilities, supporting the operation of the entire computer device.

[0164] The internal memory 64 provides an environment for the execution of computer programs in non-volatile storage media. When the computer program is executed by the processor, it enables the processor to execute any of the intelligent dynamic ambient lighting effect control methods provided in the embodiments of this application.

[0165] This network interface 65 is used for network communication, such as sending assigned tasks. Those skilled in the art will understand that... Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0166] It should be understood that processor 61 can be a Central Processing Unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among these, the general-purpose processor can be a microprocessor or any conventional processor.

[0167] The electronic device 60 in this application embodiment may include terminal devices such as tablet computers, laptop computers, mobile phones, supercomputers, and smart wearable devices. It can also be applied to databases, servers, and service response systems based on terminal artificial intelligence. This application embodiment does not impose any restrictions on the specific type of electronic device.

[0168] For example, electronic devices can be stations (STAION, ST) in WLANs, cellular phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, handheld devices with wireless communication capabilities, computing devices or other processing devices connected to a wireless modem, computers, laptops, handheld communication devices, handheld computing devices, and / or other devices for communicating over wireless systems, as well as next-generation communication systems, such as mobile terminals in 5G networks, mobile terminals in future evolved Public Land Mobile Networks (PLMNs), or mobile terminals in future evolved Non-terrestrial Networks (NTNs).

[0169] This application also provides a computer-readable storage medium. Those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing a processor. The program can be stored in a computer-readable storage medium, which is a non-transitory medium, such as random access memory, read-only memory, flash memory, hard disk, solid-state drive, magnetic tape, floppy disk, optical disk, and any combination thereof. The storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital video disc (DVD)), or a semiconductor medium (e.g., solid-state disk (SSD)).

[0170] This application embodiment may also provide a computer program product comprising one or more computer instructions. When the computer instructions are loaded and executed on a computing device, all or part of the processes or functions described in this application embodiment are generated. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means.

[0171] When the computer program product is executed by a computer, the computer performs the method described in the foregoing method embodiments. The computer program product can be a software installation package; when the foregoing method is required, the computer program product can be downloaded and executed on the computer.

[0172] The descriptions of the processes or structures corresponding to the above figures each have their own emphasis. For parts of a process or structure that are not described in detail, please refer to the relevant descriptions of other processes or structures.

[0173] The above embodiments are merely illustrative of the principles and effects of this application and are not intended to limit this application. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of this application. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in this application should still be covered by the claims of this application.

Claims

1. A method for controlling intelligent dynamic ambient lighting effects, characterized in that, The method includes: Lighting parameters of multiple lighting units are collected respectively, including real-time ambient light intensity and initial lighting effect parameters; A three-dimensional light effect time-series iterative formula is established based on the initial light effect parameters of each light unit; Combining the real-time ambient light intensity and the three-dimensional light effect time-series iterative formula, a deviation compensation coefficient is introduced to construct a light effect adaptive compensation formula, which includes a first light effect adaptive parameter, a second light effect adaptive parameter, and a third light effect adaptive parameter. Dynamic light effect nonlinear smoothing processing is performed on the first light effect adaptive parameter, the second light effect adaptive parameter and the third light effect adaptive parameter respectively to obtain the first smoothed output parameter corresponding to the first light effect adaptive parameter, the second smoothed output parameter corresponding to the second light effect adaptive parameter and the third smoothed output parameter corresponding to the third light effect adaptive parameter. The first smoothing output parameter, the second smoothing output parameter, and the third smoothing output parameter are respectively used as the output light effect parameters of each light unit; The dynamic lighting effects corresponding to the output lighting effect parameters of each lighting unit are synchronized to output the target dynamic ambient lighting effect.

2. The method according to claim 1, characterized in that, The method combines the real-time ambient light intensity and the three-dimensional light effect time-series iterative formula, introduces a deviation compensation coefficient, and constructs a light effect adaptive compensation formula, including: An environmental compensation factor is constructed based on the real-time ambient light intensity and the reference light intensity. The environmental compensation factor is used to compensate the light effect time series iteration parameters in the three-dimensional light effect time series iteration formula to obtain the light effect adaptive compensation formula.

3. The method according to claim 2, characterized in that, The environmental compensation factor is used to compensate the light effect time series iteration parameters in the three-dimensional light effect time series iteration formula, resulting in the light effect adaptive compensation formula: in, express The first light effect timing iteration parameters at time step, express The second light effect timing iteration parameters at time step, express The third light effect timing iteration parameter at time step, express Environmental compensation factors at any time express The first adaptive parameter of light effect after adaptive compensation at any time. express The adaptive parameters of the second light effect after adaptive compensation at any time. express The third adaptive parameter of light effect after adaptive compensation at any time.

4. The method according to claim 1, characterized in that, The step of performing dynamic nonlinear smoothing processing on the first luminous efficacy adaptive parameter, the second luminous efficacy adaptive parameter, and the third luminous efficacy adaptive parameter to obtain a first smoothed output parameter corresponding to the first luminous efficacy adaptive parameter, a second smoothed output parameter corresponding to the second luminous efficacy adaptive parameter, and a third smoothed output parameter corresponding to the third luminous efficacy adaptive parameter includes: Calculate the deviation between the current frame correction parameters and the previous frame output parameters; The normalized dynamic smoothing weights are determined based on the smoothing steepness coefficient, the normalized deviation steady-state threshold, and the deviation value. Based on the normalized dynamic smoothing weights, the first light effect adaptive parameter, the second light effect adaptive parameter, and the third light effect adaptive parameter are subjected to inter-frame weighted fusion smoothing processing to obtain the first smoothing output parameter corresponding to the first light effect adaptive parameter, the second smoothing output parameter corresponding to the second light effect adaptive parameter, and the third smoothing output parameter corresponding to the third light effect adaptive parameter.

5. The method according to claim 1, characterized in that, The linkage and synchronization of the dynamic light effects corresponding to the output light effect parameters of each lighting unit, and the output of the target dynamic ambient light effect, include: Determine the delay deviation for each lighting unit separately; Synchronization calibration formulas for the corresponding lighting units are constructed based on the delay deviation and the output luminous efficacy parameters, respectively. Based on each synchronization calibration formula, the corresponding lighting unit is synchronized and processed to adjust the dynamic lighting effect corresponding to each output lighting effect parameter, and the target dynamic ambient lighting effect is output.

6. The method according to claim 1, characterized in that, The expression for establishing the three-dimensional light effect time-series iterative formula based on the initial light effect parameters of each light unit is as follows: in, This indicates the preset baseline lighting effect parameters for the first scene. Indicates the preset baseline lighting effect parameters for the second scene. This indicates the preset baseline lighting effect parameters for the third scene. Indicates compared to The first light effect parameter of the previous iteration time, Indicates compared to The second light effect parameter of the previous iteration time, Indicates compared to The third light effect parameter of the previous iteration time. express The first light effect timing iteration parameters at time step, express The second light effect timing iteration parameters at time step, express The third light effect timing iteration parameter at time step, Indicates the first dynamic rate of change coefficient, Indicates the second dynamic rate of change coefficient, This represents the third dynamic rate of change coefficient. This indicates the sampling iteration time step.

7. The method according to claim 1, characterized in that, The method further includes: The error value between the output light effect parameters and the scene preset reference parameters is calculated in real time; The output light effect parameters are corrected based on the error value.

8. A smart lighting dynamic ambient lighting effect control device, characterized in that, The device includes: The lighting parameter acquisition module is used to acquire lighting parameters of multiple lighting units, including real-time ambient light intensity and initial lighting effect parameters. The three-dimensional light effect timing iteration formula establishment module is used to establish a three-dimensional light effect timing iteration formula based on the initial light effect parameters of each light unit; The light effect adaptive compensation formula construction module is used to combine the real-time ambient light intensity and the three-dimensional light effect time-series iterative formula, introduce a deviation compensation coefficient, and construct a light effect adaptive compensation formula. The light effect adaptive compensation formula includes a first light effect adaptive parameter, a second light effect adaptive parameter, and a third light effect adaptive parameter. The smoothing module is used to perform dynamic light effect nonlinear smoothing on the first light effect adaptive parameter, the second light effect adaptive parameter and the third light effect adaptive parameter respectively, to obtain the first smoothed output parameter corresponding to the first light effect adaptive parameter, the second smoothed output parameter corresponding to the second light effect adaptive parameter and the third smoothed output parameter corresponding to the third light effect adaptive parameter. The output light effect parameter determination module is used to take the first smooth output parameter, the second smooth output parameter and the third smooth output parameter as the output light effect parameters of each light unit respectively; The target dynamic ambient lighting effect output module is used to synchronize the dynamic lighting effects corresponding to the output lighting effect parameters of each lighting unit and output the target dynamic ambient lighting effect.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 7.

10. An electronic device, characterized in that, The electronic device includes: A memory that stores a computer program; The processor, which is communicatively connected to the memory, executes the method of any one of claims 1 to 7 when the computer program is invoked.