Modular lighting fixture and controller therefor, lighting effect signal generation method, and lighting effect playing method

Through the luminous unit mapping table, the control parameters of the lighting effect application package are converted into timing control data, which solves the problem of data conversion of spliced ​​lamps when applying lighting effects, realizes accurate playback of lighting effects and improves user experience, and promotes industrial promotion.

WO2025087406A1PCT designated stage expired Publication Date: 2025-05-01SHENZHEN QIANYAN TECH LTD +1

Patent Information

Application Number
PCT/CN2024/127473
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-10-27
Filing Date
2024-10-25
Publication Date
2025-05-01

AI Technical Summary

Technical Problem

When using lighting effects in existing spliced ​​lamps, it is difficult to effectively convert the lighting effect application package written in natural language logic to control data that can coordinate work normally, resulting in the lighting effect being unable to play normally, reducing user confidence and hindering industrial promotion.

Method used

By obtaining the lighting control parameters corresponding to multiple layers in the lighting application package, these parameters are converted into timing control data using the luminous emitting unit mapping table of the spliced ​​lamp, and output to the lamp block to control the luminous emitting unit to generate the corresponding luminous control signal.

Benefits of technology

It realizes efficient conversion from lighting effect application package to timing control data, ensures that lighting effect can be played accurately, improves the product reliability and user experience of spliced ​​lamps, and promotes industrial promotion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024127473_01052025_PF_FP_ABST
    Figure CN2024127473_01052025_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to a modular lighting fixture and a controller therefor, a lighting effect signal generation method, and a lighting effect playing method. The lighting effect signal generation method comprises: acquiring a lighting effect application package, which comprises lighting effect control parameters corresponding to a plurality of layers; on the basis of a topological order relationship represented by a light-emission unit mapping table, converting the lighting effect control parameter of each layer into timing control data; and outputting the timing control data to each lamp block of the modular lighting fixture, so as to generate a light emission signal.
Need to check novelty before this filing date? Find Prior Art

Description

Spliced ​​lamp, controller thereof, and lighting effect signal generation and lighting effect playback method Technical Field

[0001] The present application relates to the field of lighting control, and in particular to a spliced ​​lamp, a controller thereof, and a method for generating a lighting effect signal and playing a lighting effect. Background Art

[0002] Spliced ​​lamps have the functions of displaying information and creating a decorative atmosphere. They are widely used, their intelligence level is getting higher and higher, and their functions are constantly evolving to meet different needs.

[0003] In traditional technology, a typical spliced ​​lamp is composed of multiple light blocks controlled by a controller. Each light block usually has multiple light-emitting units that can independently control the illumination of corresponding lamp beads. Each light-emitting unit can serve as an input or output terminal. In addition, each light block also has its own control circuit to selectively control the illumination of multiple light-emitting units. Furthermore, on the light block, different light-emitting areas can be set by arranging the light-emitting units in different areas. Each light-emitting area corresponds to a corresponding number of light-emitting units, so that the light of the light block can be controlled by the light-emitting area.

[0004] It can be seen that the electrical structure and control information structure of spliced ​​lamps are very complex: in the electrical structure, there is a multi-level relationship from the light block to the light-emitting area to the light-emitting unit; in the control information structure, not only does it need to adapt to this multi-level relationship, but each light-emitting unit also involves color and timing information configuration; further, it may involve avoidance relationships between layers. Such a complex control information structure makes it extremely difficult to convert the lighting effect application package written according to natural language logic into control data that can control the normal coordinated operation of each light-emitting unit in each lamp of the spliced ​​light block when applying lighting effects to spliced ​​lamps. If the conversion relationship between the lighting effect application package and the control data of the light-emitting unit cannot be handled properly, the written lighting effect application package will not work properly, which will reduce user confidence in products such as spliced ​​lamps and hinder the industrial promotion of spliced ​​lamps.

[0005] Summary of the Invention

[0006] The purpose of this application is to provide a spliced ​​lamp, a controller thereof, and a method for generating a lighting effect signal and playing a lighting effect.

[0007] According to one aspect of the present application, a method for generating a lighting effect signal is provided, comprising:

[0008] Obtaining a lighting effect application package, which includes lighting effect control parameters corresponding to multiple layers, wherein the lighting effect control parameters describe the lighting effects of the corresponding layers in a tree-like multi-level data structure;

[0009] Convert the lighting effect control parameters of each layer into timing control data according to the topological sequence relationship represented by the light unit mapping table corresponding to the spliced ​​lamp, wherein the topological sequence relationship is used to represent the topological sequence relationship formed by the multi-level connection relationship of each light block of the spliced ​​lamp, each light emitting area within the light block, and each light emitting unit in each light emitting area;

[0010] The timing control data is output to each light block of the spliced ​​lamp to control each light control chip inside each light block to generate a corresponding light control signal.

[0011] According to one aspect of the present application, a lighting effect playback method is provided, comprising:

[0012] Acquire topology information of the spliced ​​lamp, wherein the topology information represents a topological sequence relationship of each lamp block of the spliced ​​lamp, each light-emitting area within the lamp block, and each light-emitting unit in each light-emitting area organized in a multi-level connection relationship;

[0013] Expanding the topology information into a light-emitting unit mapping table with the light-emitting unit as a data recording unit, and representing the topological sequence relationship in the light-emitting unit mapping table;

[0014] Obtaining a lighting effect application package, which includes lighting effect control parameters corresponding to multiple layers, parsing the lighting effect control parameters set for the layers in the lighting effect application package into control data corresponding to each light-emitting unit, and associating the control data with corresponding data records in the light-emitting unit mapping table to obtain a unit instruction table corresponding to the layer;

[0015] The unit instruction table is converted into timing control data with the control chip of the light-emitting unit as the control granularity, and is sent to each light block of the spliced ​​lamp to play the lighting effect.

[0016] According to another aspect of the present application, a spliced ​​lamp controller is provided, comprising a central processing unit and a memory, wherein the central processing unit is configured to call and run a computer program stored in the memory to execute the lighting effect signal generation method or the lighting effect playback method.

[0017] According to another aspect of the present application, a spliced ​​lamp is provided, comprising a controller and a plurality of lamp blocks, wherein the plurality of lamp blocks are connected in series and connected to the controller, and the controller is suitable for executing the lighting effect signal generation method or the lighting effect playback method.

[0018] According to another aspect of the present application, a non-volatile readable storage medium is provided, which stores a computer program implemented according to the lighting effect signal generation and playback method in the form of computer-readable instructions. When the computer program is called and executed by a computer, the steps included in the method are executed.

[0019] According to another aspect of the present application, a computer program product is provided, including a computer program / instruction, which, when executed by a processor, implements the steps of the lighting effect signal generation and playback method described in any embodiment of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] FIG1 is a schematic diagram of the electrical structure of a spliced ​​lamp in an embodiment of the present application;

[0021] FIG2 is a flow chart of a method for generating a lighting effect signal in an embodiment of the present application;

[0022] FIG3 is a schematic diagram of a process for generating a lighting effect application package according to topology information in an embodiment of the present application;

[0023] FIG4 is a schematic diagram of a process for obtaining topological information of spliced ​​lamps in an embodiment of the present application;

[0024] FIG5 is a schematic diagram of a process for constructing a light-emitting unit mapping table according to topology information in an embodiment of the present application;

[0025] FIG6 is a schematic diagram of a process for constructing a unit instruction table and generating timing control data according to a light-emitting unit mapping table in an embodiment of the present application;

[0026] FIG7 is a schematic diagram of a process for adjusting the timing control data transmission sequence and performing compressed transmission according to layer information in an embodiment of the present application;

[0027] FIG8 is a schematic diagram of a process in which a light block controls light-emitting units to coordinately play light effects according to timing control data in an embodiment of the present application;

[0028] FIG9 is a flow chart of a lighting effect playback method according to an embodiment of the present application;

[0029] FIG10 is a schematic diagram of a process for obtaining topological information of a spliced ​​lamp in an embodiment of the present application;

[0030] FIG11 is a schematic diagram of a process for constructing a light-emitting unit mapping table according to topology information in an embodiment of the present application;

[0031] FIG12 is a schematic diagram of a flow chart of constructing a unit instruction table according to a light-emitting unit mapping table in an embodiment of the present application;

[0032] FIG13 is a schematic diagram of a flow chart showing a timing control process for adjusting the data transmission sequence according to layer information in an embodiment of the present application;

[0033] FIG14 is a schematic diagram of a process for adjusting the light-emitting timing information of the light-emitting unit in the timing control data according to the layer information and transmitting the timing control data in an embodiment of the present application;

[0034] FIG15 is a flow chart showing how the light block controls the light-emitting units to coordinately play light effects according to timing control data in an embodiment of the present application.

[0035] FIG16 is a schematic diagram of the structure of a computer device in an embodiment of the present application. DETAILED DESCRIPTION

[0036] Please refer to Figure 1. The spliced ​​lamp given as an example in this application is formed by splicing a plurality of adjacent light blocks into an array. The entire array is electrically connected to the controller of the spliced ​​lamp, and the controller centrally controls the entire array to play the lighting effects. Therefore, the controller is responsible for the power control of each light block in the entire array, the command control of each light block, and the data transmission of each light block. The product forms of light blocks are diverse. According to the shape of the light blocks and the characteristics of their splicing relationship, a variety of light blocks of different forms can be used to splice the same spliced ​​lamp. Optional forms include arbitrary polygonal shapes such as triangles, quadrilaterals, pentagons, hexagons, etc., or radial shapes composed of any number of lines, etc. These shapes are suitable for adjacent splicing on the same plane to form a certain layout shape. The spliced ​​lamp of this application can be used as an atmosphere lamp, which can play the effect of decorating the atmosphere of the space. It can also form patterns or texts through the light of the array to convey information. Of course, it also has a certain lighting effect and is often installed in indoor spaces.

[0037] The light block of the spliced ​​lamp includes multiple light-emitting units. Each light-emitting unit can also be provided with a corresponding light-emitting control chip to parse the corresponding control data and generate a corresponding light-emitting control signal. The light-emitting control signal controls the light-emitting components in the corresponding light-emitting unit, such as lamp beads, to emit light according to specific light-emitting parameters. The light block as a whole will also be provided with an independent control chip as a control unit to control the light emission of all the light-emitting units therein. This independent control unit can transmit the corresponding timing control data to the control chip of each light-emitting unit to achieve the purpose of centralized control. Of course, the entire light block can also be directly controlled by a single control chip to achieve the corresponding lighting effect playback purpose. This is mainly designed flexibly according to the capabilities of the control chip used in the light block and its light-emitting units, and does not affect the embodiment of the creative spirit of this application. According to these principles, for a light block, it is possible to uniformly control all its light-emitting units to emit light at the same time, or to specify the control granularity to each light-emitting unit. The finer the control granularity, the more delicate the generated lighting effect.

[0038] The multiple light-emitting units in the light block can be partitioned and centrally managed according to their positions on the display surface of the light block, and multiple light-emitting areas can be defined. Generally speaking, the type of the light-emitting area in the light block can be a linear structural edge and / or a planar regular surface area. For example, in one embodiment, the radial light block is formed into a Y-shape by connecting three structural edges at the same end, and the three structural edges constitute the three light-emitting areas of the light block; in another embodiment, the quadrilateral light block is equally divided into four regular surface areas to constitute four light-emitting areas; in another more comprehensive embodiment, the hexagonal light block is divided into three diamond-shaped regular surface areas, namely diamond blocks and the structural edges surrounding the three diamond blocks, respectively, each diamond block has three structural edges, so that from the overall perspective of the entire light block, the light block has six peripheral structural edges and three roughly Y-shaped structural edges separating the three diamond blocks. Thus, each diamond block and each structural edge are separate light-emitting areas. In the various light-emitting area distribution situations in the above examples, one or more light-emitting units are arranged in each light-emitting area, so the light-emitting area and the light-emitting units arranged therein can be determined, and then each light-emitting unit can be centrally controlled based on the light-emitting area.

[0039] Lamp blocks 1 of different shapes can be spliced ​​together. For example, a quadrilateral lamp block can be adjacent to any structural edge of a hexagonal lamp block. It is not difficult to understand that by matching lamp blocks of different shapes, a richer array pattern can be constructed.

[0040] To facilitate connection with other light blocks 1, each light block 1 is equipped with corresponding connection interfaces along the structural edges of its geometric outline. These connection interfaces include electrical interfaces and may further include mounting interfaces. The mounting and electrical interfaces can also be combined into a single electromechanical interface. Users can sequentially connect different light blocks 1 using the connection interfaces to create the desired topological effect, thereby assembling a corresponding array pattern of the corresponding light fixture. Different array patterns can be formed by connecting blocks with different adjacency relationships. The electrical interfaces are primarily used to transmit power, data, and instructions. The control unit, which serves as the unified control unit within the light block, can determine whether each structural edge is connected by detecting the input and output status of the electrical interfaces corresponding to each structural edge within the light block. It identifies structural edges that are connected to other light blocks as connected edges and structural edges that are not connected to other light blocks as unconnected edges. For a connected edge, its connection interface is effectively the output or input interface of a light-emitting unit within that edge. Therefore, by detecting the connection status of each connection interface, especially the electrical interface, it is possible to determine whether the light block is connected to other light blocks.

