Light effect control method and device for a light group
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-03
- Publication Date
- 2026-08-11
AI Technical Summary
[0004]本申请提供一种灯群的光效控制方法及装置,旨在解决现有技术不能针对群灯光效进行准确控制的问题
[0050]本申请提供一种灯群的光效控制方法及装置,该灯群的光效控制方法包括:获取目标光效信息,目标光效信息包括多个初始光效参数;将目标光效信息中的多个初始光效参数填充在各个单灯上;获取用户输入的光效控制参数;基于光效控制参数调节目标光效信息中的多个初始光效参数,使灯群展示群灯光效。本申请事先设置包含多个初始光效参数的目标光效信息,通过调节包含多个初始光效参数的目标光效信息对灯群上的多个单元灯进行整体控制,能够针对群灯光效进行准确控制。
Smart Images

Figure CN116709610B_ABST
Abstract
Description
Technical Field
[0001] This application mainly relates to the field of lighting control technology, specifically to a method and device for controlling the luminous efficacy of a group of lights. Background Technology
[0002] As the application scenarios for lighting become increasingly diverse, the number of lights used is growing exponentially to meet the demands of large-scale environments and create richer and more varied visual effects. The requirements for light shows and lighting effects are also rising; the effect of a single light is no longer sufficient to present a grand lighting spectacle. To expand the richness of lighting effects and the connectivity between lights, it is necessary to create larger-scale group lighting effects. Currently, the lighting effect algorithms for various lights on the market are based on single-light algorithms, and there are no algorithms for creating various group lighting effects from multiple lights.
[0003] In other words, existing technology cannot accurately control the lighting effects of group lights. Summary of the Invention
[0004] This application provides a method and apparatus for controlling the luminous efficacy of a group of lights, aiming to solve the problem that the prior art cannot accurately control the luminous efficacy of a group of lights.
[0005] In a first aspect, this application provides a method for controlling the luminous efficacy of a group of lights, the group of lights comprising multiple individual lights, the method for controlling the luminous efficacy of the group of lights comprising:
[0006] Acquire target light effect information, which includes multiple initial light effect parameters;
[0007] The initial light effect parameters from the target light effect information are filled into each of the individual lamps;
[0008] Obtain the user-inputted light effect control parameters;
[0009] Based on the light effect control parameters, multiple initial light effect parameters in the target light effect information are adjusted to enable the light group to display group light effects.
[0010] Optionally, the light group includes multiple light bars connected end-to-end, each light bar including the same number of individual lights, and the number of the multiple initial luminous effect parameters is M times the number of individual lights on the light bar, where M is an integer greater than 0; the step of filling the multiple initial luminous effect parameters in the target luminous effect information onto each of the individual lights includes:
[0011] The initial light effect parameters in the target light effect information are sequentially filled into each of the individual lamps of the M sequentially connected lamp bars.
[0012] Optionally, adjusting multiple initial light effect parameters in the target light effect information based on the light effect control parameters to enable the light group to display a group light effect includes:
[0013] According to the preset light effect adjustment cycle, multiple initial light effect parameters in the target light effect information are adjusted based on the light effect control parameters to make the light group display the light effect of the group.
[0014] Optionally, the light effect control parameters include the light effect movement speed, and the step of adjusting multiple initial light effect parameters in the target light effect information according to the light effect control parameters based on the preset light effect adjustment cycle, so that the light group displays a group light effect, includes:
[0015] Get the distance between two adjacent single lamps;
[0016] The light effect movement time is determined based on the lamp distance and the light effect movement speed;
[0017] The light effect shift time is determined as the preset light effect adjustment cycle.
[0018] Optionally, the light effect control parameters include the light effect movement direction, and the step of adjusting multiple initial light effect parameters in the target light effect information according to the light effect control parameters based on the preset light effect adjustment cycle, so that the light group displays a group light effect, includes:
[0019] Determine whether the current time has reached the preset light effect adjustment cycle;
[0020] If the current time reaches the preset light effect adjustment cycle, each initial light effect parameter in the target light effect information will be determined as the parameter to be adjusted.
[0021] Determine whether the parameter to be adjusted is the last luminous effect parameter in the luminous effect movement direction of the target luminous effect information;
[0022] If the parameter to be adjusted is not the last luminous effect parameter of the target luminous effect information arranged in the luminous effect movement direction, then the parameter to be adjusted is adjusted to an initial luminous effect parameter of the target luminous effect information arranged in the luminous effect movement direction after the parameter to be adjusted; if the parameter to be adjusted is the last luminous effect parameter of the target luminous effect information arranged in the luminous effect movement direction, then the parameter to be adjusted is adjusted to the first luminous effect parameter of the target luminous effect information arranged in the luminous effect movement direction.
[0023] Optionally, the plurality of initial light effect parameters include P groups of first initial light effect parameters and H second initial light effect parameters arranged in sequence, where P is an integer greater than 1 and H is an integer not less than 0. The first initial light effect parameters in each group of first initial light effect parameters form an arithmetic sequence, and each second initial light effect parameter is equal to and the same as the last first initial light effect parameter in the P groups of first initial light effect parameters.
[0024] Optionally, the number of the first initial light effect parameters in each group of the first initial light effect parameters is the same, and H is zero when the number of the plurality of initial light effect parameters in the target light effect information is an integer multiple of P.
[0025] Secondly, this application provides a luminous efficacy control device for a group of lights, the luminous efficacy control device for the group of lights comprising:
[0026] The first acquisition unit is used to acquire target light effect information, the target light effect information including multiple initial light effect parameters;
[0027] A parameter filling unit is used to fill multiple initial light effect parameters from the target light effect information onto each of the individual lamps;
[0028] The second acquisition unit is used to acquire the light effect control parameters input by the user;
[0029] An adjustment unit is used to adjust multiple initial light effect parameters in the target light effect information based on the light effect control parameters, so that the light group displays the light effect of the group.
[0030] Optionally, the light group includes multiple light bars connected end-to-end, each light bar including the same number of individual lights, and the number of the multiple initial luminous efficacy parameters is M times the number of individual lights on the light bar, where M is an integer greater than 0; the parameter filling unit is used for:
[0031] The initial light effect parameters in the target light effect information are sequentially filled into each of the individual lamps of the M sequentially connected lamp bars.
[0032] Optionally, the second acquisition unit is configured to:
[0033] According to the preset light effect adjustment cycle, multiple initial light effect parameters in the target light effect information are adjusted based on the light effect control parameters to make the light group display the light effect of the group.
[0034] Optionally, the light effect control parameters include the light effect movement speed, and the second acquisition unit is used for:
[0035] Get the distance between two adjacent single lamps;
[0036] The light effect movement time is determined based on the lamp distance and the light effect movement speed;
[0037] The light effect shift time is determined as the preset light effect adjustment cycle.
[0038] Optionally, the light effect control parameters include the light effect movement direction, and the second acquisition unit is used for:
[0039] Determine whether the current time has reached the preset light effect adjustment cycle;
[0040] If the current time reaches the preset light effect adjustment cycle, each initial light effect parameter in the target light effect information will be determined as the parameter to be adjusted.
[0041] Determine whether the parameter to be adjusted is the last luminous effect parameter in the luminous effect movement direction of the target luminous effect information;
[0042] If the parameter to be adjusted is not the last luminous effect parameter of the target luminous effect information arranged in the luminous effect movement direction, then the parameter to be adjusted is adjusted to an initial luminous effect parameter of the target luminous effect information arranged in the luminous effect movement direction after the parameter to be adjusted; if the parameter to be adjusted is the last luminous effect parameter of the target luminous effect information arranged in the luminous effect movement direction, then the parameter to be adjusted is adjusted to the first luminous effect parameter of the target luminous effect information arranged in the luminous effect movement direction.
[0043] Optionally, the plurality of initial light effect parameters include P groups of first initial light effect parameters and H second initial light effect parameters arranged in sequence, where P is an integer greater than 1 and H is an integer not less than 0. The first initial light effect parameters in each group of first initial light effect parameters form an arithmetic sequence, and each second initial light effect parameter is equal to and the same as the last first initial light effect parameter in the P groups of first initial light effect parameters.
[0044] Optionally, the number of the first initial light effect parameters in each group of the first initial light effect parameters is the same, and H is zero when the number of the plurality of initial light effect parameters in the target light effect information is an integer multiple of P.
[0045] Thirdly, this application provides an electronic device, the electronic device comprising:
[0046] One or more processors;
[0047] Memory; and
[0048] One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the light effect control method for the light group as described in any one aspect.
[0049] Fourthly, this application provides a computer-readable storage medium storing a plurality of instructions adapted for loading by a processor to perform the steps in the light effect control method for a group of lights as described in any one of the first aspects.
[0050] This application provides a method and apparatus for controlling the luminous efficacy of a group of lights. The method includes: acquiring target luminous efficacy information, which includes multiple initial luminous efficacy parameters; filling each individual light with the multiple initial luminous efficacy parameters from the target luminous efficacy information; acquiring luminous efficacy control parameters input by a user; and adjusting the multiple initial luminous efficacy parameters from the target luminous efficacy information based on the luminous efficacy control parameters to enable the group of lights to display a group light effect. This application pre-sets target luminous efficacy information containing multiple initial luminous efficacy parameters, and by adjusting the target luminous efficacy information containing multiple initial luminous efficacy parameters, it performs overall control of multiple unit lights on the group of lights, enabling accurate control of the group light effect. Attached Figure Description
[0051] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying 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.
[0052] Figure 1 A schematic diagram of a scene for the light effect control system of a light group provided in an embodiment of this application;
[0053] Figure 2 This is a schematic flowchart of an embodiment of the light effect control method for a group of lights provided in this application.
[0054] Figure 3 This is a schematic diagram of an embodiment of the luminous efficacy control device for a group of lights provided in this application.
[0055] Figure 4 This is a schematic diagram of an embodiment of the electronic device provided in this application. Detailed Implementation
[0056] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0057] In the description of this application, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are used only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more features. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified.
[0058] In this application, the term "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use this application. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that this application can be made without using these specific details. In other instances, well-known structures and processes are not described in detail to avoid obscuring the description of this application with unnecessary detail. Therefore, this application is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.
[0059] This application provides a method and apparatus for controlling the luminous efficacy of a group of lights, which will be described in detail below.
[0060] Please see Figure 1 , Figure 1 This is a schematic diagram of a scene for a light group's light effect control system provided in an embodiment of this application. The light group's light effect control system may include an electronic device 100, which integrates a light group's light effect control device.
[0061] In this embodiment, the electronic device 100 can be a general-purpose computer device or a special-purpose computer device. In specific implementations, the electronic device 100 can be a desktop computer, a portable computer, a network server, a PDA (Personal Digital Assistant), a mobile phone, a tablet computer, a wireless terminal device, a communication device, an embedded device, a smart TV, etc. This embodiment does not limit the type of electronic device 100.
[0062] Those skilled in the art will understand that Figure 1 The application environment shown is merely one application scenario of the solution in this application and does not constitute a limitation on the application scenario of the solution in this application. Other application environments may include more than one application scenario. Figure 1 The number of more or fewer electronic devices shown, for example Figure 1 Only one electronic device is shown in the diagram. It is understood that the light effect control system of this light group may also include one or more other electronic devices capable of processing data, which are not specifically limited here.
[0063] In addition, such as Figure 1 As shown, the light effect control system of the light group may also include a memory 200 for storing data.
[0064] It should be noted that, Figure 1 The schematic diagram of the lighting control system for the light cluster shown is merely an example. The lighting control system and scenario of the light cluster described in this application are for the purpose of more clearly illustrating the technical solutions of this application and do not constitute a limitation on the technical solutions provided in this application. As those skilled in the art will know, with the evolution of the lighting control system for the light cluster and the emergence of new business scenarios, the technical solutions provided in this application are also applicable to similar technical problems.
[0065] First, this application provides a method for controlling the luminous effect of a group of lights. The method includes: acquiring target luminous effect information, which includes multiple initial luminous effect parameters; filling each individual light with the multiple initial luminous effect parameters from the target luminous effect information; acquiring luminous effect control parameters input by the user; and adjusting the multiple initial luminous effect parameters from the target luminous effect information based on the luminous effect control parameters to make the group of lights display a group light effect.
[0066] like Figure 2 As shown, Figure 2 This is a schematic flowchart of an embodiment of the luminous efficacy control method for a group of lights provided in this application. The luminous efficacy control method for the group of lights includes the following steps S201 to S204:
[0067] S201. Obtain target light effect information, which includes multiple initial light effect parameters.
[0068] In this embodiment, the target light effect information is pre-set light effect information, and the values of multiple initial light effect parameters can be pre-set, with each initial light effect parameter representing a display color. The light group can be various professional lighting equipment such as stage lights, photography lights, and landscape lights.
[0069] In a specific embodiment, each initial light effect parameter includes multiple sub-parameters, which can be red pixel values, green pixel values, blue pixel values, and white pixel values. The RGB color mode is an industry-standard color system that generates various colors by varying the red (R), green (G), and blue (B) color channels and superimposing them. RGB represents the colors of the red, green, and blue channels. This standard encompasses almost all colors perceptible to human vision and is one of the most widely used color systems. RGBW technology adds a white (W) sub-pixel to the original RGB three primary colors, creating a four-color pixel design. It is a sub-pixel rendering technique. This new pixel arrangement improves color consistency. Simultaneously, it significantly increases the light transmittance of the LCD panel, resulting in lower power consumption when displaying the same brightness; and with the same power consumption, the brightness is greatly increased, making the image more layered and transparent.
[0070] In this embodiment, the multiple initial lighting effect parameters include P groups of first initial lighting effect parameters and H second initial lighting effect parameters arranged in sequence, where P is an integer greater than 1 and H is an integer not less than 0. The first initial lighting effect parameters within each group form an arithmetic sequence, and all second initial lighting effect parameters are equal and identical to the last first initial lighting effect parameter in the P groups. The number of first initial lighting effect parameters in each group can be the same or different. The arithmetic sequence formed by the first initial lighting effect parameters within each group ensures a smooth color gradient with tight color transitions, preventing color jumps and resulting in a fluid lighting effect.
[0071] Furthermore, to make the colors blend more seamlessly, the number of H second initial light effect parameters is reduced. The number of first initial light effect parameters in each group is the same. When the number of multiple initial light effect parameters in the target light effect information is an integer multiple of P, it means that the multiple initial light effect parameters can be divided into several arithmetic sequences, where H is zero. This ensures that each initial light effect parameter in the target light effect information is different, thus achieving a complete gradient and making the colors blend more seamlessly. When the number of multiple initial light effect parameters in the target light effect information is not an integer multiple of P, the remaining second initial light effect parameters are added to become the last first initial light effect parameter in each of the P groups of first initial light effect parameters.
[0072] In one specific embodiment, P=3, H=0. Each first initial luminous effect parameter includes two sub-parameters, and the types of the two sub-parameters included in the first initial luminous effect parameters within each group are different. Sub-parameters of the same type in each group of first initial luminous effect parameters form an arithmetic sequence, where the maximum value of the arithmetic sequence is the maximum value of the sub-parameter, and the minimum value of the arithmetic sequence is the minimum value of the sub-parameter. For example, in the three sets of initial light effect parameters, the first set of initial light effect parameters includes red pixel values R and green pixel values G, with each red pixel value R being 100, 90...10, 0, and each green pixel value G being 0, 10...90, 100; the second set of initial light effect parameters includes green pixel values G and blue pixel values B, with each green pixel value G being 100, 90...10, 0, and each blue pixel value B being 0, 10...90, 100; the third set of initial light effect parameters includes blue pixel values B and red pixel values R, with each blue pixel value B being 100, 90...10, 0, and each red pixel value R being 0, 10...90, 100.
[0073] Specifically, when P=3 and H=0, several initial light effect parameters in the target light effect information are shown in Table 1.
[0074] Table 1:
[0075]
[0076] In another specific embodiment, P = 2, H = 0. In the two sets of first initial luminous efficacy parameters, the minimum value of the first set of first initial luminous efficacy parameters is C1, and the maximum value of the first set of first initial luminous efficacy parameters is C2. The first set of first initial luminous efficacy parameters is arranged in an arithmetic progression with gradually increasing values from C1 to C2. Similarly, the minimum value of the second set of first initial luminous efficacy parameters is C1, and the maximum value of the second set of first initial luminous efficacy parameters is C2. The second set of first initial luminous efficacy parameters is arranged in an arithmetic progression with gradually decreasing values from C2 to C1.
[0077] Specifically, when P=2 and H=0, several initial light effect parameters in the target light effect information are shown in Table 2.
[0078] Table 2:
[0079] C1 … C2 … C1
[0080] S202. Fill the initial light effect parameters in the target light effect information onto each individual lamp to obtain the initial light effect parameters of each individual lamp.
[0081] In this embodiment, the light group includes multiple light bars connected end-to-end. Each light bar includes the same number of individual lights. The number of initial light effect parameters is M times the number of individual lights on the light bar, where M is an integer greater than 0. For example, the light group includes 6 light bars connected end-to-end, each light bar including 24 lights. The 6 connected light bars form a triangular light group, with each side of the triangular light group consisting of 2 light bars, and the distance between two adjacent lights is 1.2 cm. The initial light effect parameters from the target light effect information are sequentially filled onto each individual light of the M sequentially connected light bars. For example, if M = 6, the target light effect information is sequentially filled onto all the individual lights of the light group; if M = 2, 3 target light effect information parameters are filled onto the three sides of the triangular light group; if M = 1, 6 target light effect information parameters are filled onto the 6 light bars of the triangular light group. The number of parameters in the target light effect information is an integer multiple of the length of the light bar, the colors are closely connected, there are no color jumps, and the light effect is smooth.
[0082] S203. Obtain the light effect control parameters input by the user.
[0083] In this embodiment, an electronic device connects to the light cluster via Bluetooth; the electronic device can be a mobile phone, etc. The user inputs light effect control parameters through the electronic device. These parameters may include the light effect movement speed and the light effect movement direction.
[0084] S204. Adjust multiple initial light effect parameters in the target light effect information based on the light effect control parameters to enable the light group to display the light effect of the group.
[0085] In this embodiment, multiple initial light effect parameters in the target light effect information are adjusted according to a preset light effect adjustment cycle based on the light effect control parameters, so that the light group displays the light effect of the group. The preset light effect adjustment cycle can be set manually.
[0086] In one specific embodiment, the light effect control parameters include the light effect movement speed. Multiple initial light effect parameters in the target light effect information are adjusted according to a preset light effect adjustment cycle based on the light effect control parameters to enable the light group to display a group light effect, including:
[0087] (1) Obtain the lamp distance between two adjacent single lamps.
[0088] In this embodiment of the application, the distance between two adjacent single lamps is 1.2cm.
[0089] (2) Determine the light effect movement time based on the lamp distance and the light effect movement speed.
[0090] Light effect movement time t = lamp distance / light effect movement speed.
[0091] (3) The light effect shift time is set as the preset light effect adjustment cycle.
[0092] Users can customize the movement speed of the light effect, thereby dynamically changing the light effect adjustment cycle and achieving more group light effects.
[0093] Furthermore, the light effect control parameters include the light effect movement direction, and adjust multiple initial light effect parameters in the target light effect information according to the light effect control parameters based on the preset light effect adjustment cycle, including:
[0094] (1) Determine whether the current time has reached the preset light effect adjustment cycle.
[0095] (2) If the current time reaches the preset light effect adjustment cycle, each initial light effect parameter in the target light effect information will be determined as the parameter to be adjusted.
[0096] If the current time reaches the preset light effect adjustment cycle, light effect adjustment will begin. Each initial light effect parameter in the target light effect information will be determined as the parameter to be adjusted, and then each initial light effect parameter will be adjusted accordingly.
[0097] (3) Determine whether the parameter to be adjusted is the last luminous effect parameter in the luminous effect movement direction of the target luminous effect information.
[0098] (4) If the parameter to be adjusted is not the last luminous effect parameter of the target luminous effect information in the luminous effect movement direction, then the parameter to be adjusted is adjusted to an initial luminous effect parameter arranged after the parameter to be adjusted in the luminous effect movement direction; if the parameter to be adjusted is the last luminous effect parameter of the target luminous effect information in the luminous effect movement direction, then the parameter to be adjusted is adjusted to the first luminous effect parameter of the target luminous effect information in the luminous effect movement direction.
[0099] In this embodiment, if the parameter to be adjusted is not the last luminous effect parameter in the luminous effect movement direction of the target luminous effect information, then the parameter to be adjusted is adjusted to an initial luminous effect parameter that follows the parameter to be adjusted in the luminous effect movement direction. This creates the effect of the light moving in the luminous effect movement direction. If the parameter to be adjusted is the last luminous effect parameter in the luminous effect movement direction of the target luminous effect information, then the parameter to be adjusted is adjusted to the first luminous effect parameter in the luminous effect movement direction of the target luminous effect information, that is, it returns to the first luminous effect parameter for looping.
[0100] To better implement the luminous efficacy control method for light groups in the embodiments of this application, based on the luminous efficacy control method for light groups, the embodiments of this application also provide a luminous efficacy control device for light groups. The luminous efficacy control device for light groups is integrated into electronic equipment, such as... Figure 3 As shown, the light effect control device for the light group includes:
[0101] The first acquisition unit 301 is used to acquire target light effect information, the target light effect information including multiple initial light effect parameters;
[0102] The parameter filling unit 302 is used to fill multiple initial light effect parameters from the target light effect information onto each of the individual lamps.
[0103] The second acquisition unit 303 is used to acquire the light effect control parameters input by the user;
[0104] The adjustment unit 304 is used to adjust multiple initial light effect parameters in the target light effect information based on the light effect control parameters, so that the light group can display the light effect of the group.
[0105] Optionally, the light group includes multiple light bars connected end-to-end, each light bar including the same number of individual lights, and the number of the multiple initial luminous efficacy parameters is M times the number of individual lights on the light bar, where M is an integer greater than 0; the parameter filling unit is used for:
[0106] The initial light effect parameters in the target light effect information are sequentially filled into each of the individual lamps of the M sequentially connected lamp bars.
[0107] Optionally, the second acquisition unit is configured to:
[0108] According to the preset light effect adjustment cycle, multiple initial light effect parameters in the target light effect information are adjusted based on the light effect control parameters to make the light group display the light effect of the group.
[0109] Optionally, the light effect control parameters include the light effect movement speed, and the second acquisition unit is used for:
[0110] Get the distance between two adjacent single lamps;
[0111] The light effect movement time is determined based on the lamp distance and the light effect movement speed;
[0112] The light effect shift time is determined as the preset light effect adjustment cycle.
[0113] Optionally, the light effect control parameters include the light effect movement direction, and the second acquisition unit is used for:
[0114] Determine whether the current time has reached the preset light effect adjustment cycle;
[0115] If the current time reaches the preset light effect adjustment cycle, each initial light effect parameter in the target light effect information will be determined as the parameter to be adjusted.
[0116] Determine whether the parameter to be adjusted is the last luminous effect parameter in the luminous effect movement direction of the target luminous effect information;
[0117] If the parameter to be adjusted is not the last luminous effect parameter of the target luminous effect information arranged in the luminous effect movement direction, then the parameter to be adjusted is adjusted to an initial luminous effect parameter of the target luminous effect information arranged in the luminous effect movement direction after the parameter to be adjusted; if the parameter to be adjusted is the last luminous effect parameter of the target luminous effect information arranged in the luminous effect movement direction, then the parameter to be adjusted is adjusted to the first luminous effect parameter of the target luminous effect information arranged in the luminous effect movement direction.
[0118] Optionally, the plurality of initial light effect parameters include P groups of first initial light effect parameters and H second initial light effect parameters arranged in sequence, where P is an integer greater than 1 and H is an integer not less than 0. The first initial light effect parameters in each group of first initial light effect parameters form an arithmetic sequence, and each second initial light effect parameter is equal to and the same as the last first initial light effect parameter in the P groups of first initial light effect parameters.
[0119] Optionally, the number of the first initial light effect parameters in each group of the first initial light effect parameters is the same, and H is zero when the number of the plurality of initial light effect parameters in the target light effect information is an integer multiple of P.
[0120] This application also provides an electronic device that integrates any of the light group luminous efficacy control devices provided in this application. The electronic device includes:
[0121] One or more processors;
[0122] Memory; and
[0123] One or more applications, wherein the applications are stored in memory and configured to be executed by a processor as steps of the light group light effect control method in any of the embodiments described above.
[0124] like Figure 4 As shown, it illustrates a structural schematic diagram of the electronic device involved in the embodiments of this application, specifically:
[0125] The electronic device may include components such as a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will understand that the electronic device structure shown in the figures does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:
[0126] The processor 601 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines, and performs various functions and processes data by running or executing software programs and / or modules stored in the memory 602, and by calling data stored in the memory 602, thereby providing overall monitoring of the electronic device. Optionally, the processor 601 may include one or more processing cores; the processor 601 may be a Central Processing Unit (CPU), or 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. The general-purpose processor may be a microprocessor or any conventional processor. Preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, physical interface, and application programs, and the modem processor mainly handles wireless communication. It is understood that the aforementioned modem processor may not be integrated into the processor 601.
[0127] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.
[0128] The electronic device also includes a power supply 603 that supplies power to the various components. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 603 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0129] The electronic device may also include an input unit 604, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to physical settings and function control.
[0130] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 601 in the electronic device loads the executable files corresponding to the processes of one or more applications into the memory 602 according to the following instructions, and the processor 601 runs the applications stored in the memory 602 to realize various functions, as follows:
[0131] Acquire target lighting effect information, which includes multiple initial lighting effect parameters; fill each individual lamp with the multiple initial lighting effect parameters from the target lighting effect information; acquire the lighting effect control parameters input by the user; adjust the multiple initial lighting effect parameters from the target lighting effect information based on the lighting effect control parameters, so that the light group displays the group lighting effect.
[0132] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0133] Therefore, embodiments of this application provide a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any of the light group luminous efficacy control methods provided in embodiments of this application. For example, the computer program loaded by the processor can execute the following steps:
[0134] Acquire target lighting effect information, which includes multiple initial lighting effect parameters; fill each individual lamp with the multiple initial lighting effect parameters from the target lighting effect information; acquire the lighting effect control parameters input by the user; adjust the multiple initial lighting effect parameters from the target lighting effect information based on the lighting effect control parameters, so that the light group displays the group lighting effect.
[0135] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.
[0136] In practice, each of the above units or structures can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units or structures, please refer to the previous method embodiments, which will not be repeated here.
[0137] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0138] The above provides a detailed description of a method and apparatus for controlling the luminous efficacy of a group of lights according to embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method of controlling light effect of a group of lamps, characterized in that, The light group comprises multiple individual lamps, and the luminous efficacy control method for the light group includes: Acquire target light effect information, which includes multiple initial light effect parameters. These multiple initial light effect parameters include P groups of first initial light effect parameters and H second initial light effect parameters arranged sequentially, where P is an integer greater than 1 and H is an integer not less than 0. Each group of first initial light effect parameters forms an arithmetic sequence, and each second initial light effect parameter is equal to and the same as the last first initial light effect parameter in the P groups. The number of first initial light effect parameters in each group is the same. When the number of the multiple initial light effect parameters in the target light effect information is an integer multiple of P, the multiple initial light effect parameters are completely divided into P arithmetic sequences, and H is zero, making each initial light effect parameter in the target light effect information different. The initial light effect parameters from the target light effect information are filled into each of the individual lamps; Obtain the user-inputted light effect control parameters; Based on the light effect control parameters, multiple initial light effect parameters in the target light effect information are adjusted to enable the light group to display group light effects; The light group includes multiple light bars connected end to end, each light bar includes the same number of individual lights, the number of initial light effect parameters is M times the number of individual lights on the light bar, where M is an integer greater than 0; the number of parameters in the target light effect information is an integer multiple of the length of the light bar.
2. The light efficacy control method of a lamp group according to claim 1, characterized by, The step of filling each of the individual lamps with multiple initial light effect parameters from the target light effect information includes: The initial light effect parameters in the target light effect information are sequentially filled into each of the individual lamps of the M sequentially connected lamp bars.
3. The method for controlling the luminous efficacy of a group of lights according to claim 1, characterized in that, The step of adjusting multiple initial light effect parameters in the target light effect information based on the light effect control parameters to enable the light group to display a group light effect includes: According to the preset light effect adjustment cycle, multiple initial light effect parameters in the target light effect information are adjusted based on the light effect control parameters to make the light group display the light effect of the group.
4. The method for controlling the luminous efficacy of a group of lights according to claim 3, characterized in that, The light effect control parameters include the light effect movement speed. The step of adjusting multiple initial light effect parameters in the target light effect information according to the preset light effect adjustment cycle based on the light effect control parameters, so that the light group displays a group light effect, includes: Get the distance between two adjacent single lamps; The light effect movement time is determined based on the lamp distance and the light effect movement speed; The light effect shift time is determined as the preset light effect adjustment cycle.
5. The method for controlling the luminous efficacy of a group of lights according to claim 3, characterized in that, The light effect control parameters include the light effect movement direction. The step of adjusting multiple initial light effect parameters in the target light effect information according to the preset light effect adjustment cycle based on the light effect control parameters, so that the light group displays a group light effect, includes: Determine whether the current time has reached the preset light effect adjustment cycle; If the current time reaches the preset light effect adjustment cycle, each initial light effect parameter in the target light effect information will be determined as the parameter to be adjusted. Determine whether the parameter to be adjusted is the last luminous effect parameter in the luminous effect movement direction of the target luminous effect information; If the parameter to be adjusted is not the last luminous effect parameter of the target luminous effect information arranged in the luminous effect movement direction, then the parameter to be adjusted is adjusted to an initial luminous effect parameter of the target luminous effect information arranged in the luminous effect movement direction after the parameter to be adjusted; if the parameter to be adjusted is the last luminous effect parameter of the target luminous effect information arranged in the luminous effect movement direction, then the parameter to be adjusted is adjusted to the first luminous effect parameter of the target luminous effect information arranged in the luminous effect movement direction.
6. A light effect control device for a group of lights, characterized in that, The light group comprises multiple individual lamps, and the light effect control device for the light group includes: The first acquisition unit is used to acquire target light effect information, which includes multiple initial light effect parameters. These multiple initial light effect parameters include P groups of first initial light effect parameters and H second initial light effect parameters arranged sequentially, where P is an integer greater than 1 and H is an integer not less than 0. Each group of first initial light effect parameters forms an arithmetic sequence, and each second initial light effect parameter is equal to and the same as the last first initial light effect parameter in the P groups. The number of first initial light effect parameters in each group is the same. When the number of the multiple initial light effect parameters in the target light effect information is an integer multiple of P, the multiple initial light effect parameters are completely divided into P arithmetic sequences, and H is zero, making each initial light effect parameter in the target light effect information different. A parameter filling unit is used to fill multiple initial light effect parameters from the target light effect information onto each of the individual lamps; The second acquisition unit is used to acquire the light effect control parameters input by the user; The adjustment unit is used to adjust multiple initial light effect parameters in the target light effect information based on the light effect control parameters, so that the light group can display the light effect of the group light; The light group includes multiple light bars connected end to end, each light bar includes the same number of individual lights, the number of initial light effect parameters is M times the number of individual lights on the light bar, where M is an integer greater than 0; the number of parameters in the target light effect information is an integer multiple of the length of the light bar.
7. An electronic device, characterized in that, The electronic device includes: One or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the light effect control method for the light group of any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, It stores a computer program, which is loaded by a processor to execute the steps of the light effect control method for the light group according to any one of claims 1 to 5.
Citation Information
Patent Citations
Control method and device of lighting equipment, electronic equipment and storage medium
CN113778299A