Lamp and control method thereof

By using the instructions channel information management of the controller and the operating panel in the lamp, the display of multiple dynamic effects is achieved without occupying multiple dimming channels, which solves the problem of single dynamic effects of existing lamps and limited dimming channels. Improve the controllability and effect display ability of lamps.

CN119052983APending Publication Date: 2024-11-29GUANGZHOU CAIYI TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411324015.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-23
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

The dynamic effect of existing lamps is relatively single, which cannot meet the stage lighting needs. Since the single-point single-control mode occupies more dimming channels, the control is limited.

Method used

By introducing a controller and an operation panel into the lamp, the lighting effect data is stored using the first indication channel information, and the corresponding lighting effect data is called through the second indication channel information, the display of multiple dynamic effects is achieved without occupancy of multiple dimmings. aisle.

Benefits of technology

The number of dynamic effects that the lamp can display is increased, the number of dimming channels occupied by each dynamic effect is reduced, and the controllability of the console and the displayable effect of the lamp is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119052983A_ABST
    Figure CN119052983A_ABST
Patent Text Reader

Abstract

The invention relates to a lamp and a control method thereof. The method comprises the steps that a controller receives light control information from an operation panel and stores light effect data to a corresponding storage position based on first indication channel information in the light control information, and when the controller receives a calling instruction from the operation panel, the controller sends the light effect data to the operation panel according to second indication channel information corresponding to the calling instruction; calling the corresponding light effect data from the storage position, and indicating the lamp bead to enter a corresponding operation state according to the light data contained in the called light effect data; by adopting the method, the lamp can be indicated to display the corresponding dynamic effect through the single second indication channel information, the number of channels occupied for displaying the dynamic effect is reduced, and the number of lamps capable of being controlled by the dimming channel is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of lamp control, and in particular to a lamp and a control method thereof. Background Art

[0002] The lamp itself has built-in dynamic effects. However, the dynamic effects currently built into the lamp are relatively simple and cannot meet the existing stage lighting needs. In addition, since the built-in dynamic effects cannot meet the needs, lamps often adopt a single-point single-control mode, that is, one dimming channel corresponds to controlling one color of a lamp bead in the lamp, and a single-point single control requires more dimming channels. Due to the limited number of dimming channels, there is a problem of limited control of lamps. Summary of the invention

[0003] Based on this, it is necessary to provide a lamp and a control method thereof that can display a variety of dynamic effects without occupying a large number of dimming channels in order to address the above technical problems.

[0004] In a first aspect, the present application provides a control method for a lamp, which is applied to a controller in the lamp; the lamp also includes an operation panel and a plurality of lamp beads connected to the controller; the method includes:

[0005] receiving lighting control information from an operation panel, the lighting control information including lighting effect data and first indication channel information corresponding to the lighting effect data, and storing the lighting effect data to a corresponding storage location based on the first indication channel information; wherein the lighting effect data includes lighting data of different scenes under the corresponding lighting effect;

[0006] Receive a call instruction from the operation panel, call corresponding lighting effect data from a storage location according to the second indication channel information corresponding to the call instruction, and indicate the indicator light beads to enter a corresponding operating state according to the lighting data contained in the called lighting effect data.

[0007] In one embodiment, the first indication channel information includes a scene channel value and a first effect channel value; storing the lighting effect data to a corresponding storage location based on the first indication channel information includes:

[0008] Classifying the lighting effect data according to the first effect channel value, wherein each category of lighting effect data corresponds to a different lighting effect;

[0009] Store each category of lighting effect data to the corresponding storage location based on the scene channel value.

[0010] In one embodiment, storing each category of lighting effect data in a corresponding storage location based on the scene channel value includes:

[0011] The lighting effect data of any category is stored in the corresponding first position according to the scene channel value, wherein each first position corresponds to each scene channel value respectively, and each first position is associated with each other.

[0012] In one embodiment, the method further comprises:

[0013] Lighting effect data of any category is stored in a second location.

[0014] In one embodiment, the second indication channel information includes a second effect channel value; calling corresponding lighting effect data from a storage location according to the second indication channel information corresponding to the calling instruction includes:

[0015] The second effect channel value included in the calling instruction is obtained, and the light effect data stored in the second position or each first position is called according to the second effect channel value.

[0016] In a second aspect, the present application also provides a control method for a lamp, which is applied to an operation panel in the lamp; the lamp also includes a controller, and a plurality of lamp beads connected to the controller; the method includes:

[0017] Sending lighting control information to the controller, the lighting control information including lighting effect data and first indication channel information corresponding to the lighting effect data; the first indication channel information is used to instruct the controller to store the lighting effect data to a corresponding storage location based on the first indication channel information; wherein the lighting effect data includes lighting data of different scenes under the corresponding lighting effect;

