Lighting effect generation method and apparatus, lighting effect control method and medium

By decomposing and synthesizing sub-effect information on multiple lamp layout layers, the problem of difficulty in setting complex lighting effects in traditional lamp strings is solved, setting efficiency and accuracy are improved, and more rich and accurate lighting effects are achieved.

WO2024245154A1PCT designated stage expired Publication Date: 2024-12-05SHENZHEN QIANYAN TECH LTD +1

Patent Information

Application Number
PCT/CN2024/095293
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-06-02
Filing Date
2024-05-24
Publication Date
2024-12-05

AI Technical Summary

Technical Problem

Traditional light strings are difficult to adapt to the settings of complex lighting special effects. Users are prone to errors when setting multiple elements in a single canvas, resulting in the lighting special effects that do not match expectations and affect the setting efficiency.

Method used

By decomposing complex lighting special effects on multiple lamp layout layers, setting sub-effect information is respectively set, and combining them into complete lighting special effects information, and transmitting it to the lamp controller to control the light emitting unit to achieve a predetermined lighting effect.

Benefits of technology

It reduces the difficulty and time of setting complex lighting special effects, improves the accuracy and efficiency of setting, avoids the problem of multiple elements interfering with each other in a single canvas, and ensures the accurate presentation of lighting special effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024095293_05122024_PF_FP_ABST
    Figure CN2024095293_05122024_PF_FP_ABST
Patent Text Reader

Abstract

A lighting effect generation method and apparatus, a lighting effect control method and a medium. The lighting effect generation method comprises the following steps: acquiring light-emitting unit layout information of a light, and generating on a drawing interface a plurality of light layout layers; acquiring sub-special effect information respectively generated in the light layout layers by the drawing interface receiving an external editing instruction, synthesizing the multiple pieces of sub-special effect information into lighting special effect information, and packaging the lighting special effect information into a lighting effect control instruction; and transmitting the lighting effect control instruction to a controller of the light so as to control the light to display a lighting special effect defined by the lighting special effect information.
Need to check novelty before this filing date? Find Prior Art

Description

Lighting effect generation method, lighting effect control method, device and medium Technical Field

[0001] The present application relates to the field of lighting technology, and in particular to a lighting effect generation method, a lighting effect control method, a device and a medium. Background Art

[0002] With technological advancements, lighting fixtures are used not only for illumination but also to create special lighting effects to enhance the atmosphere. For example, light strings can be wrapped around decorative objects, and by controlling the individual beads on the string to emit different colors of light, the decorative objects' aesthetic appeal can be enhanced. However, traditional light strings generally only produce a single lighting effect, resulting in a single lighting effect that cannot adapt to the needs of different occasions.

[0003] To this end, the industry has proposed using a controller to control the individual lamp beads of a lamp to emit predetermined light patterns, enabling the lamp to produce different lighting effects to suit the needs of different occasions. To achieve these lighting effects, the industry generally uses a mobile app or computer program to set the lighting effects. Specifically, a canvas is created within the user interface of the mobile app or computer program, where the lighting effects to be displayed by the lamp are edited. For example, if text is edited on the canvas, each lamp bead in the lamp will emit a predetermined light pattern, with the light emitted by each bead forming the corresponding text edited on the canvas.

[0004] However, it's relatively easy for users to set simple lighting effects for lamps through mobile apps or computer programs. When it comes to more complex lighting effects, it's difficult to set all the elements of the lighting effect using a single canvas, making it easy to make mistakes. For example, when setting a lighting effect of multiple animals running at different speeds through grass on a canvas, users need to set the shape of the grass, the shape of each animal, the speed of each animal's movement, and other details all on the same canvas. Because there's so much to set and the various elements interact with each other, it's easy for users to make mistakes when setting complex lighting effects, resulting in the set lighting effect not matching the intended one, which in turn affects the use of the lighting effect.

[0005] In order to avoid errors when setting complex lighting effects on the same canvas, users need to carefully set the elements of the complex lighting effects one by one to ensure that the lighting effects meet expectations and avoid errors. However, this takes a lot of time and affects the efficiency of setting the lighting effects.

[0006] Summary of the Invention

[0007] The purpose of the present application is to solve at least one of the above problems and to provide a lighting effect generation method, a lighting effect control method, a device and a medium.

[0008] To meet the various objectives of this application, the following technical solutions are adopted:

[0009] To meet one of the purposes of this application, a lighting effect generation method is provided, comprising the following steps:

[0010] Acquire the light-emitting unit layout information of the lamp, and generate a plurality of lamp layout layers in the drawing interface according to the light-emitting unit layout information;

[0011] Acquire sub-effect information generated in each lighting fixture layout layer when the drawing interface receives an external editing instruction, synthesize multiple sub-effect information into lighting effect information, and encapsulate the lighting effect information into a lighting effect control instruction;

[0012] The lighting effect control instruction is transmitted to a controller of the lamp to control the lamp to display the lighting effect defined by the lighting effect information.

[0013] To meet one of the purposes of this application, a lighting effect control method is provided, comprising the following steps:

[0014] Receive lighting effect control commands sent by external devices, and parse and obtain multiple sub-effect information corresponding to the same lamp;

[0015] Based on the sub-effect synthesis information carried in each sub-effect information or based on the default sub-effect synthesis information, the luminous data of the same luminous unit of the corresponding lamp in each sub-effect information is synthesized to generate luminous information;

[0016] The corresponding lighting information is output to each lighting unit of the lamp, and the corresponding lighting unit is controlled to emit predetermined light to form a predetermined lighting effect.

[0017] To meet one of the purposes of the present application, a lighting effect generating device is provided, comprising:

[0018] A layer generation unit, which obtains the light-emitting unit layout information of the lamp and generates a plurality of lamp layout layers in the drawing interface according to the light-emitting unit layout information;

[0019] an instruction generation unit for acquiring sub-effect information generated in each lighting fixture layout layer in response to an external editing instruction received by a drawing interface, synthesizing the plurality of sub-effect information into lighting effect information, and encapsulating the lighting effect information into a lighting effect control instruction;

[0020] A driving unit transmits the lighting effect control instruction to a controller of the lamp to control the lamp to display the lighting effect defined by the lighting effect information.

[0021] A computer-readable storage medium is provided to meet one of the purposes of the present application, wherein the computer-readable storage medium stores a program code, and the program code can be called by a processor to execute the lighting effect generation method described in any one of the previous purposes or the lighting effect control method described in any one of the previous purposes.

[0022] Compared with the existing technology, this application has many advantages, including but not limited to:

[0023] On the one hand, the present application uses the lighting effect generation method to edit and generate different sub-effects on multiple lighting layout layers respectively, and multiple sub-effects are combined into one lighting effect, that is, the lighting effect is decomposed into multiple sub-effects, and multiple sub-effects are set separately to reduce the difficulty of setting complex lighting effects and shorten the setting time.

