A lamp effect control method, device, apparatus and storage medium

By obtaining the hardware information of the lighting fixtures and adjusting the lighting effect configuration information, the problem of inconsistent lighting effect parameters on different lighting fixtures is solved, realizing the universality and cost-effectiveness of lighting effect configuration and improving visual consistency.

CN122227478APending Publication Date: 2026-06-16SHENZHEN LINKZONE IOT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN LINKZONE IOT TECH CO LTD
Filing Date
2026-04-08
Publication Date
2026-06-16

Smart Images

  • Figure CN122227478A_ABST
    Figure CN122227478A_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of lighting, and provides a lamp effect control method, device, equipment and storage medium. Embodiments of the application acquire lamp hardware information of a target lamp in response to a lamp effect control instruction for the target lamp; acquire a lamp effect matching result of initial lamp effect configuration information corresponding to the lamp effect control instruction and the lamp hardware information; in the case where the lamp effect matching result indicates that the initial lamp effect configuration information does not match the lamp hardware information, adjust the initial lamp effect configuration information, output target lamp effect configuration information matching the lamp hardware information; and send the target lamp effect configuration information to the target lamp, so as to control the target lamp to display lamp effects based on the target lamp effect configuration information. Embodiments of the application can improve the universality of lamp effect configuration, reduce lamp effect maintenance cost, and realize consistent visual effects of the same lamp effect on different lamps.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of lighting technology, and in particular relates to a lighting effect control method, device, equipment and storage medium. Background Technology

[0002] With the development of smart lighting and IoT technologies, lighting fixtures can display a wide variety of lighting effects. In practical applications, the same lighting effect parameters are often directly reused to achieve the same effect on different fixtures. However, due to differences in hardware conditions among various lighting fixtures, this direct reuse of parameters often leads to inconsistent lighting effects on different fixtures, and even abnormal phenomena such as flickering and jumps.

[0003] In related technologies, to solve the above problems, methods such as adjusting the lighting effect parameters separately for each type of lamp or establishing a mapping relationship between lamp models and preset lighting effect parameters are commonly used. However, these methods require maintaining an independent lighting effect configuration for each new lamp model, which not only has poor versatility and high maintenance costs, but also makes it difficult to ensure that the same lighting effect presents a consistent visual effect on different lamps. Summary of the Invention

[0004] In view of the above, embodiments of this application provide a lighting effect control method, device, equipment, and storage medium to solve at least one of the above-mentioned technical problems, improve the versatility of lighting effect configuration, reduce the lighting effect maintenance cost of different types of lamps, and ensure that the same lighting effect presents a consistent visual effect on different lamps.

[0005] The first aspect of this application provides a lighting effect control method, including: In response to a lighting effect control command for a target luminaire, obtain the luminaire hardware information of the target luminaire; Obtain the lighting effect matching result between the initial lighting effect configuration information corresponding to the lighting effect control command and the lighting effect matching result of the lighting hardware information; If the lighting effect matching result indicates that the initial lighting effect configuration information does not match the lighting hardware information, the initial lighting effect configuration information is adjusted and the target lighting effect configuration information that matches the lighting hardware information is output. The target lighting effect configuration information is sent to the target lighting fixture to control the target lighting fixture to display lighting effects based on the target lighting effect configuration information.

[0006] A second aspect of this application provides a lighting effect control device, comprising: The first acquisition unit is used to acquire the lighting hardware information of the target lighting fixture in response to the lighting effect control command for the target lighting fixture; The matching unit is used to obtain the lighting effect matching result between the initial lighting effect configuration information corresponding to the lighting effect control command and the lighting hardware information; The adjustment unit is used to adjust the initial lighting effect configuration information and output target lighting effect configuration information that matches the lighting hardware information when the lighting effect matching result indicates that the initial lighting effect configuration information does not match the lighting hardware information. The sending unit is used to send the target lighting effect configuration information to the target lighting fixture, so as to control the target lighting fixture to display lighting effects based on the target lighting effect configuration information.

[0007] In some embodiments, the matching unit is further configured to: obtain initial lighting effect configuration information corresponding to the lighting effect control command; perform matching detection on the initial lighting effect configuration information and the lighting hardware information to determine the lighting effect matching result.

[0008] In some embodiments, the matching unit is further configured to: determine whether the hardware information of the luminaire meets the basic lighting effect display capability corresponding to the initial lighting effect configuration information; if it is determined that the basic lighting effect display capability is met, obtain the display performance data of the target luminaire under the initial lighting effect configuration information and preset evaluation indicators; the number of preset evaluation indicators is one or more; determine whether the display performance data meets the preset lighting effect display conditions, and determine the lighting effect matching result.

[0009] In some embodiments, the matching unit is further configured to: obtain a reference lighting effect display threshold corresponding to the preset lighting effect display conditions; detect whether the display performance data reaches the corresponding reference lighting effect display threshold, and obtain an indicator detection result; if the indicator detection result indicates that the reference lighting effect display threshold has not been reached, determine that the display performance data does not meet the preset lighting effect display conditions; and if it is determined that the preset lighting effect display conditions are not met, determine that the lighting effect matching result indicates that the initial lighting effect configuration information does not match the lighting hardware information.

[0010] In some embodiments, the matching detection is implemented based on a lighting effect matching model, and / or the adjustment process is implemented based on a lighting effect optimization model; The lighting effect matching model and the lighting effect optimization model include at least one of the following: rule model and machine learning model.

[0011] In some embodiments, the adjustment unit is further configured to: call each optimization sub-module in the lighting effect optimization model, and respectively perform preset optimization dimension adjustment processing on the initial lighting effect configuration information to obtain lighting effect adjustment sub-configuration information corresponding to each optimization sub-module; merge the lighting effect adjustment sub-configuration information corresponding to each optimization sub-module and the initial lighting effect configuration information to determine the target lighting effect configuration information that matches the lighting hardware information; The preset optimization dimensions include at least one of the following: brightness, power, color gamut, color temperature, time, rhythm, physical layout space, number of light sources, available space of storage medium, chip performance, and hardware driver channels.

[0012] In some embodiments, the apparatus further includes: The second acquisition unit is used to acquire operation feedback data for the lighting effect display corresponding to the target lighting effect configuration information; the operation feedback data includes lighting effect configuration adjustment data of the user object for the lighting effect display corresponding to the target lighting effect configuration information, and device operation status data during the display of the target lighting fixture; The feedback adjustment unit is used to adjust the target lighting effect configuration information based on the operation feedback data to obtain the updated target lighting effect configuration information; The configuration update unit is used to send the updated target lighting effect configuration information to the target lighting fixture, so as to control the target lighting fixture to display lighting effects based on the updated target lighting effect configuration information.

[0013] In some embodiments, the first acquisition unit is further configured to: receive the lighting effect control instruction for the target luminaire; parse the lighting effect control instruction to determine the instruction parsing result; the instruction parsing result includes the target luminaire identification information of the target luminaire; based on the mapping relationship between the luminaire identification information and the device capability descriptor, query the target device capability descriptor corresponding to the target luminaire identification information, and use the target device capability descriptor as the luminaire hardware information of the target luminaire.

[0014] A third aspect of this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the lighting effect control method provided in the first aspect.

[0015] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the lighting effect control method provided in the first aspect.

[0016] The fifth aspect of this application provides a computer program product that, when run on a processor, causes the processor to execute the steps of the lighting effect control method provided in the first aspect.