[0018] Send a call instruction to the controller; the call instruction is used to instruct the controller to call the corresponding lighting effect data from the storage location according to the second indication channel information corresponding to the call instruction, and to instruct the controller to indicate that the indicator light beads enter the corresponding operating state according to the lighting data contained in the called lighting effect data.

[0019] In one embodiment, the first indication channel information includes a scene channel value and a first effect channel value; before sending the lighting control information to the controller, the method includes:

[0020] Receive lamp bead operating parameters and first indication channel information corresponding to the lamp bead operating parameters, and generate lighting control information in a target format according to the lamp bead operating parameters and the first indication channel information;

[0021] The target format includes frame header information, first effect channel value, scene channel value and lighting effect data arranged in sequence.

[0022] In one embodiment, generating lighting control information in a target format according to the lamp bead operating parameters and the first indication channel information includes:

[0023] The base type of the lamp bead operating parameters is converted to obtain lighting effect data; wherein the data length of the lighting effect data is smaller than the data length of the lamp bead operating parameters.

[0024] In one of the embodiments, the frame header information is set between the lighting data of different scenes under the same lighting effect.

[0025] In a third aspect, the present application further provides a lamp, the lamp comprising:

[0026] Multiple lamp beads;

[0027] An operation panel, the operation panel is used to execute the steps of the above method;

[0028] A controller is connected to an operation panel and is respectively connected to a plurality of lamp beads, and is used to execute the steps of the above method.

[0029] In the above-mentioned lamp and control method thereof, the controller receives the lighting control information from the operation panel, and stores the lighting effect data to the corresponding storage location based on the first indication channel information in the lighting control information. When the controller receives a call instruction from the operation panel, the controller calls the corresponding lighting effect data from the storage location according to the second indication channel information corresponding to the call instruction, and controls the indicator light beads to enter the corresponding operating state according to the lighting data contained in the called lighting effect data. Compared with the single-point single-control mode in traditional lamps, the present application provides a method for adding built-in effects to lamps to achieve the expansion of the built-in effects of lamps. The lamp stores the newly added built-in effect data to the set location based on the method provided by the present application, that is, the lighting effect data corresponding to the first indication channel information is stored in the lamp, which increases the number of dynamic effects that the lamp can display. Subsequently, the lamp can be instructed to display the corresponding dynamic effects through a single second indication channel information, without the need to use multiple dimming channels to display the dynamic effects, that is, the number of channels occupied by displaying the dynamic effects is reduced, thereby increasing the number of lamps that can be controlled by the dimming channels. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0031] FIG1 is a diagram showing an application environment of a method for controlling a lamp in one embodiment;

[0032] FIG2 is a schematic flow chart of a method for controlling a lamp in one embodiment;

[0033] FIG3 is a schematic diagram of a flow chart of controlling a lamp in another embodiment;

[0034] FIG4 is a schematic diagram of the structure of a lamp bead in a lamp in one embodiment;

[0035] FIG5 is a schematic diagram of lighting control information in a target format according to an embodiment;

[0036] FIG. 6 is a schematic diagram of lamps corresponding to different scenes under a fan-shaped clockwise self-propelled effect in one embodiment. DETAILED DESCRIPTION

[0037] In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. Embodiments of the present application are provided in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive.

[0038] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by those skilled in the art of the technical field of the present application. The terms used herein in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. It is understood that the terms "first", "second", etc. used in the present application can be used to describe various elements in this article, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element.

[0039] When used herein, the singular forms "a", "an", and "said / the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" and the like specify the presence of stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not exclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. At the same time, the term "and / or" used in this specification includes any and all combinations of the relevant listed items.

[0040] In traditional technology, the single-point single-control mode dimming method used by lamps requires a large number of dimming channels. Since the total number of dimming channels configured in the console is limited, users tend to use the dynamic effects built into the lamps. However, there is a problem that the dynamic effects that the lamps can display are relatively single and cannot meet the needs of stage lighting.

[0041] The control method of the lamp provided in the embodiment of the present application can be applied in the application environment as shown in FIG. 1 ; wherein the console 10 is connected to the controller 204 through the operation panel 202; the user can output the lamp bead operating parameters and the first indication channel information corresponding to the lamp bead operating parameters to the operation panel 202 through the console 10; the operation panel 202 generates the light control information in the target format based on the received lamp bead operating parameters and the first indication channel information, and outputs the light control information to the controller 204; the controller 204 receives the light control information from the operation panel, and stores the light effect data based on the first indication channel information To the corresponding storage location, when the user outputs a call instruction through the control console 10, the operation panel 202 transmits the received call instruction to the controller 204, and the controller 204 calls the corresponding lighting effect data from the storage location according to the second indication channel information corresponding to the call instruction, and indicates that the lamp beads enter the corresponding operating state, so that the lamp 20 displays the stored lighting effects (dynamic effects); wherein, the control console 10 can be an input control device for programming lights, the operation panel 202 can be a section in the lamp 20 for human-computer interaction, and the controller 204 can be a section in the lamp 20 for driving and controlling each lamp bead, such as: an LED board.