[0024] On the other hand, the present application combines multiple sub-effect information into lighting special effect information through the lighting effect generation method, so that the multiple sub-effect information are combined with each other without interfering with each other, so that the multiple sub-effect information are integrated into a complete lighting special effect information, which is convenient for the controller to control the lamps to display the lighting effects defined by the lighting special effect information based on the lighting special effect information. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] FIG1 is a schematic diagram of the circuit principle of the light-emitting device provided in this application.

[0026] FIG2 is a schematic structural diagram of a first embodiment of a plurality of light-emitting units of a light-emitting device of the present application.

[0027] FIG3 is a schematic diagram of currently visible layers on a drawing interface provided by one embodiment of the present application.

[0028] FIG4 is a flow chart of the lighting effect generation method of the present application.

[0029] FIG5 is a flow chart of step S11 of the lighting effect generation method of the present application.

[0030] FIG6 is a flow chart of step S112 of the lighting effect generation method of the present application.

[0031] FIG. 7 is a flow chart of step S12 of the lighting effect generation method of the present application.

[0032] FIG8 is a flow chart of step S121 of the lighting effect generation method of the present application.

[0033] FIG. 9 is a flow chart of step 112 of a lighting effect generation method according to another embodiment of the present application.

[0034] FIG10 is a flow chart of the lighting effect control method of the present application.

[0035] FIG11 is a flow chart of step S22 of the lighting effect control method of the present application.

[0036] FIG12 is a schematic structural diagram of the lighting effect generating device of the present application.

[0037] FIG. 13 is a schematic diagram of multiple lamp layout sub-layers of a lamp according to the second embodiment of the present application. DETAILED DESCRIPTION

[0038] This application provides a lighting effect generation method. Based on this lighting effect generation method, multiple lighting fixture layout layers are generated on a drawing interface of a terminal device. Sub-lighting effect information is set in each lighting fixture layout layer. The sub-lighting effect information of each of the multiple lighting fixture layout layers is combined into a lighting effect information. This lighting effect information is output to the lighting fixture to control each light-emitting unit of the lighting fixture to emit a predetermined light to form a predetermined lighting effect. In this way, complex lighting effect information is decomposed into multiple sub-effects, and the sub-effect information is set in each of the multiple lighting fixture layout layers. This reduces the difficulty of setting the lighting effect information, improves the accuracy of setting the lighting effect information, reduces the setting time, and improves the setting efficiency.

[0039] To implement the lighting effect generation method, the present application provides a light-emitting device. In conjunction with Figure 1, the light-emitting device includes a terminal device 100 and a lamp 200. The terminal device 100 and the lamp 200 are electrically connected, and the lighting effect generation method is implemented based on the light-emitting device.

[0040] The lamp 200 includes a controller 210 and a plurality of light-emitting units 220, and the controller 210 is electrically connected to the plurality of light-emitting units 220. The terminal device 100 outputs a lighting effect instruction to the controller 210, so that the controller 210 controls the plurality of light-emitting units 220 to emit predetermined light, and the light emitted by each light-emitting unit 220 is combined to form a predetermined lighting effect. In this embodiment, the terminal device 100 and the controller 210 are wirelessly connected to establish a data communication link between the terminal device 100 and the controller 210 to facilitate data communication between them. Preferably, the terminal device 100 is a mobile phone, a tablet computer or a computer.

[0041] Specifically, the terminal device 100 includes a first control unit 110, a display screen 120, a first storage unit 130 and a first communication unit 140, and the first control unit 110 is electrically connected to the display screen 120, the first storage unit 130 and the first communication unit 140 respectively.

[0042] The controller 210 includes a second control unit 211, a second communication unit 212 and a second storage unit 213. The second control unit 211 is electrically connected to the second communication unit 212 and the second storage unit 213 respectively. The first control unit 110 of the terminal device 100 sends data to the controller 210 via the first communication unit 140. The controller 210 receives the data sent by the terminal device 100 via the second communication unit 212. The second communication unit 212 sends the received data to the second control unit 211, and the second control unit 211 processes the received data.

[0043] The light-emitting unit 220 includes a third control unit 221 and a plurality of light-emitting elements 222. The third control unit 221 is electrically connected to each of the plurality of light-emitting elements 222 and is configured to control the plurality of light-emitting elements 222 to emit predetermined light. Specifically, the light-emitting unit 220 includes three light-emitting elements 222, namely a red light-emitting element 223, a green light-emitting element 224, and a blue light-emitting element 225. The third control unit 221 controls the red light-emitting element 223, the green light-emitting element 224, and the blue light-emitting element 225 to emit predetermined light, which can form light of any color and / or intensity.

[0044] The terminal device 100 sends a lighting effect control instruction to the controller 210. The second control unit 211 of the controller 210 parses the lighting effect control instruction to obtain lighting effect information. The lighting effect information is used to control the light-emitting unit 220 of the lamp 200 to emit a predetermined lighting effect to form a predetermined lighting effect. The lighting effect information is used to control the lighting effect of the lamp 200. The lighting effect information includes multiple pieces of lighting information, each of which is used to control any one of the following: the light color, light intensity, light frequency, and light duration of the corresponding light-emitting unit 220.

[0045] The second control unit 211 of the controller 210 is electrically connected to the third control unit 221 of the light-emitting unit 220, and the second control unit 211 outputs corresponding light-emitting information to the third control unit 221, and the light-emitting information includes element data of each light-emitting element 222, and the element data is used to control one or more of the light-emitting intensity, light-emitting frequency, and light-emitting duration of the light-emitting element 222.

[0046] After receiving the lighting information, the third control unit 221 controls the corresponding light-emitting elements 222 to emit predetermined light based on the element data corresponding to the three light-emitting elements 222 in the lighting information. The three light-emitting elements 222 emit predetermined light, causing the light-emitting unit 220 to emit light of a predetermined color. Furthermore, the third control unit 221 can also control the lighting frequency, intensity, and duration of each light-emitting element 222 to continuously change the color, intensity, duration, and frequency of the light-emitting unit 220.

[0047] The plurality of light-emitting units 220 of the lamp 200 are disposed on a plane or a curved surface. The plurality of light-emitting units 220 are arranged in a predetermined form, for example, in a dot matrix on the plane or the curved surface.

[0048] In the first embodiment, referring to Figure 2 , a plurality of light emitting units 220 of the lamp 200 are arranged on a plane in a matrix. Preferably, the light emitting units 220 are lamp beads.

[0049] In the second embodiment, the lamp 200 further includes a housing having a semi-ellipsoidal shape. The plurality of light-emitting units 220 are arranged in a matrix on the inner wall of the housing. The housing is made of a transparent material so that light emitted by the light-emitting units 220 arranged on the inner wall of the housing can be transmitted through the housing to the outside. Preferably, the light-emitting units 220 are lamp beads.