[0041] Each light block in a spliced ​​luminaire can establish a communication connection with the controller by following the same data communication protocol. The controller is generally connected to one or more primary light blocks, and other light blocks are then sequentially connected to previously connected light blocks. The same light block can be connected to multiple other light blocks through its multiple structural edges, thereby expanding into multiple branches. Similarly, it is not difficult to understand that the connection relationship of the entire array can form a tree-like connection topology. Starting from the first light block of the controller, with this first light block as the root node in the tree topology, reaching each leaf node in the tree topology can be considered the same branch chain. The controller can support the construction of multiple such branch chains on demand. Instructions and data issued by the controller travel down the branch chain to the control unit of each light block. Conversely, each light block can also upload its own data and instructions to the controller along the branch chain. Generally speaking, each light block in a branch chain processes its own instructions and data according to a standardized data communication protocol, while also transmitting information to other upper and lower level light blocks through the branch chain. It is not difficult to understand that by identifying the connected edges and unconnected edges of each light block in the same branch chain to determine the connection position of the corresponding light block, and then combining the hierarchical order of the light block in the entire branch chain to determine the sequential position of the light block in the entire branch chain, the surface array pattern of the entire branch chain can be identified, which corresponds to the splicing shape of the entire branch chain. Similarly, when there are multiple branch chains, the surface array patterns of multiple branch chains constitute the entire surface array pattern of the entire spliced ​​lamp, corresponding to the splicing shape of the entire spliced ​​lamp.

[0042] For example, Figure 1 is a spliced ​​lamp composed of multiple lamp blocks 1 with regular hexagonal structures, wherein each lamp block 1 includes multiple light-emitting units, which are distributed in each diamond block of the regular hexagonal structure, each structural edge and / or the structural edge between each diamond block. Accordingly, different granularity of light-emitting control can be implemented for each lamp block 1. For example, each diamond area, each structural edge or individual light-emitting unit therein can be controlled separately, or all light-emitting units in the lamp block 1 can be controlled as a whole.

[0043] The controller 2 in the tiled luminaire typically includes a control chip and communication components. It controls the entire tiled luminaire and is responsible for internal and external communications. These include collecting connection status information for each light block, transmitting timing control data to each light block, and communicating with external devices for functions such as installation, testing, and lighting effects. The external device communicating with the controller can be any terminal device, such as a mobile phone, tablet computer, personal computer, or remote control, running an application suitable for communicating with the controller to implement various functions.

[0044] The control chip in the controller, the control chip that plays a unified control role in the light block control unit, the control chip used by each light-emitting unit in the light block, etc., can all be implemented using various embedded chips, such as Bluetooth SoC (System on Chip) with built-in communication components, WiFi SoC, etc., MCU (Micro Controller Unit, microcontroller), DSP (Digital Signal Processing, digital signal processing) and other chips that are also configured with communication components. The control chip usually includes a central processing unit and a memory, which is mainly used to store and execute program instructions to achieve corresponding functions. The communication component can be used to communicate with external devices wirelessly or wired. For example, the control chip in the controller can communicate with various smart terminal devices such as personal computers and smart phones, so that users can transmit lighting effect application packages to the spliced ​​lamps through the terminal devices to generate timing control data corresponding to the lighting effects and transmit them to the various light blocks in the spliced ​​lamps.

[0045] After the control chip receives the lighting effect application package through the communication component, it can be parsed into timing control data for controlling each light-emitting unit of the spliced ​​lamp, and output to each light block 1 to control the corresponding light-emitting units in each light block 1 to play the lighting effect in coordination.

[0046] In some embodiments, the controller 2 can also be configured with a power adapter, a control panel, a display, and other components as needed. The power adapter primarily converts AC power to DC power to power the entire tiled luminaire. The control panel typically provides one or more buttons for controlling the controller 2 on and off. The display can be used to display various control information, cooperating with the buttons on the control panel to support human-computer interaction. In some embodiments, the control panel and the display can be integrated into the same touchscreen display.

[0047] The lighting effect signal generation and playback method of the present application can distinguish the steps corresponding to the controller and the light block, and implement them as corresponding computer program products, which are installed and run in the control chip of the controller of the spliced ​​lamp and the control chip of the light block respectively. The controller controls each light block to collaboratively play the corresponding lighting effect according to the lighting effect application package.

[0048] Referring to FIG. 2 , in one embodiment, the lighting effect signal generation method of the present application includes:

[0049] Step S5100: Obtain a lighting effect application package, which includes lighting effect control parameters corresponding to multiple layers. The lighting effect control parameters describe the lighting effects of the corresponding layers in a tree-like multi-level data structure.

[0050] The lighting effect application package is mainly used to define the lighting effect control parameters corresponding to one or more layers of lighting effects. Through the lighting effect control parameters, the lighting effects played by the spliced ​​lamps are described. This application can convert the lighting effect application package into the timing control data corresponding to each light block in the spliced ​​lamp.

[0051] Lighting effect application packages can be transmitted from a terminal device to the controller, which then stores them in local memory. Alternatively, a stored lighting effect application package can be directly called from memory. The package can be retrieved and parsed to obtain the lighting effect control parameters corresponding to the lighting effect, such as layer information for specifying a layer, region information for specifying the light-emitting area of ​​a light block, and lighting effect information for specifying that the light-emitting units within the corresponding light-emitting area emit light according to specific parameters.

[0052] The lighting effect application package of the present application can use a method of representing computer program objects to describe the lighting effect control parameters of all layers of the lighting effect as a class, thereby realizing the description of the lighting effect control parameters corresponding to each layer in a tree-like multi-level data structure of the class. Representing the lighting effect application package in this way can be combined with computer programming to reflect the advantages of the data structure, and facilitate the efficient generation and calling of various attribute items and their attribute values ​​in the class during programming. According to this structure, layer information, area information, lighting effect information, etc. can all be represented as attribute data corresponding to the second, third, or more levels in the multi-level data structure. The various complex attribute items of the lighting effect are sorted out in a tree-like multi-level data structure, which not only realizes the efficient organization of the lighting effect control parameters, but also facilitates the efficient presentation of the interface to improve the user's editing efficiency.

[0053] Step S5200: Convert the lighting effect control parameters of each layer into timing control data according to the topological order relationship represented by the light unit mapping table corresponding to the spliced ​​lamp; the topological order relationship represents the topological relationship between the lamp blocks of the spliced ​​lamp, between the light-emitting areas within the lamp blocks, and between the light-emitting control chips of each light-emitting area;

[0054] When controlling the spliced ​​lamps to play lighting effects, the present application needs to provide specific control data to each light-emitting unit in each light block to control how it emits light. That is to say, the present application will control the lighting effects specifically to the control granularity with the light-emitting unit as the basic unit, but the original topology information corresponding to the topological sequence relationship of the spliced ​​lamps itself is represented by a multi-level connection relationship, which will lead to the problem of how to achieve efficient data conversion. To this end, the present application creates a light-emitting unit mapping table for the spliced ​​lamps to convert lighting effects through a controller, and realizes a two-dimensional conversion representation of the topological sequence relationship of the splicing information of the spliced ​​lamps through the light-emitting unit mapping table, which is used to store the topological sequence relationship corresponding to each light-emitting unit.

[0055] Specifically, in order to facilitate the conversion of the lighting effect control parameters of each layer in the lighting effect application package into corresponding timing control data, the controller of the spliced ​​lamp can set a light-emitting unit mapping table in advance. The light-emitting unit mapping table represents the topological relationship between the various light blocks in the spliced ​​lamp, the various light-emitting areas of each light block, and the light-emitting control chips of each light-emitting unit in each light-emitting area, and obtains the overall topological sequence relationship. The lighting effect control parameters are converted according to this topological sequence relationship, and the timing control data after the conversion of the lighting effect control parameters can be quickly obtained.

[0056] In the light-emitting unit mapping table, a corresponding data record is set for each light-emitting unit in the spliced ​​lamp. In an exemplary embodiment, in this data record, the identity identifier, sorting identifier, light-emitting area to which it belongs, light block to which it belongs, sorting position of the light block in the branch chain and other fields of the light-emitting unit are represented in the form of attribute data. Of course, in other embodiments, other fields such as sorting identifier of the light-emitting area can also be added, and can be flexibly set as needed. In short, it is not difficult to understand from this example that the light-emitting unit mapping table converts the complex multi-level connection relationship represented by the spliced ​​lamp in the topology information into a more intuitive two-dimensional data record. Each data record corresponds to a light-emitting unit in a light block in the spliced ​​lamp, realizing data representation with the light-emitting unit as the control granularity, which is convenient for further data conversion later.

[0057] In one embodiment, for each data record in the light-emitting unit mapping table, multiple fields can be sorted as needed according to the data communication sequence from the controller to the control chip of each light block, each area, and each light-emitting unit, so that all light-emitting units can be arranged in the order of the signal serial in the spliced ​​lamp, so that the control data corresponding to each light-emitting unit can be assembled directly according to this sorting relationship to generate timing control data sent to each light block, thereby achieving a more efficient conversion effect.

[0058] Once a light unit mapping table is created, it can be reused. Therefore, the controller can store the light unit mapping table in its memory for future use. If the connection between light blocks in a tiled luminaire changes, a new light unit mapping table can be regenerated. Otherwise, if only a new lighting effect application package is being applied, the original light unit mapping table can be directly used.

[0059] In one embodiment, the region information in the lighting effect application package typically only needs to define the corresponding light-emitting area for each light block, and generally does not need to specify the specific light-emitting units. The controller, using the mapping relationship between light-emitting areas and light-emitting units in a pre-built light-emitting unit mapping table, can quickly determine the light-emitting units of each light block corresponding to the effective light-emitting area specified by each region information.

[0060] For the various lighting effect control parameters of each of the above layers, they can be converted into control data corresponding to each light-emitting unit in each light block in the spliced ​​lamp, and associated with the corresponding data records in the light-emitting unit mapping table, so as to obtain a corresponding unit instruction table for each layer.

[0061] For example, the layer information in the lighting effect control parameters mainly indicates the relative playback relationship between each layer, such as the layers are played in sequence, some layers are played synchronously, etc. Corresponding to the time domain, the layer information of this layer specifies the playback timing and / or playback duration of this layer. Therefore, the layer information also specifies the playback timing and / or playback duration of each light-emitting unit of the spliced ​​lamp under this layer. Based on this, the corresponding light-emitting timing information of each light-emitting unit in the light-emitting unit mapping table can be set accordingly according to the layer information.

[0062] As for the area information in the lighting effect control parameters, it mainly indicates which light-emitting area or areas in each light block in this layer are responsible for emitting light or not. It is usually determined by specifying the effective light-emitting area in the light block. Based on this, whether the light-emitting area corresponding to each light-emitting unit in the light-emitting unit mapping table belongs to the effective light-emitting area, each light-emitting unit can be marked accordingly to indicate whether the corresponding light-emitting unit is working or not, or whether the corresponding light-emitting unit emits light in the default manner or according to the specified lighting effect information.

[0063] As for the lighting effect information in the lighting effect control parameters, it mainly indicates how the effective light-emitting areas of each light block within the entire array pattern of the spliced ​​lamps in this layer work together to emit light to present the corresponding motion effect, that is, to indicate the lighting effect motion process corresponding to this layer. Therefore, the lighting effect information usually includes motion parameters, luminous color parameters, luminous duration and other information, which can be provided on demand. These parameters specifically affect the light-emitting control of the lamp beads of each light-emitting unit. Therefore, it is necessary to determine the various specific parameters corresponding to each light-emitting unit according to the preset calculation business logic based on the lighting effect information, such as luminous timing information, luminous color information, and even luminous duration information, and associate these specific parameters with the corresponding light-emitting units in the light-emitting unit mapping table. As for the time parameters such as the luminous timing information and luminous duration information of the light-emitting unit, since they may be subject to the corresponding playback timing and / or playback duration of the layer to which they belong, they can also be determined in conjunction with the playback timing and / or playback duration of the layer to which they belong.

[0064] It can be seen that after the lighting effect control parameters of each layer are converted accordingly according to the above principles and associated with the corresponding light-emitting units in the light-emitting unit mapping table, the expansion of the light-emitting unit mapping table is actually realized, and the unit instruction table corresponding to each layer is obtained. Each unit instruction table contains the distribution information of the light-emitting unit in the hardware structure, the timing information of the light-emitting unit in the electrical control structure, and the attribute information corresponding to the light-emitting unit, etc. All data related to the operation of each light-emitting unit are expanded into one-dimensional data in the data record, and all lighting effect control parameters corresponding to the entire layer are also expanded into two-dimensional data represented by the data records corresponding to each light-emitting unit in the unit instruction table. It can be seen that this representation is convenient, intuitive and efficient, and is more convenient for corresponding conversion, which can improve the conversion efficiency of converting the lighting effect control parameters in the lighting effect application package into the corresponding timing control data.

[0065] After the above process, it is not difficult to understand that each layer in the lighting effect application package can obtain a corresponding unit instruction table. In this unit instruction table, each data record represents the control data required for each light-emitting unit in the entire spliced ​​lamp to perform light control. The data of each field in each data record can be constructed into the control data. Based on this, the control data of each light-emitting unit is used as a basic unit. According to the light-emitting timing information of each light block, the corresponding light-emitting area of ​​each light block, and the corresponding light-emitting timing information of each light-emitting unit in each light-emitting area, they are spliced ​​together in order to obtain the timing control data corresponding to this layer. From the perspective of the light-emitting unit, this timing control data is a one-dimensional serialized data structure, and this data structure uses the light-emitting unit as the basic control granularity.