[0017] The lighting effect control method provided in the first aspect of this application involves: responding to a lighting effect control command for a target luminaire; obtaining luminaire hardware information of the target luminaire; obtaining a lighting effect matching result between the initial lighting effect configuration information corresponding to the lighting effect control command and the luminaire hardware information; adjusting the initial lighting effect configuration information and outputting target lighting effect configuration information that matches the luminaire hardware information when the lighting effect matching result indicates that the initial lighting effect configuration information and the luminaire hardware information do not match; and sending the target lighting effect configuration information to the target luminaire to control the target luminaire to display lighting effects based on the target lighting effect configuration information.

[0018] Thus, this application combines the hardware information of the target luminaire with the initial lighting effect configuration information of the lighting effect control command. When a mismatch is determined, the application adaptively optimizes and adjusts the lighting effect parameters based on the hardware information of the initial lighting effect configuration information for luminaires with different hardware conditions. This achieves a universal matching lighting effect configuration for luminaires with different hardware conditions, eliminating the need for manual calibration or maintenance of the lighting effect configuration, improving the universality of the lighting effect configuration, and reducing the lighting effect maintenance costs for different luminaire models. Since the target lighting effect configuration information is optimized and adjusted to suit the hardware conditions of the target luminaire based on the initial lighting effect configuration information, the target luminaire can display normal lighting effects based on the optimized target lighting effect configuration information. This not only avoids abnormal lighting effect display caused by insufficient luminaire hardware resources but also ensures that different models and specifications of luminaires have a consistent visual effect when presenting the same logical lighting effect, improving the user's visual experience of the target lighting effect.

[0019] It is understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 This is a schematic diagram of the structure of a lighting effect control system provided in an embodiment of this application; Figure 2 This is a schematic flowchart of a lighting effect control method provided in an embodiment of this application; Figure 3 This is a schematic diagram of a device capability descriptor provided in an embodiment of this application; Figure 4 This is a schematic diagram of a lighting effect optimization process provided in an embodiment of this application; Figure 5 This is a flowchart illustrating another lighting effect control method provided in an embodiment of this application; Figure 6 This is a structural block diagram of a lighting effect control device provided in an embodiment of this application; Figure 7 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0022] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0023] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0024] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0025] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0026] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0027] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0028] With the development of smart lighting and IoT technologies, lighting fixtures can display a wide variety of lighting effects. In practical applications, the same lighting effect parameters (such as the number of keyframes per display cycle, the target brightness value per frame, and the color temperature value) are often directly reused to achieve the same lighting effect on different fixtures. However, due to differences in hardware conditions among various lighting fixtures, this method of directly reusing parameters often leads to inconsistent lighting effects on different fixtures, and even abnormal phenomena such as flickering and jumps.

[0029] In related technologies, to solve the above problems, methods such as adjusting the lighting effect parameters separately for each type of lamp or establishing a mapping relationship between lamp models and preset lighting effect parameters are commonly used. However, these methods require maintaining an independent lighting effect configuration for each new lamp model, which not only has poor versatility and high maintenance costs, but also makes it difficult to ensure that the same lighting effect presents a consistent visual effect on different lamps.

[0030] To address the aforementioned technical problems, this application provides a lighting effect control method, apparatus, device, and storage medium. The method involves: responding to a lighting effect control command for a target luminaire; acquiring the luminaire hardware information of the target luminaire; acquiring the lighting effect matching result between the initial lighting effect configuration information corresponding to the lighting effect control command and the luminaire hardware information; adjusting the initial lighting effect configuration information to determine target lighting effect configuration information that matches the luminaire hardware information if the lighting effect matching result indicates a mismatch between the initial lighting effect configuration information and the luminaire hardware information; and sending the target lighting effect configuration information to the target luminaire to control the target luminaire to display lighting effects based on the target lighting effect configuration information.

[0031] like Figure 1 As shown, Figure 1This is a schematic diagram of a lighting effect control system provided in an embodiment of this application. The lighting effect control system may include a user terminal 110, a server 120, a gateway 130, and multiple smart lamps (140a, 140b, and 140c). The user terminal 110 and gateway 130 can both be network-connected to the server 120, and each smart lamp (140a, 140b, and 140c) can be network-connected to the gateway 130, facilitating data interaction between the user terminal 110 and the server 120, and data interaction between the server 120 and each smart lamp (140a, 140b, and 140c) via the gateway 130.

[0032] It is understandable that the user terminal 110 can be a device terminal such as a smartphone, tablet, laptop, smart speaker, wearable device, smart robot, or vehicle, or a client or application integrated into the device terminal, but it is not limited to these.

[0033] Server 120 can be a single physical server, a server cluster or distributed system consisting of at least two physical servers, or a cloud server providing services such as cloud services, cloud knowledge bases, cloud computing, big data, and artificial intelligence platforms. It should be noted that server 120 in this application can specifically be a cloud server. Optionally, the cloud server may include a device management module, a lighting effect control module, and an adaptive lighting effect engine. The device management module can be used to manage the device information of the lighting equipment. The lighting effect control module can be used to manage the lighting effect template information for different lighting effects. The adaptive lighting effect engine is used to adjust the initial lighting effect configuration information of the lighting fixtures so that the lighting fixtures adaptively display matching lighting effects.

[0034] Gateway 130 can refer to a device or module that enables communication between different networks, protocols, or devices, such as a dedicated hardware device based on Bluetooth, or a communication module integrated into devices such as smart speakers or smart panels, but it is not limited to these. A gateway can enable local caching of control data and lighting status for smart lighting fixtures, protocol conversion, and accelerated response.

[0035] Intelligent lighting fixtures (140a, 140b, and 140c) can refer to lighting devices possessing at least one capability such as sensing, communication, or control, and can interact with users, the environment, or other systems via network connection. Multiple intelligent lighting fixtures can be the same model placed in different environments, or they can be various different models of intelligent lighting fixtures, such as RGB light strips, RGBCW ambient lights, and CCT downlights. Optionally, each intelligent lighting fixture includes at least a display control module and a device capability storage unit. The display control module is used to control the lighting fixture to display corresponding special effects according to the lighting effect configuration information, and the device capability storage unit is used to store the lighting fixture's own hardware information.

[0036] It should be noted that the lighting control system involved in this application is not limited to... Figure 1 The structure can also include more or fewer devices or modules. For example, some can be omitted. Figure 1 In the gateway, multiple smart lights can directly connect to the server via the network to exchange data, such as... Figure 1 As shown by the dashed line in the image.

[0037] like Figure 2 As shown in the illustration, this application provides a lighting effect control method, which can be applied to an electronic device, including one or more of a server, a local gateway, etc. Taking the application of the lighting effect control method to a cloud server as an example, the method includes, but is not limited to, the following steps S201 to S204: Step S201: In response to the lighting effect control command for the target luminaire, obtain the luminaire hardware information of the target luminaire.

[0038] The target lighting fixture can refer to a smart lighting fixture that needs to display a target lighting effect. For example, the target lighting effect can include, but is not limited to, breathing flashing, marquee, rainbow flow, etc.

[0039] Lighting hardware information refers to the hardware configuration and / or operational information of a lighting fixture that is related to the display of lighting effects. For example, lighting hardware information may include, but is not limited to, LED-related parameters, electrical capability parameters, driving and control parameters, color and optical capability parameters, and communication and response parameters.