[0050] In a typical embodiment of the present application, in order to facilitate the description of the lighting effect generation method, the lighting effect generation method is discussed in combination with the first embodiment, but the arrangement of the multiple light-emitting units 220 in the first embodiment should not be understood as a limitation on the lighting effect generation method. The lighting effect generation method is also applied to lamps 200 with different arrangement forms.

[0051] The controller 210 is electrically connected to each light-emitting unit 220 . The second storage unit 213 of the controller 210 stores position information of each light-emitting unit 220 . The position information of the plurality of light-emitting units 220 constitutes light-emitting unit layout information of the lamp 200 .

[0052] The terminal device 100 can retrieve the light-emitting unit layout information from the second storage unit 213 of the controller 210, and the first control unit 110 can create multiple identical lamp layout layers in the drawing interface of the display screen 120 based on the light-emitting unit layout information. Specifically, the lamp layout layer is provided with multiple coordinate points, each of which corresponds to the position information of one of the light-emitting units 220 in the lamp 200. In other words, corresponding coordinate points are generated in the drawing interface based on the position information of the multiple light-emitting units 220 in the lamp 200, and the multiple coordinate points constitute the lamp layout layer. Preferably, the coordinate points are visible or invisible in the lamp layout layer.

[0053] The drawing interface can receive a layer selection instruction, select one of the multiple lighting fixture layout layers, and set the selected lighting fixture layout layer as the currently visible layer. Subsequently, the drawing interface can receive an external editing instruction, and edit the currently visible layer to form a sub-effect. After the editing is completed, the first control unit 110 obtains the sub-effect information, then sequentially sets the other lighting fixture layout layers as the currently visible layers, and edits the corresponding currently visible layers to form sub-effects. After obtaining the multiple sub-effect information, the first control unit 110 combines the multiple sub-effect information to form lighting effect information.

[0054] The first control unit 110 outputs the lighting effect information to the controller 210. The controller 210 obtains the luminous information corresponding to each light-emitting unit 220 from the lighting effect information, and controls the corresponding light-emitting unit 220 to emit corresponding light based on the luminous information. The light emitted by each of the multiple light-emitting units 220 constitutes a predetermined lighting effect.

[0055] In a typical embodiment of the present application, the lighting effect generation method is implemented based on the above-mentioned light-emitting device. Specifically, with reference to FIG4 , the lighting effect generation method includes the following steps:

[0056] Step S11: Acquire the light-emitting unit layout information of the lamp, and generate multiple lamp layout layers in the drawing interface according to the light-emitting unit layout information:

[0057] The terminal device is wirelessly connected to the second communication unit of the controller via its first communication unit, thereby establishing a data communication link between the terminal device and the controller. The first control unit of the terminal device sends an information acquisition instruction to the controller via the first communication unit. After the second control unit of the controller receives the information acquisition instruction sent by the terminal device via the second communication unit, the second control unit retrieves the light-emitting unit layout information of the lamp stored in the second storage unit and sends the light-emitting unit layout information to the terminal device via the second communication unit.

[0058] The light-emitting unit layout information includes the position information of each light-emitting unit of the lamp. After receiving the light-emitting unit layout information, the first control unit of the terminal device generates multiple lamp layout layers on the drawing interface of the display screen corresponding to the light-emitting unit layout information. The lamp layout layers have multiple coordinate points, which are generated corresponding to the position information of the multiple light-emitting units of the lamp. In other words, each coordinate point is mapped to a corresponding light-emitting unit.

[0059] Specifically, with reference to FIG5 , step S11 further includes the following steps:

[0060] Step S111: Acquire the light-emitting unit layout information from the controller, where the light-emitting unit layout information includes position information of each light-emitting unit of the lamp.

[0061] The terminal device obtains the light-emitting unit layout information of the lamp from the controller, and the light-emitting unit layout information includes the position information of each light-emitting unit of the lamp. For example, as in the first embodiment described above, when multiple light-emitting units are arranged in a dot matrix on a plane, the position information of each light-emitting unit together constitutes the light-emitting unit layout information. Alternatively, as in the second embodiment described above, when multiple light-emitting units are arranged in a dot matrix on the inner wall of a semi-ellipsoidal shell, the position information of each light-emitting unit also together constitutes the light-emitting unit layout information. Preferably, the position information of the light-emitting units is set in the form of coordinate points.

[0062] Step S112: Create multiple lamp layout layers, and convert the position information of the light-emitting unit into coordinate point information in each lamp layout layer:

[0063] After the first control unit of the terminal device obtains the layout information of the light-emitting units of the lamp, the first control unit generates a plurality of identical blank layers in the drawing interface of the display screen. Afterwards, the first control unit obtains the position information of each light-emitting unit from the light-emitting unit layout information, and converts the position information into coordinate point information that adapts to the blank layer. The first control unit generates corresponding coordinate points in the blank layer based on the coordinate point information, thereby generating a plurality of coordinate points in the blank layer, and the plurality of coordinate points and the blank layer together constitute the lamp layout layer. That is to say, the light-emitting units are mapped to the corresponding coordinate points in the lamp layout layer to simulate the layout of the plurality of light-emitting units of the lamp through the lamp layout layer, so as to adapt to the lighting effects of the plurality of light-emitting units of the lamp through the lamp layout layer drawing. Preferably, the coordinate points on the lamp layout layer can be displayed or not.

[0064] For example, as in the first embodiment, a two-dimensional lamp layout layer is generated in the drawing interface corresponding to the lamps, that is, various coordinate points are generated on the same plane in the lamp layout layer.

[0065] Alternatively, as in the second embodiment, a three-dimensional lamp layout layer is generated in the drawing interface corresponding to the lamp. That is, each coordinate point is set in three dimensions on the lamp layout layer to generate a three-dimensional lamp layout layer. Preferably, referring to FIG12 , the three-dimensional lamp layout layer is composed of multiple lamp layout sub-layers combined in a certain order. Taking a lamp with a semi-ellipsoidal shell as an example, the semi-ellipsoidal surface can be divided into four equal parts, that is, the lamp layout sub-layers are four, and the four lamp layout sub-layers are arranged in a certain order to form a complete lamp layout layer.

[0066] The first control unit loads corresponding coordinate points corresponding to the light-emitting unit layout information on each blank layer to generate a plurality of identical lamp layout layers.

[0067] Step S113: Setting the currently visible layer based on the lamp layout layer, and rendering and displaying the currently visible layer:

[0068] The drawing interface includes multiple lighting layout layers, which are arranged on the drawing interface in an overlapping or parallel manner. To facilitate editing of the multiple lighting layout layers, the first control unit can receive a layer selection instruction and set one or more of the lighting layout layers as the currently visible layer, thereby facilitating the receipt of external editing instructions and editing corresponding sub-effects on the currently visible layer.

[0069] In one embodiment, the multiple lighting layout layers are arranged on the drawing interface in an overlapping form. After receiving the corresponding layer selection instruction, the first control unit sets one of the lighting layout layers as the currently visible layer, and the currently visible layer is placed above the remaining multiple lighting layout layers, so that the drawing interface can receive external editing instructions and edit sub-effects on the currently visible layer.