[0066] Of course, in other embodiments, as long as the control chip of the controller and the light-emitting control chip of the light-emitting unit can recognize each other's agreement, the timing control data can also be represented as a non-serialized data structure. For example, only the corresponding addressing information and its corresponding control data are provided for the light-emitting units that need to change relative to the previous frame. This can compress the overall data transmission volume when the controller plays multiple frames of lighting effects.

[0067] Step S5300: output the timing control data to each light block of the spliced ​​lamp to control each light control chip inside each light block to generate a corresponding light control signal.

[0068] The timing control data corresponding to each layer obtained through the above process can be sent to each light block for application. When the timing control data is sent to each light block in the branch chain, each light block can sequentially intercept the timing control data corresponding to itself to implement the light control of this light block. When this light block sends the intercepted timing control data corresponding to itself to each light-emitting unit, each light-emitting unit can also intercept the control data corresponding to itself to implement light control of its own lamp beads. The control chip of the light-emitting unit, that is, the light-emitting control chip, converts the corresponding control data into a light control signal to control the lamp beads in the light-emitting unit to emit light accordingly. Through this mechanism, the corresponding light-emitting units in the entire spliced ​​lamp can control the corresponding lamp beads to work together to emit light under the action of their own corresponding control data, presenting the corresponding lighting effects.

[0069] In one embodiment, for unit instruction tables corresponding to multiple layers, the controller can convert the corresponding timing control data for each layer in order and send it to each corresponding light block. In another embodiment, the unit instruction tables corresponding to all layers can be converted at once and sent to the corresponding light blocks. This is done as long as the control unit of each light block pre-implements the corresponding parsing and execution of the corresponding business logic.

[0070] In some embodiments, each timing control data can be compressed before being sent to the light block. For example, the control data of each light-emitting unit belonging to the same light block can be clustered and spliced ​​according to the light-emitting area or according to the light block, so that the control data of different light-emitting units share the same data, which can then be parsed by each light block. Alternatively, in other embodiments, the purpose of data compression can be achieved by using concise binary addresses to represent various area identifiers and identity identifiers, and using sorting relationships to represent timing relationships, etc. After compression, the number of bytes of all timing control data is reduced, and the control chips used by the control units of each light block and the control chips used by each light-emitting unit can use lower-cost embedded chips, thereby effectively reducing the cost of each light block and the entire spliced ​​lamp. Considering the fact that each light block has a large number of control chips, this obviously has huge cost advantages for large-scale production scenarios.

[0071] For a lighting effect application package, the controller of the spliced ​​lamp only needs to obtain the unit instruction table and corresponding timing control data for each layer according to the above process when it is first applied. It can then store the unit instruction table and corresponding timing control data for each layer for backup. Each subsequent time the default call is required at startup, or when the user instructs the controller to set the corresponding lighting effect of this lighting effect application package, the unit instruction table and / or timing control data are called from the memory to obtain the final timing control data that needs to be sent to each lamp block. There is no need to repeatedly execute steps S5100 and S5200 to generate the timing control data, thereby avoiding unnecessary recalculation.

[0072] According to the above embodiments, it can be seen that the present application has many technical advantages, including but not limited to:

[0073] First, the present application first obtains the topological information representing the topological order relationship between each light block, each light-emitting area, and each light-emitting unit of the spliced ​​lamp. When it is necessary to parse and use the lighting effect application package, the topological information is first converted into two dimensions to obtain a light-emitting unit mapping table. In the light-emitting unit mapping table, the various light-emitting control information of each light-emitting unit is converted into an independent data record, which is convenient for configuring other light-effect control parameters of the light-emitting unit in units of data records, including light-emitting timing information and light-emitting color information, etc. Based on this, the other light-effect application parameters in the lighting effect application package are associated with each light-emitting unit, so that each layer, each light block, and each light-emitting unit can independently improve its control data to obtain the unit. Instruction table, the relationship between the orderly arranged light-emitting units is obtained in the unit instruction table. Finally, according to this relationship, the unit instruction table is further reduced in dimension to obtain the timing control data corresponding to the entire spliced ​​lamp. This timing control data uses the light-emitting unit as the control granularity to express the various control data when each light-emitting unit executes the lighting effect. Since the corresponding control data of multiple light-emitting units in the timing control data are basically isomorphic, it has the ability to be easily and efficiently compressed. The data volume of the timing control data after compression on demand is low and the transmission is efficient. Moreover, since it corresponds one-to-one with the light-emitting units of the lamp block in the actual product, it can ensure the accurate playback of the lighting effect and improve the product reliability of the spliced ​​lamp.

[0074] Secondly, based on the fact that this application can realize the efficient conversion of lighting effect application packages to timing control instructions, for the terminal device side of customized lighting effects, various lighting effects can be edited according to natural language logic, and the user experience is good. On the spliced ​​lighting fixture side, due to the efficient conversion and parsing mechanism, the user-customized lighting effects can be quickly understood and applied, which improves the efficiency of lighting effect execution and undoubtedly enriches the playability of the product.

[0075] Furthermore, spliced ​​lighting is currently in the development and promotion phase of the industry. The greater the convenience of applying lighting effects, the more beneficial it is to the industry's promotion and the more optimistic its economic prospects. This application improves the convenience and reliability of lighting effect customization by providing a lighting effect conversion mechanism, thus improving the functionality of spliced ​​lighting products and naturally anticipating greater economies of scale.

[0076] Based on any embodiment of the method of the present application, refer to FIG3 to obtain a lighting effect application package, including:

[0077] Step S5110: responding to the query instruction of the terminal device to obtain the topology information of the spliced ​​lamps, identifying the topology information corresponding to the topological relationship formed by each lamp block;

[0078] The controller of the tiled luminaire can be controlled by a terminal device and respond to query commands issued by the terminal device to obtain topology information corresponding to the topological relationship formed by the various light blocks of the tiled luminaire. In one embodiment, after the tiled luminaire is completed and initially powered on, the controller of the tiled luminaire can execute the business logic for obtaining topology information by default, thereby driving the controller to identify and obtain topology information corresponding to the topological relationship between the various light blocks.

[0079] Tiled luminaires are typically installed within the facade of a physical space, with the user individually assembling the individual light blocks and connecting them to a controller. Once the luminaire is installed, topological information corresponding to the array pattern formed by each block can be retrieved.

[0080] The topological information of the spliced ​​lamps mainly indicates the topological sequence relationship between the lamp blocks organized according to the multi-level connection relationship in terms of content, so as to provide the corresponding connection positions and connection sequences between the lamp blocks, which can be regarded as the hierarchical sequence, as well as the light-emitting areas and corresponding sequence identifiers distributed by the light-emitting control chips of each light-emitting unit in each lamp block. Since the light-emitting areas are mainly used to partition the light-emitting units of the lamp blocks, this topological sequence relationship also indicates the multi-level connection relationship between the light blocks of the spliced ​​lamps, the light-emitting areas within the lamp blocks, and the light-emitting control chips of each light-emitting unit in each light-emitting area, that is, it describes the network topology of all light-emitting units of all lamp blocks in the entire spliced ​​lamp.

[0081] In some embodiments, the topology information may only include the lamp body shape of the lamp block. The controller pre-stores mapping relationship data between the light-emitting areas corresponding to various lamp body shapes and the light-emitting control chips of the light-emitting units arranged in each light-emitting area. When the lamp body shape of a certain lamp block is determined from the topology information, the mapping relationship data can be called and used as the basis for constructing the mapping relationship between each light-emitting unit and the light-emitting area in the light-emitting unit mapping table in the subsequent steps of this application.

[0082] The topology information of the spliced ​​lamps can be represented as a text file, a style file such as an XML file, or a message structure, etc., which can be flexibly implemented to facilitate the corresponding tree-like multi-level structure composed of the network topology describing the light-emitting units.

[0083] The specific parameters used to define the topological order relationship in the spliced ​​luminaire can be flexibly set as needed. For example, in some embodiments, the light-emitting area to which a light-emitting unit belongs can be defined as the attribute data of the light-emitting unit; in other embodiments, each light-emitting area can be defined as an independent object, and the corresponding light-emitting unit can be represented as the attribute data of the light-emitting area. Such examples do not affect the embodiment of the inventive spirit of this application and are not intended to be exhaustive.

[0084] Step S5120: Send the topology information to the terminal device so that the terminal device can define lighting effect control parameters corresponding to at least one layer;

[0085] After obtaining the topological information of the spliced ​​lamps, it can be sent to the terminal device. The terminal device parses the topological information according to the preset business logic to obtain the topological relationship between the light blocks. Based on this topological relationship, the corresponding plane composition is constructed in the graphical user interface. The plane composition is actually a graphical representation of the surface array pattern of the spliced ​​lamps.

[0086] Based on the plane composition, the terminal device can provide users with the function of customizing the lighting effect control parameters corresponding to one or more layers. Users can create layers by themselves and define various lighting effect control parameters for each layer, such as layer information, area information, lighting effect information, etc., and finally form the lighting effect control parameters corresponding to each layer in the entire lighting effect.

[0087] Step S5130: respond to the transmission instruction of the terminal device, and receive the lighting effect application package generated by the terminal device according to the topology information.

[0088] When the user completes editing the lighting effect, he can issue a lighting effect application instruction through the terminal device. The terminal device responds to the lighting effect application instruction and packages the lighting effect control parameters corresponding to each layer in the lighting effect into a lighting effect application package, and then issues a transmission instruction to the controller of the spliced ​​lamp. The controller responds to the transmission instruction and starts to receive the lighting effect application package, and stores the lighting effect application package in the local memory after receiving it completely.

[0089] According to the above embodiments, it can be seen that the topology information used to construct the light-emitting unit mapping table can also be synchronized to the terminal device for customizing the lighting effects. Since the light-emitting unit mapping table and the lighting effect control parameters generated by the user-customized lighting effects are generated based on the same topology information, the two correspond accurately. Subsequently, the lighting effect control parameters in the lighting effect application package are converted according to the light-emitting unit mapping table, which can realize the accurate application of the user-customized lighting effects.

[0090] Based on any embodiment of the method of the present application, referring to FIG. 4 , topology information corresponding to the topological relationship formed by each light block is identified, including:

[0091] Step S5111: broadcast an initialization instruction to each lamp block of the spliced ​​lamp;

[0092] In order to obtain the topology information of each light block of the spliced ​​lamp, the controller can broadcast an initialization instruction to each light block, and use this initialization instruction to drive each light block to perform self-test, so as to return the connection information of each light block to the controller.

[0093] Step S5112: Each light block responds to the initialization instruction and queries the connection status of each connection interface thereof, where the connection interface is provided in the light emitting area of ​​the light block;

[0094] For any lamp block that has been electrically connected to the controller, after its control chip, which plays a unified control role, receives the initialization instruction sent by the controller, it can detect the connection status of the connection interface corresponding to each structural edge of the lamp block through the I / O port of its control chip in response to the instruction. The connection status mainly includes input status, output status, and power-off status. The input status indicates that in the branch chain, the lamp block belongs to the lower-level lamp block of another lamp block; the output status indicates that in the branch chain, the lamp block belongs to the upper-level lamp block of another lamp block; the power-off status indicates that the connection interface of the corresponding structural edge is not connected. It should be pointed out that the structural edge exemplified here is essentially also an independently controllable light-emitting area.

[0095] Step S5113: Each light block generates its own connection information representing the topological order relationship between each light-emitting unit in each light-emitting area of ​​the light block;

[0096] Through the above detection process, the control chip of each light block obtains the connection status of each connection interface and can then identify connected and unconnected edges within each structural edge. To accommodate the need for back-transmitting connection status, one embodiment generates its own connection information based solely on the connection status of connected edges. In other alternative embodiments, of course, the data corresponding to the connection status of both connected and unconnected edges can be used to generate the light block's own connection information. In either case, the controller can perform corresponding identification.

[0097] It should be pointed out that since the connection edges correspond to the light-emitting areas, the connection relationship between the light-emitting areas is also defined through the connection edges in the self-connection information of this lamp block. Therefore, in fact, the electrical structure information of the lamp block itself is also given in the self-connection information of the lamp block, that is, the connection relationship information between each light-emitting unit in each light-emitting area inside the lamp block.

[0098] Step S5114: Each light block sequentially splices the data packets of the lower-level light blocks received from the connection interface whose connection status is output status with the connection information of the light block itself to form the data packets of the current light block, and sends them to the upper-level light block connected to the connection interface whose connection status is input status. The top-level light block outputs the data packets generated by it as the topology information of the spliced ​​lamp.