[0040] The LED-related parameters may include the total number of LEDs, the number of zones and their layout topology (linear / matrix / ring, etc.), and the number of pixels per zone. For example, some luminaires contain only a single or a small number of high-power LEDs, while others contain dozens, hundreds, or even thousands of low-power LEDs. The LEDs in the luminaire can be arranged linearly, in a matrix, in a ring, or in segments.

[0041] Electrical capability parameters may include supply voltage / current range, single-channel / overall maximum power, and current limiting strategy. In applications, different models of luminaires have different electrical capabilities, specifically in terms of at least one parameter such as drive current, supply voltage, total power limit, and instantaneous peak power capability.

[0042] Driving and control parameters may include PWM dimming frequency, duty cycle resolution, driver chip model, refresh cycle, MCU clock frequency, and available RAM size. In applications, different models of lamps have different driving capabilities, specifically reflected in differences in at least one parameter such as PWM dimming frequency, duty cycle resolution, and driver chip refresh frequency.

[0043] Color and optical capability parameters can include the channel types supported by the luminaire (such as single white, dual color temperature, RGB, RGBW, RGBCW, etc.), color temperature range, color gamut range, and factory calibration parameters (such as brightness calibration coefficient, color point correction coefficient, etc.). In applications, different luminaire models have different channel types and color capabilities. For example, some luminaires are single-channel white light (fixed or adjustable CCT), while others are multi-channel structures such as RGB, RGBW, and RGBCW. Furthermore, some luminaires support a wide range of color temperature adjustment (e.g., 2700K~6500K), while others only support a limited color temperature range. Additionally, different batches of optical components may have brightness deviations or color point shifts; or different luminaires may use different optical lenses and diffusers, resulting in different actual visual brightness under the same drive current.

[0044] Communication and response parameters may include communication bandwidth, command issuance delay, and response latency characteristics. In applications, different models of lighting fixtures will have different MCU main frequency, available memory, and communication bandwidth, among other things.

[0045] To facilitate the transfer and reuse of luminaire hardware information among different devices in a lighting control system, luminaire hardware information can be represented using device capability descriptors. These device capability descriptors are structured data structures used to standardize the expression of luminaire hardware information. Fields in the device capability descriptor may include, but are not limited to: basic luminaire identification information (such as device model ID, hardware version, firmware version, etc.), pixel and layout information (such as pixelCount, segmentTopology, etc.), electrical capability information (such as maxTotalPower, supplyVoltageRange, etc.), drive and control capabilities (such as pwmFrequency, pwmResolutionBits, etc.), color and optical parameters (such as channelType, colorTemperatureRange, gammaCurve, etc.), and performance parameters (such as maxFrameRate, etc.).

[0046] It should be noted that the device capability descriptor can be stored inside the lamp in a binary structure, or it can be transmitted between the cloud server and other devices in formats such as JSON (a lightweight and text-based open data interchange format) or TLV (a compact binary encoding format).

[0047] In the application, the cloud server can respond to lighting effect control commands for the target luminaire to obtain the luminaire's hardware information based on the lighting effect control commands. Optionally, the luminaire's hardware information can be obtained from at least one device or module, such as the luminaire firmware, device capability description file, built-in sensors, or gateway. Specifically, the luminaire hardware information can be obtained through any one or a combination of the following methods: 1) The device capability descriptor is written by the production testing system at the factory and stored in the luminaire's Flash memory for reading when needed; 2) The luminaire's capability parameters or operating status are read in real time by communicating with the driver chip and sensor chip; 3) When the luminaire is first connected to the lighting effect control system, a luminaire hardware capability detection and calibration is performed, and the calibration results can be cached in, for example, a cloud server or gateway.

[0048] In some embodiments, obtaining the lighting hardware information of the target lighting fixture in response to a lighting effect control command for the target lighting fixture includes: Receive the lighting effect control command for the target luminaire; The lighting control command is parsed to determine the command parsing result; the command parsing result includes the target lighting fixture identification information of the target lighting fixture; Based on the mapping relationship between lamp identification information and device capability descriptors, the target device capability descriptor corresponding to the target lamp identification information is queried, and the target device capability descriptor is used as the lamp hardware information of the target lamp.

[0049] The lighting effect control instructions may include: 1) lighting effect type (such as breathing, flowing light, running light, rainbow, etc.); 2) target display parameters (such as target color, target brightness, animation cycle, zoning mode, execution duration, etc.); 3) target lighting fixture identification information (such as lighting fixture device ID, lighting fixture group ID, lighting fixture area ID, etc.).

[0050] In the application, the cloud server receives lighting effect control commands from a host computer (such as a mobile app, cloud control platform, smart speaker, etc.) or a lighting controller. The server parses these commands to determine the parsing result, which includes the target lighting fixture's identification information. For example... Figure 3 As shown, the device management module in the cloud server can pre-store the mapping relationship between the lamp identification information and the device capability descriptors of each lamp. The adaptive lighting effect engine in the cloud server can query and read the target device capability descriptor corresponding to the target lamp identification information from the pre-stored mapping relationship, and determine the target device capability descriptor as the lamp hardware information of the target lamp.

[0051] Continue as Figure 3As shown, the target device capability descriptor may include basic identification information (such as lighting equipment model identifier, hardware version number, firmware version number), pixel and layout information (such as total number of pixels, number of segments, pixel layout form, etc.), electrical capability information (such as maximum total power, maximum current per channel, etc.), driving and control capabilities (such as PWM frequency, PWM resolution bit depth, refresh cycle, etc.), and color and optical parameters (such as channel type, color temperature range, etc.).

[0052] Step S202: Obtain the initial lighting effect configuration information corresponding to the lighting effect control command and the lighting effect matching result of the lighting hardware information.

[0053] The initial lighting effect configuration information refers to the lighting effect configuration information of the target lighting effect indicated by the lighting effect control command. This initial lighting effect configuration information may include the standard lighting effect parameters corresponding to the target lighting effect. These standard lighting effect parameters refer to the unified definition of the lighting effect, such as color sequence, brightness curve, animation cycle, etc.

[0054] In some embodiments, the initial lighting effect configuration information may include not only the standard lighting effect parameters corresponding to the target lighting effect, but also the user's current configuration parameters for the target lighting effect, such as adjustment parameters for the brightness, saturation, and speed of the target lighting effect. That is, the initial lighting effect configuration information includes both standard lighting effect parameters and the user's current configuration parameters.

[0055] Optionally, by standardizing and abstracting the initial lighting effect configuration information, a "logical lighting effect descriptor" (Effect Profile Descriptor) is used to represent the lighting effect target corresponding to the initial lighting effect configuration information. This logical lighting effect descriptor is a structured data structure used to standardize the expression of lighting fixture configuration information. The logical lighting effect descriptor may include, but is not limited to, the following fields: effectId / effectType: lighting effect type; basePixelCount, baseLayout: standard pixel count and layout used in lighting effect design; baseColorSequence: standardized color sequence or color function; baseBrightnessCurve: standard curve of brightness change over time; baseTimingParams: animation cycle, frame rate, ease-in / ease-out function, etc.; optional parameter range: allowing users to adjust speed, brightness, saturation, etc.

[0056] The lighting effect matching result is used to characterize whether the initial lighting effect configuration information corresponding to the lighting effect control command matches the hardware conditions corresponding to the lighting fixture hardware information. If the lighting effect matching result indicates that the two do not match, then step S203 and subsequent steps are executed; if the lighting effect matching result indicates that the two match, then step S203 is not executed, and the initial lighting effect configuration information is directly sent to the target lighting fixture so that the target lighting fixture controls and displays the corresponding lighting effect based on the initial lighting effect configuration information.