[0070] In another embodiment, the multiple lamp layout layers are arranged in parallel on the drawing interface. After the first control unit receives the corresponding layer selection instruction, it sets one or more lamp layout layers as the currently visible layers. The one or more currently visible layers can receive editing by external editing instructions, and the remaining lamp layout layers cannot receive external editing instructions before being set as the currently visible layers.

[0071] In one embodiment, after the lamp layout layer is set as the currently visible layer, the first control unit can obtain the environmental characteristics of the environment in which the multiple light-emitting units of the lamp are located from the controller, and the first control unit converts the environmental characteristics and sets them on the currently visible layer, so as to better simulate the environment in which the multiple light-emitting units of the lamp are located, thereby better editing the sub-special effects on the currently visible layer. For example, taking the first embodiment as an example, multiple light-emitting units are set on a curtain with a cartoon character drawn on it, and the controller uses the cartoon character as the environmental characteristic. After the first control unit obtains the environmental characteristics of the cartoon character, it sets the environmental characteristics of the cartoon character on the currently visible layer, so as to better adapt to the environment in which the multiple light-emitting units of the lamp are located, thereby better editing the sub-special effects that adapt to the lamp.

[0072] In one embodiment, when the plurality of light-emitting units of the lamp are arranged in a three-dimensional structure, for example, when the plurality of light-emitting units are arranged on the inner wall of a semi-ellipsoidal shell in the second embodiment, in conjunction with FIG6 , step S112 further includes the following steps:

[0073] Step S1121: Create a three-dimensional model pattern of the lamp, and tile the multiple lamp layout sub-layers of the lamp layout layer at each viewing angle position of the three-dimensional model pattern according to the position information of each light-emitting unit:

[0074] The first control unit of the terminal device obtains the three-dimensional model pattern information of the housing of the lamp from the controller, and the first control unit imports the three-dimensional model pattern into each lamp layout sub-layer, so that each coordinate point is correspondingly set on the three-dimensional model pattern to simulate the position of each light-emitting unit of the lamp on the housing, so as to better adapt to the lamp structure and edit sub-effects. For example, if the housing of the lamp is semi-ellipsoidal, the three-dimensional model pattern of the semi-ellipsoidal housing is imported into the lamp layout layer to generate a semi-ellipsoidal three-dimensional model in the lamp layout layer, and the coordinate points mapped to the light-emitting units are correspondingly mapped on the semi-ellipsoidal three-dimensional model to simulate the specific structure of the lamp on the lamp layout layer.

[0075] A three-dimensional luminaire layout layer is composed of multiple luminaire layout sub-layers arranged in a specific order. For example, in Figure 13, a luminaire with a semi-ellipsoidal shell is divided into four equal parts, creating four luminaire layout sub-layers. These four luminaire layout sub-layers are arranged in a specific order to form a complete luminaire layout layer.

[0076] Step S1122: Adjust the three-dimensional model pattern to a default viewing angle position, so that the lamp layout sub-layer at the corresponding position becomes the currently visible layer:

[0077] The first control unit receives a layer selection instruction to set a lighting fixture layout sublayer in the lighting fixture layout layer as the currently visible layer. Because the three-dimensional model pattern is a three-dimensional structure, the display screen cannot fully display all parts of the three-dimensional model pattern at the same time, but by changing the angle of the three-dimensional model pattern, details of different parts of the three-dimensional model pattern can be observed. The viewing angle at which the lighting fixture layout sublayer can be displayed is called the default viewing angle position. By rotating the three-dimensional model pattern, different lighting fixture layout sublayers are respectively placed in the default viewing angle position, so that the lighting fixture layout sublayer can be edited at the default viewing angle position.

[0078] The first control unit receives the angle switching instruction and adjusts the angle of the three-dimensional model pattern, selects the lighting layout sub-layer corresponding to an angle, and then sets the selected lighting layout sub-layer to the default viewing angle position. The lighting layout sub-layer that enters the default viewing angle position is called the currently visible layer, and the special effects are edited on the currently visible layer. Afterwards, the visible layer is canceled, the three-dimensional model pattern continues to be rotated, the lighting layout sub-layer is selected, the selected lighting layout sub-layer is set as the currently visible layer, and the special effects are continued to be edited. The above steps are then repeated until the special effects are edited separately on multiple lighting layout sub-layers, and the sub-special effects editing of the entire lighting layout layer is completed. For example, referring to Figure 13, the first lighting layout sub-layer is selected as the currently visible layer from the four lighting layout sub-layers.

[0079] In one embodiment, when the plurality of light-emitting units of the lamp are arranged in a three-dimensional structure, for example, when the plurality of light-emitting units are arranged on the inner wall of a semi-ellipsoidal shell in the second embodiment, step S112, in conjunction with FIG. 9 , further includes the following steps:

[0080] Step S1123: Create a three-dimensional model pattern of the lamp, and tile the multiple lamp layout sub-layers of the lamp layout layer at each viewing angle position of the three-dimensional model pattern according to the position information of each light-emitting unit:

[0081] For the specific content of step S1123, please refer to step S1121, which will not be repeated here to save space.

[0082] Step S1124: convert the plurality of lighting fixture layout sub-layers into two-dimensional layers, and set one of the converted lighting fixture layout sub-layers as the currently visible layer.

[0083] After each lighting fixture layout sublayer is flattened at each viewing angle of the 3D model pattern, each lighting fixture layout sublayer assumes a three-dimensional structure. Subsequently, the 3D lighting fixture layout sublayer is 2Dized, that is, converted into a 2D structure, so that the lighting fixture layout sublayer becomes a flat layer. Preferably, the 3D model pattern is also 2Dized, so that the lighting fixture layout sublayer aligns with the corresponding portion of the 2Dized 3D model pattern, thereby facilitating an intuitive understanding of the structural relationship between the lighting fixture layout sublayer and the corresponding portion of the 3D model pattern.

[0084] Afterwards, the first control unit receives a layer selection instruction to set one of the multiple lamp layout sublayers in the multiple lamp layout layers as the currently visible layer. Edit the special effects on the currently visible layer. Afterwards, cancel the currently visible layer so that the currently visible layer is restored to the lamp layout sublayer. Afterwards, set one of the multiple lamp layout sublayers in the multiple lamp layout layers as the currently visible layer again and edit the special effects. Repeat the above steps until the special effects are edited separately on the selected multiple lamp layout sublayers, completing the sub-special effects editing of the entire lamp layout layer. For example, referring to Figure 13, the first lamp layout sublayer is selected as the currently visible layer from the four lamp layout sublayers.

[0085] Step S12: Obtain sub-effect information generated in each lighting fixture layout layer when the drawing interface receives an external editing instruction, combine multiple sub-effect information into lighting effect information, and encapsulate the lighting effect information into a lighting effect control instruction:

[0086] The drawing interface receives external editing commands and edits sub-effects on the currently visible layer. Specifically, the luminous data of multiple coordinate points on the currently visible layer is edited. The luminous data of multiple coordinate points constitutes the sub-effect on the currently visible layer. This luminous data includes any one or more of the following: luminous color, luminous intensity, luminous frequency, and luminous time of the coordinate points. By setting the luminous data of multiple coordinate points, static or dynamic dot patterns can be formed on the currently visible layer.

[0087] For example, multiple coordinate points in the currently visible layer are connected through the external editing instructions to generate a dot matrix graphic on the currently visible layer, and any one or more of the luminous color, luminous intensity, luminous frequency and luminous time of the corresponding coordinate points are set to generate a sub-special effect.

[0088] In one embodiment, the external editing instruction can be triggered by an external tool such as a mouse or a stylus. Alternatively, if the display screen is a touch screen, the user can also trigger the external editing instruction by touching the display screen with a finger.

[0089] After completing the editing of the sub-effects on the currently visible layer, restore the currently visible layer to the editing layer. Afterwards, as in the above steps, set the multiple lighting layout layers as the currently visible layers respectively, and set the sub-effects for each currently visible layer in turn. After completing the editing of the sub-effects, set the currently visible layer as the editing layer. Each editing layer corresponds to a different sub-effect. After completing the editing of multiple sub-effects, the first control unit obtains the sub-effect information corresponding to each editing layer from the drawing interface, and then combines the multiple sub-effects information into one lighting effect information. For example, the sub-effect in the first editing layer is a dynamic effect of a rabbit running, the sub-effect in the second editing layer is a dynamic effect of a turtle running, and the sub-effect in the third editing layer is a static effect of a forest. The sub-effects corresponding to the three editing layers are combined to form the lighting effect information of the tortoise and hare race in the forest.

[0090] After obtaining the lighting effect information, the first control unit encapsulates the lighting effect information into a lighting effect control instruction and outputs the lighting effect control instruction to the controller. The controller controls each light-emitting unit of the lamp to emit corresponding light based on the lighting effect control instruction to form the corresponding lighting effect.

[0091] Specifically, with reference to FIG7 , step S12 further includes the following specific steps:

[0092] Step S121: Based on the sub-effect synthesis information or the default sub-effect synthesis information carried in each sub-effect information, the luminous data corresponding to the same luminous unit in each sub-effect information is synthesized to generate luminous information:

[0093] The lighting effect information is composed of multiple luminous information, each luminous information corresponds to a luminous unit, and the luminous information is used to instruct the luminous unit to emit corresponding light within a predetermined time period. The luminous information is composed of multiple luminous data phases, and the multiple luminous data are arranged in sequence according to the luminous timing.

[0094] The multiple sub-effects may call the same light-emitting unit in different time slices or the same time slice, that is, the same light-emitting unit may have corresponding light-emitting data of multiple sub-effects in the same time slice or the same time period, which causes confusion when the light-emitting unit emits light. To solve this problem, sub-effect synthesis information is added to the sub-effect information or the first control unit assigns default sub-effect synthesis information to the sub-effect information. The sub-effect synthesis information can be used to determine the synthesis relationship of the light-emitting data of the same light-emitting unit corresponding to multiple sub-effect information in the same time slice or the same time period, so as to determine the color and / or intensity and / or light-emitting frequency of the light emitted by the light-emitting unit in the time slice. The default sub-effect synthesis information is the sub-effect synthesis information specified by the first control unit for the sub-effect information when the sub-effect synthesis information is not added to the sub-effect information, such as the mixed light relationship data described below.

[0095] Specifically, the sub-effect synthesis information includes at least three synthesis relationships, namely, a stacking relationship, a light mixing relationship, and an alternating relationship. Specific synthesis relationships can be found in the specific steps of step S121 in conjunction with FIG8 :

[0096] Step S1211: Obtain the sub-effect synthesis information, wherein the sub-effect synthesis information includes synthesis identifiers indicating synthesis relationships between different lighting fixture layout layers, and the synthesis relationships include any one or more of a stacking relationship, a mixed light relationship, and an alternating relationship.

[0097] The sub-effect synthesis information or the default sub-effect synthesis information carried in the sub-effect information includes a synthesis identifier, and the synthesis identifier is used to indicate the synthesis relationship between different editing layers, that is, different sub-effect information. For example, the synthesis identifier includes a level, wherein level 1 represents a stacking relationship, level 2 represents a mixing relationship, and level 3 represents an alternating relationship, wherein level 1 has the highest level, level 2 has the second highest level, and level 3 has the third highest level. In the same time slice or the same time period, multiple sub-effect information corresponding to the same light-emitting unit have corresponding luminous data, and when the sub-effect synthesis information of each sub-effect information is different, the luminous data corresponding to the sub-effect information corresponding to the highest level is used as the luminous information of the corresponding light-emitting unit, or the luminous data of multiple sub-effects with the highest level and the same level are synthesized to generate the luminous information of the light-emitting unit.

[0098] Step S1212: Read the hierarchy of each lamp layout layer indicated by the synthesis identifier according to the stacking relationship, and use the luminous information in the lighting effect information that corresponds most closely to the luminous data in the topmost lamp layout layer.

[0099] The stacking relationship is: in the same time slice or the same time period, multiple sub-special effect information have corresponding luminous data for the same luminous unit, and the sub-special effect synthesis information corresponding to each of the multiple sub-special effect information corresponds to a different synthesis identifier of the luminous unit. One of the synthesis identifiers represents the stacking relationship and has the largest level. The luminous data corresponding to the synthesis identifier representing the stacking relationship is used as the luminous information in the same time slice or the same time period.

[0100] For example, in the three sub-effects of the lighting effect information for the tortoise and the hare race in the forest, in the first time slice, the first luminous data representing the tortoise sub-effect information and the second luminous data representing the forest sub-effect information both correspond to the first luminous unit. In the first time slice, the sub-effect synthesis information in the tortoise sub-effect information corresponding to the first luminous unit has a level of 1, and is in a stacked relationship; whereas, the sub-effect synthesis information in the forest sub-effect information corresponding to the first luminous unit has a level of 2. Therefore, in the first time slice, the first luminous data representing the tortoise sub-effect information serves as the luminous information for the first luminous unit.

[0101] Step S1213: According to the light mixing relationship, the luminous data in each lamp layout layer is synthesized according to the corresponding relationship of the luminous units to form the luminous information:

[0102] The light mixing relationship is: in the same time slice or the same time period, multiple sub-special effect information has corresponding light-emitting data for the same light-emitting unit, and the sub-special effect synthesis information corresponding to each of the multiple sub-special effect information corresponds to the same and / or different synthesis identifiers of the light-emitting unit, wherein the multiple synthesis identifiers all represent the light mixing relationship and have the highest level, and the light mixing calculation is performed on the light-emitting data corresponding to the multiple synthesis identifiers representing the light mixing relationship to generate the light-emitting information in the same time slice or the same time period.