[0099] In order to ensure that each light block in each branch chain follows the standardized data communication protocol to effectively transmit the self-connection information of each light block back to the controller, each light block can upload its own connection information along the branch chain according to the uniformly set business logic. Specifically, for this light block, the self-connection information of its subordinate light blocks is encapsulated into a data packet and uploaded to this light block along the branch chain. After this light block generates its own connection information and obtains the entire data packet uploaded by the subordinate light block, it also obtains the self-connection information of this light block and its each subordinate light block. In order to represent the hierarchical order of this light block in the branch chain, the control chip of this light block merges the self-connection information of this light block with the data packets of each subordinate light block in a certain order to form a new data packet. Of course, the merging is carried out in accordance with the preset protocol format to effectively represent the hierarchical order of this light block in the new data packet. Then, this light block can further move the new data packet up along the branch chain and pass it to the upper light block. Each light block operates according to this business logic. Similarly, the top-level light block is the first light block directly connected to the controller. This first light block transmits the final data packet it generates to the controller, allowing the controller to obtain its own connection information for all light blocks in the branch chain. The data packet submitted by the top-level light block to the controller, because it already represents the multi-level connection sequence between each light block, each light-emitting area, and each light-emitting unit in the branch chain through a specific data structure, can be regarded as the topology information of this application.

[0100] After the controller obtains the topology information returned by all the light blocks, it adapts to the hierarchical order represented when returning the connection information of each light block, and determines the hierarchical order of each light block accordingly. In this way, the hierarchical order relationship information of objects such as each branch chain in the entire spliced ​​lamp, each light block and its light-emitting area in each branch chain, and each light-emitting unit is obtained.

[0101] It is not difficult to understand that when there are multiple branch chains in the spliced ​​lamp, each branch chain can obtain its topology information in the same way, and the controller only needs to distinguish different branch chains and use the corresponding topology information.

[0102] According to the above embodiments, standardized production of lamp blocks can be achieved by implementing standardized business logic in each lamp block. Through the effect of this business logic at runtime, users can use any lamp blocks for splicing without differentiation, thereby splicing out the desired array pattern. Regardless of the shape of the array pattern, each lamp block in the spliced ​​lamp can accurately know, represent and transmit its own control structure information and its hierarchical order in the branch chain and other multi-level connection relationship information, so that the spliced ​​lamp can implement lighting effect conversion applications based on these connection relationship information.

[0103] Based on any embodiment of the method of the present application, referring to FIG5 , after the top-level lamp block outputs the obtained data packet as the topology information of the spliced ​​lamp, the method includes:

[0104] Step S5115: Parse the topology information to obtain the corresponding self-connection information of each light block in the topological order relationship, and extract the internal electrical structure information of the corresponding light block in each self-connection information, wherein the electrical structure information includes the identity identifier, sort identifier, and area identifier of the light-emitting area of ​​each light-emitting unit in the light block;

[0105] After the controller obtains the topological information of the spliced ​​lamps, it can perform corresponding analysis on them, thereby extracting the corresponding self-connection information of each lamp block. The self-connection information of the lamp block has already represented the electrical structure information corresponding to the connection relationship of each light-emitting unit covered by each light-emitting area inside the lamp block. In one embodiment, the electrical structure information includes the identity identification, sorting identification and area identification of the light-emitting area to which each light-emitting unit of the lamp block belongs. Therefore, the topological sequence relationship between each light-emitting area and each light-emitting unit in the lamp block can be obtained through the electrical structure information of the lamp block.

[0106] Step S5116: convert the electrical structure information of each light block into a two-dimensional data representation set in which the light-emitting unit is used as a data recording unit and the light-emitting unit is arranged in order according to the sequence identifier of the light-emitting unit in its corresponding light block;

[0107] A spliced ​​lamp is made up of multiple lamp blocks. The shapes of the lamp blocks may be different, and the electrical structure information of each lamp block may also be different. Therefore, for each lamp block, the electrical structure information of the lamp block can be used to construct a two-dimensional data representation set corresponding to the lamp block required for the light-emitting unit mapping table. In the two-dimensional data representation set, the light-emitting units can be sorted according to the sorting identifier.

[0108] Specifically, for each lamp block, various information in the electrical structure information of the lamp block, such as the identity identification, sorting identification, and area identification of the light-emitting area to which each light-emitting unit belongs, are expanded into data records corresponding to each light-emitting unit. In addition, a field indicating the lamp block identification of the lamp block to which it belongs can be further expanded for each data record, thereby obtaining a data record corresponding to each light-emitting unit in the lamp block. All data records corresponding to all light-emitting units of the lamp block constitute a two-dimensional data representation set of the lamp block.

[0109] Step S5117: Add the two-dimensional data representation set corresponding to each light block to the light unit mapping table in order according to the sorting position in the topological order relationship represented by the connection information of each light block.

[0110] After each light block obtains its two-dimensional data representation set, the two-dimensional data representation set of each light block can be added to the blank light-emitting unit mapping table in order according to the sorting position of each light block's own connection information in the topological order relationship represented by the topological information, that is, the hierarchical order of the light block in the entire branch chain, or understood as the arrival order when the controller transmits instructions or data downstream to the branch chain. In this way, in the light-emitting unit mapping table, the data records corresponding to all the light-emitting units in all the light blocks are obtained, and these data records are arranged in order, which is convenient for subsequent sequential splicing to obtain timing control data.

[0111] According to the above embodiments, it is not difficult to understand that the controller of the spliced ​​lamp can convert the topology information represented in any format into a standardized light-emitting unit mapping table through the analysis and application of the topology information, and can also realize the unification of the data recording format of the light-emitting units of lamp blocks with different lamp body shapes, and realize the conversion mapping of complex data structures to two-dimensional data structures, so that the complex hierarchical relationship of the light-emitting units of the entire spliced ​​lamp can be converted into a more intuitive two-dimensional data relationship in the light-emitting unit mapping table, which facilitates the implementation of more efficient access and editing operations, and helps to implement the rapid conversion of lighting effect application packages to timing control data.

[0112] Based on any embodiment of the method of the present application, referring to FIG. 6 , according to the topological order relationship represented by the light-emitting unit mapping table corresponding to the spliced ​​lamps, the lighting effect control parameters of each layer are converted into timing control data, including:

[0113] Step S5210: For each layer, generate a corresponding unit instruction table based on the light-emitting unit mapping table, so as to use each data record in the unit instruction table as control data of the corresponding light-emitting unit;

[0114] For each layer, the light-emitting unit mapping table can be used as a template to copy a unit instruction table. The unit instruction table adds several extended fields as needed relative to the light-emitting unit mapping table, which can be used to store data expanded according to the area information and lighting effect information. The data record corresponding to each light-emitting unit, compared with the partial data generated according to the topology information, has additional data expanded according to the lighting effect application package. By combining the two parts of data, the control data corresponding to each light-emitting unit is obtained.

[0115] Step S5220: For each layer, based on the valid light-emitting area specified in the area information in the lighting effect control parameters of the layer, calibrate the validity of each light-emitting unit in each light-emitting area in the unit instruction table of the layer as a corresponding extended field in the unit instruction table;

[0116] For each layer, the area information in its lighting effect control parameters specifies the effective light-emitting area of ​​each light block. Therefore, in its unit instruction table, one of the extended fields is used to calibrate the validity of each light-emitting area of ​​each light block. For example, if the light-emitting area to which a light-emitting unit belongs is a valid light-emitting area, the value of the extended field is represented as 1, otherwise it is represented as 0. When the subsequent light block receives the control data of the corresponding light-emitting area, it can understand the corresponding light-emitting area as not requiring light-emitting control, which actually plays a shielding role for the specific light-emitting area.

[0117] Step S5230: For each layer, determine the luminous color information and luminous timing information of each luminous unit in each luminous area in the unit instruction table of the layer according to the lighting effect information in the lighting effect control parameters of the layer, and use them as corresponding extended fields in the unit instruction table;

[0118] For each layer, no matter how the lighting effect information in its lighting effect control parameters is defined, the controller can convert the various data therein into the corresponding luminous color information and luminous timing information of each light-emitting unit through the corresponding preset business logic. Therefore, in the unit instruction table, corresponding extended fields are also set to store the corresponding luminous color information and luminous timing information of each light-emitting unit.

[0119] The unit instruction table of each layer can be constructed and implemented according to the above process. The extended fields required by each unit instruction table can also be flexibly set according to actual business needs without affecting the embodiment of the creative spirit of this application.

[0120] Step S5240: Convert the unit instruction table of each layer into timing control data with the light control chip in the light emitting unit as the control granularity.

[0121] Each unit instruction table converted by the controller contains data records that indicate the various data required for the corresponding light-emitting unit to implement light control. At the same time, the data records indicate their sequential addresses in the electrical control structure of the spliced ​​lamp through the light-emitting area and light block to which they belong. In this case, the data set composed of the data in each field of each data record actually becomes the control data used to control whether the corresponding light-emitting unit is working or not. Since the order of each data record in the unit instruction table has been pre-sorted according to the connection relationship information represented by the topology information, it is only necessary to sequentially splice the control data composed of each data record together to obtain the timing control data corresponding to the entire unit instruction table, that is, the timing control data of the corresponding layer. This timing control data is naturally based on the light-emitting unit as the control granularity, and since the corresponding light color information and light timing information have been added in advance through the extended field, it is complete lighting effect control data.

[0122] According to the above embodiments, it can be understood that after the controller generates the light-emitting unit mapping table, when the lighting effect application package is used subsequently, the lighting effect control parameters provided in the lamp bead application package can be mapped to the light-emitting unit mapping table based on the light-emitting unit mapping table with the light-emitting unit as the basic granularity, and the unit instruction table of each layer can be quickly obtained. The unit instruction table can then be directly converted into the corresponding timing control data, realizing a fast conversion from the lighting effect definition to the instruction definition, decoupling the lighting effect definition from the instruction execution, improving the customization and parsing execution efficiency of the lighting effect application package, and realizing a standardized conversion mechanism for the lighting effect application package, which is conducive to the industrial promotion of spliced ​​lamps.

[0123] Based on any embodiment of the method of the present application, referring to FIG. 7 , outputting the timing control data to each lamp block of the spliced ​​lamp includes:

[0124] Step S5310: Obtain layer information in the lighting effect control parameters of each layer in the lighting effect application package, and adjust the transmission order of the timing control data of each layer according to the priority order defined in the layer information of each layer;

[0125] When the lighting effect application package defines lighting effect control parameters for multiple layers, the layer information of the corresponding layer is usually defined in the lighting effect control parameters of each layer. As mentioned above, the layer information mainly limits the priority order of this layer. According to the priority order of this layer, the timing control data corresponding to each unit instruction table can be sorted and processed using the business logic preset by the controller, so as to obtain the final timing control data spliced ​​together from the timing control data of all layers. In this timing control data, the transmission order of each layer has been adjusted and set according to the priority order of each layer.

[0126] Step S5320: compress the timing control data of each layer whose transmission order has been adjusted.

[0127] For the timing control data of each layer whose transmission order has been adjusted, data compression can be performed separately, and the data compression method can flexibly adopt various feasible methods. In an exemplary embodiment, considering that some light-emitting areas of the light block in the unit instruction table are marked as non-valid light-emitting areas, these non-valid light-emitting areas can be directly represented as special identifiers, such as "0000", to save their bytes; considering that the light blocks of the same lamp body shape have the same light-emitting area and light-emitting unit topology, this relationship can be used to represent the sorting relationship of different light-emitting units according to the sequential relationship in the timing control data, thereby saving bytes used to represent the sorting identifier of the light-emitting unit. As long as the number of bytes of the timing control data can be saved, it can be adopted.

[0128] Step S5330: Transmit the compressed timing control data of each layer to the corresponding light blocks of the spliced ​​light fixture according to the transmission order.

[0129] After the data compression of the timing control data corresponding to all layers is completed, the compressed timing control data can be transmitted to each light block in the spliced ​​lamp in accordance with the transmission order. Each light block can obtain its own corresponding timing control data from the timing control data of each layer it has received successively for application.

[0130] According to the above embodiments, it can be seen that in a multi-layer scenario, it is only necessary to use the layer information in the lighting effect application package to sequentially adjust the timing control data of each layer, so that all light blocks can be controlled in an orderly manner to coordinate the playback of multi-layer lighting effects. Since the timing control data of each layer has been quickly converted through the unit instruction table and compressed, the introduction of layer information will not cause a large change in the amount of calculation. It is still relatively efficient as a whole, but it can achieve the playback of complex lighting effects. Since the compressed data has the characteristic of fewer bytes, the large number of control chips used in the light blocks can also use lower-cost embedded control chips, so it will inevitably contribute to the overall industrial promotion of spliced ​​lamps.

[0131] Based on any embodiment of the method of the present application, referring to FIG8 , after the timing control data is output to each lamp block of the spliced ​​lamp, the method includes:

[0132] Step S6100: The control unit of the current light block receives the timing control data, parses and intercepts the timing control data belonging to the current light block and obtains the timing control data of each subsequent light block;

[0133] For each light block, when its control unit receives the timing control data transmitted by the controller through the upper-level light block of the light block, it will first parse and intercept the part of the timing control data corresponding to itself according to the business logic pre-agreed with the controller, that is, the timing control data belonging to this light block, and use the remaining part of the timing control data as the timing control data of the subsequent light blocks.

[0134] Step S6200: the control unit transmits the timing control data of each subsequent light block to the lower-level light block output by the connection interface of the light block;

[0135] For the timing control data of subsequent light blocks, the control unit of this light block forwards the data to other lower-level light blocks through the connection interface whose internal connection state is output state, so that the lower-level light blocks can process the timing control data they receive according to the same business logic as this light block.