[0042] Among them, the first indication channel information refers to the channel information used to instruct the controller to store the light effect data in the corresponding storage location. The specific channel values ​​(or channel value intervals) of several channels can be predetermined as the first indication channel for indicating the storage of effect data. The value of the first indication channel is the first indication channel information. When the value of the first indication channel is a preset value, the corresponding light effect data is stored in the corresponding storage location. For example, in some embodiments, the effect channel, the scene channel and the reset channel can be used as the first indication channel. When the value of the reset channel is set to 10, the effect channel is 71, and the scene channel is 1, it indicates that the corresponding light effect data is stored in a specific storage location as the light effect data of the first scene of effect 71 (where 71 can be used as an identifier of the effect). It can be understood that the assignment interval of a channel is 0 to 255. For the channel determined as the first indication channel, part of the specific values ​​or specific sub-intervals of the assignment interval can be used to indicate data storage as needed, instead of using the entire value of the assignment interval to indicate the storage of stored data. Other assignments are used to implement other functions other than indicating the storage of data. For example, for the reset channel, 10 can be used to indicate the save operation, and other assigned values ​​are used to indicate functions such as resetting the xy axis of the lamp. Of course, all assigned values ​​can be used to indicate data storage as needed. The second indication channel information refers to the channel information used to instruct the controller to call the corresponding light effect data from the storage location. The first indication channel and the second indication channel can be the same channel. The value of the second indication channel is the second indication channel information. When the value of the second indication channel is a preset value, the light effect data stored in the corresponding location is called.

[0043] In an exemplary embodiment, as shown in FIG. 2 , a control method for a lamp is provided, which is applied to a controller in the lamp; the lamp further includes an operation panel and a plurality of lamp beads connected to the controller; the method includes:

[0044] S202, receiving lighting control information from an operation panel, the lighting control information including lighting effect data and first indication channel information corresponding to the lighting effect data, and storing the lighting effect data to a corresponding storage location based on the first indication channel information; wherein the lighting effect data includes lighting data of different scenes under corresponding lighting effects.

[0045] Among them, the lamp is a device for emitting light, and the embodiments of the present application are described by taking the lamp as an LED lamp as an example.

[0046] Specifically, one lighting effect corresponds to one lighting effect data, and one lighting effect data may include lighting data of multiple scenes. The controller drives each lamp bead according to the corresponding sequence to operate with the lighting data of different scenes under any lighting effect, so as to realize the display of the lighting effect (dynamic effect), and the lighting control information includes the lighting effect data and the first indication channel information corresponding to the lighting effect data. The first indication channel information may include information for distinguishing different lighting effects, that is, the controller receives the first indication channel information from the operation panel, and stores the lighting effect data corresponding to different lighting effects to the corresponding storage locations based on the first indication channel information for subsequent call.

[0047] S204, receiving a calling instruction from the operation panel, calling corresponding lighting effect data from a storage location according to the second indication channel information corresponding to the calling instruction, and indicating the indicator light beads to enter a corresponding operating state according to the lighting data contained in the called lighting effect data.

[0048] Among them, the second indication channel information is the channel indication information used to indicate the target effect data to be called when calling the light effect data. Specifically, the second indication channel information corresponds to the light effect data. When the user needs to call the light effect data stored in the lamp, the user can output a call instruction carrying the second indication channel information corresponding to the light effect data to the operation panel through the console. The operation panel transmits the call instruction to the controller. The controller calls the corresponding light effect data from the storage location according to the second indication channel information corresponding to the call instruction, and instructs the indicator light beads to enter the corresponding operating state according to the light data contained in the called light effect data, that is, the indicator light displays the corresponding dynamic effect.

[0049] Exemplarily, the second indication channel information corresponding to the call instruction includes the second indication channel value corresponding to the light effect data to be called, and the controller can call the corresponding light effect data from the storage location through the second indication channel value. For example, as described in the above steps, after the effect data of all scenes corresponding to effect 71 have been stored, when the effect data corresponding to effect 71 needs to be called later, the value of the effect channel can be set to 71 on the console, and the console outputs a call instruction for calling the light effect data corresponding to effect channel 71 to the operation panel. Compared with the single-point single-control mode in traditional lamps, the controller can call the corresponding light effect data from the corresponding storage location (one dimming channel corresponds to controlling one dynamic effect) according to the second indication channel information corresponding to the call instruction, thereby reducing the number of dimming channels occupied by the dynamic effect; in addition, due to the reduction in the number of dimming channels occupied by the dynamic effect of a single lamp, the number of lamps that can be connected to the console increases, that is, the number of lamps that can be connected to a console increases, thereby improving the controllability of the console.

