Intelligent control method and system for LED fantasy color lamp
The method and system enhance LED fantasy light control by segmenting and intelligently adjusting LED lights based on scene classification, addressing precision and adaptability issues in existing systems.
Patent Information
- Application Number
- CN202510463627.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-14
- Publication Date
- 2025-07-15
AI Technical Summary
The existing silhouette control methods cannot achieve refined management, lack intelligent control and scene adaptive functions, and cannot make real-time adjustments according to environmental changes, resulting in the lighting effect being unable to achieve optimal.
Through the preset situation mode and initial light strip parameters, the target light strip parameters are determined, the light strip module is cut or spliced, divided into independent light strip collections, and the color and brightness control signals are received for refined control, combining microphone, oscillator, antenna, infrared, amplifier and speaker, input power supply, buzzer and output interface module to achieve intelligent control.
It realizes refined lighting management according to different scenarios, provides a smarter and more personalized lighting experience, can respond to user-input color and brightness control signals, and improves the accuracy and manageability of lighting effects.
Smart Images

Figure CN120321831A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent light strips, and particularly to an intelligent control method and system for LED magic lights. Background Art
[0002] Magic lights are a type of lighting device that integrates various color changes and light effect controls. They are widely used in indoor decoration, stage lighting, festival atmosphere creation, etc. Their main feature is to achieve a light source with high brightness, low energy consumption, and long lifespan through LED technology, and to precisely adjust the light color, brightness, and flashing frequency through a control circuit. With the development of smart home and Internet of Things technologies, magic lights are gradually combined with intelligent control systems, supporting remote control through methods such as mobile phone APPs and voice assistants, and can freely adjust light effects according to user needs and scene changes. In environments such as homes, shopping malls, and entertainment venues, they provide users with a more flexible and personalized lighting experience.
[0003] Traditional magic light control methods mainly rely on physical switches or simple dimming devices, usually using manual operation or control based on fixed preset modes. This control method has many technical problems. First, the control method is relatively rough and cannot be flexibly adjusted according to real-time needs; for example, users cannot finely adjust the lights according to environmental changes or situational requirements, resulting in the lighting effect not being optimal. Second, the traditional control method is relatively single, usually only able to adjust brightness or color, lacking more complex dynamic effects and scene linkage functions, and unable to meet the diverse requirements of modern smart homes and personalized needs; in addition, most traditional magic light systems do not have intelligent control functions, cannot be linked with other intelligent devices, and also lack the ability of remote control and automated management. Therefore, this traditional control method not only lacks flexibility but also cannot achieve refined management, especially when real-time adjustment according to environmental changes is required, it is particularly insufficient. With the development of intelligent technologies, the limitations of traditional magic light control methods are gradually emerging, and there is an urgent need to improve their functionality and adaptability through advanced intelligent control technologies.
[0004] The existing Chinese patent CN114286484A discloses a multifunctional Bluetooth strip light controller, which is characterized by including a power supply module, a single-chip microcomputer, and three control buttons; the power supply module is used to supply power to the single-chip microcomputer and the strip light; among them, the mobile phone WeChat applet is connected to the single-chip microcomputer through Bluetooth, and the user sends control instructions to the single-chip microcomputer through the three control buttons or the mobile phone WeChat applet. After receiving the corresponding control instructions, the single-chip microcomputer controls the strip light; when the mobile phone WeChat applet is successfully connected to the single-chip microcomputer through Bluetooth, the single-chip microcomputer will return the strip light state saved in the previous operation to the mobile phone WeChat applet, and the mobile phone WeChat applet will update the read strip light state on the user page after data processing; at this time, the user controls the strip light state through the mobile phone WeChat applet, including the number of lamp beads, mode, brightness, and speed; among them, the three control buttons are respectively used to control the mode, brightness, and speed; the single-chip microcomputer is also used to continuously verify the communication state with the mobile phone Bluetooth, and compare the obtained communication coefficient with a preset coefficient threshold; if the first preset condition is met, it is determined that the communication between the single-chip microcomputer and the mobile phone Bluetooth is abnormal, and a communication abnormal signal is generated; the single-chip microcomputer is used to send the communication abnormal signal to the user's mobile phone terminal to prompt the user that the current communication state between the single-chip microcomputer and the mobile phone Bluetooth is not good and it is recommended to deal with it in time. Although the above patent solution realizes the remote control of the RGB strip light through the connection between Bluetooth and the mobile phone WeChat applet, and adjusts parameters such as mode, brightness, and speed through the three control buttons and the mobile phone applet, which provides a certain degree of convenience and flexibility, it still fails to solve the fundamental problems of the traditional RGB light control method, lacks deeper intelligent control and scene adaptation functions. Although Bluetooth connection realizes remote control, due to relying on the stability of Bluetooth, communication interruptions will occur, and this detection method of communication anomalies does not provide sufficient intelligent feedback or solutions, and cannot achieve precise and real-time management and self-repair. Therefore, although the solution introduces some intelligent control methods, it still cannot achieve refined management of lights as a whole. Especially in complex usage scenarios, it lacks an adaptive and intelligent adjustment mechanism and is difficult to achieve true intelligent control.
[0005] Therefore, how to provide an intelligent control method for LED RGB lights to achieve refined management of lights is an urgent problem to be solved. Summary of the Invention
[0006] In view of this, the present invention provides an intelligent control method and system for LED RGB lights to solve the problem that the RGB light cannot be refinedly controlled and managed in the prior art.
[0007] The technical solution adopted by the present invention is:
[0008] In a first aspect, the present invention provides an intelligent control method for LED magic lights, which is applied to a lighting component including a plurality of light strip modules. The plurality of light strip modules are electrically connected in sequence to form a lighting part of the lighting component, and each of the light strip modules can be individually controlled to be lit. The control method includes:
[0009] Determine target light strip parameters corresponding to the scenario mode according to the preset scenario mode and initial light strip parameters;
[0010] According to the target light strip parameters, perform cutting or splicing processing on each of the light strip modules, and divide the processed light strip modules into several light strip sets, where each light strip set can be controlled to be lit by a control unit;
[0011] Receive color control signals and brightness control signals corresponding to each of the light strip sets, and according to the color control signals and brightness control signals, light up each of the light strip sets through the control unit and present corresponding brightness and colors.
[0012] Preferably, the determining target light strip parameters corresponding to the scenario mode according to the preset scenario mode and initial light strip parameters includes:
[0013] Receive a first control instruction for classifying the scenario mode;
[0014] According to the first control instruction, perform scenario classification processing on the scenario mode to determine a scenario classification result corresponding to the current scenario mode, where the scenario classification result at least includes the following scenarios: indoor decoration scenario, stage performance scenario, and urban night scene lighting scenario;
[0015] According to a first preset mapping relationship between the scenario classification result and the light strip type, determine a target light strip type corresponding to the scenario classification result, and determine the initial light strip parameters corresponding to the light strip type;
[0016] According to the scenario layout information corresponding to the target area in the preset scenario mode, and in combination with the initial light strip parameters, determine the target light strip parameters, where the target area includes the area where the light strip is to be arranged.
[0017] Preferably, the determining a target light strip type corresponding to the scenario classification result according to a first preset mapping relationship between the scenario classification result and the light strip type, and determining the initial light strip parameters corresponding to the light strip type includes:
[0018] Obtain a preset set of initial light strip parameters, where the set of initial light strip parameters at least includes light strip size information, initial light strip brightness, and initial light strip color;
[0019] If the scene classification result is an indoor decoration scene, according to the first preset mapping relationship, determine that the target light strip type is a flexible light strip, and select the first light strip size information, the first initial brightness, and the first initial color corresponding to the flexible light strip in the initial light strip parameter set as the initial light strip parameters;
[0020] If the scene classification result is a stage performance scene, according to the first preset mapping relationship, determine that the target light strip type is a rigid high-brightness light strip, and select the second light strip size information, the second initial brightness, and the second initial color corresponding to the rigid high-brightness light strip in the initial light strip parameter set as the initial light strip parameters;
[0021] If the scene classification result is an urban night lighting scene, according to the first preset mapping relationship, determine that the target light strip type is a rigid linear light strip, and select the third light strip size information, the third initial brightness, and the third initial color corresponding to the rigid linear light strip in the initial light strip parameter set as the initial light strip parameters.
[0022] Preferably, determining the target light strip parameters according to the scene layout information corresponding to the target area in the preset scene mode and combining the initial light strip parameters includes:
[0023] According to the scene layout information, determine the geometric shape, boundary position, and obstacle position of the target area;
[0024] According to the initial light strip parameters, obtain the maximum length of the light strip and the unit length of the light strip;
[0025] According to the geometric shape, boundary position, and obstacle position, determine the target light strip length and layout path that meet the requirements of the current scene layout;
[0026] According to the target light strip length and layout path, combine the maximum length of the light strip and the unit length of the light strip to determine the light strip cutting position and the number of light strip connection segments;
[0027] According to the light strip cutting position and the number of light strip connection segments, combine the initial light strip parameters to determine the target light strip parameters.
[0028] Preferably, determining the light strip cutting position and the number of light strip connection segments according to the target light strip length and layout path and combining the maximum length of the light strip and the unit length of the light strip includes:
[0029] According to the scene classification result and the scene layout information, determine the light strip adjustment parameters;
[0030] According to the target light strip length and layout path, determine the initial light strip cutting position and the initial number of light strip connection segments corresponding to the current scene layout;
[0031] Adjust the initial strip cutting position and the number of initial strip connection segments according to the strip adjustment parameters, and determine the strip cutting position and the number of strip connection segments.
[0032] Preferably, receiving the color control signal and the brightness control signal corresponding to each strip set, and lighting each strip set and presenting the corresponding brightness and color according to the color control signal and the brightness control signal through the control unit includes:
[0033] When receiving the color control signal and the brightness control signal, obtain the scene classification result corresponding to the current scene mode;
[0034] When the scene classification result is an indoor decoration scene, obtain the position information of multiple target areas in the indoor decoration scene;
[0035] According to the position information of each target area, obtain the position information of multiple sub-areas in the target area;
[0036] According to the position information of each target area, classify and combine each strip set to determine the first target strip set corresponding to each target area;
[0037] According to the position information of each sub-area, classify and combine each first target strip set to determine the second target strip set corresponding to each sub-area;
[0038] According to the preset first transition adjustment strategy, perform brightness adjustment and color adjustment on the first transition area between each first target strip set to obtain the first target brightness value and the first target color value;
[0039] According to the preset second transition adjustment strategy, perform brightness adjustment and color adjustment on the second transition area between each second target strip set to obtain the second target brightness value and the second target color value;
[0040] When receiving the color control signal and the brightness control signal, control to light each strip set and present the corresponding brightness and color according to the first target brightness value, the first target color value, the second target brightness value and the second target color value.
[0041] Preferably, the performing brightness adjustment and color adjustment on the first transition area between each first target strip set according to the preset first transition adjustment strategy to obtain the first target brightness value and the first target color value includes:
[0042] According to the position information of each target area, obtain the adjacent first area position information and second area position information;
[0043] Determine the position information of the first transition region between the first region and the second region according to the first region position information and the second region position information, where the first transition region position information includes the position information of the first boundary region within the first region and the position information of the second boundary region within the second region;
[0044] Obtain the first strip brightness value set and the first strip color value set corresponding to each of the first target strip sets;
[0045] According to the first boundary region position information and the second boundary region position information, in combination with the first strip brightness value set and the first strip color value set, obtain the first brightness value and the first color value of the strips within the first boundary region, and obtain the second brightness value and the second color value of the strips within the second boundary region;
[0046] Perform interpolation calculation on the brightness values within the first transition region according to the first brightness value and the second brightness value to obtain the first target brightness value;
[0047] Perform weighted fusion processing on the color values within the first transition region according to the first color value and the second color value to obtain the first target color value.
[0048] Preferably, the performing brightness adjustment and color adjustment on the second transition region between each of the second target strip sets according to a preset second transition adjustment strategy to obtain the second target brightness value and the second target color value includes:
[0049] According to the position information of each of the sub-regions, in combination with the user attention degree of each preset sub-region, obtain the position information of the adjacent key attention sub-region and the non-key attention sub-region;
[0050] Determine the position information of the second transition region between the key attention sub-region and the non-key attention sub-region according to the key attention sub-region position information and the non-key attention sub-region position information, where the second transition region position information includes the position information of the first boundary sub-region within the key attention sub-region and the position information of the second boundary sub-region within the non-key attention sub-region;
[0051] Obtain the second strip brightness value set and the second strip color value set corresponding to each of the second target strip sets;
[0052] According to the first boundary sub-region position information and the second boundary sub-region position information, in combination with the second strip brightness value set and the second strip color value set, obtain the third brightness value and the third color value of the strips within the first boundary sub-region, and obtain the fourth brightness value and the fourth color value of the strips within the second boundary sub-region;
[0053] Interpolate the luminance values in the second transition region based on the third luminance value and the fourth luminance value to obtain the second target luminance value, where the interpolation direction is from the non-key attention sub-region to the key attention sub-region;
[0054] Based on the third color value and the fourth color value, use the third color value as the dominant color to perform dominant color migration processing on the color values in the second transition region to obtain the second target color value.
[0055] Preferably, after receiving the color control signals and luminance control signals corresponding to each of the strip light sets, and lighting each of the strip light sets through the control unit according to the color control signals and luminance control signals to present the corresponding luminance and color, the following steps are further included:
[0056] Detect the real-time luminance state and real-time color state of each of the strip light sets to obtain a strip light state data set, where the strip light state data set includes the real-time position information, real-time luminance value, and real-time color value corresponding to each strip light module;
[0057] Analyze the strip light state data set according to a preset luminance anomaly threshold and color deviation threshold to identify abnormal strip light modules and obtain an abnormal strip light set;
[0058] Detect the normal strip light modules adjacent to each abnormal strip light module in the abnormal strip light set according to the real-time position information corresponding to each abnormal strip light module in the abnormal strip light set, and construct a compensation strip light set corresponding to each abnormal strip light module;
[0059] Calculate the compensation gain parameters for each compensation strip light module according to the preset target luminance value and preset target color value of each abnormal strip light module, combined with the real-time luminance value and real-time color value of each compensation strip light module in the compensation strip light set, where the compensation gain parameters include a compensation luminance value and a compensation color value;
[0060] Adjust the color and luminance of each of the compensation strip light modules according to the compensation gain parameters, and control the lighting of each of the strip light sets through the adjusted color value and luminance value.
[0061] In a second aspect, the present invention provides an intelligent control system for LED magic lights, including:
[0062] A microphone module for receiving an audio signal;
[0063] An oscillation module for generating a stable clock signal;
[0064] An antenna module for receiving or transmitting wireless communication signals;
[0065] The power amplifier and speaker module, electrically connected to the control module, is used to amplify and output audio signals;
[0066] The infrared module is used to receive or transmit infrared signals;
[0067] The input power supply module is used to receive a DC power supply and supply power to the system;
[0068] The buzzer module, electrically connected to the control module, is used to output a prompt tone;
[0069] The output interface module, electrically connected to the control module, is used to connect an external display device or a lighting control device;
[0070] The control module, electrically connected to the microphone module, the oscillation module and the antenna module, is used to process audio signals and control the overall functions of the system. The control module is used to implement the method as described above.
[0071] In summary, the beneficial effects of the present invention are as follows:
[0072] The intelligent control method and system for LED magic lights provided by the present invention, the method includes: determining target strip parameters corresponding to the scenario mode according to the preset scenario mode and initial strip parameters; performing cutting or splicing processing on each strip module according to the target strip parameters, and dividing the processed strip modules into several strip sets, where each strip set can be controlled and lit by a control unit; receiving color control signals and brightness control signals corresponding to each strip set, and according to the color control signals and brightness control signals, lighting each strip set through the control unit and presenting corresponding brightness and colors. The present invention effectively solves the problems of rough and single lighting control in the traditional control method by introducing the combination of a preset scenario mode and initial strip parameters, and realizes more refined control management. First, by determining the target strip parameters according to the scenario mode, it is possible to automatically generate adapted lighting effects for different application scenarios, such as homes, entertainment venues, and festivals, avoiding the limitation that traditional lighting control can only rely on manual adjustment, and realizing more intelligent and personalized lighting management; second, by performing cutting or splicing processing on the strip modules and dividing them into several independent strip sets, each strip set is managed by a separate control unit, and the brightness and color of each strip can be adjusted independently. Such a segmentation method enables each strip set to perform precise brightness and color adjustment according to specific control signals, providing a more detailed lighting effect and meeting higher-level personalized needs. In addition, the refined adjustment function of the control unit enables real-time response to the color and brightness control signals input by the user, realizing dynamic lighting adjustment and further improving the accuracy and manageability of the lighting effect. Therefore, this solution successfully solves the problem that the prior art cannot achieve refined control and management of magic light lighting by introducing technical means such as scenario mode, setting of target strip parameters, segmentation and independent control of strip modules, and provides a more flexible and intelligent lighting control experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments of the present invention will be briefly introduced below. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained according to these drawings, and these are all within the protection scope of the present invention.
[0074] Figure 1 It is a schematic flowchart of the overall operation of the intelligent control method for LED magic lights in Embodiment 1 of the present invention;
[0075] Figure 2 It is a schematic flowchart of determining the target strip parameters corresponding to the scenario mode in Embodiment 1 of the present invention;
[0076] Figure 3Schematic diagram of the process for determining the target light strip type corresponding to the scene classification result and determining the initial light strip parameters in Embodiment 1 of the present invention;
[0077] Figure 4 Schematic diagram of the process for determining the target light strip parameters according to the scene layout information corresponding to the target area under the preset scene mode and combining the initial light strip parameters in Embodiment 1 of the present invention;
[0078] Figure 5 Schematic diagram of the process for determining the light strip cutting position and the number of light strip connection segments in Embodiment 1 of the present invention;
[0079] Figure 6 Schematic diagram of the process for lighting each light strip set and presenting the corresponding brightness and color through the control unit according to the color control signal and the brightness control signal in Embodiment 1 of the present invention;
[0080] Figure 7 Schematic diagram of the process for performing brightness adjustment and color adjustment on the first transition area between each first target light strip set according to the preset first transition adjustment strategy in Embodiment 1 of the present invention;
[0081] Figure 8 Schematic diagram of the process for performing brightness adjustment and color adjustment on the second transition area between each second target light strip set according to the preset second transition adjustment strategy in Embodiment 1 of the present invention;
[0082] Figure 9 Schematic diagram of the process for performing compensation adjustment on abnormal light strips in Embodiment 1 of the present invention;
[0083] Figure 10 Schematic diagram of the LED magic light intelligent control system in Embodiment 2 of the present invention;
[0084] Figure 11 Schematic diagram of the circuit of the microphone module in Embodiment 2 of the present invention;
[0085] Figure 12 Schematic diagram of the circuit of the oscillation module in Embodiment 2 of the present invention;
[0086] Figure 13 Schematic diagram of the circuit of the antenna module in Embodiment 2 of the present invention;
[0087] Figure 14 Schematic diagram of the circuit of the control module in Embodiment 2 of the present invention;
[0088] Figure 15 Schematic diagram of the circuit of the power amplifier and speaker module in Embodiment 2 of the present invention;
[0089] Figure 16Schematic circuit diagram of the infrared module in Embodiment 2 of the present invention;
[0090] Figure 17 Schematic circuit diagram of the input power supply module in Embodiment 2 of the present invention;
[0091] Figure 18 Schematic circuit diagram of the buzzer module in Embodiment 2 of the present invention;
[0092] Figure 19 Schematic circuit diagram of the output interface module in Embodiment 2 of the present invention. Detailed implementation manners
[0093] To make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It should be noted that in this text, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. In the description of the present invention, it should be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be construed as a limitation to the present invention. Moreover, the term "comprises", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, elements defined by the statement "comprising..." do not exclude the presence of additional identical elements in the process, method, article or device comprising the said elements. If there is no conflict, the embodiments of the present invention and the various features in the embodiments may be combined with each other, and all are within the protection scope of the present invention.
[0094] Embodiment 1
[0095] Please refer to Figure 1 , Embodiment 1 of the present invention discloses an intelligent control method for LED magic lights, which is applied to a lighting assembly including a plurality of light strip modules. The plurality of light strip modules are electrically connected in sequence to form a lighting part of the lighting assembly, and each of the light strip modules can be independently controlled to be lit. The control method includes:
[0096] Determine the target strip light parameters corresponding to the preset scenario mode based on the initial strip light parameters;
[0097] Specifically, to determine the target strip light parameters corresponding to the preset scenario mode based on the initial strip light parameters, first, the scenario mode is defined according to different usage scenarios and user requirements, such as family gatherings, festive events, entertainment experiences, or office environments. Each scenario mode corresponds to different atmosphere requirements and lighting effects. These preset scenario modes include parameters such as the brightness, color, change frequency, and light distribution of the light. Automatically select suitable initial strip light parameters according to the current scenario mode. For example, in the festive mode, the lights need to flash quickly and have rich colors, while in the office mode, a softer and more stable light is required. On this basis, the initial strip light parameters refer to the basic strip light configuration set at startup, including basic states such as the length of the strip light, the number of lamp beads, the initial brightness, and color. By combining the initial strip light parameters and the scenario mode, a set of target strip light parameters is dynamically calculated to ensure that the lighting effect of the magic lights matches the requirements of a specific scenario. These target strip light parameters not only include the basic configuration of the light, such as color and brightness, but also cover more complex change rules, such as the gradual change effect of the light, the transition speed, and the response mode of interacting with the environment. Finally, by accurately determining these target strip light parameters, a highly customized and intelligent lighting experience can be provided for users, ensuring that the lighting effect in each scenario can meet the visual needs and atmosphere shaping.
[0098] In one embodiment, please refer to Figure 2 , the determining the target strip light parameters corresponding to the preset scenario mode based on the initial strip light parameters includes:
[0099] Receive a first control instruction for classifying the scenario mode;
[0100] Specifically, obtain the first control instruction sent by the user through the physical controller button, mobile phone APP, or voice assistant. The first control instruction includes the name, type, or predefined command of the scenario mode. The control instruction is transmitted to the central control unit of the system through wireless or wired communication. This unit parses the instruction and starts the subsequent processing process. Suppose the user clicks the "stage performance" mode button through the APP. After receiving this control instruction, it is recognized that this mode belongs to the stage lighting scenario. Then the system will perform classification processing and select the most suitable lighting effect. This allows users to directly and simply select the appropriate scenario mode according to actual needs, avoiding cumbersome manual settings and improving the operation efficiency and user experience.
[0101] According to the first control instruction, perform scene classification processing on the scene mode to determine the scene classification result corresponding to the current scene mode. Among them, the scene classification result at least includes the following scenes: indoor decoration scene, stage performance scene, and urban night lighting scene;
[0102] Specifically, according to the received first control instruction, based on the existing scene mode library, perform feature analysis and classification on the scene mode, and classify the scene mode into preset scene types, such as indoor decoration scene, stage performance scene, and urban night lighting scene; by determining the scene classification result corresponding to the current scene mode, it is possible to automatically identify and select a suitable lighting control strategy for each scene classification result. This classification processing can accurately determine the specific requirements of each scene mode, ensure the accurate matching of subsequent control parameters, improve the adaptability and accuracy of the lighting effect. Through intelligent scene classification, users can enjoy the convenience of automatic adjustment and avoid errors during manual selection.
[0103] According to the first preset mapping relationship between the scene classification result and the strip type, determine the target strip type corresponding to the scene classification result, and determine the initial strip parameters corresponding to the strip type;
[0104] Specifically, according to the mapping relationship table between the scene classification result and the strip type, select the strip type that best matches the current scene classification result. Each scene classification result has different requirements. For example, the indoor decoration scene requires soft warm-color strips, while the stage performance scene requires dynamic RGB strips; by referring to the preset strip type mapping table, automatically select the appropriate strip type, and select the corresponding initial strip parameters according to the strip type. The method of automatically selecting the target strip type and initializing the strip parameters ensures the accuracy of the lighting effect in different scenes, avoids the complexity and wrong selection during manual adjustment by users, and can quickly respond to user needs through the first preset mapping relationship, providing plug-and-play intelligent lighting management.
[0105] In an embodiment, please refer to Figure 3 The step of determining the target strip type corresponding to the scene classification result and the initial strip parameters corresponding to the strip type according to the first preset mapping relationship between the scene classification result and the strip type includes:
[0106] Obtain a preset set of initial strip parameters, where the set of initial strip parameters at least includes strip size information, initial strip brightness, and initial strip color;
[0107] Specifically, first read the initial parameter set of the light strip from the database or preset configuration. The initial light strip parameter set includes the size of the light strip, such as length, width, shape, initial brightness, and initial color. The initial light strip parameter set can vary according to different types of light strips, such as flexible, rigid, and linear, and is optimized according to different application scenarios. By loading the initial light strip parameters, it is ensured that the light strip can present a lighting effect that meets the basic requirements in the initial stage after installation.
[0108] For example, in the indoor decoration scenario, the initial light strip parameters are a flexible light strip with a small size, the brightness is set to medium, and the color is warm white; while in the stage performance scenario, the initial light strip parameters are a large-sized rigid high-brightness light strip, the brightness is set to high, and the color is dynamically adjustable RGB light; by obtaining the preset initial light strip parameter set, it is ensured that when the light strip is started in different scenarios, a basic lighting effect that meets the requirements is provided, reducing the complex operations of users when arranging and configuring the light strip, and improving the automation and accuracy of the lighting effect.
[0109] If the scene classification result is the indoor decoration scene, according to the first preset mapping relationship, determine that the target light strip type is a flexible light strip, and select the first light strip size information, the first initial brightness, and the first initial color corresponding to the flexible light strip in the initial light strip parameter set as the initial light strip parameters;
[0110] Specifically, when the scene classification result of the scenario mode is the indoor decoration scene, then according to the first preset mapping relationship, select a flexible light strip as the target light strip type. Then, select the first light strip size information, the first initial brightness, and the first initial color that match the flexible light strip from the preset initial light strip parameter set as the initial light strip parameters. For example, flexible light strips usually have a small size, soft brightness, and warm colors, such as warm white. Through this process, a lighting effect suitable for the indoor environment is provided for users. In indoor scenes such as homes or offices, users hope to create a warm and soft atmosphere. According to this demand, a flexible light strip is selected, and by adjusting its size, brightness, and color, the lighting effect meets the expectations. By automatically matching the appropriate light strip type and parameters, the user setting process is simplified, ensuring that the lighting effect better meets the atmosphere requirements of the actual scene, and improving the user experience and lighting adaptability.
[0111] If the scene classification result is the stage performance scene, according to the first preset mapping relationship, determine that the target light strip type is a rigid high-brightness light strip, and select the second light strip size information, the second initial brightness, and the second initial color corresponding to the rigid high-brightness light strip in the initial light strip parameter set as the initial light strip parameters;
[0112] Specifically, when the scene classification result is a stage performance scene, according to the requirements of stage performances for high brightness, color changes, and strong dynamic effects of lighting, a rigid high-brightness light strip is selected. At this time, the corresponding second light strip size information, second initial brightness, and second initial color are selected from the initial light strip parameter set as the initial light strip parameters. Generally, rigid high-brightness light strips are larger in size, higher in brightness, and have a dynamic RGB color change to meet the rapidly changing lighting effects in stage performances. For example, in a stage play or concert scene, a rigid high-brightness light strip is selected, the brightness is set high, and the color is set to the dynamically changeable RGB mode to provide a shocking and expressive stage lighting effect. By selecting a high-brightness rigid light strip according to the special requirements of stage performances, the expressiveness of the lighting effect can be effectively improved, ensuring that the lighting continuously provides a strong visual impact during rapid performances, while avoiding the inconvenience and errors of manual configuration by users.
[0113] If the scene classification result is an urban night scene lighting scene, according to the first preset mapping relationship, the target light strip type is determined to be a rigid linear light strip, and the corresponding third light strip size information, third initial brightness, and third initial color of the rigid linear light strip are selected from the initial light strip parameter set as the initial light strip parameters.
[0114] Specifically, if the scene classification result is an urban night scene lighting scene, according to the requirements of this scene for the continuity, linear distribution, and stability of lighting, a rigid linear light strip is selected, and the corresponding third light strip size information, third initial brightness, and third initial color of the rigid linear light strip are selected from the initial light strip parameter set as the initial light strip parameters. Rigid linear light strips are usually used for large-scale urban landscape lighting, such as street lighting, building outlines, etc. These light strips are generally long in size, moderate in brightness, and usually have a cold color tone or custom color to create the atmosphere of a modern city. In the application of urban night scene lighting, for example, the lighting system in a city square or on a main street, a rigid linear light strip is selected and its brightness and color are set according to the needs of the environment to achieve the purpose of both decorative effect and illuminating the street. By matching the rigid linear light strip and adjusting the corresponding parameters, the unity and coherence of the urban night scene lighting effect are ensured, while greatly reducing the workload of manual debugging and improving the efficiency and accuracy of urban lighting design.
[0115] According to the scene layout information corresponding to the target area in the preset scenario mode, combined with the initial light strip parameters, the target light strip parameters are determined, where the target area includes the area where the light strip is to be arranged.
[0116] Specifically, according to the target area layout information in the preset scenario mode and in combination with the initial strip light parameters, the final target strip light parameters are determined. The scenario layout information includes the specific arrangement positions of the strip lights, the arrangement patterns of the strip lights, such as straight lines, curves, etc., as well as the number and positions of the strip lights in the target area. According to the scenario layout information and in combination with the initial strip light parameters, the final configuration of the strip lights is adjusted to ensure that the lighting effect can cover the target area and meet the scenario requirements. For example, in an indoor decoration scenario, the target area is around the living room, and the layout pattern of the strip lights will be adjusted according to the layout of the living room, such as rectangular or circular, and the brightness and color of each section of the strip light will be adjusted according to the initial parameters to ensure overall uniform lighting. This can ensure that the arrangement and adjustment of the strip lights are more accurate, avoid uneven or non-compliant lighting effects, improve the actual application effect of the lights, and at the same time enhance the flexibility and intelligence of the lighting system.
[0117] In one embodiment, please refer to Figure 4 , the determining the target strip light parameters according to the scenario layout information corresponding to the target area in the preset scenario mode and in combination with the initial strip light parameters includes:
[0118] According to the scenario layout information, determine the geometric shape, boundary position and obstacle position of the target area;
[0119] Specifically, according to the scenario layout information, obtain the geometric shape of the target area, such as rectangle, circle, polygon, and then determine the arrangement range of the strip lights according to the boundary position of the target area. This layout information usually comes from scenario drawings, sensor data or parameters input by users. At the same time, the obstacles existing in the target area, such as furniture, walls, doors and windows, etc., need to be considered and the positions of these obstacles are marked. This helps to ensure that the arrangement of the strip lights will not be interfered by the obstacles and can be evenly distributed or arranged along the specified path. Suppose the living room of a family, the scenario layout information indicates that the target area is a rectangular shape with a known boundary position, and the obstacles are furniture and doors and windows. These obstacles will be automatically identified and their positions will be taken into account to ensure that the strip lights bypass the obstacles and avoid overlapping with the furniture or doors and windows. This process ensures the rationality and accuracy of the strip light arrangement, avoids wasting strip light materials and unnecessary adjustments, and provides a more intelligent strip light design solution.
[0120] According to the initial strip light parameters, obtain the maximum length of the strip light and the unit length of the strip light;
[0121] Specifically, obtain the maximum available length and unit length of the light strip from the initial light strip parameters. The maximum length represents the longest extendable length of the light strip; the unit length represents the length of a single segment of the light strip, such as 1 meter, which will be used to calculate the number of cuts and connections required for the light strip. The maximum length and unit length of the light strip are the basic parameters for subsequent layout and cutting. Assume the initial light strip is a flexible and adjustable LED light strip with a maximum length of 10 meters and each unit length of 1 meter. With this information, it will be possible to determine how to effectively cut or connect the light strip to meet the layout requirements of the target area. Defining the maximum length and unit length of the light strip can effectively plan the layout and cutting of the light strip, avoiding unnecessary waste or errors during installation, and at the same time providing a clear basis for subsequent light strip connection and adjustment.
[0122] Based on the geometric shape, boundary position, and obstacle position, determine the target light strip length and layout path that meet the requirements of the current scene layout;
[0123] Specifically, according to the geometric shape, boundary position, and obstacle position of the target area, calculate a reasonable target light strip length and light strip layout path that meet the requirements of the current scene layout. First, the layout path of the light strip will extend along the boundary of the area or a preset trajectory, avoiding obstacles. The total length of the light strip will be adjusted based on this information, and it will be ensured that the light strip can cover the entire target area. At the same time, considering the relationship between the direction of the light strip and the obstacles, unnecessary waste is avoided. In the living room scenario, assume the shape of the target area is rectangular, and the obstacles are the sofas and tables on both sides. Determine the layout path of the light strip according to the boundaries of the rectangle, bypass the obstacles, and arrange the light strip along the edges of the sofas and tables. According to this path, calculate the appropriate length of the light strip and optimize its path to ensure effective coverage of the entire area. This method can accurately calculate the layout path of the light strip, avoid errors in manual measurement and design, ensure uniform lighting coverage of the target area, and avoid interference factors, improving aesthetics and functionality.
[0124] Based on the target light strip length and layout path, combined with the maximum length of the light strip and the unit length of the light strip, determine the light strip cutting position and the number of light strip connection segments;
[0125] Specifically, compare the previously calculated target light strip length and layout path with the maximum length and unit length of the initial light strip to determine the specific cutting positions of the light strip; divide the target light strip length by the unit length to determine the number of segments to be cut, and calculate the precise cutting positions of each segment. For example, if the target light strip length is 8 meters and the unit length of each segment is 1 meter, it is recommended to divide the 8-meter light strip into 8 segments, and then perform connection or cutting processing between each segment; assume that the target area requires an 8-meter light strip, the maximum length of the light strip is 10 meters, and the unit length is 1 meter. Calculate the number of segments of the light strip to be cut and the specific positions, and it is recommended to cut off the excess 2 meters and complete the layout of the target area by connecting 8 segments of 1-meter-long light strips. In this way, while ensuring the precise layout of the light strip, waste can be minimized to the greatest extent; users do not need to manually cut and adjust the light strip, and these calculations are automatically completed, improving the installation efficiency and ensuring that the layout of the light strip meets the design requirements.
[0126] In one embodiment, please refer to Figure 5 , determining the light strip cutting position and the number of light strip connection segments according to the target light strip length and layout path, in combination with the maximum length of the light strip and the unit length of the light strip, includes:
[0127] Determine the light strip adjustment parameters according to the scene classification result and the scene layout information;
[0128] Specifically, according to the automatically recognized scene classification result, such as indoor decoration, stage performance, or urban night scene lighting, and the scene layout information including the area size, geometric shape, and lighting requirements, generate the light strip adjustment parameters. The adjustment parameters include brightness, color, light effect mode, such as gradient, flicker, wave, etc., and the distribution density of the light strip within the area. For example, in the urban night scene lighting scenario, the adjustment parameters require high brightness, cold color tone, and dynamic gradient effects to increase the visual impact; assume that in a stage performance scene, the scene layout information shows that the width of the stage is 15 meters and dynamic lighting effects are required to match the performance content; according to the scene classification result, set high-brightness light strips on both sides of the stage, and the adjustment parameters include a brightness of 100%, a color of RGB cyclic gradient, and a dynamic flicker mode to match the changes in the stage atmosphere. This automated adjustment method ensures that the light strip effect precisely matches the scene requirements, improves the expressiveness and adaptability of the lighting, and reduces the time and effort of manual intervention.
[0129] Determine the initial light strip cutting position and the initial number of light strip connection segments corresponding to the current scene layout according to the target light strip length and layout path;
[0130] Specifically, in combination with the layout path of the light strip, such as straight line, surround, curve, etc. and the target light strip length, automatically calculate the specific positions that need to be cut and the number of segments of the light strip. For example, in a surround layout path, if the total path length is 12 meters and the maximum length of each segment of the light strip is 5 meters, it will be recommended to cut the light strip into 3 segments: two segments are 5 meters and one segment is 2 meters, and corresponding connection suggestions will be provided; in an indoor decoration scenario, the target area is a rectangular bookshelf with a perimeter of 8 meters. If the maximum length of each segment of the light strip is 4 meters, it will be recommended to cut it into two 4-meter light strips and set connectors at the corners of the light strip to ensure a complete surrounding effect. Automated cutting and segmentation calculation can optimize the material utilization rate, avoid waste, and at the same time ensure the accuracy of light strip installation and path consistency.
[0131] Adjust the initial light strip cutting position and the initial number of light strip connection segments according to the light strip adjustment parameters to determine the light strip cutting position and the number of light strip connection segments.
[0132] Specifically, light strip adjustment parameters, such as brightness change, color transition, etc. have an impact on the cutting position and the number of segments. For example, in order to achieve a uniform brightness increasing effect, fine-tune some cutting positions or increase the number of connection segments to support more complex light effect changes. For example, when an RGB light strip needs to achieve a smooth transition in each unit segment, more refined segmentation is required. In an urban night lighting scenario, a bridge requires a dynamic lighting effect, and the color is required to gradually change from the center of the bridge to both ends. In order to achieve a smooth transition effect, the 5-meter light strip in the center of the bridge is cut into 2 segments, and specific color adjustment points are set in each segment to achieve a seamless connection of the light effect. This dynamic adjustment based on adjustment parameters can ensure the accurate realization of the lighting effect, meet the personalized needs in complex scenarios at the same time, and improve user satisfaction.
[0133] Determine the target light strip parameters according to the light strip cutting position and the number of light strip connection segments, in combination with the initial light strip parameters.
[0134] Specifically, after confirming the cutting positions and the number of connection segments, the final target strip light parameters are generated in combination with the initial strip light parameters. The target strip light parameters include the actual length of each strip light segment, the connection method, the color mode, the brightness value, etc. For example, the target strip light parameters guide the installer to mark on each strip light segment and clarify the connection method and the required accessories. Suppose in an indoor decoration scenario, it is necessary to install strip lights around a decorative mirror. According to the size of the mirror, the strip lights are determined to be cut into 3 segments, each segment being 1.5 meters, 2 meters, and 2 meters respectively. The target strip light parameters will include the brightness settings of each strip light segment, such as 40%, the color, such as warm white, and the positions of the specific connection points, such as connecting at the corners. The clarification of the target strip light parameters not only guides the actual operation but also ensures the presentation of the functionality and visual effects of the strip lights. It optimizes the installation process, reduces the error rate, and enhances the overall coordination of the final lighting effect.
[0135] According to the target strip light parameters, each of the strip light modules is subjected to cutting or splicing processing, and the processed strip light modules are divided into several strip light sets, where each strip light set can be controlled to be lit by a control unit;
[0136] Specifically, based on the target strip light parameters, such as length, brightness, and color requirements, the strip lights are subjected to cutting or splicing processing. For example, if the scenario requires a combination of multiple strip lights of different lengths, the strip lights are cut according to the layout path, and the modules are spliced into strip light sets through connectors or built-in interfaces. Then, each strip light set is assigned an independent control unit to manage its color and brightness signals. This division method ensures that each strip light set can be controlled independently, achieving flexible lighting performance. In a stage performance scenario, suppose the stage background requires a 10-meter-long flexible strip light, but it needs to be divided into 5 strip light sets of 2 meters each to respectively display different colors and brightness. First, the strip light is cut, and then each 2-meter module is divided into a strip light set and assigned an independent control unit, which is convenient for achieving different lighting effects according to the performance requirements. This modular cutting and splicing method improves the adaptability and control accuracy of the strip lights. Through independent control units, the strip light sets can achieve more complex light effect combinations, providing users with highly flexible and personalized lighting solutions.
[0137] Receive the color control signals and brightness control signals corresponding to each of the strip light sets, and according to the color control signals and brightness control signals, light up each of the strip light sets through the control unit and present the corresponding brightness and color.
[0138] Specifically, specific color and brightness values are specified for each strip set through control signals. For example, the color control signal can define the specific color in RGB format, and the brightness control signal adjusts the light intensity through pulse width modulation. Each control unit independently lights the corresponding strip set according to the received signal to display the preset lighting effect or dynamic change. For example, in the urban night lighting scenario, for a bridge, the lighting effect needs to gradually dim from the center to both sides. Control signals are assigned to each strip set of the bridge. For example, the brightness signal of the strip in the center of the bridge is 100%, and it gradually decreases to 50% and 20% on both sides in turn. The color signal is set to warm white, combined with a dynamic gradient effect, making the whole bridge present a dynamic lighting change; by receiving and executing the control signals, the system can achieve precise lighting control and diverse light effect designs. This method not only meets the functional requirements but also increases the visual impact and environmental atmosphere, and is especially suitable for the dynamic interpretation of lighting schemes in complex scenarios.
[0139] In one embodiment, please refer to Figure 6 , receiving the color control signal and brightness control signal corresponding to each of the strip sets, and according to the color control signal and brightness control signal, lighting each of the strip sets through the control unit and presenting the corresponding brightness and color includes:
[0140] When the scene classification result is an indoor decoration scene, obtaining the position information of multiple target areas in the indoor decoration scene;
[0141] Specifically, when the scene classification result is an indoor decoration scene, first extract the spatial position information of multiple target areas used for accent lighting or atmosphere creation in this scene. The target areas include wall decoration areas, ceiling contour areas, furniture background areas, and skirting strip areas; by obtaining the geometric boundaries or coordinate information of the target areas, it provides an accurate spatial distribution basis for the subsequent control logic of the strips.
[0142] According to the position information of each of the target areas, obtaining the position information of multiple sub-areas within the target areas;
[0143] Specifically, according to the position information of each of the target areas, on the basis of the known overall spatial range of the target areas, further refine the segmentation of each target area internally to identify multiple sub-areas within it. The sub-areas include structural detail parts (such as borders, grooves), and user visual attention areas. This process is manually divided to obtain the boundary positions and shape information of each sub-area, providing data support for subsequent refined lighting adjustment.
[0144] According to the position information of each of the target areas, classifying and combining each of the strip sets to determine the first target strip set corresponding to each target area;
[0145] Specifically, according to the location information of each target area, each light strip set is classified and combined, and a light strip subset belonging to each target area is screened out to form a first target light strip set. This process enables each target area to accurately match the light units within the control range, thus realizing the basis for independent lighting control at the regional level.
[0146] Classifying and combining the first target light strip sets according to the position information of each sub-area, and determining the second target light strip sets corresponding to each sub-area;
[0147] Specifically, based on the division of the first target light strip set at the target area level, the light strips in the first target light strip set are further divided into finer granularity based on the sub-area location information, and the light strips in the first target light strip set are classified into the second target light strip set of the corresponding sub-area. This step enables each sub-area to have an independently controllable set of light units, providing the necessary hardware grouping support for achieving delicate, gradual, and layered lighting adjustment.
[0148] According to a preset first transition adjustment strategy, brightness adjustment and color adjustment are performed on the first transition area between each first target light strip set to obtain a first target brightness value and a first target color value;
[0149] Specifically, in order to avoid abrupt or abrupt boundaries between different target areas, the first transition area between adjacent target areas is calculated based on the boundary position between the preset first transition adjustment strategy; then, a brightness smoothing strategy (such as linear or curve interpolation) and a color fusion strategy (generating gradient colors in HSV or RGB space) are executed in the first transition area, so that the light strip presents a soft brightness and color transition effect in the transition area. Finally, the first target brightness value and the first target color value for controlling the light strip in the transition area are output to ensure natural and coordinated regional transitions and enhance the consistency and beauty of the overall spatial atmosphere.
[0150] In one embodiment, see Figure 7 , the brightness and color of the first transition area between each first target light strip set are adjusted according to the preset first transition adjustment strategy to obtain the first target brightness value and the first target color value, including:
[0151] According to each of the target area position information, acquiring adjacent first area position information and second area position information;
[0152] Specifically, after identifying the position information of multiple target regions, by calculating the relative distances between the boundaries of each target region, it is determined which target regions are adjacent to each other. Two adjacent target regions are selected and respectively marked as the first region and the second region, and the position information of the adjacent first region and the second region is obtained. This step aims to clarify which regions have a direct visual or spatial transition requirement, providing an object basis for the subsequent positioning of the transition region and lighting adjustment.
[0153] According to the position information of the first region and the second region, determine the position information of the first transition region between the first region and the second region, where the position information of the first transition region includes the position information of the first boundary region within the first region and the position information of the second boundary region within the second region;
[0154] Specifically, based on the position information of the first region and the second region, define the edge region at their junction as the first transition region; to achieve detailed transition control, the first transition region is further divided into sub-regions located within the boundaries of the two regions respectively, named the first boundary region and the second boundary region; the first boundary region and the second boundary region can be generated by setting a certain range of buffer zone width or automatically based on the actual layout position of the light strips, which is used to generate a transition zone from one region to another visually, avoiding the sense of discontinuity in color or brightness at the region junction.
[0155] Obtain the first light strip brightness value set and the first light strip color value set corresponding to each of the first target light strip sets;
[0156] Specifically, after identifying the first target light strip set corresponding to each target region, further extract the brightness value and color value displayed by each current light strip, and record them as the first light strip brightness value set and the first light strip color value set respectively.
[0157] According to the position information of the first boundary region and the position information of the second boundary region, in combination with the first light strip brightness value set and the first light strip color value set, obtain the first brightness value and the first color value of the light strips within the first boundary region, and obtain the second brightness value and the second color value of the light strips within the second boundary region;
[0158] Specifically, based on the known lighting characteristics of the first light strip set, according to the position information of the first boundary region and the position information of the second boundary region, by matching the specific light strip units within the first boundary region and the second boundary region, select the light strips located within the first boundary region and the second boundary region respectively, and extract their current brightness values and color values respectively, so as to obtain the first brightness value and the first color value of the light strips within the first boundary region, and obtain the second brightness value and the second color value of the light strips within the second boundary region.
[0159] Interpolate the luminance values in the first transition region according to the first luminance value and the second luminance value to obtain a first target luminance value;
[0160] Specifically, in order to achieve a smooth gradual change in luminance between the first region and the second region, a luminance interpolation algorithm is used to perform a linear interpolation or a curve interpolation operation between the first boundary region and the second boundary region, generating multiple interpolated luminance values in the first transition region as the first target luminance value; the interpolation direction extends from the end closer to the second region in space towards the first region, or vice versa, and is dynamically set according to the user's focus direction or design intention. In this way, it is ensured that the luminance change between the boundaries is a natural transition, avoiding obvious jumps.
[0161] Perform a weighted fusion process on the color values in the first transition region according to the first color value and the second color value to obtain a first target color value.
[0162] Specifically, in order to further enhance the naturalness of the color transition, a weighted mixing process is performed on the color values of the first boundary region and the second boundary region in the color dimension; this process can perform a main color tone transition in the HSV color space or perform a channel-by-channel gradient calculation in the RGB space; the weight coefficient is automatically adjusted according to the distance from the boundary, so that the part closer to a certain boundary region retains more of the original color of that region; the finally generated first target color value is used to control the color output of the light strip in the transition region, realizing a smooth transition of color from one region to another.
[0163] Adjust the luminance and color of the second transition region between each second target light strip set according to a preset second transition adjustment strategy to obtain a second target luminance value and a second target color value;
[0164] Specifically, after identifying multiple sub-regions within each target region, to achieve the lighting effect coordination between these sub-regions, a preset second transition adjustment strategy will be applied to perform brightness and color transition adjustment processing on the second transition regions formed between adjacent sub-regions. This second transition adjustment strategy takes the user's attention area as the core, preferentially extracts the brightness values and color values of key sub-regions as control feature values, and based on the spatial relationship between non-key sub-regions and key sub-regions, performs brightness interpolation calculation and color weighted fusion processing on the second transition regions, so that the transition regions visually present a natural brightness gradient and color transition from non-key regions to key regions. In terms of brightness processing, a linear or non-linear interpolation algorithm can be used to adjust the light intensity. In terms of color processing, dominant color migration and gradient fusion are performed in the HSV or RGB color space to ensure that there is a clear visual partition between sub-regions without creating an abrupt light sense disconnection, thereby achieving a delicate, soft and layered lighting effect transition. The finally obtained second target brightness value and second target color value will be sent as lighting control instructions to the specific light strips in the second target light strip set to achieve precise control.
[0165] In one embodiment, please refer to Figure 8 , the performing brightness adjustment and color adjustment on the second transition regions between each second target light strip set according to the preset second transition adjustment strategy to obtain a second target brightness value and a second target color value includes:
[0166] According to the position information of each sub-region and in combination with the preset user attention degrees of each sub-region, obtain the position information of adjacent key attention sub-regions and non-key attention sub-regions;
[0167] According to the position information of the key attention sub-regions and the position information of the non-key attention sub-regions, determine the position information of the second transition regions between the key attention sub-regions and the non-key attention sub-regions, where the position information of the second transition regions includes the position information of the first boundary sub-regions within the key attention sub-regions and the position information of the second boundary sub-regions within the non-key attention sub-regions;
[0168] Obtain the second light strip brightness value set and the second light strip color value set corresponding to each second target light strip set;
[0169] According to the position information of the first boundary sub-regions and the position information of the second boundary sub-regions, in combination with the second light strip brightness value set and the second light strip color value set, obtain the third brightness value and the third color value of the light strips within the first boundary sub-regions, and obtain the fourth brightness value and the fourth color value of the light strips within the second boundary sub-regions;
[0170] Interpolate the luminance values in the second transition region according to the third luminance value and the fourth luminance value to obtain the second target luminance value, where the interpolation direction is from the non-key attention sub-region to the key attention sub-region;
[0171] According to the third color value and the fourth color value, use the third color value as the dominant color to perform dominant color migration processing on the color values in the second transition region to obtain the second target color value.
[0172] When receiving the color control signal and the luminance control signal, control each of the strip light sets to be lit and present the corresponding luminance and color according to the first target luminance value, the first target color value, the second target luminance value, and the second target color value.
[0173] Specifically, after obtaining the position information of multiple sub-regions in the indoor decoration scene, the preset user attention data will be combined to classify each sub-region, and the key attention sub-regions (such as decoration focal points, visual centers, or functional areas) and non-key attention sub-regions (such as auxiliary lighting or background areas) will be identified. Determine whether the key attention sub-region and the non-key attention sub-region are adjacent, and then extract the position information of the adjacent key attention sub-region and non-key attention sub-region; then, according to the position information of the adjacent key attention sub-region and non-key attention sub-region, determine the position of the second transition region between them in the actual space, where the transition region includes: the position information of the first boundary sub-region in the key attention sub-region, and the position information of the second boundary sub-region in the non-key attention sub-region, to prepare the position basis for subsequent gradual change control.
[0174] For the aforementioned position information of the first boundary sub-region and the second boundary sub-region, retrieve the current luminance values and color values of all the strip lights in their corresponding second target strip light sets, and integrate them into the second strip light luminance value set and the second strip light color value set respectively; then, extract the third luminance value and the third color value of the strip lights in the first boundary sub-region, and the fourth luminance value and the fourth color value of the strip lights in the second boundary sub-region. Next, in terms of luminance adjustment, starting from the fourth luminance value of the non-key attention sub-region and aiming at the third luminance value of the key attention sub-region, interpolate the luminance in the second transition region in an interpolation manner from low to high (or smooth transition) to ensure that the luminance progresses naturally without abruptness, and finally obtain the second target luminance value. On the one hand, this avoids the sense of fragmentation caused by sudden changes in lighting, and on the other hand, it highlights the visual guiding role of the key area.
[0175] In terms of color processing, the third color value in the key - focused sub - region is used as the dominant color. By establishing a color gradient model in the HSV or RGB color space, the fourth color value in the second boundary sub - region is gradually migrated towards the dominant color, achieving a visual approximation in color. Thus, the colors in the non - key - focused regions naturally transition to the colors in the key - focused regions in the transition zone, obtaining the second target color value. Finally, after receiving the unified color control signal and brightness control signal, the first target brightness value, the first target color value, the second target brightness value, and the second target color value obtained from the foregoing processing are integrated, and corresponding control instructions are sent to each target strip light set to precisely adjust the brightness and color output of each strip light. This not only enhances the visual hierarchy and spatial orientation but also improves the overall aesthetic and interactive experience of indoor decorative lighting.
[0176] In one embodiment, please refer to Figure 9 , after receiving the color control signals and brightness control signals corresponding to each of the strip light sets, and lighting each of the strip light sets and presenting the corresponding brightness and color according to the color control signals and brightness control signals through the control unit, the following steps are further included:
[0177] Detect the real - time brightness state and real - time color state of each of the strip light sets to obtain a strip light state data set, where the strip light state data set includes the real - time position information, real - time brightness value, and real - time color value corresponding to each strip light module;
[0178] Analyze the strip light state data set according to a preset brightness anomaly threshold and color deviation threshold to identify abnormal strip light modules and obtain an abnormal strip light set;
[0179] According to the real - time position information corresponding to each abnormal strip light module in the abnormal strip light set, detect the normal strip light modules adjacent to each abnormal strip light module to construct a compensation strip light set corresponding to each abnormal strip light module;
[0180] According to the preset target brightness value and preset target color value of each abnormal strip light module, combined with the real - time brightness value and real - time color value of each compensation strip light module in the compensation strip light set, calculate the compensation gain parameters for each compensation strip light module, where the compensation gain parameters include a compensation brightness value and a compensation color value;
[0181] According to the compensation gain parameters, perform color adjustment and brightness adjustment on each of the compensation strip light modules, and control the lighting of each of the strip light sets through the adjusted color value and brightness value.
[0182] Specifically, continuously monitor each set of strip lights installed in the indoor space, mainly including collecting the real-time position information, real-time brightness value, and real-time color value of each strip light module to construct a comprehensive strip light status dataset. Next, compare and analyze the collected data with the preset brightness anomaly threshold and color deviation threshold to determine whether the brightness of each strip light module is too low, whether it deviates from the set color range, and other abnormal states. Once a strip light module exceeding the threshold is found, it can be identified as an "abnormal strip light module", and an "abnormal strip light set" is sorted out, laying a foundation for subsequent compensation operations. After identifying the abnormal strip light module, based on the real-time position information of the abnormal strip light, infer the normal strip light modules adjacent to it in the geometric structure through spatial relative relationships. For example, if the abnormal strip light is at a certain point on a continuous strip light link, check whether the strip lights in the front, back, up, down, left, or right directions of this point are working properly, and classify these adjacent strip light modules in the normal state into the corresponding compensation strip light set. The key at this stage is to accurately establish the spatial mapping relationship between the abnormal and normal strip lights and select the most suitable compensation unit, which can not only ensure the continuity of the compensation effect but also help maintain the aesthetics and consistency of the overall light field. According to the preset target brightness value and target color value of each abnormal strip light module, combined with the real-time brightness and color of each normal strip light module in its corresponding compensation strip light set, calculate the specific compensation gain parameters, that is, the required increased brightness value and color deviation value. Use interpolation or weighted algorithms to evaluate the impact of the compensation target on the surrounding strip lights and reasonably allocate the compensation amount to avoid local overexposure or unnatural colors. Finally, adjust the brightness or color shift of the compensation strip light module according to these gain parameters, adjust its output power, color temperature, or color channel ratio, so that it visually forms a light compensation effect on the abnormal strip light, thereby achieving the balance and continuity of the overall lighting effect and ensuring that even if some strip lights are damaged, it will not cause obvious interference to the light environment of the indoor decoration scene.
[0183] Embodiment 2
[0184] Please refer to Figure 10 , Embodiment 2 of the present invention also provides an intelligent control system for LED magic lights, which is characterized by including:
[0185] A microphone module for receiving audio signals;
[0186] Specifically, as Figure 11As shown, the circuit diagram shows the basic circuit of a microphone module, which mainly consists of the following parts: MIC1, which is the core part of the circuit and is used to receive sound signals and convert them into electrical signals; both ends of MIC1 are connected to other components in the circuit; MIC BIAS, this terminal provides the bias voltage required for the microphone to stabilize the working state of the microphone. Usually, this bias voltage is provided through a resistor or other power source; C15 (0.1 μF capacitor), this capacitor is used for signal coupling, filtering out the DC component and only allowing the AC signal (i.e., the audio signal) to pass through, so as to ensure the correct transmission of the audio signal; C16 (capacitor, marked as NC): NC (Not Connected) usually means that this pin is not connected, leaving spare space for other configurations of the circuit. The two terminals of the microphone MIC1 are respectively connected to MICBIAS and the capacitor C15, and the other end of C15 is connected to the subsequent circuit. This indicates that the output signal of the microphone will be processed by the capacitor to remove the DC component and only retain the audio signal. C16 is in an unconnected state, which is a spare pin or for subsequent expansion. The working principle of this circuit is that after the microphone MIC1 receives an external sound signal, it is converted into an electrical signal and output. The C15 capacitor in the circuit plays a filtering role, preventing the DC signal from entering the subsequent circuit and only allowing the audio signal to be transmitted. MICBIAS provides the necessary working voltage for the microphone to ensure its normal operation.
[0187] An oscillation module, used to generate a stable clock signal;
[0188] Specifically, as Figure 12 shown, the circuit diagram shows the basic circuit of an oscillation module, including a crystal oscillator (Y1) and two pins (BTOSCO and BTOSCI). The frequency of the crystal oscillator (Y1) is 24 MHz, and its function is to generate a stable high-frequency signal. One end of the crystal oscillator (Y1) is connected to pin 4, and the other end is connected to pin 2. Pins 1 and 3 are respectively marked as BTOSCO and BTOSCI, and these two pins are used to connect to other circuit modules to transmit or receive signals. After the crystal oscillator Y1 is powered on, it starts to oscillate and generates a high-frequency signal of 24 MHz. This signal is transmitted through pins 2 and 4 and will be used by other circuit modules. Pins 1 and 3 are used as external connection points, allowing this circuit to interact with other devices for signal exchange.
[0189] An antenna module, used to receive or transmit wireless communication signals;
[0190] Specifically, as Figure 13As shown, the circuit diagram shows the basic circuit of an antenna module, which includes several main components. There is an inductor L1 in the figure, with an inductance value of 2.7 pF, marked as NC (not connected). Both ends of the inductor L1 are connected to a node. The left node is connected to a light-emitting diode E1, and the right node is connected to a port marked as BT_RF. In addition, there are two capacitors C10 and C11 in the figure, and their markings are also NC, indicating not connected. Since the inductor L1 and the two capacitors C10 and C11 are all marked as NC, they do not function in the current circuit. The light-emitting diode E1 is used to indicate a certain state of the circuit, and the BT_RF port is used to connect to an external radio frequency device.
[0191] The control module, electrically connected to the microphone module, the oscillation module and the antenna module, is used to process audio signals and control the overall function of the system. The control module is used to implement the method described in any one of claims 1-7.
[0192] Specifically, as Figure 14As shown, this circuit diagram shows the circuit diagram of a control module containing multiple components. In the center is a microcontroller (U4) labeled MCU V66. The microcontroller (U4) is the core of the circuit, responsible for processing and controlling the operation of the entire system. It has multiple pins, and each pin has a specific function: Pin 1 (DACIN) is connected to a 10uF capacitor (C12) for filtering the analog input signal; Pin 2 (PA4 BZ) is connected to a 4.7R resistor (R8) and a VCC5V power supply to drive an external device; Pin 3 (VIN 5V) is connected to a VIN 5V power supply to power the microcontroller; Pin 4 (IOVDD) is connected to a power supply to provide power for the I / O interface; Pin 5 (MUTE) is used to control the mute function of the external device; Pin 6 (BT RF) is connected to an external radio frequency device for Bluetooth or wireless communication; Pins 7 (BTOSCI) and 8 (BTOSCO) are used to connect to an external Bluetooth module; Pins 9 (XOSCO) and 10 (XOSCI) are used to connect to an external crystal oscillator to provide the system clock; Pins 11 (USB DM / PC3) and 12 (USB DP / PA4 / PA5) are used for USB communication; Pin 13 (MIC BIAS) is used to provide a bias voltage for the microphone; Pin 14 (MIC) is used to connect to the microphone for audio input; Pin 15 (AGND) is connected to the analog ground to provide a reference ground for the analog signal; Pin 16 (DACR / PB7 / PB6) is used for analog output signals. Power supply section: The VCC 5V power supply is connected to Pin 2 (PA4 BZ) of the microcontroller through a 4.7R resistor (R8) to provide power; The VCOM power supply is connected to Pin 16 (DACR / PB7 / PB6) of the microcontroller through a 1uF capacitor (C14) and a 0R resistor (R9) to provide power; Capacitors and resistors: Multiple capacitors (C12, C13, C14) are used for filtering and power supply decoupling to ensure the stability of the power supply; - Resistors (R8, R9) are used for current limiting and voltage division to protect the components in the circuit; External interfaces include VIN 5V, BT RF, BTOSCI, BTOSCO, XOSCO, XOSCI, USB DM / PC3, USBDP / PA4 / PA5, MIC BIAS, MIC, etc., which are used to connect external devices and modules to achieve different functions. Generally speaking, this circuit diagram shows an electronic system centered around a microcontroller, connecting various external devices and modules through multiple external interfaces to achieve functions such as power management, audio input and output, USB communication, Bluetooth communication, and system clock. Capacitors and resistors play the role of filtering, current limiting, and voltage division in the circuit to ensure the stable operation of the circuit.
[0193] In one embodiment, the system further includes:
[0194] A power amplifier and speaker module, electrically connected to the control module, for amplifying and outputting audio signals;
[0195] Specifically, as Figure 15 shown, this circuit diagram shows a circuit diagram of a power amplifier and speaker module containing multiple components, mainly used to drive a speaker. The operational amplifier (U3), model number 8002D, is the core component of the circuit; pin 1 (MUTE) is connected to a 1uF capacitor (C8) for mute control; pin 2 (STD) is connected to the control terminal of the speaker to control the on / off of the speaker; pins 3 (IN-) and 4 (IN+) are the input pins of the operational amplifier, respectively connected to different resistor and capacitor networks for signal input; pin 5 (VDD) is connected to the power supply VCC5V to supply power to the operational amplifier; pins 6 (VO+) and 7 (VO-) are the output pins of the operational amplifier, connected to both ends of the speaker to drive the speaker; pin 8 (GND) is connected to the ground to provide a reference potential. Power supply part: The VCC5V power supply is connected to pin 5 (VDD) of the operational amplifier to supply power to the entire circuit; two capacitors (C6 and C7) are 0.1uF and 10uF respectively, for power supply filtering to ensure the stability of the power supply. Resistor and capacitor network: Resistors R6 (15K) and R7 (5.1K) and capacitor C9 (0.1uF) form a voltage division and filtering network, connected to the input pin (IN-) of the operational amplifier for signal input; capacitor C8 (1uF) is connected to pin 1 (MUTE) of the operational amplifier for mute control. The speaker is connected to the output pins (VO+ and VO-) of the operational amplifier and is driven by the operational amplifier to emit sound; the control terminal of the speaker is connected to pin 2 (STD) of the operational amplifier to control the on / off of the speaker. The signal input (DACIN) is connected to the resistor and capacitor network to provide an input signal to the operational amplifier. Generally speaking, this circuit diagram shows an audio drive circuit centered on an operational amplifier, which realizes the drive of the speaker through power supply filtering, signal input and output control. The operational amplifier plays a role of amplification and drive in the circuit to ensure that the speaker can emit sound normally.
[0196] An infrared module, for receiving or transmitting infrared signals;
[0197] Specifically, as Figure 16As shown, the circuit diagram shows the circuit diagram of the infrared module. The diagram contains two main component connections. On the left, there is a component labeled "IOVDD", and on the right, there is a component labeled "IR". These two components are connected to a rectangular box by two lines. The rectangular box represents an integrated circuit (IC) or other electronic component. IOVDD represents the input / output power supply voltage, which is the pin that provides power for the input / output interface of the chip. In this circuit, it may provide power for the connected components to ensure their normal operation; IR may represent the infrared signal, which is usually used for remote control or infrared communication; IOVDD and IR are respectively connected to the rectangular box by two lines, indicating that they have an electrical connection with the circuit inside the rectangular box. This connection is used for data transmission, power supply, or signal processing. This circuit is used for infrared communication. The IR component will receive or send infrared signals, and IOVDD provides power to ensure that the IR component can work properly. The circuit inside the rectangular box may be responsible for processing the received signals or converting the signals into infrared signals for transmission.
[0198] The input power supply module is used to receive the DC power supply and supply power to the system;
[0199] Specifically, as Figure 17As shown, this circuit diagram shows the circuit diagram of the input power supply module, which is mainly used to convert the input voltage (V+) into a stable output voltage (Vout). For the input part (V+ and GND), V+ is the input power supply of the circuit, providing a positive voltage; GND is the ground terminal of the circuit, providing a reference potential; the diode (D1) model: 1N5819, which is a Schottky diode used to prevent reverse current flow and protect the circuit; the resistance value of the resistor (R1): 10Ω; this resistor is in series with the diode and may be used for current limiting to prevent excessive current from damaging the diode. Capacitors (C1 and C2), C1: 1μF; C2: 10nF, these two capacitors are used for filtering to remove high-frequency noise in the input voltage and make the input voltage more stable. The operational amplifier (U1) model: HT7550, which is a linear voltage regulator used to stably convert the input voltage into a 5V output voltage (Vout). Vin is connected to the filtered input voltage, Vout outputs a stable 5V voltage, GND: is connected to the ground terminal of the circuit, the resistor (R10) is marked as NC (Not Connected):, indicating that this resistor is not connected in this circuit and does not participate in the operation of the circuit; capacitors (C3 and C4): C3: 10μF, C4: 100nF, these two capacitors are used for filtering the output voltage to further stabilize the output 5V voltage and remove high-frequency noise in the output voltage. The input voltage (V+) passes through the diode D1 and the resistor R1 to prevent reverse current. After being filtered by C1 and C2, the voltage enters the linear voltage regulator U1. U1 stably converts the input voltage into a 5V output voltage (Vout). Finally, C3 and C4 filter the output voltage to ensure the stability of the output voltage. The main function of this circuit is to convert the input voltage into a stable 5V output voltage, which is suitable for electronic devices that require a stable power supply.
[0200] The buzzer module is electrically connected to the control module and is used to output a prompt sound;
[0201] Specifically, as Figure 18As shown, the circuit diagram shows the circuit diagram of the buzzer module, which is mainly composed of several key components: The power supply (VCC5V) provides a 5V DC power supply to power the entire circuit; The diode (D2) is of the model 1N5819, and its main function is to prevent the reverse flow of current and protect other components in the circuit; The transistor (Q1) is of the model S8050, which is an NPN-type transistor; The base (1) of the transistor is connected to the PA4 BZ signal source through the resistor R4 (1K); The emitter (2) is grounded; The collector (3) is connected to the negative electrode of the diode D2 and one end of the buzzer BZ1; The buzzer (BZ1) is marked as BUZZ and is a sound-emitting component. One end is connected to the collector of the transistor Q1, and the other end is connected to the power supply VCC5V; Resistors (R4 and R5): R4 (1K) is connected between the PA4 BZ signal source and the base of the transistor Q1 for current limiting to prevent excessive current from damaging the transistor; R5 (10K) is connected between the base of the transistor Q1 and the ground to provide a pull-down resistor to ensure that the transistor is in the cut-off state when there is no signal input. When the PA4 BZ signal source provides a high-level signal, current flows through R4 into the base of the transistor Q1, making the transistor conduct. Once the transistor conducts, current flows from VCC5V through the buzzer BZ1 and the diode D2, and then through the collector and emitter of the transistor Q1 to the ground, making the buzzer sound. The function of the diode D2 is to prevent the reverse flow of current and protect the circuit. When the PA4 BZ signal source provides a low-level signal, the transistor Q1 is cut off and the buzzer does not sound. This circuit is mainly used to drive the buzzer to sound when the PA4 BZ signal source provides a high-level signal.
[0202] The output interface module is electrically connected to the control module and is used to connect external display devices or lighting control devices.
[0203] Specifically, as Figure 19As shown, the circuit diagram shows the circuit diagram of the output interface module, which is a circuit based on the SN74LVC1G86 chip. Its main function is to achieve data buffering and level conversion. In the power supply part, VCC5V provides 5V power supply for the whole circuit; C5 is a 100nF capacitor connected between VCC5V and ground for power supply filtering to ensure the stability of the power supply; the SN74LVC1G86 chip (U2) is a logic gate chip, specifically an exclusive-OR gate (XOR). Pin 1: connected to the SDATAADRV signal; Pin 2: connected to the OE (output enable) signal; Pin 3: connected to GND (ground); Pin 4: connected to the Y / out (output) signal and connected to VCC5V through the R3 (51R) resistor; Pin 5: connected to VCC (power supply); R2: marked as NC (not connected) and does not participate in the operation of the circuit. In the output part, VIN: input signal, connected to the Y / out pin of the chip; DATA: output signal, connected to the Y / out pin of the chip, passing through the R3 resistor; DA GND: data ground, providing a reference ground for the signal. When the SDATAADRV signal and the OE signal are input to the chip U2, the chip processes these signals according to the logic function of the exclusive-OR gate. The output signal Y / out is connected to VCC5V through the R3 resistor to ensure the stability of the output signal level. Finally, the processed signal is output through the DATA pin for use by the subsequent circuit. This circuit mainly utilizes the exclusive-OR gate function of the SN74LVC1G86 chip to achieve logical processing and level conversion of the input signal, ensuring the stability and reliability of the output signal.
[0204] In summary, the embodiments of the present invention provide an intelligent control method and system for LED magic lights.
[0205] It should be clear that the present invention is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, the detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order between steps after understanding the spirit of the present invention.
[0206] The functional blocks shown in the above-described structural block diagrams can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (ASIC), appropriate firmware, a plug-in, a functional card, and so on. When implemented in software, the elements of the present invention are programs or code segments for performing the required tasks. The program or code segment can be stored in a machine-readable medium or transmitted over a transmission medium or communication link via a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical discs, hard disks, fiber optic media, radio frequency (RF) links, and so on. The code segment can be downloaded via a computer network such as the Internet, an intranet, and so on.
[0207] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data that have been authorized by the user or fully authorized by all parties. And the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards in the relevant location, and corresponding operation entrances are provided for users to choose to authorize or refuse.
[0208] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps. That is, the steps can be executed in the order mentioned in the embodiments, or different from the order in the embodiments, or several steps can be executed simultaneously.
[0209] As mentioned above, the above is only the specific implementation manner of the present invention. Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described systems, modules, and units can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated here. It should be understood that the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should all be covered within the protection scope of the present invention.
Claims
1. An intelligent control method for LED magic lights, which is applied to a lighting component including a plurality of light strip modules. The plurality of light strip modules are electrically connected in sequence to form the lighting part of the lighting component, and each of the light strip modules can be individually controlled to light up. It is characterized in that, The control method includes: Determine target strip light parameters corresponding to the scenario mode according to a preset scenario mode and initial strip light parameters; Perform cutting or splicing processing on each of the strip light modules according to the target strip light parameters, and divide the processed strip light modules into several strip light sets, where each strip light set can be controlled to be lit by a control unit; Receive color control signals and brightness control signals corresponding to each of the strip light sets, and according to the color control signals and brightness control signals, light up each of the strip light sets through the control unit and present corresponding brightness and colors.
2. The intelligent control method of the LED magic color lamp according to claim 1, wherein, The determining target strip light parameters corresponding to the scenario mode according to a preset scenario mode and initial strip light parameters includes: Receive a first control instruction for classifying the scenario mode; According to the first control instruction, perform scenario classification processing on the scenario mode to determine a scenario classification result corresponding to the current scenario mode, where the scenario classification result at least includes the following scenarios: indoor decoration scenario, stage performance scenario, and urban night scene lighting scenario; According to a first preset mapping relationship between the scenario classification result and the strip light type, determine a target strip light type corresponding to the scenario classification result, and determine the initial strip light parameters corresponding to the strip light type; According to the scenario layout information corresponding to the target area in the preset scenario mode, and in combination with the initial strip light parameters, determine the target strip light parameters, where the target area includes the area where the strip lights are to be arranged.
3. The LED magic lamp intelligent control method according to claim 2, wherein, The determining a target strip light type corresponding to the scenario classification result according to a first preset mapping relationship between the scenario classification result and the strip light type, and determining the initial strip light parameters corresponding to the strip light type includes: Obtain a preset set of initial strip light parameters, where the set of initial strip light parameters at least includes strip light size information, initial strip light brightness, and initial strip light color; If the scenario classification result is an indoor decoration scenario, then according to the first preset mapping relationship, determine that the target strip light type is a flexible strip light, and select the first strip light size information, first initial brightness, and first initial color corresponding to the flexible strip light in the set of initial strip light parameters as the initial strip light parameters; If the scenario classification result is a stage performance scenario, then according to the first preset mapping relationship, determine that the target strip light type is a rigid high-brightness strip light, and select the second strip light size information, second initial brightness, and second initial color corresponding to the rigid high-brightness strip light in the set of initial strip light parameters as the initial strip light parameters; If the scenario classification result is an urban night scene lighting scenario, then according to the first preset mapping relationship, determine that the target strip light type is a rigid linear strip light, and select the third strip light size information, third initial brightness, and third initial color corresponding to the rigid linear strip light in the set of initial strip light parameters as the initial strip light parameters.
4. The intelligent control method of the LED magic color lamp according to claim 2, characterized in that, The determining the target strip light parameters according to the scenario layout information corresponding to the target area in the preset scenario mode, and in combination with the initial strip light parameters includes: According to the scenario layout information, determine the geometric shape, boundary position, and obstacle position of the target area; Obtain the maximum length of the light strip and the unit length of the light strip according to the initial light strip parameters; Determine the target light strip length and the layout path that meet the requirements of the current scene layout according to the geometric shape, boundary position, and obstacle position; Determine the light strip cutting position and the number of light strip connection segments according to the target light strip length and the layout path, in combination with the maximum length of the light strip and the unit length of the light strip; Determine the target light strip parameters according to the light strip cutting position and the number of light strip connection segments, in combination with the initial light strip parameters.
5. The intelligent control method for LED magic lights according to claim 4, wherein The step of determining the light strip cutting position and the number of light strip connection segments according to the target light strip length and the layout path, in combination with the maximum length of the light strip and the unit length of the light strip, includes: Determine the light strip adjustment parameters according to the scene classification result and the scene layout information; Determine the initial light strip cutting position and the initial number of light strip connection segments corresponding to the current scene layout according to the target light strip length and the layout path; Adjust the initial light strip cutting position and the initial number of light strip connection segments according to the light strip adjustment parameters to determine the light strip cutting position and the number of light strip connection segments.
6. The intelligent control method for LED magic lights according to claim 2, wherein The step of receiving the color control signal and the brightness control signal corresponding to each light strip set, and lighting each light strip set through the control unit according to the color control signal and the brightness control signal to present the corresponding brightness and color includes: When receiving the color control signal and the brightness control signal, obtain the scene classification result corresponding to the current scenario mode; When the scene classification result is an indoor decoration scene, obtain the position information of multiple target areas in the indoor decoration scene; Obtain the position information of multiple sub-areas within the target area according to the position information of each target area; Classify and combine each light strip set according to the position information of each target area to determine the first target light strip set corresponding to each target area; Classify and combine each first target light strip set according to the position information of each sub-area to determine the second target light strip set corresponding to each sub-area; Adjust the brightness and color of the first transition area between each first target light strip set according to the preset first transition adjustment strategy to obtain the first target brightness value and the first target color value; Adjust the brightness and color of the second transition area between each second target light strip set according to the preset second transition adjustment strategy to obtain the second target brightness value and the second target color value; When receiving the color control signal and the brightness control signal, control to light up each light strip set according to the first target brightness value, the first target color value, the second target brightness value, and the second target color value and present the corresponding brightness and color.
7. The intelligent control method for LED magic lights according to claim 6, characterized in that, The step of adjusting the brightness and color of the first transition area between each first target light strip set according to the preset first transition adjustment strategy to obtain the first target brightness value and the first target color value includes: Obtain the position information of the adjacent first area and the second area according to the position information of each target area; Determine the position information of the first transition region between the first region and the second region according to the first region position information and the second region position information, wherein the first transition region position information includes the position information of the first boundary region within the first region and the position information of the second boundary region within the second region; Obtain the first strip brightness value set and the first strip color value set corresponding to each of the first target strip sets; According to the first boundary region position information and the second boundary region position information, in combination with the first strip brightness value set and the first strip color value set, obtain the first brightness value and the first color value of the strips within the first boundary region, and obtain the second brightness value and the second color value of the strips within the second boundary region; Perform interpolation calculation on the brightness values within the first transition region according to the first brightness value and the second brightness value to obtain the first target brightness value; Perform weighted fusion processing on the color values within the first transition region according to the first color value and the second color value to obtain the first target color value.
8. The LED magic lamp intelligent control method according to claim 6, characterized in that The performing brightness adjustment and color adjustment on the second transition region between each of the second target strip sets according to a preset second transition adjustment strategy to obtain the second target brightness value and the second target color value includes: According to the position information of each of the sub-regions, in combination with the user attention degree of each preset sub-region, obtain the position information of the adjacent key attention sub-region and the non-key attention sub-region; Determine the position information of the second transition region between the key attention sub-region and the non-key attention sub-region according to the position information of the key attention sub-region and the non-key attention sub-region, wherein the second transition region position information includes the position information of the first boundary sub-region within the key attention sub-region and the position information of the second boundary sub-region within the non-key attention sub-region; Obtain the second strip brightness value set and the second strip color value set corresponding to each of the second target strip sets; According to the first boundary sub-region position information and the second boundary sub-region position information, in combination with the second strip brightness value set and the second strip color value set, obtain the third brightness value and the third color value of the strips within the first boundary sub-region, and obtain the fourth brightness value and the fourth color value of the strips within the second boundary sub-region; Perform interpolation calculation on the brightness values within the second transition region according to the third brightness value and the fourth brightness value to obtain the second target brightness value, wherein the interpolation direction is from the non-key attention sub-region to the key attention sub-region; According to the third color value and the fourth color value, use the third color value as the dominant color to perform dominant color migration processing on the color values within the second transition region to obtain the second target color value.
9. The intelligent control method for LED magic lights according to any one of claims 1-8, characterized in that, After receiving the color control signal and the brightness control signal corresponding to each of the strip sets, and lighting each of the strip sets through the control unit according to the color control signal and the brightness control signal to present the corresponding brightness and color, it further includes: Detect the real-time brightness state and real-time color state of each of the strip light sets to obtain a strip light state data set, where the strip light state data set includes the real-time position information, real-time brightness value, and real-time color value corresponding to each strip light module; Analyze the strip light state data set according to a preset brightness anomaly threshold and color offset threshold to identify abnormal strip light modules and obtain an abnormal strip light set; Detect the normal strip light modules adjacent to each abnormal strip light module in the abnormal strip light set according to the real-time position information corresponding to each abnormal strip light module in the abnormal strip light set, and construct a compensation strip light set corresponding to each abnormal strip light module; Calculate the compensation gain parameters of each compensation strip light module according to the preset target brightness value and preset target color value of each abnormal strip light module, combined with the real-time brightness value and real-time color value of each compensation strip light module in the compensation strip light set, where the compensation gain parameters include a compensation brightness value and a compensation color value; Adjust the color and brightness of each of the compensation strip light modules according to the compensation gain parameters, and control the lighting of each of the strip light sets through the adjusted color value and brightness value.
10. An intelligent control system for LED magic lights, characterized in that, Comprising: A microphone module for receiving an audio signal; An oscillation module for generating a stable clock signal; An antenna module for receiving or transmitting wireless communication signals; A power amplifier and speaker module electrically connected to the control module for amplifying and outputting an audio signal; An infrared module for receiving or emitting infrared signals; An input power supply module for receiving a DC power supply and powering the system; A buzzer module electrically connected to the control module for outputting a prompt tone; An output interface module electrically connected to the control module for connecting an external display device or a lighting control device; A control module electrically connected to the microphone module, the oscillation module, and the antenna module for processing the audio signal and controlling the overall function of the system, and the control module is used to implement the method according to any one of claims 1-9.
Citation Information
Patent Citations
Intelligent lamp strip and control method thereof
CN111182683A
Intelligent control method and system for direct-current centralized lighting equipment
CN118201164A
Intelligent light adjusting method, adjusting module and dimming lamp
CN118474953A
COB (Chip On Board) atmosphere lamp with single-color changeable light-emitting mode for automotive trim
CN216480455U
Light strip control device
US20250071874A1
Cited By
Control method and control system of energy-saving illumination decorative lighting
CN120812808A
A control method and control system for energy-saving lighting decorations
CN120812808B
Landscape light artificial intelligence distribution method and system
CN120857327A
Lamp illumination control circuit, lamp and lamp illumination control system
CN120957286A