[0136] Step S6300: The control unit converts the timing control data of the lamp block into control data corresponding to each light-emitting control chip in the lamp block, and sends it to each light-emitting control chip to control the corresponding light-emitting control chip to generate a light-emitting control signal corresponding to the control data, and use the light-emitting signal to control the operation of the corresponding light-emitting element.

[0137] The control unit of this light block further converts the timing control data belonging to the light block into control data corresponding to each light-emitting unit within the light block, and sends it to the light control chip of each light-emitting unit for reception. In one embodiment, if the timing control data is in an uncompressed data format, it can be sent directly to each light-emitting unit, and the control data corresponding to the unit can be intercepted and applied. In another embodiment, if the timing control data is pre-compressed, the control unit can parse and convert it before sending it to each light-emitting unit.

[0138] After receiving the timing control data, the light control chip in each light unit extracts its own control data and generates a corresponding light control signal based on this control data. This light control signal drives the light beads in that light unit to emit light according to the color and timing information in the control data. Each light unit implements light control according to this mechanism, creating a coordinated lighting effect.

[0139] According to the above embodiments, it can be seen that under the action of the timing control data implemented in the present application based on the light-emitting unit mapping table, each light block can standardize the analysis and execution of the timing control data, drive the corresponding light-emitting unit to work through the timing control data, and coordinate the playback of the lighting effects defined by the lighting effect application package. It can be seen that even in the face of a complex architecture with multiple layers, multiple light blocks, multiple light-emitting areas, and multiple light-emitting units, the lighting effects can still be effectively played, making the spliced ​​lamps more practical and easier to promote.

[0140] To sum up, this application provides a data conversion basis for the lighting effect control parameters of each layer through the light-emitting unit mapping table, converts the complex lighting effect control parameters of multiple layers into timing control data, standardizes the analysis and application of lighting effects of spliced ​​lamps, reduces the difficulty of writing lighting effect application packages, improves the efficiency of lighting effect analysis and playback, improves user experience, and contributes to the industrial promotion of spliced ​​lamps.

[0141] The lighting effect playback method of the present application can distinguish the steps corresponding to the controller and the light block, and implement them as corresponding computer program products, which are installed and run in the control chip of the controller of the spliced ​​lamp and the control chip of the light block respectively. The controller controls each light block to collaboratively play the corresponding lighting effect according to the lighting effect application package.

[0142] The present application also provides a lighting effect playback method. Referring to FIG9 , in one embodiment, the lighting effect playback method of the present application includes:

[0143] Step S7100: Acquire topology information of the spliced ​​lamp, wherein the topology information represents a topological sequence relationship of each lamp block of the spliced ​​lamp, each light-emitting area within the lamp block, and each light-emitting unit in each light-emitting area organized in a multi-level connection relationship;

[0144] Tiled luminaires are typically installed within the facade of a physical space, with the user individually assembling the individual light blocks and connecting them to a controller. Once the luminaire is installed, topological information corresponding to the array pattern formed by each block can be retrieved.

[0145] The acquisition of the topological information corresponding to the array pattern of the spliced ​​lamp can be implemented by executing the corresponding preset business logic through the controller of the current spliced ​​lamp. In one embodiment, after the spliced ​​lamp is formed, when it is first started, the controller of the spliced ​​lamp can execute the business logic of obtaining the topological information by default, or the user can drive the controller to obtain the topological information between each light block through the buttons provided by the terminal device or the controller. In another embodiment, the user can also first define the topological information corresponding to the array pattern of the entire spliced ​​lamp in the terminal device, and then send it to the controller. The topological information can be stored in the memory of the controller so that it can be directly called each time the lighting effect is played. That is to say, when obtaining the topological information, the controller can also call the topological information obtained and stored in advance. Therefore, in the same spliced ​​lamp, the controller only needs to obtain the topological information once, and the process of this application will be re-executed when and only when the splicing relationship of the light blocks of the spliced ​​lamp changes.

[0146] The topological information of the spliced ​​lamps mainly indicates the topological sequence relationship between the lamp blocks organized according to the multi-level connection relationship in terms of content, so as to provide the corresponding connection positions and connection sequences between the lamp blocks, which can be regarded as a sequence, as well as the luminous areas and corresponding sequence identifiers distributed among the light units in each lamp block. Since the luminous areas are mainly used to partition the light units of the lamp blocks, this topological sequence relationship also indicates the multi-level connection relationship between the light blocks of the spliced ​​lamps, the light-emitting areas within the lamp blocks, and the light-emitting units in each light-emitting area, that is, it describes the network topology of all the light units of all the lamp blocks of the entire spliced ​​lamps.

[0147] In some embodiments, the topology information may only include the lamp body shape of the lamp block. The controller pre-stores mapping relationship data between the light-emitting areas corresponding to various lamp body shapes and the light-emitting units arranged in each light-emitting area. When the lamp body shape of a certain lamp block is determined from the topology information, the mapping relationship data can be called and used as the basis for constructing the mapping relationship between each light-emitting unit and the light-emitting area in the light-emitting unit mapping table in the subsequent steps of this application.

[0148] The topology information of the spliced ​​lamps can be represented as a text file, a style file such as an XML file, or a message structure, etc., which can be flexibly implemented to facilitate the corresponding tree-like multi-level structure composed of the network topology describing the light-emitting units.

[0149] The specific parameters used to define the topological order relationship in the spliced ​​luminaire can be flexibly set as needed. For example, in some embodiments, the light-emitting area to which a light-emitting unit belongs can be defined as the attribute data of the light-emitting unit; in other embodiments, each light-emitting area can be defined as an independent object, and the corresponding light-emitting unit can be represented as the attribute data of the light-emitting area. Such examples do not affect the embodiment of the inventive spirit of this application and are not intended to be exhaustive.

[0150] Step S7200: Expand the topology information into a light-emitting unit mapping table with the light-emitting unit as the data recording unit, and represent the topology sequence relationship in the light-emitting unit mapping table;

[0151] When controlling the spliced ​​lamps to play lighting effects, the present application needs to provide specific control data to each light-emitting unit in each lamp block at the same time to control how it emits light. That is to say, the present application will control the lighting effects specifically to the control granularity with the light-emitting unit as the basic unit, but the topological information of the spliced ​​lamps itself is represented by a multi-level connection relationship, which will lead to the problem of how to achieve efficient data conversion. To this end, the present application creates a light-emitting unit mapping table for the spliced ​​lamps to convert lighting effects through a controller, and realizes a two-dimensional conversion representation of the topological sequence relationship of the splicing information of the spliced ​​lamps through the light-emitting unit mapping table, which is used to store the topological sequence information corresponding to each light-emitting unit.

[0152] In the light-emitting unit mapping table, a corresponding data record is set for each light-emitting unit in the spliced ​​lamp. In an exemplary embodiment, in this data record, the identity identifier, sorting identifier, light-emitting area to which it belongs, light block to which it belongs, sorting position of the light block in the branch chain and other fields of the light-emitting unit are represented in the form of attribute data. Of course, in other embodiments, other fields such as sorting identifier of the light-emitting area can also be added, and can be flexibly set as needed. In short, it is not difficult to understand from this example that the light-emitting unit mapping table converts the complex multi-level connection relationship represented by the spliced ​​lamp in the topology information into a more intuitive two-dimensional data record. Each data record corresponds to a light-emitting unit in a light block in the spliced ​​lamp, and realizes data representation with the control chip of the light-emitting unit as the control granularity, which is convenient for further data conversion later.

[0153] In one embodiment, for each data record in the light-emitting unit mapping table, multiple fields can be sorted as needed according to the data communication sequence from the controller to each light block, each area, and each light-emitting unit, so that all light-emitting units can be arranged in the order of the signal serials in the spliced ​​lamps, so that the control data corresponding to each light-emitting unit can be assembled directly according to this sorting relationship to generate timing control data sent to each light block, thereby achieving a more efficient conversion effect.

[0154] Once the light unit mapping table is established, it can be reused later. Therefore, the controller can store the light unit mapping table in its memory for future use. When the splicing relationship between the light blocks in the spliced ​​luminaire changes, steps S7100 and S7200 can be re-executed to regenerate a new light unit mapping table. Otherwise, if only a new lighting effect application package is applied, there is no need to re-execute steps S7100 and S7200. Instead, steps S7300 and S7400 can be executed each time a new lighting effect application package is applied.

[0155] Step S7300: Parse the lighting effect control parameters set for the layer in the lighting effect application package into control data corresponding to each light-emitting unit, associate the control data with corresponding data records in the light-emitting unit mapping table, and obtain a unit instruction table corresponding to the layer;

[0156] The lighting effect application package that needs to be converted into timing control data for each light block is mainly used to define the lighting effect control parameters corresponding to one or more layers of the lighting effect. The lighting effect control parameters are used to describe the lighting effects played by the spliced ​​lamps.

[0157] The lighting effect application package can be transmitted from the terminal device to the controller, and stored in the local memory by the controller. Of course, the stored lighting effect application package can also be called directly from the memory. You can first obtain this lighting effect application package, and then parse it to obtain the various lighting effect control parameters corresponding to the lighting effects defined therein, such as layer information corresponding to the specified layer, area information for specifying the luminous area of ​​the light block, and lighting effect information for specifying the luminous units in the corresponding luminous area to emit light according to specific parameters. In one embodiment, the area information of the lighting effect application package usually only needs to define the luminous area corresponding to each light block, and generally does not need to be specific to the designation of the luminous unit. In the controller, through the mapping relationship between the luminous area and the luminous unit in the pre-constructed luminous unit mapping table, the luminous unit of each light block corresponding to the effective luminous area specified by each area information can be quickly known.

[0158] For the various lighting effect control parameters of each of the above layers, they can be converted into control data corresponding to each light-emitting unit in each light block in the spliced ​​lamp, and associated with the corresponding data records in the light-emitting unit mapping table, so as to obtain a corresponding unit instruction table for each layer.

[0159] For example, the layer information in the lighting effect control parameters mainly indicates the relative playback relationship between each layer, such as the layers are played in sequence, some layers are played synchronously, etc. Corresponding to the time domain, the layer information of this layer specifies the playback timing and / or playback duration of this layer. Therefore, the layer information also specifies the playback timing and / or playback duration of each light-emitting unit of the spliced ​​lamp under this layer. Based on this, the corresponding light-emitting timing information of each light-emitting unit in the light-emitting unit mapping table can be set accordingly according to the layer information.

[0160] As for the area information in the lighting effect control parameters, it mainly indicates which light-emitting area or areas in each light block in this layer are responsible for emitting light or not. It is usually determined by specifying the effective light-emitting area in the light block. Based on this, whether the light-emitting area corresponding to each light-emitting unit in the light-emitting unit mapping table belongs to the effective light-emitting area, each light-emitting unit can be marked accordingly to indicate whether the corresponding light-emitting unit is working or not, or whether the corresponding light-emitting unit emits light in the default manner or according to the specified lighting effect information.

[0161] As for the lighting effect information in the lighting effect control parameters, it mainly indicates how the effective light-emitting areas of each light block within the entire array pattern of the spliced ​​lamps in this layer work together to emit light to present the corresponding motion effect, that is, to indicate the lighting effect motion process corresponding to this layer. Therefore, the lighting effect information usually includes motion parameters, luminous color parameters, luminous duration and other information, which can be provided on demand. These parameters specifically affect the light-emitting control of the lamp beads of each light-emitting unit. Therefore, it is necessary to determine the various specific parameters corresponding to each light-emitting unit according to the preset calculation business logic based on the lighting effect information, such as luminous timing information, luminous color information, and even luminous duration information, and associate these specific parameters with the corresponding light-emitting units in the light-emitting unit mapping table. As for the time parameters such as the luminous timing information and luminous duration information of the light-emitting unit, since they may be subject to the corresponding playback timing and / or playback duration of the layer to which they belong, they can also be determined in conjunction with the playback timing and / or playback duration of the layer to which they belong.

[0162] It can be seen that after the lighting effect control parameters of each layer are converted accordingly according to the above principles and associated with the corresponding light-emitting units in the light-emitting unit mapping table, the expansion of the light-emitting unit mapping table is actually realized, and the unit instruction table corresponding to each layer is obtained. Each unit instruction table contains the distribution information of the light-emitting unit in the hardware structure, the timing information of the light-emitting unit in the electrical control structure, and the attribute information corresponding to the light-emitting unit, etc. All data related to the operation of each light-emitting unit are expanded into one-dimensional data in the data record, and all lighting effect control parameters corresponding to the entire layer are also expanded into two-dimensional data represented by the data records corresponding to each light-emitting unit in the unit instruction table. It can be seen that this representation is very intuitive and efficient, and is more convenient for corresponding conversion, which can improve the conversion efficiency of converting the lighting effect control parameters in the lighting effect application package into the corresponding timing control data.

[0163] Step S7400: convert the unit instruction table into timing control data with the control chip of the light-emitting unit as the control granularity, and send it to each light block of the spliced ​​lamp to play the lighting effect.