[0050] In the above-mentioned control method of the lamp, the controller receives the first indication channel information from the operation panel, and stores the lighting effect data to the corresponding storage location based on the first indication channel information in the lighting control information. When the controller receives a calling instruction from the operation panel, the controller calls the corresponding lighting effect data from the storage location according to the second indication channel information corresponding to the calling instruction, and instructs the indicator light beads to enter the corresponding operating state according to the lighting data contained in the called lighting effect data, and the lamp displays the corresponding dynamic effect. Compared with the single-point single-control mode in traditional lamps, the controller can indicate the lamp to display the corresponding dynamic effect through a single lighting channel information (second indication channel information), thereby reducing the number of dimming channels occupied to achieve the same dynamic effect, increasing the number of dynamic effects that the lamp can display, and providing users with more light show materials.

[0051] In one embodiment, the first indication channel information includes a scene channel value and a first effect channel value; storing the lighting effect data to a corresponding storage location based on the first indication channel information includes:

[0052] Classifying the lighting effect data according to the first effect channel value, wherein each category of lighting effect data corresponds to a different lighting effect;

[0053] Store each category of lighting effect data to the corresponding storage location based on the scene channel value.

[0054] Among them, the first indication channel may include a first effect channel and a first scene channel. The effect channel may correspond to the lighting effect (dynamic effect) and the first effect channel value respectively. The effect channel value can be used to identify the effect. The effect channel is a control channel corresponding to the lighting effect. The dynamic effect built into the lamp also corresponds to the effect channel. The effect channel value in the console that does not correspond to the built-in dynamic effect can be used to add a new dynamic effect. For example: the existing manufacturer of lamps has 64 built-in dynamic effects, which correspond to 64 channel values ​​of an effect channel of the console (an effect channel has 256 channel values, i.e., 0 to 255). The remaining effect channel values ​​in the console that do not correspond to the existing dynamic effects can be used to correspond to the newly added dynamic effects; the scene channel value can correspond to the scene, and each scene channel value corresponds to a different scene under the lighting effect, and the scene channel value can be used to identify the scene.

[0055] Specifically, a first effect channel value corresponds to a lighting effect, and a lighting effect includes multiple scenes. The controller first divides the lighting effect data into lighting effect data corresponding to each category of lighting effects according to the effect channel value, and then stores the lighting effect data of each category to the corresponding storage location according to the scene channel value.

[0056] Exemplarily, the first indication channel may also include a reset channel, which is used to confirm whether to store the edited dynamic effect. The reset channel value corresponding to the reset channel is 10, which means saving, and the reset channel value is 0, which means resetting. The first indication channel information includes the first effect channel value, the scene channel value and the reset channel value. The user saves the fan-shaped clockwise self-propelled effect (lighting effect) through the console indicator light, and outputs the corresponding lamp bead operating parameters to the operation panel. The operation panel generates the lighting control information with the target format based on the received lamp bead operating parameters and the first indication channel information, and outputs the lighting control information to the controller. The controller reads the first indication channel information in the lighting control information. The first effect channel value is 71 (based on the actual situation). Setting, randomly select an effect channel value that is not occupied by an existing dynamic effect), the scene channel value is 1, and the reset channel value is 10, indicating that the lamp stores the lighting data corresponding to the first scene under this lighting effect. After the storage is completed, the user sets the effect channel value to 0 through the console to reset, and resets the scene channel value to 2 and the reset channel value to 10, outputs the corresponding lighting control information to the controller, and the controller reads the first indication channel information in the lighting control information, the effect channel value is 71, the scene channel value is 2, and the reset channel value is 10, indicating that the lamp stores the lighting data corresponding to the second scene under this lighting effect, and so on. The lamp stores the lighting data corresponding to all scenes under this lighting effect (effect channel 71).

[0057] It should be noted that each time the operation panel outputs the lighting data and lighting channel information corresponding to a scene of the lighting effect, the storage of the lighting effect data corresponding to the lighting effect in the lamp can be completed through multiple transmissions.

[0058] In an embodiment of the present application, the lighting effect data is classified and stored based on the scene channel value and the first effect channel value of the first indication channel information, so that the subsequent controller can call the corresponding lighting effect data from the corresponding storage location based on the second indication channel value (second effect channel value) included in the calling instruction, and indicate that the lamp displays the corresponding dynamic effect, wherein one effect channel value (first effect channel value / second effect channel value) corresponds to one lighting effect, thereby increasing the number of dynamic effects that the lamp can display.