[0103] For example, in the three sub-effects of the lighting special effects information of the tortoise and the hare race in the forest, in the second time slice, the third luminous data representing the tortoise sub-effect information, the fourth luminous data representing the hare sub-effect information, and the fifth luminous data representing the forest sub-effect all correspond to the second luminous unit. In the second time slice, corresponding to the second luminous unit, the level of the sub-effect synthesis information in the sub-effect information representing the tortoise is 2, and they are in a mixed light relationship; corresponding to the second luminous unit, the level of the sub-effect synthesis information in the sub-effect information representing the hare sub-effect is 2, and they are in a mixed light relationship; corresponding to the second luminous unit, the level of the sub-effect synthesis information in the sub-effect information representing the forest sub-effect is 3; then, in the second time slice, the third luminous data representing the tortoise sub-effect information and the fourth luminous data representing the hare sub-effect information have the same corresponding synthesis identifier level and are in a mixed light relationship, then the third luminous data and the fourth luminous data are mixed and calculated to generate the second luminous information, and the second luminous information is used as the luminous information of the second luminous unit in the second time slice.

[0104] Step S1214: Read the time sequence of each lamp layout layer indicated by the synthesis identifier according to the alternating relationship, and arrange the luminous data of each lamp layout layer according to the time sequence to form the luminous information:

[0105] The alternating relationship is: within the same time period, multiple sub-effects have corresponding luminous data for the same luminous unit, and the sub-effect synthesis information corresponding to each of the multiple sub-effect information corresponds to the same and / or different synthesis identifiers of the luminous unit, wherein multiple synthesis identifiers all represent an alternating relationship and have the highest level, then the luminous data corresponding to the multiple synthesis identifiers representing the alternating relationship are arranged alternately in sequence in time to generate luminous information in the same time period.

[0106] For example, in the three sub-effects of the lighting special effects information of the tortoise and the hare race in the forest, in the third time period, the sixth luminous data of the sub-effect information representing the tortoise, the seventh luminous data of the sub-effect information representing the hare, and the eighth luminous data of the sub-effect representing the forest all correspond to the third luminous unit. In the third time period, corresponding to the third luminous unit, the level of the sub-effect synthesis information in the sub-effect information representing the tortoise is 3, and they are in an alternating relationship; corresponding to the third luminous unit, the level of the sub-effect synthesis information in the sub-effect information representing the hare is 3, and they are in an alternating relationship; corresponding to the third luminous unit, the level of the sub-effect synthesis information in the sub-effect information representing the forest is 4; then, in the third time period, the sixth luminous data of the sub-effect information representing the tortoise and the seventh luminous data of the sub-effect information representing the hare have the same corresponding synthesis identifier level and are in an alternating relationship. Then, in the third time period, for the third luminous unit, the sixth luminous data and the seventh luminous data are alternately set in sequence in time to generate the third luminous information, and the third luminous information is used as the luminous information of the third luminous unit in the third time period.

[0107] The steps S1212, S1213 and S1214 are arranged in parallel.

[0108] Step S122: constructing lighting effect information based on the multiple luminous information:

[0109] The light-emitting units of the corresponding lamps are in different time slices or time periods, and the multiple sub-special effects information can be synthesized according to their respective sub-special effects information, and step S1212 or step S1213 or step S1214 can be executed to generate the light-emitting information of the light-emitting units in different time slices or time periods, and the multiple light-emitting information corresponding to the same light-emitting unit can be combined according to the time sequence to generate unit information within a predetermined time length. The multiple unit information corresponding to the multiple light-emitting units respectively constitute the lighting special effects information, that is, the multiple light-emitting information corresponding to the multiple light-emitting units respectively constitute the lighting special effects information of the lamp, so as to control the corresponding light-emitting units to emit light within the predetermined time length through the unit information.

[0110] Step S123: Encapsulate the lighting effect information into the lighting effect control instruction:

[0111] The unit information corresponding to each of the plurality of light-emitting units together constitutes the lighting effect information of the lamp. After generating the lighting effect information, the first control unit of the terminal device encapsulates the lighting effect information into a lighting effect control instruction.

[0112] In one embodiment, the first control unit displays the corresponding lighting effect on the drawing interface of the display screen based on the lighting effect information to preview the lighting effect. If the lighting effect does not meet expectations, the sub-effect information that constitutes the lighting effect information can be further edited.

[0113] Step S13: transmitting the lighting effect control instruction to the controller of the lamp to control the lamp to display the lighting effect defined by the lighting effect information.

[0114] The first control unit of the terminal device transmits the lighting effect control instruction to the controller via the first communication unit. The second control unit of the controller receives the lighting effect control instruction via the second communication unit and parses the lighting effect control instruction to obtain lighting effect information. Based on the unit information corresponding to each light-emitting unit in the lighting effect information, the second control unit controls the multiple light-emitting units to emit predetermined light within a predetermined duration to form a predetermined lighting effect. The multiple light-emitting information in the unit information sequentially controls the corresponding light-emitting units to emit different light within different time slices or time periods.

[0115] After receiving the corresponding unit information output by the second control unit, the third control unit of the light-emitting unit obtains multiple pieces of light-emitting information from the unit information. The third control unit sequentially controls the light-emitting unit to emit predetermined light according to the timing of the multiple pieces of light-emitting information in the unit information. Specifically, based on the RGB data in the light-emitting information, the third control unit controls the red, green, and blue light-emitting elements of the light-emitting unit to emit light, and / or controls the multiple light-emitting elements to emit light of predetermined intensity based on the light intensity data, and / or controls the multiple light-emitting elements to emit light at a predetermined light frequency. Thus, the third control unit controls the multiple light-emitting elements to emit predetermined light based on the light-emitting information.

[0116] The multiple light-emitting units of the lamp each emit a predetermined light, and the light emitted by the multiple light-emitting units is combined to form a predetermined lighting effect of the lamp. For example, the light emitted by the multiple light-emitting units is combined to form one or more of static or dynamic luminous graphics, text, or symbols.

[0117] The present application also provides a lighting effect control method, which is also implemented based on the light emitting device. Specifically, with reference to FIG10 , the lighting effect control method includes the following specific steps:

[0118] Step S21: receiving a lighting effect control instruction sent by an external device, parsing and obtaining multiple sub-effect information corresponding to the same lighting fixture:

[0119] The external device is the terminal device mentioned above. After the terminal device generates sub-effect information for the multiple editing layers, the terminal device directly encapsulates the multiple sub-effect information into a lighting effect control instruction. After receiving the lighting effect control instruction, the controller of the lamp parses and obtains the sub-effect information.

[0120] Step S22: Based on the sub-effect synthesis information carried in each sub-effect information or based on the default sub-effect synthesis information, the luminous data of the same luminous unit of the corresponding lamp in each sub-effect information is synthesized to generate luminous information:

[0121] After obtaining the multiple sub-effect information, the controller's second control unit synthesizes the multiple sub-effect information based on the sub-effect synthesis information in the sub-effect information to generate luminous information corresponding to each light-emitting unit. Multiple luminous information corresponding to the same light-emitting unit in different time slices or time periods constitute unit information, which controls the corresponding light-emitting unit to emit a predetermined light within a predetermined time period. The specific details of generating the unit information in step S22 can be found in step S12 above and will not be repeated here to save space.

[0122] With reference to FIG11 , step S22 further includes the following specific steps:

[0123] Step S221: Acquire the sub-effect synthesis information, wherein the sub-effect synthesis information includes a synthesis identifier indicating a synthesis relationship between different sub-effect information, wherein the synthesis relationship includes any one or more of a stacking relationship, a mixing relationship, and an alternating relationship.

[0124] The specific content of step S221 can refer to the above-mentioned step S1211, and will not be repeated here to save space.

[0125] Step S222: Read the hierarchy of each sub-effect information indicated by the synthesis identifier according to the stacking relationship, and use the luminous data in the sub-effect information at the top layer as the luminous information in the corresponding lighting effect information.

[0126] The specific content of step S222 can refer to the above-mentioned step S1212, and will not be repeated here to save space.

[0127] Step S223: According to the light mixing relationship, the luminous data in each sub-effect information is synthesized according to the corresponding relationship of the luminous units to form the luminous information:

[0128] The specific content of step S223 can refer to the above step S1213, and will not be repeated here to save space.

[0129] Step S224: Read the timing of each sub-effect information indicated by the synthesis identifier according to the alternating relationship, and arrange the luminous data of each sub-effect information according to the timing to form the luminous information.

[0130] The specific content of step S224 can refer to the above-mentioned step S1214, and will not be repeated here to save space.

[0131] Step S23: Outputting corresponding lighting information to each light-emitting unit of the lamp, and controlling the corresponding light-emitting unit to emit predetermined light to form a predetermined lighting effect.

[0132] The controller's second control unit transmits each unit's information to the corresponding third control unit of the light-emitting unit. The third control unit sequentially controls the light-emitting unit to emit corresponding light according to the timing based on the respective light-emitting information in the unit information. The details of step S23 can be found in step S13 above and are not detailed here to save space.

[0133] The present application also provides a lighting effect generating device, which includes:

[0134] The layer generation unit 600 obtains the light-emitting unit layout information of the lamp and generates a plurality of lamp layout layers in the drawing interface according to the light-emitting unit layout information;

[0135] The instruction generation unit 700 obtains sub-effect information generated in each lighting fixture layout layer by receiving an external editing instruction on the drawing interface, combines the multiple sub-effect information into lighting effect information, and encapsulates the lighting effect information into a lighting effect control instruction;

[0136] The driving unit 800 transmits the lighting effect control instruction to the controller of the lamp to control the lamp to display the lighting effect defined by the lighting effect information.

[0137] The present application also provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the lighting effect generation method or the lighting effect control method of any embodiment of the present application.

[0138] To summarize, this application edits and generates the multiple sub-effects information on multiple lamp layout layers based on the lighting effect generation method, and the multiple sub-effects information are combined into complete lighting effect information to control the multiple light-emitting units of the lamp to emit corresponding light to form a predetermined lighting effect. That is to say, the lighting effect is divided into multiple sub-effects to decompose complex lighting effects, thereby simplifying the setting of complex lighting effects, reducing the setting difficulty and shortening the setting time.

[0139] The above description is only part of the implementation methods of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for generating lighting effects, It is characterized in that The steps include: Acquire the light-emitting unit layout information of the lamp, and generate a plurality of lamp layout layers in the drawing interface according to the light-emitting unit layout information; Acquire sub-effect information generated in each lighting fixture layout layer when the drawing interface receives an external editing instruction, synthesize multiple sub-effect information into lighting effect information, and encapsulate the lighting effect information into a lighting effect control instruction; The lighting effect control instruction is transmitted to a controller of the lamp to control the lamp to display the lighting effect defined by the lighting effect information.

2. The lighting effect generation method according to claim 1, It is characterized in that The step of obtaining the light-emitting unit layout information of the lamp and generating a plurality of lamp layout layers in the drawing interface according to the light-emitting unit layout information includes the following specific steps: Acquire the light-emitting unit layout information from the controller, wherein the light-emitting unit layout information includes position information of each light-emitting unit of the lamp; Creating a plurality of lamp layout layers, and converting the position information of the light-emitting unit into corresponding coordinate point information in each of the lamp layout layers; The currently visible layer is set based on the lamp layout layer, and the currently visible layer is rendered and displayed.

3. The lighting effect generation method according to claim 1, It is characterized in that The step of combining multiple sub-effect information into lighting effect information includes the following specific steps: Based on the sub-effect synthesis information carried in each sub-effect information or based on the default sub-effect synthesis information, synthesize the luminous data corresponding to the same luminous unit in each sub-effect information to generate luminous information; Constructing lighting special effect information based on multiple luminous information; The lighting effect information is encapsulated into the lighting effect control instruction.

4. The lighting effect generation method according to claim 3, It is characterized in that The step of synthesizing the luminous data corresponding to the same luminous unit in each sub-effect information based on the sub-effect synthesis information carried in each sub-effect information or based on the default sub-effect synthesis information to generate the luminous information includes the following specific steps: Acquire the sub-effect synthesis information, where the sub-effect synthesis information includes a synthesis identifier indicating a synthesis relationship between different lamp layout layers, where the synthesis relationship includes any one or more of a stacking relationship, a mixed light relationship, and an alternating relationship; According to the stacking relationship, the levels of the various lighting fixture layout layers indicated by the synthesis identifier are read, The luminous data in the topmost lamp layout layer is used as the luminous information in the corresponding lighting effect information; According to the light mixing relationship, the light emitting data in each lamp layout layer is synthesized according to the light emitting unit correspondence relationship to form the light emitting information; According to the alternating relationship, the timing of each lamp layout layer indicated by the synthetic identifier is read, and the luminous data of each lamp layout layer is arranged according to the timing to form the luminous information.

5. The lighting effect generation method according to claim 2, It is characterized in that The steps to set the currently visible layer based on the lighting layout layer include the following specific steps: Creating a three-dimensional model pattern of the lamp, and tiling a plurality of lamp layout sub-layers of the lamp layout layer at each viewing angle position of the three-dimensional model pattern according to position information of each light-emitting unit; The three-dimensional model pattern is adjusted to a default viewing angle position so that the lamp layout sublayer at the corresponding position becomes the currently visible layer.