[0164] After the above process, it is not difficult to understand that each layer in the lighting effect application package can get a corresponding unit instruction table. In this unit instruction table, each data record represents the control data required for each light-emitting unit in the entire spliced ​​lamp to perform light control. The data of each field in each data record can be constructed into the control data. Based on this, the control data of each light-emitting unit is taken as a basic unit. According to the light-emitting timing information of each light block, the corresponding light-emitting area of ​​each light block, and the corresponding light-emitting timing information of each light-emitting unit in each light-emitting area, they are spliced ​​together in order to obtain the timing control data corresponding to this layer. From the perspective of the light-emitting unit, this timing control The control data is a one-dimensional serialized data structure. This data structure uses the light-emitting unit as the basic control granularity. Therefore, when this timing control data is sent to each lamp block in the branch chain, each lamp block can sequentially intercept its own timing control data to implement the light-emitting control of the lamp block. When the lamp block sends the intercepted timing control data corresponding to itself to each light-emitting unit, each light-emitting unit can also intercept its own control data to implement light-emitting control of its own lamp beads. Through this mechanism, the corresponding light-emitting units in the entire spliced ​​lamp can control the corresponding lamp beads to work together to emit light under the action of their own corresponding control data, presenting the corresponding lighting effects.

[0165] In one embodiment, for unit instruction tables corresponding to multiple layers, the controller can convert the corresponding timing control data for each layer in order and send it to each corresponding light block. In another embodiment, the unit instruction tables corresponding to all layers can be converted at once and sent to the corresponding light blocks. This is done as long as the control unit of each light block pre-implements the corresponding parsing and execution of the corresponding business logic.

[0166] In some embodiments, each timing control data can be compressed. For example, the control data of each light-emitting unit belonging to the same lamp block can be clustered and spliced ​​according to the light-emitting area or according to the lamp block, so that the control data of different light-emitting units share the same data, which can then be parsed by each lamp block accordingly. In this way, the number of bytes of all timing control data can be compressed, and the control chips used by the control units of each lamp block and the control chips used by each light-emitting unit can use lower-cost embedded chips, thereby effectively reducing the cost of each lamp block and the entire spliced ​​lamp. Considering the fact that each lamp block has a large number of control chips, this obviously has huge cost advantages for large-scale production scenarios.

[0167] For a lighting effect application package, the controller of the spliced ​​lamp only needs to generate the unit instruction table and corresponding timing control data for each layer corresponding to the lighting effect application package by executing steps S7300 and S7400 when it is first applied. The unit instruction table and corresponding timing control data for each layer can be stored for backup. Each subsequent time the default call is required at startup, or when the user instructs the controller to set the lighting effect corresponding to this lighting effect application package, the unit instruction table and / or timing control data can be called from the memory to obtain the final timing control data that needs to be sent to each light block. There is no need to repeatedly execute steps S7300 and S7400 to generate the final timing control data, thereby avoiding unnecessary recalculation.

[0168] According to the above embodiments, it can be seen that the present application has many technical advantages, including but not limited to:

[0169] First, the present application obtains topological information representing the topological order relationship between each light block, each light-emitting area, and each light-emitting unit of the spliced ​​lamp. When it is necessary to parse and use the lighting effect application package, the topological information is first converted into two dimensions to obtain a light-emitting unit mapping table. In the light-emitting unit mapping table, various lighting control information of each light-emitting unit is converted into independent data records, which facilitates the configuration of other lighting effect control parameters of the light-emitting unit in units of data records, including lighting timing information and lighting color information. Based on this, other lighting effect application parameters in the lighting effect application package are associated with each light-emitting unit, so that each layer, each light block, and each light-emitting unit can independently improve its control data to obtain a unit instruction table. In the unit instruction table, the relationship between each light-emitting unit is obtained in an orderly manner. Finally, according to this relationship, the unit instruction table is further reduced in dimension to obtain the timing control data corresponding to the entire spliced ​​lamp. This timing control data represents the various control data when each light-emitting unit executes the lighting effect with the control chip of the light-emitting unit as the control granularity. The data volume is low and the transmission is efficient. Moreover, since it corresponds one-to-one with the light-emitting units of the light block in the actual product, it can ensure the accurate playback of the lighting effect and improve the product reliability of the spliced ​​lamp.

[0170] Secondly, based on the fact that this application can realize the efficient conversion of lighting effect application packages to timing control instructions, for the terminal device side of customized lighting effects, various lighting effects can be edited according to natural language logic, and the user experience is good. On the spliced ​​lighting fixture side, due to the efficient conversion and parsing mechanism, the user-customized lighting effects can be quickly understood and applied, which improves the efficiency of lighting effect execution and undoubtedly enriches the playability of the product.

[0171] Furthermore, spliced ​​lighting is currently in the development and promotion phase of the industry. The greater the convenience of applying lighting effects, the more beneficial it is to the industry's promotion and the more optimistic its economic prospects. This application improves the convenience and reliability of lighting effect customization by providing a lighting effect conversion mechanism, thus improving the functionality of spliced ​​lighting products and naturally anticipating greater economies of scale.

[0172] Based on any embodiment of the method of the present application, referring to FIG. 10 , obtaining topology information of the spliced ​​lamps includes:

[0173] Step S7110: broadcast an initialization instruction to each lamp block of the spliced ​​lamp;

[0174] In order to obtain the topology information of each light block of the spliced ​​lamp, the controller can broadcast an initialization instruction to each light block, and use this initialization instruction to drive each light block to perform self-test, so as to return the connection information of each light block to the controller.

[0175] Step S7120: Each light block responds to the initialization instruction and queries the connection status of each connection interface thereof, where the connection interface is provided in the light emitting area of ​​the light block;

[0176] For any lamp block that has been electrically connected to the controller, after its control chip, which plays a unified control role, receives the initialization instruction sent by the controller, it can detect the connection status of the connection interface corresponding to each structural edge of the lamp block through the I / O port of its control chip in response to the instruction. The connection status mainly includes input status, output status, and power-off status. The input status indicates that in the branch chain, the lamp block belongs to the lower-level lamp block of another lamp block; the output status indicates that in the branch chain, the lamp block belongs to the upper-level lamp block of another lamp block; the power-off status indicates that the connection interface of the corresponding structural edge is not connected. It should be pointed out that the structural edge exemplified here is essentially also an independently controllable light-emitting area.

[0177] Step S7130: Each light block generates its own connection information representing the topological order relationship between each light-emitting unit in each light-emitting area of ​​the light block;

[0178] Through the above detection process, the control chip of each light block obtains the connection status of each connection interface and can then identify connected and unconnected edges within each structural edge. To accommodate the need for back-transmitting connection status, one embodiment generates its own connection information based solely on the connection status of connected edges. In other alternative embodiments, of course, the data corresponding to the connection status of both connected and unconnected edges can be used to generate the light block's own connection information. In either case, the controller can perform corresponding identification.

[0179] It should be pointed out that since the connection edges correspond to the light-emitting areas, the connection relationship between the light-emitting areas is also defined through the connection edges in the self-connection information of this lamp block. Therefore, in fact, the electrical structure information of the lamp block itself is also given in the self-connection information of the lamp block, that is, the connection relationship information between each light-emitting unit in each light-emitting area inside the lamp block.

[0180] Step S7140: Each light block sequentially splices the data packets of the lower-level light blocks received from the connection interface whose connection status is output status with the connection information of the light block itself to form the data packets of the current light block, and sends them to the upper-level light block connected to the connection interface whose connection status is input status. The top-level light block outputs the data packets generated by it as the topology information of the spliced ​​lamp.

[0181] In order to ensure that each light block in each branch chain follows the standardized data communication protocol to effectively transmit the self-connection information of each light block back to the controller, each light block can upload its own connection information along the branch chain according to the uniformly set business logic. Specifically, for this light block, the self-connection information of its subordinate light blocks is encapsulated into a data packet and uploaded to this light block along the branch chain. After this light block generates its own connection information and obtains the entire data packet uploaded by the subordinate light block, it also obtains the self-connection information of this light block and its each subordinate light block. In order to represent the hierarchical order of this light block in the branch chain, the control chip of this light block merges the self-connection information of this light block with the data packets of each subordinate light block in a certain order to form a new data packet. Of course, the merging is carried out in accordance with the preset protocol format to effectively represent the hierarchical order of this light block in the new data packet. Then, this light block can further move the new data packet up along the branch chain and pass it to the upper light block. Each light block operates according to this business logic. Similarly, the top-level light block is the first light block directly connected to the controller. This first light block transmits the final data packet it generates to the controller, allowing the controller to obtain its own connection information for all light blocks in the branch chain. The data packet submitted by the top-level light block to the controller, because it already represents the multi-level connection sequence between each light block, each light-emitting area, and each light-emitting unit in the branch chain through a specific data structure, can be regarded as the topology information of this application.

[0182] After the controller obtains the topology information returned by all the light blocks, it adapts to the hierarchical order represented when returning the connection information of each light block, and determines the hierarchical order of each light block accordingly. In this way, the hierarchical order relationship information of objects such as each branch chain in the entire spliced ​​lamp, each light block and its light-emitting area in each branch chain, and each light-emitting unit is obtained.

[0183] It is not difficult to understand that when there are multiple branch chains in the spliced ​​lamp, each branch chain can obtain its topology information in the same way, and the controller only needs to distinguish different branch chains and use the corresponding topology information.

[0184] According to the above embodiments, standardized production of lamp blocks can be achieved by implementing standardized business logic in each lamp block. Through the effect of this business logic at runtime, users can use any lamp blocks for splicing without differentiation, thereby splicing out the desired array pattern. Regardless of the shape of the array pattern, each lamp block in the spliced ​​lamp can accurately know, represent and transmit its own control structure information and its hierarchical order in the branch chain and other multi-level connection relationship information, so that the spliced ​​lamp can implement lighting effect conversion applications based on these connection relationship information.

[0185] Based on any embodiment of the method of the present application, referring to FIG11 , the topology information is expanded into a light-emitting unit mapping table with the light-emitting unit as the data recording unit, including:

[0186] Step S7210: Parse the topology information to obtain the corresponding self-connection information of each light block in the topological order relationship, and extract the internal electrical structure information of the corresponding light block in each self-connection information, wherein the electrical structure information includes the identity identifier, sort identifier, and area identifier of the light-emitting area to which each light-emitting unit in the light block belongs;

[0187] After the controller obtains the topological information of the spliced ​​lamps, it can perform corresponding analysis on them, thereby extracting the corresponding self-connection information of each lamp block. The self-connection information of the lamp block has already represented the electrical structure information corresponding to the connection relationship of each light-emitting unit covered by each light-emitting area inside the lamp block. In one embodiment, the electrical structure information includes the identity identification, sorting identification and area identification of the light-emitting area to which each light-emitting unit of the lamp block belongs. Therefore, the topological sequence relationship between each light-emitting area and each light-emitting unit in the lamp block can be obtained through the electrical structure information of the lamp block.

[0188] Step S7220: convert the electrical structure information of each light block into a two-dimensional data representation set in which the light-emitting unit is used as a data recording unit and the light-emitting unit is arranged in order according to the ranking identifier of the light-emitting unit in its corresponding light block;

[0189] A spliced ​​lamp is made up of multiple lamp blocks. The shapes of the lamp blocks may be different, and the electrical structure information of each lamp block may also be different. Therefore, for each lamp block, the electrical structure information of the lamp block can be used to construct a two-dimensional data representation set corresponding to the lamp block required for the light-emitting unit mapping table. In the two-dimensional data representation set, the light-emitting units can be sorted according to the sorting identifier.

[0190] Specifically, for each lamp block, various information in the electrical structure information of the lamp block, such as the identity identification, sorting identification, and area identification of the light-emitting area to which each light-emitting unit belongs, are expanded into data records corresponding to each light-emitting unit. In addition, a field indicating the lamp block identification of the lamp block to which it belongs can be further expanded for each data record, thereby obtaining a data record corresponding to each light-emitting unit in the lamp block. All data records corresponding to all light-emitting units of the lamp block constitute a two-dimensional data representation set of the lamp block.

[0191] Step S7230: Add the two-dimensional data representation set corresponding to each light block to the light unit mapping table in order according to the sorting position in the topological order relationship represented by the connection information of each light block.

[0192] After each light block obtains its two-dimensional data representation set, the two-dimensional data representation set of each light block can be added to the blank light-emitting unit mapping table in order according to the sorting position of each light block's own connection information in the topological order relationship represented by the topological information, that is, the hierarchical order of the light block in the entire branch chain, or understood as the arrival order when the controller transmits instructions or data downstream to the branch chain. In this way, in the light-emitting unit mapping table, the data records corresponding to all the light-emitting units in all the light blocks are obtained, and these data records are arranged in order, which is convenient for subsequent sequential splicing to obtain timing control data.

[0193] According to the above embodiments, it is not difficult to understand that the controller of the spliced ​​lamp can convert the topology information represented in any format into a standardized light-emitting unit mapping table through the analysis and application of the topology information, and can also realize the unification of the data recording format of the light-emitting units of lamp blocks with different lamp body shapes, and realize the conversion mapping of complex data structures to two-dimensional data structures, so that the complex hierarchical relationship of the light-emitting units of the entire spliced ​​lamp can be converted into a more intuitive two-dimensional data relationship in the light-emitting unit mapping table, which facilitates the implementation of more efficient access and editing operations, and helps to implement the rapid conversion of lighting effect application packages to timing control data.