[0059] In one embodiment, storing each category of lighting effect data in a corresponding storage location based on the scene channel value includes:

[0060] The lighting effect data of any category is stored in the corresponding first position according to the scene channel value, wherein each first position corresponds to each scene channel value respectively, and each first position is associated with each other.

[0061] Among them, the first position can be set according to actual conditions and is not limited in the embodiments of the present application.

[0062] Specifically, the controller may store the lighting data corresponding to different scenes under the same lighting effect in a plurality of mutually related blocks (first positions).

[0063] In one embodiment, the method further comprises:

[0064] Lighting effect data of any category is stored in a second location.

[0065] Among them, the second position can be set according to actual conditions and is not limited in the embodiments of the present application.

[0066] Specifically, the controller may store the lighting data corresponding to different scenes under the same lighting effect in one block (the second position).

[0067] It should be noted that the storage location (first location or second location) of any category of light data can be set according to actual conditions and is not limited in the embodiments of the present application.

[0068] In one embodiment, the second indication channel information includes a second effect channel value; calling corresponding lighting effect data from a storage location according to the second indication channel information corresponding to the calling instruction includes:

[0069] The second effect channel value included in the calling instruction is obtained, and the light effect data stored in the second position or each first position is called according to the second effect channel value.

[0070] Specifically, after the storage of dynamic effects is completed, when the user needs to call a certain dynamic effect, the user can enter the corresponding effect value (second effect channel value) on the console, triggering the console to send a call instruction to the operation panel, and the operation panel then sends the call instruction to the controller. The controller reads and calls the corresponding lighting effect data according to the second effect channel value included in the call instruction. For example: when the effect channel value corresponding to a certain dynamic effect is 71, when the controller reads the second effect channel value (71), it calls the lighting effect data corresponding to the effect channel value 71.

[0071] In the embodiment of the present application, by obtaining the second effect channel value contained in the calling instruction, the corresponding lighting effect data can be called to indicate that the lighting fixture displays the corresponding lighting effect, thereby meeting the existing stage lighting requirements while reducing the time required to call the lighting effect, reducing the time cost, and improving the controllability of the lighting fixture.

[0072] In an exemplary embodiment, as shown in FIG3 , a control method for a lamp is provided, which is applied to an operation panel in the lamp; the lamp further includes a controller and a plurality of lamp beads connected to the controller; the method includes:

[0073] S302, sending lighting control information to the controller, the lighting control information including lighting effect data and first indication channel information corresponding to the lighting effect data; the lighting control information is used to instruct the controller to store the lighting effect data to a corresponding storage location based on the first indication channel information; wherein the lighting effect data includes lighting data of different scenes under corresponding lighting effects.

[0074] Specifically, the operation panel receives the lighting control information output by the console, and outputs the lighting control information to the controller. The controller stores the lighting effect data corresponding to different lighting effects to corresponding storage locations based on the received first indication channel information for subsequent calling.

[0075] S304, sending a call instruction to the controller; the call instruction is used to instruct the controller to call the corresponding lighting effect data from the storage location according to the second indication channel information corresponding to the call instruction, and to instruct the controller to indicate that the indicator light beads enter the corresponding operating state according to the lighting data contained in the called lighting effect data.

[0076] Specifically, the operation panel receives the calling instruction output by the console and outputs the calling instruction to the controller. The controller calls the corresponding lighting effect data from the storage location according to the second indication channel information corresponding to the calling instruction, and indicates that the indicator light beads enter the corresponding operating state according to the lighting data contained in the called lighting effect data, that is, the indicator light displays the corresponding dynamic effect.

[0077] In the above-mentioned control method of the lamp, the operation panel outputs the received lighting control information to the controller, and the controller stores the lighting effect data corresponding to different lighting effects to the corresponding storage locations based on the received first indication channel information. When the operation panel outputs the received calling instruction to the controller, the controller calls the corresponding lighting effect data from the storage location according to the first indication channel information corresponding to the calling instruction, and instructs the indicator light beads to enter the corresponding operating state according to the lighting data contained in the called lighting effect data, and the lamp displays the corresponding dynamic effect. Compared with the single-point single-control mode in traditional lamps, a single lighting channel information can be used to indicate that the lamp displays the corresponding dynamic effect, thereby reducing the number of dimming channels occupied by displaying the dynamic effects and increasing the number of dynamic effects that the lamp can display.

[0078] In one embodiment,

[0079] The first indication channel information includes a scene channel value and a first effect channel value; before sending the lighting control information to the controller, it includes:

[0080] Receive lamp bead operating parameters and first indication channel information corresponding to the lamp bead operating parameters, and generate lighting control information in a target format according to the lamp bead operating parameters and the first indication channel information;