[0057] In some embodiments, obtaining the lighting effect matching result between the initial lighting effect configuration information corresponding to the lighting effect control command and the lighting hardware information includes: Obtain the initial lighting effect configuration information corresponding to the lighting effect control command; The initial lighting effect configuration information is matched with the lighting hardware information to determine the lighting effect matching result.

[0058] In the application, the adaptive lighting engine on the cloud server parses the lighting control commands to obtain the initial lighting configuration information for the corresponding target lighting effect. This initial lighting configuration information can be carried within the lighting control command itself, or it can be obtained by querying the target lighting effect identifier information indicated by the lighting control command. Then, the adaptive lighting engine can perform a matching test between the initial lighting configuration information and the lighting fixture hardware information to determine the lighting effect matching result.

[0059] In some embodiments, the step of matching the initial lighting effect configuration information with the lighting hardware information to determine the lighting effect matching result includes: Determine whether the lighting hardware information meets the basic lighting effect display capability corresponding to the initial lighting effect configuration information; If the basic lighting effect display capability is determined to be met, the display performance data of the target lamp under the initial lighting effect configuration information and preset evaluation indicators are obtained; the number of preset evaluation indicators is one or more. Determine whether the display performance data meets the preset lighting effect display conditions, and determine the lighting effect matching result.

[0060] Among them, basic lighting effect display capability refers to the basic capabilities required to achieve the target lighting effect. For example, whether basic lighting effect display capability is met includes whether color lighting effects are supported and whether there is a sufficient number of pixels.

[0061] Display performance data is used to characterize the actual performance of the target luminaire under the current configuration combination corresponding to the initial lighting effect configuration information, according to preset evaluation indicators. This display performance data may include at least one of the following: display performance score, display performance level, etc. For example, preset evaluation indicators may include, but are not limited to, at least one of the following: whether the expected maximum power is exceeded, whether the brightness step is sufficiently fine, whether the frame rate is sufficient to ensure smoothness, subjective brightness consistency, color deviation, and dynamic smoothness.

[0062] Preset lighting effect display conditions refer to the conditions that achieve the optimal display effect of the target lighting effect on the target lighting fixture. For example, preset lighting effect display conditions can be reflected by the threshold corresponding to the optimal display effect, the range corresponding to the optimal display effect, etc.

[0063] In the application, the basic lighting effect display capability corresponding to the initial lighting effect configuration information is obtained, and it is determined whether the lighting hardware information meets the basic lighting effect display capability. That is, it is determined whether the target lighting fixture can fully realize the configuration information of the target lighting effect without exceeding the hardware limitations and / or without affecting stability.

[0064] If it is determined that the hardware information of the target luminaire does not meet the basic lighting effect display capability, then the optimization and adjustment of the initial lighting effect configuration information can be stopped, or a reminder message indicating that the current target luminaire is incompatible with the target lighting effect can be issued. For example, if the hardware information of the target luminaire indicates that it does not support color lighting effects, but the initial lighting effect configuration information indicates that the lighting effect is color, then the target luminaire cannot display the color lighting effect corresponding to the initial lighting effect configuration information, meaning it is determined that it does not meet the basic lighting effect display capability of implementing the initial lighting effect configuration information. As another example, if the hardware information of the target luminaire indicates that the number of pixels is too low, but the initial lighting effect configuration information indicates that a sufficient number of pixels is required to display the complete lighting effect, then the target luminaire cannot display the lighting effect corresponding to the initial lighting effect configuration information, meaning it is determined that it does not meet the basic lighting effect display capability of implementing the initial lighting effect configuration information.

[0065] If the hardware information of the target luminaire is determined to meet the basic lighting effect display capability, then the display performance data of the target luminaire under the initial lighting effect configuration information and preset evaluation indicators are calculated. There may be one or more preset evaluation indicators. Next, it is determined whether the display performance data under each preset evaluation indicator meets the preset lighting effect display conditions, and the lighting effect matching result is determined based on the determination result.

[0066] In some embodiments, determining whether the display performance data meets preset lighting effect display conditions and determining the lighting effect matching result includes: Obtain the reference lighting effect display threshold corresponding to the preset lighting effect display conditions; The display performance data is checked to see if it reaches the corresponding reference lighting effect display threshold, and the index detection result is obtained. If the indicator detection result indicates that the reference lighting effect display threshold has not been reached, it is determined that the display performance data does not meet the preset lighting effect display conditions; If it is determined that the preset lighting effect display conditions are not met, the lighting effect matching result indicates that the initial lighting effect configuration information does not match the lighting hardware information.

[0067] In the application, a reference lighting effect display threshold corresponding to the preset lighting effect display conditions is obtained. This reference lighting effect display threshold can correspond one-to-one with preset evaluation indicators, and different preset evaluation indicators can correspond to different reference lighting effect display thresholds. The reference lighting effect display threshold can refer to the threshold corresponding to the optimal display effect. The reference lighting effect display threshold can be a suitable threshold value or threshold range; the specific value of the reference lighting effect display threshold is not specifically limited here. Taking display performance data, including display performance score, as an example, if the indicator detection result indicates that the display performance score reaches the corresponding reference lighting effect display threshold, it is determined that the display performance data meets the preset lighting effect display conditions. At this time, the lighting effect matching result indicates that the initial lighting effect configuration information matches the lighting hardware information, and the initial lighting effect configuration information can be directly used for display. If the indicator detection result indicates that the display performance score does not reach the corresponding reference lighting effect display threshold, it is determined that the display performance data does not meet the preset lighting effect display conditions. At this time, the lighting effect matching result indicates that the initial lighting effect configuration information does not match the lighting hardware information, and the subsequent lighting effect configuration optimization steps are initiated.

[0068] It should be noted that, in practical applications, the matching and detection process between the lighting effects and the lighting hardware described above can be implemented based on a lighting effect matching model. That is, by calling the lighting effect matching model, the initial lighting effect configuration information is matched and detected with the lighting hardware information to determine the lighting effect matching result.

[0069] Specifically, if the initial lighting effect configuration information includes the standard lighting effect parameters of the target lighting effect, the standard lighting effect parameters and the lighting fixture hardware information can be input together into a preset lighting effect matching model. The lighting effect matching model is then used for matching detection to obtain the lighting effect matching result. If the initial lighting effect configuration information includes the standard lighting effect parameters of the target lighting effect and the user's current configuration parameters for the target lighting effect, the standard lighting effect parameters, the lighting fixture hardware information, and the user's current configuration parameters are all input together into a preset lighting effect matching model. The lighting effect matching model is then used for matching detection to obtain the lighting effect matching result.

[0070] Step S203: If the lighting effect matching result indicates that the initial lighting effect configuration information does not match the lighting hardware information, the initial lighting effect configuration information is adjusted, and the target lighting effect configuration information that matches the lighting hardware information is output.

[0071] In application, if the lighting effect matching result indicates that the initial lighting effect configuration information does not match the lighting hardware information, the lighting effect configuration parameters to be adjusted can be determined based on the lighting effect matching result. The lighting effect configuration parameters to be adjusted in the initial lighting effect configuration information can be adjusted through the lighting effect optimization model so that the adjusted target lighting effect configuration information matches the lighting hardware information of the target lighting fixture.