[0194] Based on any embodiment of the method of the present application, referring to FIG. 12 , the lighting effect control parameters set for the layer in the lighting effect application package are parsed into control data corresponding to each light-emitting unit, and the control data is associated with the corresponding data record in the light-emitting unit mapping table to obtain a unit instruction table corresponding to the layer, including:

[0195] Step S7310: Acquire and parse a lighting effect application package, where the lighting effect application package includes lighting effect control parameters corresponding to multiple layers, and the lighting effect control parameters include region information and lighting effect information.

[0196] As mentioned above, the lighting effect application package can be obtained by the controller from an external terminal device, or directly called from the memory, and the lighting effect application package contains lighting effect control parameters corresponding to multiple layers. For each layer, the area information and lighting effect information contained in its lighting effect control parameters can be used to construct its corresponding unit instruction table, and the control data of each light-emitting unit of the spliced ​​lamp is improved in the unit instruction table.

[0197] Step S7320: For each layer, generate a corresponding unit instruction table based on the light-emitting unit mapping table, so as to use each data record in the unit instruction table as control data of the corresponding light-emitting unit;

[0198] For each layer, the light-emitting unit mapping table can be used as a template to copy a unit instruction table. The unit instruction table adds several extended fields as needed relative to the light-emitting unit mapping table, which can be used to store data expanded according to the area information and lighting effect information. The data record corresponding to each light-emitting unit, compared with the partial data generated according to the topology information, has additional data expanded according to the lighting effect application package. By combining the two parts of data, the control data corresponding to each light-emitting unit is obtained.

[0199] Step S7330: For each layer, based on the valid light-emitting area specified in the area information in the lighting effect control parameters of the layer, calibrate the validity of each light-emitting unit in each light-emitting area in the unit instruction table of the layer as a corresponding extended field in the unit instruction table;

[0200] For each layer, the area information in its lighting effect control parameters specifies the effective light-emitting area of ​​each light block. Therefore, in its unit instruction table, one of the extended fields is used to calibrate the validity of each light-emitting area of ​​each light block. For example, if the light-emitting area to which a light-emitting unit belongs is a valid light-emitting area, the value of the extended field is represented as 1, otherwise it is represented as 0. When the subsequent light block receives the control data of the corresponding light-emitting area, it can understand the corresponding light-emitting area as not requiring light-emitting control, which actually plays a shielding role for the specific light-emitting area.

[0201] Step S7340: For each of the layers, determine the luminous color information and luminous timing information of each luminous unit in each luminous area in the unit instruction table of the layer according to the lighting effect information in the lighting effect control parameters of the layer, as the corresponding extended field in the unit instruction table.

[0202] For each layer, no matter how the lighting effect information in its lighting effect control parameters is defined, the controller can convert the various data therein into the corresponding luminous color information and luminous timing information of each light-emitting unit through the corresponding preset business logic. Therefore, in the unit instruction table, corresponding extended fields are also set to store the corresponding luminous color information and luminous timing information of each light-emitting unit.

[0203] The unit instruction table of each layer can be constructed and implemented according to the above process. The extended fields required by each unit instruction table can also be flexibly set according to actual business needs without affecting the embodiment of the creative spirit of this application.

[0204] According to the above embodiments, it can be understood that after the controller generates the light-emitting unit mapping table, when the lighting effect application package is used subsequently, the lighting effect control parameters provided in the lamp bead application package can be mapped to the light-emitting unit mapping table based on the light-emitting unit mapping table with the light-emitting unit as the basic granularity, and the unit instruction table of each layer can be quickly obtained, thereby realizing rapid conversion from lighting effect definition to instruction definition, decoupling the lighting effect definition from the instruction execution, improving the customization and parsing execution efficiency of the lighting effect application package, and realizing a standardized conversion mechanism for the lighting effect application package, which is conducive to the industrial promotion of spliced ​​lamps.

[0205] Based on any embodiment of the method of the present application, referring to FIG. 13 , the unit instruction table is converted into timing control data with the control chip of the light-emitting unit as the control granularity, and sent to each light block of the spliced ​​lamp to play the lighting effect, including:

[0206] Step S7411: Convert the unit instruction table corresponding to each layer in the lighting effect application package into corresponding timing control data. The timing control data uses the light-emitting unit represented by the data record in the unit instruction table as the control granularity, and marks the light-emitting color information and light-emitting timing information determined according to the lighting effect information in the lighting effect control parameters of the layer to which the light-emitting unit belongs;

[0207] Each unit instruction table converted by the controller contains data records that indicate the various data required for the corresponding light-emitting unit to implement light control. At the same time, the data records indicate their sequential addresses in the electrical control structure of the spliced ​​lamp through the light-emitting area and light block to which they belong. In this case, the data set composed of the data in each field of each data record actually becomes the control data used to control the operation or non-operation of the corresponding light-emitting unit. Since the order of each data record in the unit instruction table has been pre-sorted according to the connection relationship information represented by the topology information, the timing control data corresponding to the entire unit instruction table, that is, the timing control data of the corresponding layer, can be obtained by simply splicing the control data composed of each data record together in sequence. This timing control data is naturally based on the control granularity of the light-emitting unit's control chip, and since the corresponding light color information and light timing information have been added in advance through the extended field, it is complete lighting effect control data.

[0208] Step S7412: Obtain layer information in the lighting effect control parameters of each layer in the lighting effect application package, and adjust the transmission order of the timing control data of each layer according to the priority order defined in the layer information of each layer to obtain the final timing control data;

[0209] When the lighting effect application package defines lighting effect control parameters for multiple layers, the layer information of the corresponding layer is usually defined in the lighting effect control parameters of each layer. As mentioned above, the layer information mainly limits the priority order of this layer. According to the priority order of this layer, the timing control data corresponding to each unit instruction table can be sorted and processed using the business logic preset by the controller, so as to obtain the final timing control data spliced ​​together from the timing control data of all layers. In this timing control data, the transmission order of each layer has been adjusted and set accordingly according to the priority order of each layer.

[0210] Step S7413: transmitting the final timing control data to the corresponding light blocks of the spliced ​​lamp to drive the corresponding light-emitting units of each light block to coordinately play the lighting effect.

[0211] The final timing control data determined by the above process can be transmitted to the corresponding light blocks of the spliced ​​lamps in an orderly manner. Each light block obtains the timing control data of each layer and intercepts the timing control data corresponding to its own attributes, which can be used to control the operation or non-operation of each light-emitting unit in its own light-emitting area. Through the coordinated lighting control of all light-emitting units under multiple layers and multiple light blocks, the lighting effect customized by the lighting effect application package is presented.

[0212] According to the above embodiments, it can be seen that in a multi-layer scenario, it is only necessary to use the layer information in the lighting effect application package to sequentially adjust the timing control data of each layer, so that all light blocks can be controlled in an orderly manner to coordinate the playback of multi-layer lighting effects. Since the timing control data of each layer has been quickly converted through the unit instruction table, the introduction of layer information will not cause a large change in the amount of calculation. Overall, it is still relatively efficient, but it can realize the playback of complex lighting effects, which is conducive to the industrial promotion of splicing lamps.

[0213] Based on any embodiment of the method of the present application, referring to FIG. 14 , the unit instruction table is converted into timing control data with the control chip of the light-emitting unit as the control granularity, and sent to each light block of the spliced ​​lamp to play the lighting effect, including:

[0214] Step S7421: Convert the unit instruction table corresponding to each layer in the lighting effect application package into corresponding timing control data. The timing control data uses the light-emitting unit represented by the data record in the unit instruction table as the control granularity, and marks the light-emitting color information and light-emitting timing information determined according to the lighting effect information in the lighting effect control parameters of the layer to which the light-emitting unit belongs;

[0215] Each data record in the unit instruction table converted by the controller represents the data required to control the lighting of the corresponding light-emitting unit. It also indicates its sequential address within the electrical control structure of the spliced ​​luminaire, based on its corresponding light-emitting area, lamp block, etc. In this case, the data set consisting of the data in each field of each data record effectively becomes the control data used to control the operation or non-operation of the corresponding light-emitting unit. Because the data records in the unit instruction table are pre-ordered according to the connection relationship information represented by the topology information, simply piecing together the control data consisting of each data record in sequence can obtain the corresponding timing control data for the entire unit instruction table, that is, the timing control data for the corresponding layer. This timing control data is naturally controlled at the granularity of the light-emitting unit's control chip, and because the corresponding emission color information and timing information are pre-added via extended fields, it is complete lighting effect control data.

[0216] Step S7422: Obtain layer information in the lighting effect control parameters of each layer in the lighting effect application package, and adjust the lighting timing information corresponding to each lighting unit in the timing control data of each layer according to the priority order defined in the layer information of each layer;

[0217] When a lighting effect application package defines lighting effect control parameters for multiple layers, the layer information of the corresponding layer is usually defined in the lighting effect control parameters of each layer. As mentioned above, the layer information mainly limits the priority order of the layer. According to the priority order of the layer, the relative time information corresponding to each layer is calculated using the business logic preset by the controller. Then, based on this relative time information, the lighting timing information of each light-emitting unit in the timing control data corresponding to each unit instruction table can be reset. For example, when the first layer is played at the first moment and the second layer is played at the second moment, a time difference will be formed between them. Based on this time difference, the lighting timing information of each light-emitting unit in the timing control data corresponding to the first layer and the second layer can be modified so that the lighting timing information of each light-emitting unit in the two sets of timing control data meets the constraints of the time difference, thereby realizing the correction of the lighting timing information of the light-emitting unit in the timing control data according to the layer information.

[0218] Step S7423: splice the timing control data of each layer in units of light blocks, and transmit the merged timing control data to the corresponding light blocks of the spliced ​​lamp to drive the corresponding light-emitting units of each light block to play the lighting effect in coordination.

[0219] The timing control data of each layer corresponds to the timing control data of the corresponding light block in each light block. Based on this, the timing control data of each layer, which belong to the same light block, can be spliced ​​together as a unit of light block to realize the merging of the timing control data of each layer. The merged timing control data is transmitted to each light block, and each light block intercepts its own timing control data accordingly. Each light block then sends its own timing control data to each light-emitting unit inside to control each corresponding lamp bead to perform light-emitting work. Since these timing control data have defined the corresponding light-emitting timing information with the control chip of the light-emitting unit as the control granularity, controlling each light-emitting unit in this way can also effectively control all light-emitting units to coordinate and play lighting effects.

[0220] In the above embodiments, the priority order of the layer information of each layer is used to directly determine the relative time information between each layer, and the relative time information is used to correct the light-emitting timing information of all light-emitting units under all layers, and the timing control data of all layers are merged and transmitted according to the light blocks, so that each lighting effect can centrally obtain the timing control data, avoid multiple data transmissions, and have higher transmission efficiency.

[0221] Based on any embodiment of the method of the present application, referring to FIG. 15 , after driving the corresponding light-emitting units of each light block to coordinately play the lighting effect, the method includes:

[0222] Step S8100: The control unit of the current light block that receives the timing control data parses and intercepts the timing control data belonging to the current light block and obtains the timing control data of each subsequent light block;

[0223] For each light block, when its control unit receives the timing control data transmitted by the controller through the upper-level light block of the light block, it will first parse and intercept the part of the timing control data corresponding to itself according to the business logic pre-agreed with the controller, that is, the timing control data belonging to this light block, and use the remaining part of the timing control data as the timing control data of the subsequent light blocks.

[0224] Step S8200: the control unit transmits the timing control data of each subsequent light block to the lower-level light block output by the connection interface of the light block;

[0225] For the timing control data of subsequent light blocks, the control unit of this light block forwards the data to other lower-level light blocks through the connection interface whose internal connection state is output state, so that the lower-level light blocks can process the timing control data they receive according to the same business logic as this light block.

[0226] Step S8300: The control unit converts the timing control data of the lamp block into control data corresponding to each light-emitting unit in the lamp block, and sends the data to each light-emitting unit to control the corresponding light-emitting unit to emit light according to the control data.

[0227] For the timing control data belonging to this lamp block, the control unit of this lamp block further converts it into control data corresponding to each light-emitting unit in this lamp block. In one embodiment, if the timing control data is in an uncompressed data format, it can also be directly sent to each light-emitting unit to intercept the control data corresponding to its own part for application. In another embodiment, if the timing control data has been compressed in advance, the control unit can first parse and convert it before sending it to each light-emitting unit.

[0228] After receiving the timing control data, the control chip of the light-emitting unit extracts the control data corresponding to itself and then generates a corresponding lighting control signal based on this control data. This lighting control signal drives the lamp beads of this light-emitting unit to emit light according to the light color and timing information in the control data. When each light-emitting unit implements lighting control according to this mechanism, it can play a coordinated lighting effect.

[0229] According to the above embodiments, it can be seen that under the action of the timing control data implemented in the present application based on the light-emitting unit mapping table, each light block can standardize the analysis and execution of the timing control data, drive the corresponding light-emitting unit to work through the timing control data, and coordinate the playback of the lighting effects defined by the lighting effect application package. It can be seen that even in the face of a complex architecture with multiple layers, multiple light blocks, multiple light-emitting areas, and multiple light-emitting units, the lighting effects can still be effectively played, making the spliced ​​lamps more practical and easier to promote.