[0081] The target format includes frame header information, first effect channel value, scene channel value and lighting effect data arranged in sequence.

[0082] It should be noted that, since the number and sorting method of lamp beads in different lamps are different, the lamp beads in the lamp need to be sorted to facilitate the subsequent editing of dynamic effects. In the embodiment of the present application, a lamp including 37 lamp beads is used as an example for explanation. As shown in Figure 4, the lamp beads in the lamp are all marked with numbers; further, when the console and the operation panel transmit data, a single set of data can have 8 data bits, and each data bit can use 0 or 1 to indicate the on or off of the lamp bead (0 indicates that the lamp bead is off, and 1 indicates that the lamp bead is on). The lamp in the embodiment of the present application includes 37 lamp beads, and 5 groups of data are required for transmission, among which the extra 3 data bits can be left unset.

[0083] Specifically, the control console uses 5 data (wherein the number of data is determined according to the number of lamp beads) to output the lamp bead operating parameters to the operation panel, and outputs the first indication channel information corresponding to the lamp bead operating parameters, and the operation panel generates lighting control information with a target format according to the lamp bead operating parameters and the first indication channel information, as shown in FIG5 , wherein the frame header in FIG5 is represented as frame header information, the data block "Channel 1" in FIG5 is the channel value corresponding to the effect channel, channel 2 in FIG5 is the scene channel value, channel 3 in FIG5 is the reset channel value, and the data in FIG5 is lighting effect data (lighting data corresponding to the next scene of lighting effect).

[0084] It should be noted that, as shown in Figure 5, the size is the overall size of the data packet, and the type is the type of the data packet, which is the type of added effect (lighting effect data) here. By way of example, it can also be a temperature query, upgrade, and other types, which are not elaborated in the embodiments of the present application. The checksum is the cumulative sum of the lighting effect data, which is used to check whether the received lighting effect data is lost.

[0085] In the embodiment of the present application, by generating lighting control information in a target format according to the received lamp bead operating parameters and the first indication channel information, the subsequent storage of lighting effect data is facilitated and the security of lighting effect data transmission is improved.

[0086] In one embodiment, generating lighting control information in a target format according to the lamp bead operating parameters and the lighting channel information includes:

[0087] The base type of the lamp bead operating parameters is converted to obtain lighting effect data; wherein the data length of the lighting effect data is smaller than the data length of the lamp bead operating parameters.

[0088] Specifically, the operation panel can convert the base type of the lamp bead operating parameters. As shown above, the lamp bead operating parameters include 5 groups of data, each group of data includes 8 data bits, and the lamp bead operating parameters are binary and the lighting effect data is hexadecimal as an example. In a scene corresponding to a certain lighting effect, the lamp beads numbered 2, 8, 9, 20, 21, and 22 need to be bright, and the rest of the lamp beads are dark. For the lamp beads numbered 1 to 8, a group of data can be used for transmission, as shown in Table 1 below:

[0089] Table 1

[0090] That is, the operation panel can convert the lamp bead operating parameters (01000001, binary) into light effect data (0x41, hexadecimal). It should be noted that in this application, the lamp bead operating parameters can also be converted into light effect data in other hexadecimal systems.

[0091] In the embodiment of the present application, the operation panel converts the base category of the lamp bead operating parameters, and each bit in each byte represents the state of each lamp bead, so that each byte (each data) can represent the state of 8 lamp beads. Compared with the traditional prior art method of representing the state of a lamp bead by one byte, it saves the storage space inside the lamp and increases the number of dynamic effects that the lamp can display.

[0092] In one of the embodiments, the frame header information is set between the lighting data of different scenes under the same lighting effect.

[0093] Among them, the frame header information can be set according to actual conditions. In the embodiment of the present application, the frame header information is 0x80 as an example for explanation.

[0094] Specifically, the frame header information is used to distinguish the lamp bead data corresponding to different scenes, thereby improving the accuracy of data storage.

[0095] To facilitate understanding by those skilled in the art, the control method of the lamp is explained below with reference to a specific example: for example, a user needs to store a fan-shaped clockwise self-propelled effect (dynamic effect / lighting effect) in the effect channel 71. The fan-shaped clockwise self-propelled effect includes 6 scenes, as shown in FIG6 . The scenes in FIG6 can be repeated in a loop to display the fan-shaped clockwise self-propelled effect of the lamp.