[0072] In some embodiments, adjusting the initial lighting effect configuration information to determine target lighting effect configuration information that matches the lighting hardware information includes: Each optimization sub-module in the lighting effect optimization model is invoked to adjust the initial lighting effect configuration information according to a preset optimization dimension, thereby obtaining the lighting effect adjustment sub-configuration information corresponding to each optimization sub-module; The lighting effect adjustment sub-configuration information corresponding to each optimization sub-module and the initial lighting effect configuration information are merged to determine the target lighting effect configuration information that matches the lighting hardware information.

[0073] In application, during the process of adjusting lighting effect configurations using a lighting effect optimization model, the model can include multiple optimization sub-modules, each corresponding to different optimization dimensions for lighting effect configuration adjustment. Specifically, initial lighting effect configuration information and hardware configuration information can be input into the lighting effect optimization model. The corresponding optimization sub-modules then dynamically optimize and adjust the initial lighting effect configuration information according to preset optimization dimensions, obtaining lighting effect adjustment sub-configuration information corresponding to each optimization sub-module. The lighting effect adjustment sub-configuration information corresponding to each optimization sub-module is combined, and combined with other unadjusted original configuration parameters from the initial lighting effect configuration information, to obtain target lighting effect configuration information that matches the lighting fixture hardware information.

[0074] Optionally, optimization dimensions may include, but are not limited to, at least one of the following: optical performance parameters of the luminaire, timing and dynamic control parameters, computing power parameters of the processing unit, and physical and hardware configuration parameters. Specifically, optimization dimensions may include, but are not limited to, at least one of the following: brightness, power, color gamut, color temperature, time, rhythm, number of light sources, available space of storage media (such as available space of RAM and memory), chip performance, physical layout space, and hardware driver channels.

[0075] Optionally, such as Figure 4 As shown, the optimization submodules may include, but are not limited to, brightness and power constraint optimization submodules, color gamut and color temperature mapping submodules, time and rhythm optimization submodules, and spatial and channel mapping submodules. Different optimization submodules implement different optimization adjustment functions. The optimization adjustment content of these optimization submodules is described below.

[0076] The brightness and power constraint optimization submodule can implement at least one of the following optimization adjustment functions: Calculate the maximum allowable brightness output curve based on the total power limit of the luminaire, the maximum current of the channel, and the thermal design power limit; When the brightness of certain stages or areas of the original lighting effect configuration will cause the power to exceed the limit, adjust the brightness ratio so that the total power does not exceed the safety threshold. Based on the MCU load and PWM resolution, avoid flickering or dimming caused by an excessively low duty cycle.

[0077] The color gamut and color temperature mapping submodule can implement at least one of the following optimization and adjustment functions: If the target lighting effect uses the standard RGB or standard CIE color space to define the color, but the luminaire only supports a specific color gamut or a limited color temperature range, then the target color is mapped to the closest color point that the luminaire can achieve through color gamut mapping and color temperature mapping algorithms. Handle conversions of different channel types, such as mapping the target RGB effect to RGBCW or a combination of two color temperature channels; For colors close to the color gamut boundary, prioritize ensuring the balance of visual saturation or brightness to reduce perceptible color difference.

[0078] The time and rhythm optimization submodule can implement at least one of the following optimization and adjustment functions: The frame rate, animation cycle, and number of keyframes of the lighting effect are adjusted based on the refresh frequency of the driver chip, the communication bandwidth, and the computing power of the MCU. When the target animation cycle is too short and the hardware refresh rate is insufficient, the animation pace can be slowed down or the number of keyframes reduced to achieve a smoother change effect.

[0079] The space and channel mapping submodule can implement at least one of the following optimization and adjustment functions: When defining the target lighting effect using the logical coordinate space of "standard pixel count / standard layout", it is mapped to the physical layout of the actual lighting fixture: including segmentation, matrix dimension, ring topology, etc. For lamps with insufficient or excessive LEDs, the lighting effect sequence is resampled by interpolation or downsampling to keep the visual pattern as consistent as possible. Establish a channel mapping table to achieve automatic matching of different channel sequences and different segment sequences.

[0080] After the initial lighting effect configuration information is comprehensively optimized and adjusted by the above optimization sub-modules, the lighting effect optimization model can output the optimized lighting effect configuration for the target luminaire, that is, the target lighting effect configuration information that matches the luminaire hardware information of the target luminaire.

[0081] It should be understood that, given that the lighting hardware information includes the device capability descriptor and the initial lighting effect configuration information includes the logical lighting effect descriptor and the user's current configuration parameters, the entire optimization and adjustment process can be described as: mapping "device capability descriptor + logical lighting effect descriptor + user's current configuration parameters" to "target lighting effect configuration information", that is, mapping it to "target lighting fixture-specific lighting effect parameters".

[0082] In some embodiments, the lighting effect matching model and the lighting effect optimization model may include at least one of a rule-based model and a machine learning model. The rule-based model may be a program or module encoded based on preset rules or formulas. The machine learning model may be a regression model, a neural network model (e.g., a large language model), etc. The specific structure of the lighting effect matching model and the lighting effect optimization model is not specifically limited here.

[0083] In applications, lighting effect matching and optimization models can be based on rules and / or machine learning methods to achieve corresponding lighting effect hardware matching or lighting effect configuration adjustment processes. Specifically, rule-based implementation: A rule model corresponding to preset rules or formulas is used to achieve matching judgments and lighting effect configuration parameter transformations, such as power limit formulas, linear / nonlinear brightness compensation, and piecewise interpolation algorithms. Machine learning-based implementation: After collecting a large amount of actual performance data of different hardware and lighting effects, a machine learning model, such as a regression model or neural network, is trained. Based on the trained machine learning model, the initial lighting effect configuration information is matched and optimized, directly outputting adaptive configuration parameters or adaptive adjustment coefficients. Hybrid implementation using rules and machine learning methods: Hard constraints (such as power limits, safe current, etc.) are implemented based on rule models, while soft optimizations (such as visual consistency, user preferences, etc.) are implemented based on machine learning models.

[0084] Step S204: Send the target lighting effect configuration information to the target lighting fixture, so as to control the target lighting fixture to display lighting effects based on the target lighting effect configuration information.

[0085] In application, continue as follows Figure 4 As shown, the optimized target lighting effect configuration information is sent to or applied to the display control module of the target lighting fixture. The display control module performs specific PWM dimming, channel output, current control and other operations according to the optimized target lighting effect configuration information to display the lighting effect, thereby presenting a visual effect that is as close as possible to the standard lighting effect under the specific hardware conditions of the target lighting fixture.

[0086] In some embodiments, the method further includes: Obtain operational feedback data for the lighting effect display corresponding to the target lighting effect configuration information; the operational feedback data includes lighting effect configuration adjustment data of the user object for the lighting effect display corresponding to the target lighting effect configuration information, and equipment operation status data during the display of the target lighting fixture; The target lighting effect configuration information is adjusted based on the operational feedback data to obtain the updated target lighting effect configuration information; The updated target lighting effect configuration information is sent to the target luminaire to control the target luminaire to display lighting effects based on the updated target lighting effect configuration information.