[0230] Based on any embodiment of the present application, another embodiment of the present application further provides a lighting effect signal generation device and a lighting effect playback device. The lighting effect signal generation device and lighting effect playback device may be a spliced ​​lighting fixture. The controller carried by the spliced ​​lighting fixture may be implemented based on a computer device, as shown in Figure 16, which is a schematic diagram of the internal structure of the computer device. The computer device includes a processor, a computer-readable storage medium, a memory, and a network interface connected via a system bus. The computer-readable storage medium of the computer device stores an operating system, a database, and computer-readable instructions. The database may store a control information sequence. When the computer-readable instructions are executed by the processor, the processor can implement a lighting effect playback method. The processor of the computer device is used to provide computing and control capabilities to support the operation of the entire computer device. The memory of the computer device may store computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor can execute the lighting effect signal generation method and lighting effect playback method of the present application. The network interface of the computer device is used to connect and communicate with a terminal. Those skilled in the art will understand that the structure shown in FIG10 is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0231] 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 signal generation method or the lighting effect playback method described in any embodiment of the present application.

[0232] The present application also provides a computer program product, including a computer program / instruction, which, when executed by one or more processors, implements the steps of the lighting effect signal generation method or playback method described in any embodiment of the present application.

Claims

1. A method for generating a lighting effect signal, characterized in that: include: Obtain a lighting effect application package, which includes lighting effect control parameters corresponding to multiple layers, wherein the lighting effect control parameters describe the lighting effects of the corresponding layers in a tree-like multi-level data structure; According to the topological order relationship represented by the light-emitting unit mapping table corresponding to the spliced ​​lamp, the light effect control parameters of each layer are converted into timing control data, wherein the topological order relationship is used to characterize the topological order relationship of each light block of the spliced ​​lamp, each light-emitting area in the light block, and each light-emitting unit in each light-emitting area organized according to a multi-level connection relationship; The timing control data is output to each lamp block of the spliced ​​lamp to control each light control chip inside each lamp block to generate a corresponding light control signal.

2. The method for generating a lighting effect signal according to claim 1, characterized in that: Get the lighting effects package, including: Responding to the query instruction of the terminal device to obtain the topological information of the spliced ​​lamps, identifying the topological information corresponding to the topological relationship formed by each lamp block; Sending the topology information to the terminal device so that the terminal device can define a lighting effect control parameter corresponding to at least one layer; In response to a transmission instruction of the terminal device, a lighting effect application packet generated by the terminal device according to the topology information is received.

3. The method for generating a lighting effect signal according to claim 2, characterized in that: Identify the topological information corresponding to the topological relationship formed by each light block, including: Broadcast initialization instructions to each light block of the spliced ​​lamp; Each light block responds to the initialization instruction and queries the connection status of each connection interface thereof, wherein the connection interface is arranged in the light emitting area of ​​the light block; Each light block generates its own connection information representing the topological order relationship between each light-emitting unit in each light-emitting area of ​​the light block; Each light block sequentially splices the data packets of the subordinate light blocks received from the connection interface whose connection state is the output state with the connection information of the light block itself to form the data packets of this light block, and sends them to the superior light block connected to the connection interface whose connection state is the input state. The top-level light block outputs the data packets it generates as the topology information of the spliced ​​lamp.

4. The method for generating a lighting effect signal according to claim 3, characterized in that: After the top-level lamp block outputs the obtained data packet as the topology information of the spliced ​​lamp, it includes: Parse the topology information to obtain the corresponding self-connection information of each light block in the topology sequence relationship, and extract the electrical structure information inside the corresponding light block in each self-connection information, wherein the electrical structure information includes the identity identifier, the sorting identifier, and the area identifier of the light-emitting area to which each light-emitting unit in the light block belongs; Convert the electrical structure information of each lamp block into a two-dimensional data representation set in which the light-emitting unit is used as a data recording unit and the light-emitting unit is arranged in order according to the sorting identifier of the light-emitting unit in its corresponding lamp block; According to the sorting position in the topological order relationship represented by the connection information of each light block itself, the two-dimensional data representation set corresponding to each light block is added to the light-emitting unit mapping table in order.

5. The method for generating a lighting effect signal according to any one of claims 1 to 4, characterized in that: According to the topological order relationship represented by the light-emitting unit mapping table corresponding to the spliced ​​lamps, the lighting effect control parameters of each layer are converted into timing control data, including: For each of the layers, a corresponding unit instruction table is generated based on the light-emitting unit mapping table, so that each data record in the unit instruction table is used as control data of the corresponding light-emitting unit; For each of the layers, according to the effective light-emitting area specified in the area information in the lighting effect control parameters of the layer, the validity of each light-emitting unit in each light-emitting area in the unit instruction table of the layer is calibrated as the corresponding extended field in the unit instruction table; For each of the layers, according to the lighting effect information in the lighting effect control parameters of the layer, the luminous color information and the luminous timing information of each luminous unit in each luminous area in the unit instruction table of the layer are determined as the corresponding extended fields in the unit instruction table; The unit instruction tables of each layer are respectively converted into timing control data with the light-emitting control chip in the light-emitting unit as the control granularity.

6. The method for generating a lighting effect signal according to claim 5, characterized in that: Outputting the timing control data to each lamp block of the spliced ​​lamp includes: Obtain the layer information in the lighting effect control parameters of each layer in the lighting effect application package, and adjust the transmission order of the timing control data of each layer according to the priority order defined in the layer information of each layer; Data compression is performed on the timing control data of each layer whose transmission order is adjusted; The compressed timing control data of each layer is transmitted to the corresponding light blocks of the spliced ​​light fixture according to the transmission sequence.

7. The method for generating a lighting effect signal according to any one of claims 1 to 4, characterized in that: After the timing control data is output to each lamp block of the spliced ​​lamp, the method includes: The control unit of the lamp block receives the timing control data, parses and intercepts the timing control data The timing control data belonging to the current light block and the timing control data of each subsequent light block are obtained; The control unit transmits the timing control data of each subsequent light block to the lower-level light block output by the connection interface of the light block; The control unit converts the timing control data of the lamp block into control data corresponding to each light-emitting control chip in the lamp block, and sends it to each light-emitting control chip to control the corresponding light-emitting control chip to generate a light-emitting control signal corresponding to the control data, and uses the light-emitting signal to control the operation of the corresponding light-emitting element.

8. A lighting effect playing method, characterized in that: include: Acquire topological information of the spliced ​​lamp, wherein the topological information represents a topological sequence relationship formed by organizing various lamp blocks, various light-emitting areas in the lamp blocks, and various light-emitting units in each light-emitting area according to a multi-level connection relationship of the spliced ​​lamp; Expanding the topology information into a light-emitting unit mapping table with the light-emitting unit as a data recording unit, and representing the topological sequence relationship in the light-emitting unit mapping table; Obtain a lighting effect application package, which includes lighting effect control parameters corresponding to multiple layers, parse the lighting effect control parameters set for the layers in the lighting effect application package into control data corresponding to each light-emitting unit, associate the control data with corresponding data records in the light-emitting unit mapping table, and obtain a unit instruction table corresponding to the layer; The unit instruction table is converted into timing control data with the control chip of the light-emitting unit as the control granularity, and sent to each light block of the spliced ​​lamp to play the lighting effect.

9. The lighting effect playing method according to claim 8, characterized in that: Get the topology information of spliced ​​luminaires, including: Broadcast initialization instructions to each light block of the spliced ​​lamp; Each light block responds to the initialization instruction and queries the connection status of each connection interface thereof, wherein the connection interface is arranged in the light emitting area of ​​the light block; Each light block generates its own connection information representing the topological order relationship between each light-emitting unit in each light-emitting area of ​​the light block; Each light block sequentially splices the data packets of the subordinate light blocks received from the connection interface whose connection state is the output state with the connection information of the light block itself to form the data packets of this light block, and sends them to the superior light block connected to the connection interface whose connection state is the input state. The top-level light block outputs the data packets it generates as the topology information of the spliced ​​lamp.

10. The lighting effect playing method according to claim 8, characterized in that: The topology information is expanded into a light-emitting unit mapping table with the light-emitting unit as the data recording unit, including: Parse the topology information to obtain the corresponding self-connection information of each light block in the topology sequence relationship, and extract the electrical structure information inside the corresponding light block in each self-connection information, wherein the electrical structure information includes the identity identifier, the sorting identifier, and the area identifier of the light-emitting area to which each light-emitting unit in the light block belongs; Convert the electrical structure information of each lamp block into a two-dimensional data representation set in which the light-emitting unit is used as a data recording unit and the light-emitting unit is arranged in order according to the sorting identifier of the light-emitting unit in its corresponding lamp block; According to the sorting position in the topological order relationship represented by the connection information of each light block itself, the two-dimensional data representation set corresponding to each light block is added to the light-emitting unit mapping table in order.

11. The lighting effect playing method according to claim 8, characterized in that: Parsing the lighting effect control parameters set for the layer in the lighting effect application package into control data corresponding to each light-emitting unit, and associating the control data with corresponding data records in the light-emitting unit mapping table to obtain a unit instruction table corresponding to the layer, including: Acquire and parse a lighting effect application package, wherein the lighting effect application package includes lighting effect control parameters corresponding to multiple layers, and the lighting effect control parameters include region information and lighting effect information; For each of the layers, a corresponding unit instruction table is generated based on the light-emitting unit mapping table, so that each data record in the unit instruction table is used as control data of the corresponding light-emitting unit; For each of the layers, according to the effective light-emitting area specified in the area information in the lighting effect control parameters of the layer, the validity of each light-emitting unit in each light-emitting area in the unit instruction table of the layer is calibrated as the corresponding extended field in the unit instruction table; For each of the layers, according to the lighting effect information in the lighting effect control parameters of the layer, the luminous color information and luminous timing information of each light-emitting unit in each light-emitting area in the unit instruction table of the layer are determined as the corresponding extended field in the unit instruction table.

12. The lighting effect playing method according to claim 8, characterized in that: The unit instruction table is converted into timing control data with the control chip of the light-emitting unit as the control granularity, and sent to each light block of the spliced ​​lamp to play the lighting effect, including: Convert the unit instruction tables corresponding to each layer in the lighting effect application package into corresponding timing control data respectively, wherein the timing control data uses the light-emitting unit represented by the data record in the unit instruction table as the control granularity, and marks the light-emitting color information and light-emitting timing information determined according to the lighting effect information in the lighting effect control parameters of the layer to which the light-emitting unit belongs; Get the layer information in the lighting effect control parameters of each layer in the lighting effect application package, and The priority order defined in the layer information of the layer is used to adjust the transmission order of the timing control data of each layer to obtain the final timing control data; The final timing control data is transmitted to the corresponding light blocks of the spliced ​​lamp to drive the corresponding light-emitting units of each light block to coordinately play the lighting effect.

13. The lighting effect playing method according to claim 8, characterized in that: The unit instruction table is converted into timing control data with the control chip of the light-emitting unit as the control granularity, and sent to each light block of the spliced ​​lamp to play the lighting effect, including: Convert the unit instruction tables corresponding to each layer in the lighting effect application package into corresponding timing control data respectively, wherein the timing control data uses the light-emitting unit represented by the data record in the unit instruction table as the control granularity, and marks the light-emitting color information and light-emitting timing information determined according to the lighting effect information in the lighting effect control parameters of the layer to which the light-emitting unit belongs; Acquire the layer information in the lighting effect control parameters of each layer in the lighting effect application package, and adjust the light-emitting timing information corresponding to each light-emitting unit in the timing control data of each layer according to the priority order defined in the layer information of each layer; The timing control data of each layer are spliced ​​in units of light blocks, and the combined timing control data are transmitted to the corresponding light blocks of the spliced ​​lamps to drive the corresponding light-emitting units of each light block to play the lighting effects in coordination.

14. The lighting effect playing method according to any one of claims 8 to 13, characterized in that: After driving the corresponding light-emitting units of each light block to coordinately play the light effects, it includes: The control unit of the lamp block receiving the timing control data parses and intercepts the timing control data belonging to the lamp block in the timing control data and obtains the timing control data of each subsequent lamp block; The control unit transmits the timing control data of each subsequent light block to the lower-level light block output by the connection interface of the light block; The control unit converts the timing control data of the lamp block into control data corresponding to each light-emitting unit in the lamp block, and sends the data to each light-emitting unit to control the corresponding light-emitting unit to emit light according to the control data.

15. A spliced ​​lamp controller, comprising a central processing unit and a memory, characterized in that: The central processing unit is used to call and run the computer program stored in the memory to execute the lighting effect signal generation method as described in any one of claims 1 to 7, or the lighting effect playback method as described in any one of claims 8 to 14.

16. A spliced ​​lamp, comprising a controller and a plurality of lamp blocks, wherein the plurality of lamp blocks are connected in series and connected to the controller, characterized in that: The controller is suitable for executing the lighting effect signal generating method as described in any one of claims 1 to 7, or the lighting effect playing method as described in any one of claims 8 to 14.

Citation Information

Patent Citations

  • Topological structure identification system and method of intelligent light system

    CN110602854A

  • Control method of automobile lamp

    CN114347895A

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

    CN116367387A

  • Spliced lamp, controller thereof and lamp effect playing method and device

    CN117156645A

  • Spliced lamp, controller of spliced lamp and lamp effect signal generation method and device

    CN117156646A

Cited By

  • Topological lamp effect generation method, electronic equipment and storage medium

    CN122421127A