[0096] Among them, in the first scene, the lamp beads numbered 2, 8, 9, 20, 21, and 22 need to be bright, and the rest of the lamp beads are dimmed. Under the user's operation, the console outputs the lamp bead operating parameters (5 groups of data, corresponding to lamp beads 1 to 8, lamp beads 9 to 16, lamp beads 17 to 24, lamp beads 25 to 32, and lamp beads 33 to 37). The operation panel receives the lamp bead operating parameters and performs base conversion. The converted lighting effect data is 0x41, 0x80, 0x1C, 0x00, and 0x00 (corresponding to lamp beads 1 to 8, lamp beads 9 to 16, lamp beads 17 to 24, lamp beads 25 to 32, and lamp beads 33 to 37). and lamp beads 33 to 37); in the second scene, the lamp beads numbered 3, 10, 11, 23, 24, and 25 need to be bright, and the rest of the lamp beads are dimmed. The console outputs the lamp bead operating parameters under the user's operation, and the operation panel receives the lamp bead operating parameters and performs base conversion. The converted lighting effect data is 0x20, 0x60, 0x03, 0x80, and 0x00; in the third scene, the lamp beads numbered 4, 12, 13, 26, 27, and 28 need to be bright, and the rest of the lamp beads are dimmed. The console outputs the lamp bead operating parameters under the user's operation, and the operation panel receives the lamp bead operating parameters and performs base conversion. The converted lighting effect data is 0x20, 0x60, 0x03, 0x80, and 0x00. The parameters are converted into base 1, and the converted lighting effect data are 0x10, 0x18, 0x00, 0x70 and 0x00; in the fourth scene, the lamp beads numbered 5, 14, 15, 29, 30 and 31 need to be bright, and the rest of the lamp beads are dimmed. The console outputs the lamp bead operating parameters under the user's operation, and the operation panel receives the lamp bead operating parameters and converts the base 1, and the converted lighting effect data are 0x08, 0x06, 0x00, 0xE0 and 0x00; in the fifth scene, the lamp beads numbered 6, 16, 17, 32, 33 and 34 need to be bright. , the rest of the lamp beads are dark. Under the user's operation, the console outputs the lamp bead operating parameters, the operation panel receives the lamp bead operating parameters and performs base conversion, and the converted lighting effect data is 0x04, 0x01, 0x80, 0x01 and 0xC0; in the sixth scene, the lamp beads numbered 7, 18, 19, 35, 36, and 37 need to be bright, and the rest of the lamp beads are dark. Under the user's operation, the console outputs the lamp bead operating parameters, the operation panel receives the lamp bead operating parameters and performs base conversion, and the converted lighting effect data is 0x02, 0x00, 0x60, 0x00 and 0x38.

[0097] The user sets the effect channel value to 71 through the console (set according to the actual situation, randomly select an effect channel that is not occupied by an existing dynamic effect), the scene channel value to 1, and the reset channel value to 10. At this time, the dimming channel in the console will add 37 channels (corresponding to the number of lamp beads) after the occupied channels. Since dimming channels 1 to 35 are occupied (set according to the actual situation), the added dimming channels are numbered 36 to 73. The lamp stores the first scene (lighting data) corresponding to this lighting effect, that is, the user opens the dimming channels numbered 37, 43, 44, 56, 57, and 58 (corresponding to the above-mentioned lamp beads numbered 2, 8, 9, 20, 21, and 22, respectively). The console adjusts the dimming channels according to the user's settings. The operation obtains the lamp bead operating parameters and outputs the lamp bead operating parameters to the operation panel. The operation panel generates the lighting control information in the target format based on the received lamp bead operating parameters and the lighting channel information, and outputs the lighting control information to the controller. The controller receives the lighting control information from the operation panel, and stores the lighting effect data to the corresponding storage location based on the first indication channel information. After the storage is completed, the user resets the channel value to 0 through the console output, and resets the scene channel value to 2 and the reset channel value to 10, and turns on the corresponding dimming channel according to the lamp beads that need to be lit in the above-mentioned second scene, repeats the above steps, and so on, the lamp stores the lighting data corresponding to all scenes under this lighting effect (effect channel 71). Among them, the scene channel value (function channel value) used to store the lighting data is the scene channel value, and the effect channel value is the first effect channel value.

[0098] It should be noted that in the storage process corresponding to the first scene, the console outputs the non-zero data (lamp bead operating parameters) corresponding to the dimming channel numbers 37, 43, 44, 56, 57, and 58 to the operation panel. The operation panel receives the non-zero data and determines the number of the lamp beads that need to be lit by the number of occupied dimming channels (35). For example, the dimming channel numbers are 37, 43, 44, 56, 57, and 58, and the corresponding lamp beads that need to be lit are 2, 8, 9, 20, 21, and 22. The storage process corresponding to other scenes is similar to the above steps and will not be repeated in the embodiments of this application. In addition, when the controller receives the lighting control information in the target format, it can first add the data contained in the lighting control information based on the cumulative sum verification method, and compare the obtained sum value with the check sum in the lighting control information. When the sum value is equal to the check sum, the subsequent storage-related steps are performed to ensure the accuracy of the lighting effect data.