[0087] In the application, the cloud server acquires operational feedback data on the lighting effect display corresponding to the target lighting effect configuration information. This operational feedback data includes lighting effect configuration adjustment data by the user for the lighting effect display corresponding to the target lighting effect configuration information, and device operation status data during the display process of the target luminaire. The lighting effect configuration information may include parameters such as brightness, color, and rhythm that the user further adjusts. The device operation status data may include events such as overcurrent, overtemperature, and voltage abnormalities, and may also include real-time detection data from optical / electrical sensors collected at the luminaire. Next, the cloud server can further adjust the currently running target lighting effect configuration information based on the configuration adjustment direction indicated by the operational feedback data, obtaining updated target lighting effect configuration information. The updated target lighting effect configuration information is then sent to or applied to the display control module of the target luminaire. This display control module performs specific PWM dimming, channel output, and current control operations according to the updated target lighting effect configuration information to display the lighting effect. This achieves a visual effect as close as possible to standard lighting effects under the specific hardware conditions of the target luminaire, while also catering to the user's personalized lighting effect display needs and the stability of the luminaire's lighting effect display.

[0088] In some embodiments, the lighting effect matching result is based on a lighting effect matching model, and the method further includes: Based on the operational feedback data, the parameters of the lighting effect matching model and the lighting effect optimization model are updated to obtain the updated lighting effect matching model and the updated lighting effect optimization model. The lighting effect matching model and the lighting effect optimization model stored in the adaptive lighting effect engine are replaced with the updated lighting effect matching model and the updated lighting effect optimization model.

[0089] In the application, the cloud server updates the parameters of the lighting effect matching model and the lighting effect optimization model based on the above operational feedback data, resulting in updated lighting effect matching models and updated lighting effect optimization models. Then, the updated lighting effect matching model and the updated lighting effect optimization model are replaced and stored in the adaptive lighting effect engine for later use.

[0090] Optionally, if the lighting effect matching model or lighting effect optimization model is based on rule-based implementation, the parameter updates in the corresponding model may include, but are not limited to: automatically correcting the brightness correction coefficient for a specific type of lamp; adjusting the color point correction parameters to reduce color deviation; and learning the preference curves of different users or regions to favor lighting effect configurations that better suit user experience without affecting safety and lifespan. If the lighting effect matching model or lighting effect optimization model is based on machine learning implementation, training data can be built based on operational feedback data to fine-tune the model parameters. This allows the fine-tuned model to learn to output lighting effect configurations that are more user-friendly and stable while maintaining visual appeal, thereby improving the lighting effect display and user experience.

[0091] To further understand, let's continue with a specific application of lighting effect control methods. Figure 1 The example cloud server will be used as a case study for overall explanation. Figure 5 As shown, the lighting effect control method may include the following steps: S501, Lighting fixture access and lighting fixture hardware capability reporting.

[0092] When a luminaire is first connected to the lighting effect control system, it reports its own device capability descriptor to the cloud server through an initialization process. This descriptor includes the aforementioned pixel layout, electrical capabilities, channel type, and PWM parameters. The device management module on the cloud server associates and stores the capability descriptor with the luminaire's device ID for subsequent lighting effect adaptation.

[0093] S502, Receive lighting effect control instructions for the target luminaire.

[0094] Users select a specific lighting effect (e.g., "Rainbow Flow") for a target light fixture in the mobile app and adjust parameters such as the target brightness and animation speed. The mobile app generates lighting effect control commands, which include the target lighting effect ID, user configuration parameters, and target light fixture ID, and sends them to the cloud server via the network.

[0095] S503. Obtain the hardware information of the target luminaire.

[0096] The cloud server queries the corresponding target device capability descriptor based on the target luminaire ID carried in the lighting effect control command. If the target device capability descriptor has missing fields, a supplementary query can be triggered, such as issuing a command to have the luminaire send back real-time parameters such as the current temperature and voltage.

[0097] S504. Determine whether the lighting effect matches the hardware conditions.

[0098] The adaptive lighting effect engine in the cloud server inputs "logical lighting effect descriptor + user configuration parameters + device capability descriptor" into the lighting effect matching model. The lighting effect matching model first determines whether the device has the basic capabilities required to achieve the lighting effect (such as whether it supports color lighting effects, whether it has a sufficient number of pixels, etc.). Then, it calculates a score based on preset evaluation indicators (such as whether the expected maximum power is exceeded, whether the brightness step is fine enough, and whether the frame rate is sufficient to ensure smoothness). If the score reaches the "best display effect" threshold, it is determined that the best display effect is met, and the initial lighting effect configuration information is directly output and applied to the target lamp for display control. Otherwise, it is determined that the best display effect is not met, and the lighting effect configuration optimization stage is entered.

[0099] S505, Optimize lighting effect configuration.

[0100] The adaptive lighting effect engine inputs the initial lighting effect configuration information and luminaire hardware information into the optimization model, and optimizes and adjusts the initial lighting effect configuration information. The adaptive lighting effect engine can include a brightness and power constraint optimization submodule, a color gamut and color temperature mapping submodule, a time and rhythm optimization submodule, and a space and channel mapping submodule. Specifically, the brightness and power optimization submodule calculates the theoretical power at the current target brightness. If the power limit is exceeded, the brightness curve is compressed as a whole or locally. The color gamut and color temperature mapping submodule decomposes standard RGB colors into R / G / B / CW channel driving values ​​according to the device channel type (such as RGBCW), while considering color temperature requirements and color point correction. The time and rhythm optimization submodule adjusts the animation cycle and frame number according to the maximum frame rate of the luminaire and communication latency to ensure smooth changes and avoid MCU overload. The space and channel mapping submodule maps a logically based, for example, 100-pixel rainbow gradient sequence to a linear light strip with only, for example, 50 pixels in the actual luminaire, using an interpolation / sampling strategy to maintain smooth color gradients.

[0101] S506. Generate and distribute the optimized target lighting effect configuration information.

[0102] The adaptive lighting engine packages the optimized target lighting configuration information into control data compatible with the lighting fixture's protocol. This data is then distributed to the target lighting fixture via the cloud or gateway, allowing the optimized configuration information to be applied to the fixture for display control.

[0103] S507, Collect operational feedback data and update parameters.

[0104] During the lighting effect operation, operational feedback data of the target lighting fixture is acquired. This feedback data includes user-defined lighting effect configuration adjustments based on the target lighting effect configuration information, as well as equipment operational status data during the target lighting fixture's display process. If the user adjusts the brightness, color, or speed of the target lighting fixture again, the lighting effect control system uses this collected lighting effect configuration adjustment data as feedback samples. If the lighting equipment reports events such as excessively high temperature or abnormal voltage, the lighting effect control system can appropriately tighten the power limit of the current lighting effect parameters on that lighting fixture. Furthermore, during offline training or online learning, the lighting effect control system can update the matching and optimization models based on the collected samples, enabling it to quickly obtain more suitable lighting effect configuration optimization results under similar lighting fixture hardware conditions in the future.

[0105] It should be noted that the specific details of steps S501-S507 above are as described in the aforementioned embodiments, and will not be repeated here.

[0106] It should be understood that the above exemplification describes a scenario where the lighting effect control method is applied to a cloud server. In cloud mode, the lighting effect matching and optimization logic is mainly executed on the cloud server, suitable for scenarios with high computing power and complex models that require unified control across devices. This adaptive lighting effect engine is deployed on the cloud server to execute logic such as hardware capability analysis, matching judgment, and lighting effect optimization. Of course, the lighting effect control method can also be applied to a gateway. In gateway mode, by executing the matching and optimization logic in the local gateway, cloud dependency can be reduced and control latency can be improved.