6. The lighting effect generation method according to claim 2, It is characterized in that The steps to set the currently visible layer based on the lighting layout layer include the following specific steps: Creating a three-dimensional model pattern of the lamp, and tiling a plurality of lamp layout sub-layers of the lamp layout layer at each viewing angle position of the three-dimensional model pattern according to position information of each light-emitting unit; The plurality of lamp layout sub-layers are two-dimensionalized, and one of the two-dimensionalized lamp layout sub-layers is set as a currently visible layer.

7. The lighting effect generation method according to claim 6, It is characterized in that The three-dimensional model pattern is two-dimensionalized so that a plurality of lamp layout sub-layers are embedded with corresponding parts of the two-dimensional three-dimensional model pattern, and a structural relationship between the plurality of lamp layout sub-layers and corresponding parts of the three-dimensional model pattern is determined.

8. The lighting effect generation method according to claim 6, It is characterized in that The step of setting one of the two-dimensionalized lighting layout sub-layers as the currently visible layer includes the following steps: A layer selection instruction is received, and a lamp layout sub-layer among the multiple lamp layout layers is set as a currently visible layer.

9. The lighting effect generation method as claimed in claim 8, It is characterized in that Also includes: After setting a lamp layout sub-layer in the plurality of lamp layout layers as a currently visible layer, editing special effects on the currently visible layer.

10. The lighting effect generation method according to claim 9, It is characterized in that Also includes: After editing the special effects on the currently visible layer, cancel the currently visible layer so that the currently visible layer is restored to the lamp layout sublayer.

11. The lighting effect generation method according to claim 4, It is characterized in that The stacking relationship is used to indicate that: in the same time slice or the same time period, multiple sub-special effect information have corresponding luminous data for the same luminous unit, the sub-special effect synthesis information corresponding to each of the multiple sub-special effect information has different synthesis identifiers corresponding to the luminous unit, and a target synthesis identifier representing the stacking relationship and having the largest level is determined among the multiple synthesis identifiers, and the luminous data corresponding to the target synthesis identifier is used as the luminous information in the same time slice or the same time period.

12. The lighting effect generation method according to claim 4, It is characterized in that The light mixing relationship is used to indicate that: in the same time slice or the same time period, multiple sub-effect information all have corresponding light-emitting data for the same light-emitting unit, the sub-effect synthesis information corresponding to each of the multiple sub-effect information has the same and / or different synthesis identifiers corresponding to the light-emitting unit, and multiple target synthesis identifiers that represent the light mixing relationship and have the highest level are determined from the multiple synthesis identifiers, and the light-emitting data corresponding to the multiple target synthesis identifiers are mixed and calculated to generate the light-emitting information in the same time slice or the same time period.

13. The lighting effect generation method according to claim 4, It is characterized in that The alternating relationship is used to indicate that: within the same time period, multiple sub-effects have corresponding luminous data for the same luminous unit, the sub-effect synthesis information corresponding to each of the multiple sub-effect information corresponds to the same and / or different synthesis identifiers of the luminous unit, and multiple target synthesis identifiers that represent the alternating relationship and have the highest level are determined among the multiple synthesis identifiers, and the luminous data corresponding to the multiple target synthesis identifiers are arranged alternately in time sequence to generate luminous information in the same time period.

14. The lighting effect generation method according to claim 1, It is characterized in that The lighting effects include one or more of static or dynamic luminous graphics, text, and symbols.

15. A lighting effect control method, It is characterized in that The steps include: Receive lighting effect control instructions sent by external devices, and parse and obtain multiple sub-effect information corresponding to the same lamp; Based on the sub-effect synthesis information carried in each sub-effect information or based on the default sub-effect synthesis information, the luminous data of the same luminous unit of the corresponding lamp in each sub-effect information is synthesized to generate luminous information; The corresponding light-emitting information is output to each light-emitting unit of the lamp, and the corresponding light-emitting unit is controlled to emit a predetermined light to form a predetermined light effect.

16. The lighting effect control method according to claim 15, It is characterized in that The external device is a terminal device. After the terminal device generates sub-effect information for the multiple editing layers, the terminal device encapsulates the multiple sub-effect information into a lighting effect control instruction. After the controller of the lamp receives the lighting effect control instruction, it parses and obtains the sub-effect information.

17. The lighting effect control method according to claim 15, It is characterized in that After acquiring the multiple sub-effect information, the multiple sub-effect information are synthesized based on the sub-effect synthesis information in each sub-effect information to generate light-emitting information corresponding to each light-emitting unit; the multiple light-emitting information corresponding to the same light-emitting unit in different time slices or time periods form unit information, and the corresponding light-emitting unit is controlled to emit predetermined light within a predetermined time period through the unit information.

18. The lighting effect control method according to claim 15, It is characterized in that The step of synthesizing the luminous data of the same luminous unit of the corresponding lamp in each sub-effect information to generate luminous information based on the sub-effect synthesis information carried in each sub-effect information or based on the default sub-effect synthesis information further includes the following steps: Acquire the sub-effect synthesis information, where the sub-effect synthesis information includes a synthesis identifier indicating a synthesis relationship between different sub-effect information, where the synthesis relationship includes any one or more of a stacking relationship, a mixing relationship, and an alternating relationship; According to the stacking relationship, the levels of each sub-effect information indicated by the synthesis identifier are read, and the luminous data in the sub-effect information at the top layer is used as the luminous information in the corresponding lighting effect information; According to the light mixing relationship, the light emitting data in each sub-special effect information is synthesized according to the light emitting unit correspondence relationship to form the light emitting information; According to the alternating relationship, the timing of each sub-effect information indicated by the synthesis identifier is read, and the luminous data of each sub-effect information is arranged according to the timing to form the luminous information.

19. A lighting effect generating device, It is characterized in that include: A layer generation unit, which obtains the light-emitting unit layout information of the lamp, and generates a plurality of lamp layout layers in the drawing interface according to the light-emitting unit layout information; The instruction generation unit acquires sub-effect information generated in each lighting fixture layout layer when the drawing interface receives an external editing instruction, synthesizes multiple sub-effect information into lighting effect information, and encapsulates the lighting effect information into a lighting effect control instruction; The driving unit transmits the lighting effect control instruction to the controller of the lamp to control the lamp to display the lighting effect defined by the lighting effect information.

20. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores program codes, which can be called by a processor to execute the lighting effect generation method described in any one of claims 1 to 14 or the lighting effect control method described in any one of claims 15 to 18.

Citation Information

Patent Citations

  • Rendering graph scene dynamic switching method and device, electronic equipment and medium

    CN114299219A

  • Curtain lamp effect control method and device and storage medium

    CN116030755A

  • Luminescence data transmission method, luminescence control method, luminescence data transmission device, luminescence control device, medium and product

    CN116033014A

  • Lamp effect generation method and device, lamp effect control method and device and medium

    CN116367387A

  • Methods and apparatus for constructing virtual environments

    US20030058238A1

Cited By

  • Lamp effect control equipment, multi-type lamp linkage control method thereof, corresponding device and medium

    CN119383803A