[0099] When the fan-shaped clockwise self-propelled effect needs to be called later, the user inputs the effect value 71 on the console, triggering the console to send a call instruction to the operation panel, and the operation panel then sends the call instruction to the controller. The controller reads the lighting effect data corresponding to the called effect channel 71 according to the effect channel value 71 contained in the call instruction, and the lamp displays the fan-shaped clockwise self-propelled effect. Among them, the effect channel value used to call the lighting effect data is the second effect channel value.

[0100] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0101] In an exemplary embodiment, as shown in FIG1 , a lamp 20 is provided, and the lamp 20 includes:

[0102] Multiple lamp beads;

[0103] An operation panel 202, the operation panel 202 is used to execute the steps of the above method;

[0104] The controller 204 is connected to the operation panel 202 and is respectively connected to a plurality of lamp beads. The controller 204 is used to execute the steps of the above method.

[0105] Specifically, the operation panel 202 and the controller 204 are both used to execute the above-mentioned lamp control method, which will not be described in detail in the embodiment of the present application.

[0106] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0107] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0108] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0109] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for controlling a lamp, characterized in that: A controller used in the lamp; The lamp also includes an operation panel and a plurality of lamp beads connected to the controller; the method includes: receiving lighting control information from the operation panel, the lighting control information including lighting effect data and first indication channel information corresponding to the lighting effect data, and storing the lighting effect data in a corresponding storage location based on the first indication channel information; wherein the lighting effect data includes lighting data of different scenes under corresponding lighting effects; Receive a call instruction from the operation panel, call the corresponding lighting effect data from the storage location according to the second indication channel information corresponding to the call instruction, and instruct the lamp bead to enter a corresponding operating state according to the lighting data contained in the called lighting effect data.

2. The method according to claim 1, characterized in that The first indication channel information includes a scene channel value and a first effect channel value; and storing the light effect data to a corresponding storage location based on the first indication channel information includes: Classifying the lighting effect data according to the first effect channel value, wherein the lighting effect data of each category corresponds to a different lighting effect; The lighting effect data of each category is stored in a corresponding storage location based on the scene channel value.

3. The method according to claim 2, characterized in that The storing the lighting effect data of each category to a corresponding storage location based on the scene channel value comprises: The lighting effect data of any category is stored in a corresponding first position according to the scene channel value, wherein each first position corresponds to each scene channel value, and each first position is associated with each other.

4. The method according to claim 3, characterized in that The method further comprises: The lighting effect data of any category is stored in a second location.

5. The method according to claim 4, characterized in that The second indication channel information includes a second effect channel value; The calling the corresponding lighting effect data from the storage location according to the second indication channel information corresponding to the calling instruction includes: A second effect channel value included in the calling instruction is obtained, and the light effect data stored in the second position or each of the first positions is called according to the second effect channel value.

6. A method for controlling a lamp, characterized in that: An operating panel applied to the lamp; the lamp further comprises a controller and a plurality of lamp beads connected to the controller; the method comprises: Sending lighting control information to the controller, the lighting control information including lighting effect data and first indication channel information corresponding to the lighting effect data; the first indication channel information is used to instruct the controller to store the lighting effect data to a corresponding storage location based on the first indication channel information; wherein the lighting effect data includes lighting data of different scenes under corresponding lighting effects; Send a call instruction to the controller; the call instruction is used to instruct the controller to call the corresponding lighting effect data from the storage location according to the second indication channel information corresponding to the call instruction, and instruct the controller to instruct the lamp beads to enter the corresponding operating state according to the lighting data contained in the called lighting effect data.

7. The method according to claim 6, characterized in that The first indication channel information includes a scene channel value and a first effect channel value; before sending the lighting control information to the controller, the method includes: Receive lamp bead operating parameters and the first indication channel information corresponding to the lamp bead operating parameters, and generate the lighting control information in a target format according to the lamp bead operating parameters and the first indication channel information; The target format includes frame header information, the first effect channel value, the scene channel value and the lighting effect data arranged in sequence.

8. The method according to claim 7, characterized in that The step of generating the lighting control information having a target format according to the lamp bead operating parameters and the first indication channel information includes: The base type of the lamp bead operating parameters is converted to obtain the lighting effect data; wherein the data length of the lighting effect data is smaller than the data length of the lamp bead operating parameters.

9. The method according to claim 7, characterized in that: The frame header information is arranged between the lighting data of different scenes under the same lighting effect.

10. A lamp, characterized in that: The lamp comprises: Multiple lamp beads; An operation panel, the operation panel being used to execute the steps of the method according to any one of claims 6 to 9; A controller, the controller is connected to the operation panel and is respectively connected to the plurality of lamp beads, the controller is used to execute the steps of the method according to any one of claims 1 to 5.