[0107] The lighting effect control method provided in this application combines the hardware information of the target luminaire with the initial lighting effect configuration information of the lighting effect control command. When a mismatch is determined, the method adaptively optimizes and adjusts the lighting effect parameters of the initial lighting effect configuration information based on the luminaire hardware information for luminaires with different hardware conditions. This achieves a universal matching lighting effect configuration for luminaires with different hardware conditions, eliminating the need for manual calibration or maintenance of the lighting effect configuration, improving the universality of the lighting effect configuration, and reducing the lighting effect maintenance costs for different models of luminaires. Since the target lighting effect configuration information is optimized and adjusted to suit the hardware conditions of the target luminaire based on the initial lighting effect configuration information, the target luminaire can display normal lighting effects based on the optimized target lighting effect configuration information. This not only avoids abnormal lighting effect display caused by insufficient luminaire hardware resources but also ensures that different models and specifications of luminaires have a consistent visual effect when presenting the same logical lighting effect, improving the user's visual experience of the target lighting effect.

[0108] Furthermore, this application can resolve issues such as inconsistent brightness, color shift, flickering, and inconsistent dynamic rhythm when the same lighting effect is applied to different lighting fixtures, thereby improving users' overall brand perception and user experience stability. In addition, this application can also resolve issues of lighting effect distortion, flickering, abrupt changes in brightness, and color shift caused by hardware limitations such as insufficient power, current overload, and low PWM frequency.

[0109] Furthermore, by introducing device capability descriptors and standardized lighting effect descriptors, this application can automatically calculate adaptation parameters based on the differences in different hardware (channel type, pixel layout, electrical capabilities, etc.), so that the same logical lighting effect can present as close brightness, color and dynamic effects as possible on different lighting fixtures, further improving the consistency of display across lighting devices.

[0110] Furthermore, this application can avoid lighting effect distortion caused by insufficient hardware resources. By matching judgment and power / brightness constraint optimization before executing the lighting effect, the following problems can be avoided: protective power reduction, frequent flickering or shutdown due to excessive total power or single channel current; obvious flickering and brightness jump caused by insufficient PWM resolution or low refresh rate; and animation stuttering and partial frame loss caused by insufficient MCU computing power.

[0111] Furthermore, this application eliminates the need for engineers to configure numerous lighting effect parameters for each lighting model individually. Instead, it uses a unified "logical lighting effect descriptor + hardware capability descriptor" model for automatic adaptation, significantly reducing the workload associated with model expansion. At the same time, lighting effect assets can be efficiently reused across multiple models, reducing manual adjustment and maintenance costs.

[0112] Furthermore, this application also supports adaptive adjustment of model parameters based on operational feedback data during actual user use, achieving continuous self-learning and optimization of lighting effects. Specifically, by collecting and analyzing user adjustments, device operating status, and sensor data, the lighting effect matching and optimization models involved in this application can be iteratively updated, gradually bringing the lighting effects closer to user preferences and actual hardware characteristics, thus achieving system-level adaptive optimization.

[0113] Furthermore, this application aims to improve the visual quality of lighting effects and reduce obvious differences and anomalies while ensuring safety and reliability, thereby significantly enhancing users' subjective satisfaction with the intelligent lighting system and their sense of brand consistency.

[0114] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0115] Corresponding to the lighting effect control method described in the above embodiments, Figure 6A structural block diagram of the lighting effect control device provided in an embodiment of this application is shown. For ease of explanation, only the parts related to the embodiment of this application are shown. Figure 6 The lighting effect control device 600 provided in this application embodiment includes: The first acquisition unit 610 is used to acquire the lighting hardware information of the target lighting fixture in response to the lighting effect control command for the target lighting fixture. Matching unit 620 is used to obtain the lighting effect matching result between the initial lighting effect configuration information corresponding to the lighting effect control command and the lighting hardware information; The adjustment unit 630 is used to adjust the initial lighting effect configuration information and determine the target lighting effect configuration information that matches the lighting hardware information when the lighting effect matching result indicates that the initial lighting effect configuration information does not match the lighting hardware information. The sending unit 640 is used to send the target lighting effect configuration information to the target lighting fixture, so as to control the target lighting fixture to display lighting effects based on the target lighting effect configuration information.

[0116] In some embodiments, the matching unit 620 is further configured to: obtain initial lighting effect configuration information corresponding to the lighting effect control command; perform matching detection on the initial lighting effect configuration information and the lighting hardware information to determine the lighting effect matching result.

[0117] In some embodiments, the matching unit 620 is further configured to: determine whether the lighting hardware information meets the basic lighting display capability corresponding to the initial lighting configuration information; if it is determined that the basic lighting display capability is met, obtain the display performance data of the target lighting under the initial lighting configuration information and preset evaluation indicators; the number of preset evaluation indicators is one or more; determine whether the display performance data meets the preset lighting display conditions, and determine the lighting matching result.

[0118] In some embodiments, the matching unit 620 is further configured to: obtain a reference lighting effect display threshold corresponding to the preset lighting effect display conditions; detect whether the display performance data reaches the corresponding reference lighting effect display threshold, and obtain an indicator detection result; if the indicator detection result indicates that the reference lighting effect display threshold has not been reached, determine that the display performance data does not meet the preset lighting effect display conditions; and if it is determined that the preset lighting effect display conditions are not met, determine that the lighting effect matching result indicates that the initial lighting effect configuration information does not match the lighting hardware information.

[0119] In some embodiments, the adjustment unit 630 is further configured to: call each optimization sub-module in the lighting effect optimization model, and respectively perform preset optimization dimension adjustment processing on the initial lighting effect configuration information to obtain lighting effect adjustment sub-configuration information corresponding to each optimization sub-module; merge the lighting effect adjustment sub-configuration information corresponding to each optimization sub-module and the initial lighting effect configuration information to determine the target lighting effect configuration information that matches the lighting hardware information; The preset optimization dimensions include at least one of the following: brightness, power, color gamut, color temperature, time, rhythm, physical layout space, number of light sources, available space of storage medium, chip performance, and hardware driver channels.

[0120] In some embodiments, the apparatus further includes: The second acquisition unit is used to acquire operation feedback data for the lighting effect display corresponding to the target lighting effect configuration information; the operation feedback data includes lighting effect configuration adjustment data of the user object for the lighting effect display corresponding to the target lighting effect configuration information, and device operation status data during the display of the target lighting fixture; The feedback adjustment unit is used to adjust the target lighting effect configuration information based on the operation feedback data to obtain the updated target lighting effect configuration information; The configuration update unit is used to send the updated target lighting effect configuration information to the target lighting fixture, so as to control the target lighting fixture to display lighting effects based on the updated target lighting effect configuration information.

[0121] In some embodiments, the lighting effect matching result is based on a lighting effect matching model, and the device further includes: The parameter update unit is used to update the parameters of the lighting effect matching model and the lighting effect optimization model based on the running feedback data, so as to obtain the updated lighting effect matching model and the updated lighting effect optimization model. The replacement unit is used to replace the lighting effect matching model and the lighting effect optimization model stored in the adaptive lighting effect engine with the updated lighting effect matching model and the updated lighting effect optimization model.

[0122] In some embodiments, the first acquisition unit is further configured to: receive the lighting effect control instruction for the target luminaire; parse the lighting effect control instruction to determine the instruction parsing result; the instruction parsing result includes the target luminaire identification information of the target luminaire; based on the mapping relationship between the luminaire identification information and the device capability descriptor, query the target device capability descriptor corresponding to the target luminaire identification information, and use the target device capability descriptor as the luminaire hardware information of the target luminaire.

[0123] In applications, each unit or module in the above-mentioned lighting effect control device can be a software program module, or it can be implemented by different logic circuits integrated in the processor, or it can be implemented by multiple distributed processors.

[0124] like Figure 7 As shown, this application embodiment also provides an electronic device 700, including: at least one processor 701 ( Figure 7 The diagram shows only one processor, a memory 702, and a computer program 703 stored in the memory 702 and executable on at least one processor 701. When the processor 701 executes the computer program 703, it implements the steps in any of the above method embodiments.

[0125] In applications, electronic device 700 can be a computing device such as a desktop computer, laptop, handheld computer, and cloud server. The electronic device may include, but is not limited to, processors and memory. Those skilled in the art will understand that... Figure 7 The examples shown are merely examples of electronic devices and do not constitute a limitation on electronic devices. They may include more or fewer components than shown, or combinations of certain components, or different components. For example, they may also include face capture devices, input / output devices, network access devices, etc.

[0126] In applications, the processor can be a Central Processing Unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.

[0127] In applications, the memory may be an internal storage unit, such as a hard disk or RAM, in some embodiments. In other embodiments, the memory may be an external storage device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., found in electronic devices. Furthermore, the memory may include both internal and external storage units. The memory is used to store operating systems, applications, boot loaders, data, and other programs, such as program code for computer programs. The memory can also be used to temporarily store data that has been output or will be output.

[0128] It should be noted that the information interaction and execution process between the above-mentioned devices / modules are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.

[0129] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The functional modules in the embodiments can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules can be implemented in hardware or as software functional modules. Furthermore, the specific names of the functional modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the modules in the above-described device can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0130] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps described in the various method embodiments above.

[0131] This application provides a computer program product that, when run on a processor, enables the processor to execute the steps described in the various method embodiments above.

[0132] If an integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. A computer-readable medium can include at least: any entity or device capable of carrying computer program code to a device / electronic device, a recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.

[0133] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0134] Those skilled in the art will recognize that the modules and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

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

[0136] The modules described as separate components may or may not be physically separate. Similarly, the components shown as modules may or may not be physical modules; they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment, depending on actual needs.

[0137] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A lighting effect control method, characterized in that, include: In response to a lighting effect control command for a target luminaire, obtain the luminaire hardware information of the target luminaire; Obtain the lighting effect matching result between the initial lighting effect configuration information corresponding to the lighting effect control command and the lighting effect matching result of the lighting hardware information; If the lighting effect matching result indicates that the initial lighting effect configuration information does not match the lighting hardware information, the initial lighting effect configuration information is adjusted and the target lighting effect configuration information that matches the lighting hardware information is output. The target lighting effect configuration information is sent to the target lighting fixture to control the target lighting fixture to display lighting effects based on the target lighting effect configuration information.

2. The lighting effect control method according to claim 1, characterized in that, The process of obtaining the lighting effect matching result between the initial lighting effect configuration information corresponding to the lighting effect control command and the lighting hardware information includes: Obtain the initial lighting effect configuration information corresponding to the lighting effect control command; The initial lighting effect configuration information is matched with the lighting hardware information to determine the lighting effect matching result.

3. The lighting effect control method according to claim 2, characterized in that, The step of matching the initial lighting effect configuration information with the lighting hardware information to determine the lighting effect matching result includes: Determine whether the lighting hardware information meets the basic lighting effect display capability corresponding to the initial lighting effect configuration information; If the basic lighting effect display capability is determined to be met, the display performance data of the target lamp under the initial lighting effect configuration information and preset evaluation indicators are obtained; the number of preset evaluation indicators is one or more. Determine whether the display performance data meets the preset lighting effect display conditions, and determine the lighting effect matching result.

4. The lighting effect control method according to claim 3, characterized in that, The step of determining whether the display performance data meets the preset lighting effect display conditions and determining the lighting effect matching result includes: Obtain the reference lighting effect display threshold corresponding to the preset lighting effect display conditions; The display performance data is checked to see if it reaches the corresponding reference lighting effect display threshold, and the index detection result is obtained. If the indicator detection result indicates that the reference lighting effect display threshold has not been reached, it is determined that the display performance data does not meet the preset lighting effect display conditions; If it is determined that the preset lighting effect display conditions are not met, the lighting effect matching result indicates that the initial lighting effect configuration information does not match the lighting hardware information.

5. The lighting effect control method according to any one of claims 2-4, characterized in that, The matching detection is based on the lighting effect matching model, and / or the adjustment process is based on the lighting effect optimization model; The lighting effect matching model and the lighting effect optimization model include at least one of the following: rule model and machine learning model.

6. The lighting effect control method according to claim 5, characterized in that, The step of adjusting the initial lighting effect configuration information to determine the target lighting effect configuration information that matches the lighting hardware information includes: Each optimization sub-module in the lighting effect optimization model is invoked to adjust the initial lighting effect configuration information according to a preset optimization dimension, thereby obtaining the lighting effect adjustment sub-configuration information corresponding to each optimization sub-module; The lighting effect adjustment sub-configuration information and the initial lighting effect configuration information corresponding to each optimization sub-module are merged to determine the target lighting effect configuration information that matches the lighting hardware information. The optimization dimensions include at least one of the following: brightness, power, color gamut, color temperature, time, rhythm, physical layout space, number of light sources, available space of storage medium, chip performance, and lighting effect display channels.

7. The lighting effect control method according to claim 5, characterized in that, The method further includes: Obtain operational feedback data for the lighting effect display corresponding to the target lighting effect configuration information; the operational feedback data includes lighting effect configuration adjustment information of the user object for the lighting effect display corresponding to the target lighting effect configuration information, and equipment operation status data during the display of the target lighting fixture; The target lighting effect configuration information is adjusted based on the operational feedback data to obtain the updated target lighting effect configuration information; The updated target lighting effect configuration information is sent to the target luminaire to control the target luminaire to display lighting effects based on the updated target lighting effect configuration information.

8. The lighting effect control method according to any one of claims 1-4, characterized in that, The step of obtaining the lighting hardware information of the target lighting fixture in response to a lighting effect control command for the target lighting fixture includes: Receive the lighting effect control command for the target luminaire; The initial lighting effect control command is parsed to determine the command parsing result; the command parsing result includes the target lighting fixture identification information of the target lighting fixture; Based on the mapping relationship between lamp identification information and device capability descriptors, the target device capability descriptor corresponding to the target lamp identification information is queried, and the target device capability descriptor is used as the lamp hardware information of the target lamp.

9. A lighting effect control device, characterized in that, include: The first acquisition unit is used to acquire the lighting hardware information of the target lighting fixture in response to the lighting effect control command for the target lighting fixture; The matching unit is used to obtain the lighting effect matching result between the initial lighting effect configuration information corresponding to the lighting effect control command and the lighting hardware information; The adjustment unit is used to adjust the initial lighting effect configuration information and output target lighting effect configuration information that matches the lighting hardware information when the lighting effect matching result indicates that the initial lighting effect configuration information does not match the lighting hardware information. The sending unit is used to send the target lighting effect configuration information to the target lighting fixture, so as to control the target lighting fixture to display lighting effects based on the target lighting effect configuration information.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the lighting effect control method as described in any one of claims 1 to 8.