Control method and device of spliced lamps, spliced lamps and storage medium
By designing a multi-level lighting fixture structure and connection relationship, the problem of signal quality degradation caused by the increase in the number of lighting fixtures was solved, achieving a highly efficient lighting fixture control effect.
Patent Information
- Application Number
- CN202211637870.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-16
- Publication Date
- 2026-01-13
- Estimated Expiration
- 2042-12-16
AI Technical Summary
In spliced lighting fixtures, as the number of fixtures increases, the distance between the main controller and the end fixtures increases, resulting in a decrease in signal transmission quality and speed, which affects the control effect.
A multi-level lighting structure is adopted. The arrangement of the lighting fixtures is obtained through the first connection relationship between the main controller and the first-level lighting fixture and the second connection relationship between the (i-1)th-level lighting fixture and the i-th-level lighting fixture. Logical addresses are allocated and control is performed based on this, ensuring that the distance between each level lighting fixture and its connected upper-level module is fixed and the signal quality is not weakened due to the increase of distance.
It improves the control effect of splicing lights, ensuring that even with a large number of lights, the signal quality remains good and the control effect is excellent.
Smart Images

Figure CN116133208B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a control method, device, splicing lighting fixture, and storage medium for a splicing lighting fixture. Background Technology
[0002] Mosaic lighting fixtures are lighting components made up of multiple lighting fixtures. By controlling the light emission of each lighting fixture according to its shape and position, the mosaic lighting fixture can present a variety of lighting effects.
[0003] In related technologies, splicing lighting fixtures typically include a main controller and multiple lighting fixtures. The main controller and multiple lighting fixtures are all connected to a bus and communicate with each other through the bus, thereby realizing the allocation of logical addresses of the lighting fixtures and the transmission of control messages.
[0004] However, when the number of lights included in a splicing lighting system is large, the distance between the main controller and the end lights is usually far, which reduces the quality and speed of signal transmission, resulting in poor control of the splicing lighting system. Summary of the Invention
[0005] This application proposes a control method, device, splicing lamp, and storage medium for splicing lamps.
[0006] In a first aspect, embodiments of this application provide a control method for a splicing lighting fixture. This method is applied to a splicing lighting fixture, which includes a main controller and n levels of lighting fixtures, where n is a positive integer. Each level of the n-level lighting fixture includes one or more lighting fixtures. The main controller and the first level of the n-level lighting fixtures establish a first connection relationship, and the i-th and (i-1)-th level lighting fixtures in the n-level lighting fixtures establish a second connection relationship. i is an integer greater than 1 and less than or equal to n. The method includes: obtaining the arrangement relationship of the n-level lighting fixtures through the first and second connection relationships; assigning a logical address to each lighting fixture in the n-level lighting fixtures based on the arrangement relationship, the first connection relationship, and the second connection relationship; and controlling the lighting fixtures based on their logical addresses, the first connection relationship, and the second connection relationship.
[0007] Secondly, embodiments of this application provide a control device for splicing lighting fixtures, applied to splicing lighting fixtures. The splicing lighting fixtures include a main controller and n levels of lighting fixtures, where n is a positive integer. Each level of the n-level lighting fixtures includes one or more lighting fixtures. The main controller establishes a first connection relationship with the first level of the n-level lighting fixtures through a first connection relationship, and the i-th level of the n-level lighting fixtures establishes a second connection relationship with the (i-1)-th level of the n-level lighting fixtures. i is an integer greater than 1 and less than or equal to n. The device includes: a layout relationship acquisition module, used to acquire the layout relationship of the n-level lighting fixtures through the first connection relationship and the second connection relationship; a logical address allocation module, used to allocate a logical address to each lighting fixture in the n-level lighting fixtures based on the layout relationship of the n-level lighting fixtures, the first connection relationship, and the second connection relationship; and a lighting fixture control module, used to control the lighting fixtures based on the logical address of the lighting fixtures, the first connection relationship, and the second connection relationship.
[0008] Thirdly, embodiments of this application provide a splicing lighting fixture, which includes a control module. The control module includes a main controller and multiple electronic controllers. The splicing lighting fixture also includes: n-level lighting fixtures, where n is a positive integer. Each level of the n-level lighting fixture includes one or more lighting fixtures. The multiple electronic controllers are connected one-to-one with the multiple lighting fixtures in the n-level lighting fixtures. The main controller establishes a first connection relationship with the first level lighting fixture in the n-level lighting fixtures through a first connection relationship, and establishes a second connection relationship between the i-th level lighting fixture and the (i-1)-th level lighting fixture in the n-level lighting fixtures. i is an integer greater than 1 and less than or equal to n. The control module is configured to: obtain the arrangement relationship of the n-level lighting fixtures through the first connection relationship and the second connection relationship; assign a logical address to each lighting fixture in the n-level lighting fixtures based on the arrangement relationship of the n-level lighting fixtures, the first connection relationship, and the second connection relationship; and control the lighting fixtures based on the logical addresses of the lighting fixtures, the first connection relationship, and the second connection relationship.
[0009] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer program instructions, which can be invoked by a processor to execute the control method for the splicing lighting fixtures as described in the first aspect.
[0010] Fifthly, embodiments of this application provide a computer program product, which, when executed, enables the implementation of the control method for splicing lighting fixtures as described in the first aspect.
[0011] Compared to existing technologies, this application provides a novel splicing lighting fixture and its corresponding control method. The splicing lighting fixture is composed of multiple levels of lighting fixtures. The main controller and the first-level lighting fixture are connected through a first connection relationship, and the (i-1)th-level lighting fixture and the i-th-level lighting fixture are connected through a second connection relationship. Logical address allocation and lighting fixture control are performed through the aforementioned first and second connection relationships. Since each level of lighting fixture is controlled by its connected upper-level module (main controller or upper-level lighting fixture), and the distance between each level of lighting fixture and its connected upper-level module is fixed, even if the splicing lighting fixture includes a large number of lighting fixtures, the signal quality of the control signal received by each level of lighting fixture will not be weakened due to the increased distance between it and the main controller, and the signal quality remains good, thus improving the control effect. Attached Figure Description
[0012] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0013] Figure 1 This is a schematic diagram of a splicing lamp provided in one embodiment of this application.
[0014] Figure 2 This is a flowchart of a control method for splicing lighting fixtures provided in one embodiment of this application.
[0015] Figure 3 This is a flowchart of a control method for splicing lighting fixtures according to another embodiment of this application.
[0016] Figure 4 This is a flowchart of a control method for splicing lighting fixtures provided in one embodiment of this application.
[0017] Figure 5 This is a structural block diagram of a control device for a splicing lighting fixture provided in one embodiment of this application.
[0018] Figure 6 This is a structural block diagram of a splicing lamp provided in one embodiment of this application.
[0019] Figure 7 This is a structural block diagram of a computer-readable storage medium provided in one embodiment of this application. Detailed Implementation
[0020] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.
[0021] To enable those skilled in the art to better understand the solutions of this application, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0022] Please refer to Figure 1 This illustration shows a structural schematic diagram of a splicing lighting fixture 100 according to an embodiment of this application. The splicing lighting fixture 100 includes a main controller 110 and n-level lighting fixtures, where n is a positive integer, such as 2, 3, 5, etc. In this embodiment, only the value of n as 3 is used as an example for explanation, that is, the splicing lighting fixture 100 includes a first-level lighting fixture 120, a second-level lighting fixture 130, and a third-level lighting fixture 140.
[0023] The main controller 110 is electrically connected to the first-level luminaire 120. Specifically, the first-level luminaire 120 includes multiple communication ports, and the main controller 110 is connected to one of these communication ports. Figure 1 In this configuration, the main controller 110 is connected to communication port 1 of the first-level luminaire 120 (denoted as luminaire 1). It should be noted that the connection between the main controller 110 and the luminaire is detachable; the main controller 110 can be electrically connected to any one of the n-level luminaires. The luminaire connected to the main controller 110 is the first-level luminaire. The main controller 110 is used to assign logical addresses to the n-level luminaires, generate luminaire control commands based on pre-designed lighting effects, and control the n-level luminaires through these commands, such as controlling the illumination duration, illumination frequency, illumination power, and illumination color of each luminaire.
[0024] Each class of luminaires in an n-class luminaire includes one or more luminaires, but this application does not limit this. Figure 1 In this system, the first-level luminaire 120 includes one luminaire; the second-level luminaire 130 includes three luminaires, referred to as luminaire 2, luminaire 5 and luminaire 6 respectively; and the third-level luminaire 140 includes two luminaires, referred to as luminaire 3 and luminaire 4 respectively.
[0025] In this embodiment, the lamp is provided with at least one communication port for connecting with other lamps to facilitate communication. When designing the splicing lamp 100, the position of the lamp in the splicing lamp can be determined according to the number of communication ports it has. For example, lamps with more communication ports can be set as first-level lamps or intermediate-level lamps (such as level i-1), and lamps with fewer communication ports can be set as level n lamps. Figure 1 In the embodiments, lamps 1 and 2 each include six communication ports, while lamps 3, 4, 5, and 6 each include one communication port. This application does not limit the shape of the lamps; they can be circular, elliptical, or polygonal. Polygonal lamps are more suitable for splicing with other lamps, and setting up communication ports is also more convenient. Therefore, this application only uses polygonal lamps as an example for illustration. Please refer again. Figure 1 Lamp 1, lamp 2, lamp 5, and lamp 6 are all hexagonal, lamp 3 is square, and lamp 4 is hexagonal. In this embodiment, the lamps are equipped with an electronic controller, which obtains the communication port level and communicates with other lamps.
[0026] The i-th level luminaire and the (i-1)-th level luminaire are electrically connected, where i is an integer greater than 1 and less than or equal to n. It should be noted that the "i" in the i-th level luminaire, i.e., the level of the luminaire, is determined by the minimum number of luminaires required to connect the luminaire to the main controller 110. Specifically, the level of the luminaire is the sum of the minimum number of luminaires required to connect the luminaire to the main controller 110 and one. For example, if the minimum number of luminaires required to connect the luminaire to the main controller 110 is 0, meaning the luminaire is directly connected to the main controller 110, then the luminaire is a level 1 luminaire. A luminaire in the (i-1)-th level can be connected to zero or one or more level i luminaires. Optionally, the luminaires in the (i-1)-th level include one or more communication ports. One communication port is used to connect to the upper-level module (the main controller or the (i-2)-th level luminaire), and other communication ports can be used to connect to the level i luminaire. Please refer again. Figure 1 In the second-level luminaire 130, luminaire 2 is connected to communication port 3 of luminaire 1, luminaire 5 is connected to communication port 4 of luminaire 1, and luminaire 6 is connected to communication port 5 of luminaire 1. In the third-level luminaire 140, luminaire 3 is connected to communication port 3 of luminaire 2, and luminaire 4 is connected to communication port 5 of luminaire 2.
[0027] Please refer to Figure 2 This illustrates a control method for splicing lighting fixtures provided in one embodiment of this application, which is applied to... Figure 1 The method involves controlling the lighting fixtures. The procedure includes the following steps.
[0028] S201, obtain the arrangement relationship of n-level lamps through the first connection relationship and the second connection relationship.
[0029] The first connection relationship refers to the connection between the main controller and the first-level luminaire. The second connection relationship refers to the connection between the (i-1)th-level luminaire and the ith-level luminaire.
[0030] The arrangement of n-level luminaires indicates the upper-level module and lower-level luminaires connected to each luminaire, including which communication port of the upper-level module each luminaire is connected to, and each lower-level luminaire connected to each luminaire's communication port. Specifically, when a luminaire is a first-level luminaire, the upper-level module is the master controller; when a luminaire is not a first-level luminaire, the upper-level module is the upper-level luminaire. In some embodiments, the arrangement of n-level luminaires can be obtained through the following steps.
[0031] S2011, the i-1 level luminaire receives the arrangement relationship acquisition instruction sent by the upper-level module through the target connection relationship.
[0032] The arrangement relationship acquisition instruction is used to instruct the (i-1)th level luminaire to acquire the information of each i-th level luminaire connected to its own communication port.
[0033] When i is 2, the target connection relationship is the first connection relationship, and the upper-level module is the main controller. That is, the main controller sends the arrangement relationship acquisition command to the first-level lamps through the first connection relationship. When i is greater than 2, the target connection relationship is the second connection relationship, and the upper-level module is the (i-2)th level lamp.
[0034] Combination Figure 1 In the example, the first-level luminaire sends a layout relationship acquisition instruction to the second-level luminaire through the second connection relationship between the first-level luminaire and the second-level luminaire, and the second-level luminaire sends a layout relationship acquisition instruction to the third-level luminaire through the second connection relationship between the second-level luminaire and the third-level luminaire.
[0035] It should be noted that after determining the i-th level luminaires connected to its own communication port, the i-1 level luminaire sends a layout relationship acquisition command to the i-th level luminaires connected to its own communication port.
[0036] S2012, the (i-1)th level luminaire obtains the first luminaire connection information of the (i-1)th level luminaire based on the arrangement relationship and receives the second luminaire connection information sent by the (i)th level luminaire.
[0037] The first luminaire connection information is used to characterize the luminaire information connected to the (i-1)th level luminaire, that is, the communication ports of the (i-1)th level luminaires connected to each i-th level luminaire. Combined with... Figure 1In the example, taking i as 2, the first lamp connection information of the first level lamp is used to indicate that lamp 2 is connected to communication port 3 of lamp 1, lamp 5 is connected to communication port 4, and lamp 1 is connected to communication port 5.
[0038] The second luminaire connection information of the i-th level luminaire is used to characterize the luminaire layout information starting from the i-th level luminaire. The second luminaire connection information is used to indicate the connection relationships between luminaires at each level after the i-th level luminaire. Combined with... Figure 1 In the example, taking i as 2, the second lamp connection information of the second-level lamp is used to indicate that lamp 3 is connected to communication port 3 of lamp 2 in the second-level lamp, and lamp 4 is connected to communication port 5 of lamp 2.
[0039] In some embodiments, the acquisition of the first lamp connection information of the (i-1)th level lamp based on the arrangement relationship is specifically implemented as follows: for each communication port of the (i-1)th level lamp, the level of the communication port is detected to be a specified level, and the connection information of the communication port is obtained; the connection information of each communication port of the (i-1)th level lamp is determined as the first lamp connection information of the (i-1)th level lamp.
[0040] The connection information of the communication port is used to indicate whether the communication port is connected to a Class i luminaire. If the communication port level is at the specified level, it indicates that the communication port is connected to a Class i luminaire; if the communication port level is not at the specified level, it indicates that the communication port is not connected to a Class i luminaire. The specified level can be set according to actual needs, and this application embodiment does not limit it, for example, it can be a 1.5V high level.
[0041] Combination Figure 1 In the example, taking i as 2, the first-level lamp sequentially checks whether each of its communication ports is at the specified level. If communication ports 3, 4, and 5 are all at the specified level, it means that communication ports 3, 4, and 5 of the first-level lamp are all connected to the second-level lamp.
[0042] S2013, the i-1 level luminaire sends the first luminaire connection information and the second luminaire connection information to the upper-level module through the target connection relationship.
[0043] When i is 2, the first lamp connection information reported by the first-level lamp to the main controller and the second lamp connection information of the i-th level lamp form the arrangement relationship of the n-level lamps.
[0044] In this embodiment, each level of lighting fixtures can obtain the lower-level lighting fixtures it is connected to and report the connection relationship to the upper-level lighting fixtures. After being summarized layer by layer, the arrangement relationship of n-level lighting fixtures is finally obtained. This process does not require the main controller to understand the connection relationship of the spliced lighting fixtures through a polling mechanism, which can improve the acquisition effect of the arrangement relationship of n-level lighting fixtures.
[0045] S202, based on the arrangement relationship, first connection relationship and second connection relationship of the n-level lamps, assigns a logical address to each lamp in the n-level lamps.
[0046] After determining the arrangement of the n-level lighting fixtures, a logical address can be assigned to each fixture so that the fixtures can be controlled subsequently based on their logical addresses. The process of assigning logical addresses to each fixture will be described in the following embodiments, and this application does not limit it.
[0047] S203 controls the lamp based on the lamp's logical address, first connection relationship, and second connection relationship.
[0048] The main controller can send control messages to the lamps based on their logical addresses. These control messages can include, but are not limited to, the lamps' light emission parameters, such as light emission duration, light emission frequency, light emission power, and light emission color. After receiving the control messages, the lamps emit light according to these light emission parameters, thereby enabling control of the lamps based on their logical addresses.
[0049] In some embodiments, step S203 may include the following sub-steps:
[0050] Step S2031: The main controller generates lighting control information based on preset lighting effects.
[0051] Preset lighting effects can be set according to actual needs, such as heart-shaped lighting effects, firework lighting effects, cake lighting effects, etc. In some embodiments, the external device connected to the splicing lights displays a lighting effect design interface. Users can select the lights to be lit according to their own needs to complete the lighting effect design. Afterwards, the external device can send the designed lighting effect to the main controller, so that the main controller can generate lighting control information.
[0052] The lighting control information is used to indicate the light emission parameters of the target lighting fixture, so that the target lighting fixture can emit light according to the aforementioned light emission parameters, thereby enabling the overall spliced lighting fixture to present the preset lighting effect. The lighting control information also includes the logical address of the target lighting fixture.
[0053] Step S2032: Transmit lighting control information through one or both of the first connection information and the second connection information, so that the target lighting fixture emits light according to the target lighting fixture's light emission parameters.
[0054] Specifically, the (i-1)th level luminaire receives luminaire control information sent by the upper-level module through the target connection relationship, detects whether the luminaire control information includes the light emission parameters of the (i-1)th level luminaire, and emits light according to the light emission parameters of the (i-1)th level luminaire if the luminaire control information includes the light emission parameters of the (i-1)th level luminaire; the (i-1)th level luminaire sends the luminaire control information to the (i)th level luminaire through the second connection relationship.
[0055] When i is 2, the target connection relationship is the first connection relationship, and the upper-level module is the main controller; when i is greater than 2, the target connection relationship is the second connection relationship, and the upper-level module is the (i-2)th level lamp.
[0056] In other words, the main controller sends lighting control information to the first-level lighting fixtures through the first connection relationship, and the (i-1)th-level lighting fixtures send lighting control messages to the ith-level lighting fixture through the second connection relationship, thereby realizing the transmission of lighting control messages. Furthermore, after receiving a lighting control message, each level of lighting fixture checks whether its own logical address exists in the lighting control message. If it exists, it emits light according to the light emission parameters corresponding to that logical address; otherwise, it does not emit light.
[0057] Combination Figure 1 In the example, the lighting control message includes the following: {Light fixture 1, address AO1, light emission parameter 1; Light fixture 3, address CO1, light emission parameter 2}. The main controller sends the above lighting control message to the first-level lighting fixture, the first-level lighting fixture sends the above control message to the second-level lighting fixture, and the second-level lighting fixture sends the above lighting control message to the third-level lighting fixture. Among them, after detecting that the lighting control message includes its own logical address AO1, lighting fixture 1 in the first-level lighting fixture emits light according to light emission parameter 1. After detecting that the lighting control message includes its own logical address CO1, lighting fixture 3 in the third-level lighting fixture emits light according to light emission parameter 2.
[0058] In summary, the technical solution provided in this application embodiment involves a splicing luminaire composed of multiple levels of luminaires. The main controller and the first-level luminaire are connected through a first connection relationship, and the (i-1)th-level luminaire and the i-th-level luminaire are connected through a second connection relationship. Logical address allocation and luminaire control are performed through the aforementioned first and second connection relationships. Since each level of luminaire is controlled by its connected upper-level module (main controller or upper-level luminaire), and the distance between each level of luminaire and its connected upper-level module is fixed, even if the splicing luminaire includes a large number of luminaires, the signal quality of the control signal received by each level of luminaire will not be weakened due to the increased distance between it and the main controller, and the signal quality remains good, thus improving the control effect.
[0059] The following is combined Figure 3The first implementation method for assigning logical addresses to each lamp in the n-level lamp system is described. In this implementation method, step S202 is replaced by steps S302-S303.
[0060] S301, obtain the arrangement relationship of n-level lamps through the first connection relationship and the second connection relationship.
[0061] S302, the main controller generates m logical addresses.
[0062] m represents the total number of lamps included in class n, where m is greater than or equal to n. It should be noted that the m logical addresses are unique. This application embodiment does not limit the method by which the main controller generates the m logical addresses; they can be randomly generated or obtained from a predetermined set of logical addresses. This application embodiment does not impose any limitation on this method.
[0063] S303, the (i-1)th level luminaire obtains the first logical address set sent by the upper-level module, obtains the logical address of the (i-1)th level luminaire from the first logical address set, and sends the second logical address set to the i-th level luminaire based on the second luminaire connection information of the i-th level luminaire.
[0064] When i is 2, the first logical address set includes m logical addresses. The (i-1)th level luminaire sends the second logical address set to the i-th level luminaire based on the second luminaire connection information of the i-th level luminaire. Specifically, the (i-1)th level luminaire sends the second logical address set to the i-th level luminaire according to the total number of luminaires included in the luminaire arrangement information starting from the i-th level luminaire. The number of logical addresses included in the second logical address set is the same as the total number of luminaires included in the aforementioned luminaire arrangement information starting from the i-th level luminaire. The second logical address set belongs to the first logical address set, and the second logical address set does not include the logical addresses of the (i-1)th level luminaire.
[0065] In this embodiment, after receiving the set of logical addresses sent by the upper-level module, each level of luminaire first selects a logical address as its own logical address, and then sends a new set of logical addresses to the lower-level luminaires. This new set of logical addresses includes the total number of logical addresses of the luminaires included in the luminaire arrangement information starting from the lower-level luminaires. It should be noted that when a luminaire in each level is connected to multiple lower-level luminaires, it can send the new set of logical addresses to each lower-level luminaire sequentially according to the clockwise or counterclockwise arrangement of the communication ports connecting to the lower-level luminaires.
[0066] Combination Figure 1In the example, the splicing lighting fixtures include three levels of fixtures, totaling six fixtures. The main controller generates six logical addresses, namely A, B, C, D, E, and F. After sending the logical address set {A, B, C, D, E, F} to fixture 1 in the first level of fixtures, the main controller first selects logical address A as its own logical address, and then sends the logical address set {B, C, D} to fixture 2, the logical address set {E} to fixture 5, and the logical address set {F} to fixture 6. Fixture 2 selects logical address B as its own logical address, and then sends the logical address set {C} to fixture 3 and the logical address set {D} to fixture 4, thereby completing the allocation of logical addresses.
[0067] S304 controls the lighting fixture based on its logical address, first connection relationship, and second connection relationship.
[0068] In summary, the technical solution provided in this application embodiment is that the splicing lamp is composed of multiple levels of lamps. The main controller and the first level lamp are connected through a first connection relationship, and the (i-1)th level lamp and the i-th level lamp are connected through a second connection relationship. Logical address allocation is performed through the above-mentioned first and second connection relationships, eliminating the need for the main controller to allocate logical addresses according to a polling mechanism, which can improve the allocation efficiency of logical addresses.
[0069] The following is combined Figure 4 A second implementation method for assigning logical addresses to each lamp in the n-level lamp system is described. In this implementation method, step S202 is replaced by steps S402-S403.
[0070] S401, obtain the arrangement relationship of n-level lamps through the first connection relationship and the second connection relationship.
[0071] In this embodiment, the arrangement of n-level luminaires is a message encapsulated in a specified format. This message may include the following: the communication port of each luminaire connected to a lower-level luminaire, and the luminaire identifier of the lower-level luminaire connected to the aforementioned communication port. In some embodiments, the message encapsulated in the specified format may also include the shape of each luminaire.
[0072] Combination Figure 1In the example above, the message encapsulated in the specified format can be represented as: (Hexagon, Pin 3 (Hexagon, Pin 3 (Quadrilateral), Pin 5 (Hexagon)), Pin 4 (Hexagon), Pin 5 (Hexagon)). This message indicates the following: Light fixture 1 is hexagonal, and its communication port 3 is connected to a hexagonal light fixture 2, which is also hexagonal. The communication port 3 of light fixture 2 is connected to a quadrilateral light fixture 3, and the communication port 5 of light fixture 2 is connected to a hexagonal light fixture 4. The communication port 4 of light fixture 1 is connected to a hexagonal light fixture 5, and the communication port 5 of light fixture 1 is connected to a hexagonal light fixture 6.
[0073] S402, the main controller generates the logical address of each lamp and encapsulates the lamp address message based on the arrangement of n-level lamps and the specified format.
[0074] The main controller can generate the logical address of each lamp according to the message encapsulated in the specified format, thus obtaining the lamp address message. Combined with... Figure 1 In the example, the lamp address message can be represented as: (address 1, pin 3 (address 2, pin 3 (address 3), pin 5 (address 4)), pin 4 (address 5), pin 5 (address 6)).
[0075] S403, the (i-1)th level luminaire obtains the first address message sent by the upper-level module, obtains the logical address of the (i-1)th level luminaire from the luminaire address message, and sends the second address message to the i-th level luminaire based on the second luminaire connection information and the luminaire address message.
[0076] When i is 2, the first address message is the lamp address message. The second address message includes the logical addresses corresponding to each lamp in the lamp layout information starting from the i-th level lamp. The second address message includes a portion of the content of the first address message.
[0077] In this embodiment, after receiving the address message from the upper-level module, each level of luminaire first determines its own logical address, and then sends a new address message to the lower-level luminaires. This new address message includes the logical addresses of each luminaire in the luminaire arrangement information starting from the lower-level luminaires. It should be noted that when a luminaire in each level is connected to multiple lower-level luminaires, it can send new address messages to each lower-level luminaire sequentially, either clockwise or counterclockwise, according to the clockwise or counterclockwise arrangement of the communication ports connecting to the lower-level luminaires.
[0078] Combination Figure 1In the example, the lamp address message is: (Address 1, pin 3 (Address 2, pin 3 (Address 3), pin 5 (Address 4)), pin 4 (Address 5), pin 5 (Address 6)). The main controller sends the above lamp address message to lamp 1 in the first-level lamps. After lamp 1 obtains address 1 as its own logical address, it sends the following address message to lamp 2 connected to communication port 3: (Address 2, pin 3 (Address 3), pin 5 (Address 4)), to lamp 5 connected to communication port 4: pin 4 (Address 5), and to lamp 6 connected to communication port 5: pin 5 (Address 6). After lamp 2 obtains address 2 as its own logical address, it sends the following address message to lamp 3 connected to its own communication port 3: pin 3 (Address 3), and to lamp 4 connected to its own communication port 5: pin 5 (Address 4), thus completing the allocation of logical addresses.
[0079] S404 controls the lighting fixture based on its logical address, first connection relationship, and second connection relationship.
[0080] In summary, the technical solution provided in this application embodiment is that the splicing lamp is composed of multiple levels of lamps. The main controller and the first level lamp are connected through a first connection relationship, and the (i-1)th level lamp and the i-th level lamp are connected through a second connection relationship. Logical address allocation is performed through the above-mentioned first and second connection relationships, eliminating the need for the main controller to allocate logical addresses according to a polling mechanism, which can improve the allocation efficiency of logical addresses.
[0081] Please see Figure 7 The diagram illustrates a structural block diagram of a control device for a splicing lighting fixture provided in an embodiment of this application. The device is applied to a splicing lighting fixture, which includes a main controller and n levels of lighting fixtures, where n is a positive integer. Each level of the n-level lighting fixture includes one or more lighting fixtures. The main controller is connected to the first level of the n-level lighting fixture via a first connection relationship, and the i-th level of the n-level lighting fixture is connected to the (i-1)-th level of the n-level lighting fixture via a second connection relationship. i is an integer greater than 1 and less than or equal to n. The device includes: a layout relationship acquisition module 510, a logical address allocation module 520, and a lighting fixture control module 530.
[0082] The arrangement relationship acquisition module 510 is used to acquire the arrangement relationship of n-level lamps through the first connection relationship and the second connection relationship.
[0083] The logical address allocation module 520 is used to allocate a logical address to each lamp in the n-level lamps based on the arrangement relationship, the first connection relationship and the second connection relationship of the n-level lamps.
[0084] The lighting control module 530 is used to control the lighting fixture based on its logical address, first connection relationship, and second connection relationship.
[0085] In summary, the technical solution provided in this application embodiment involves a splicing luminaire composed of multiple levels of luminaires. The main controller and the first-level luminaire are connected through a first connection relationship, and the (i-1)th-level luminaire and the i-th-level luminaire are connected through a second connection relationship. Logical address allocation and luminaire control are performed through the aforementioned first and second connection relationships. Since each level of luminaire is controlled by its connected upper-level module (main controller or upper-level luminaire), and the distance between each level of luminaire and its connected upper-level module is fixed, even if the splicing luminaire includes a large number of luminaires, the signal quality of the control signal received by each level of luminaire will not be weakened due to the increased distance between it and the main controller, and the signal quality remains good, thus improving the control effect.
[0086] In some embodiments, the arrangement relationship acquisition module 510 is configured to: receive an arrangement relationship acquisition instruction sent by a higher-level module through a target connection relationship; when i is 2, the target connection relationship is a first connection relationship, and the higher-level module is the main controller; when i is greater than 2, the target connection relationship is a second connection relationship, and the higher-level module is the (i-2)th level luminaire; acquire the first luminaire connection information of the (i-1)th level luminaire based on the arrangement relationship acquisition instruction, and receive the second luminaire connection information of the i-th level luminaire sent by the i-th level luminaire; the first luminaire connection information is used to characterize each i-th level luminaire connected to the communication port of the (i-1)th level luminaire, and the second luminaire connection information of the i-th level luminaire is used to characterize the luminaire arrangement information starting from the i-th level luminaire; send the first luminaire connection information and the second luminaire connection information of the i-th level luminaire to the higher-level module through the target connection relationship; wherein, when i is 2, the first luminaire connection information sent by the first level luminaire to the main controller and the second luminaire connection information of the i-th level luminaire constitute the arrangement relationship of the n-level luminaires.
[0087] In some embodiments, the (i-1)th level luminaire includes multiple communication ports. The arrangement relationship acquisition module 510 is used to: for each communication port of the (i-1)th level luminaire, detect whether the level of the communication port is a specified level, obtain the connection information of the communication port, and use the connection information of the communication port to indicate whether the communication port is connected to the (i-1)th level luminaire; and determine the connection information of each communication port of the (i-1)th level luminaire as the first luminaire connection information of the (i-1)th level luminaire.
[0088] In some embodiments, the logical address allocation module 520 is used to generate m logical addresses, where m is the total number of lamps included in the n-level lamps, and m is greater than or equal to n; obtain a first logical address set sent by the upper-level module; obtain the logical address of the (i-1)-th level lamp from the first logical address set; and send a second logical address set to the i-th level lamp based on the second lamp connection information of the i-th level lamp, wherein the second logical address set belongs to the first logical address set; wherein, when i is 2, the first logical address set includes m logical addresses.
[0089] In some embodiments, the arrangement of n-level luminaires is encapsulated according to a specified format. The logical address allocation module 520 is used to generate the logical address of each luminaire and encapsulate the luminaire address message based on the arrangement of n-level luminaires and the specified format. It obtains the first address message sent by the upper-level module, obtains the logical address of the (i-1)th level luminaire from the luminaire address message, and sends the second address message to the i-th level luminaire based on the second luminaire connection information of the i-th level luminaire and the luminaire address message. The second address message includes the logical addresses corresponding to each luminaire in the luminaire arrangement information starting from the i-th level luminaire. Wherein, when i is 2, the first address message is the luminaire address message.
[0090] In some embodiments, the lighting control module 530 is used by the main controller to generate lighting control information based on preset lighting effects. The lighting control information is used to indicate the light emission parameters of the target lighting fixture. The lighting control information is transmitted through first connection information and second connection information so that the target lighting fixture emits light according to the light emission parameters of the target lighting fixture.
[0091] In some embodiments, the lighting control module 530 is configured to receive lighting control information sent by the upper-level module through a target connection relationship, detect whether the lighting control information includes the light emission parameters of the (i-1)th level lighting fixture, and if the lighting control information includes the light emission parameters of the (i-1)th level lighting fixture, emit light according to the light emission parameters of the (i-1)th level lighting fixture; the second connection relationship sends the lighting control information to the i-th level lighting fixture; wherein, when i is 2, the target connection relationship is the first connection relationship, and the upper-level module is the main controller; when i is greater than 2, the target connection relationship is the second connection relationship, and the upper-level module is the (i-2)th level lighting fixture.
[0092] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the above-described device and module can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0093] In the several embodiments provided in this application, the coupling between modules can be electrical, mechanical, or other forms of coupling.
[0094] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0095] This application embodiment also provides a splicing lighting fixture, which includes a control module. The control module includes a main controller and multiple electronic controllers. The splicing lighting fixture also includes: n-level lighting fixtures, where n is a positive integer. Each level of the n-level lighting fixtures includes one or more lighting fixtures. The multiple electronic controllers are connected one-to-one with the multiple lighting fixtures in the n-level lighting fixtures. The main controller is connected to the first level lighting fixture in the n-level lighting fixtures through a first connection relationship, and the i-th level lighting fixture in the n-level lighting fixtures is connected to the (i-1)-th level lighting fixture through a second connection relationship. i is an integer greater than 1 and less than or equal to n. The control module is configured to: obtain the arrangement relationship of the n-level lighting fixtures through the first connection relationship and the second connection relationship; assign a logical address to each lighting fixture in the n-level lighting fixtures based on the arrangement relationship of the n-level lighting fixtures, the first connection relationship, and the second connection relationship; and control the lighting fixtures based on the logical addresses of the lighting fixtures, the first connection relationship, and the second connection relationship.
[0096] In some embodiments, the control module is also configured to perform Figure 2 , Figure 3 , Figure 4 Each step in the embodiments.
[0097] Please see Figure 6 The illustration shows that this application also provides a video wall lighting fixture 600, which includes one or more processors 610, a memory 620, and one or more application programs. The one or more application programs are stored in the memory and configured to be executed by the one or more processors, and are configured to perform the methods described in the above embodiments.
[0098] The processor 610 may include one or more processing cores. The processor 610 connects to various parts of the entire battery management system using various interfaces and lines, and performs various functions and processes data of the battery management system by running or executing instructions, programs, code sets, or instruction sets stored in the memory 620, and by calling data stored in the memory 620. Optionally, the processor 610 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 610 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 610 and may be implemented separately using a communication chip.
[0099] The memory 620 may include random access memory (RAM) or read-only memory (ROM). The memory 620 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 620 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (e.g., touch functionality, sound playback functionality, image playback functionality, etc.), and instructions for implementing the various method embodiments described above. The data storage area may also store data created during the use of the splicing lighting fixture (e.g., phone book, audio / video data, chat log data, etc.).
[0100] Please see Figure 7 The present application also provides a computer-readable storage medium 700, which stores computer program instructions 710 that can be invoked by a processor to perform the methods described in the above embodiments.
[0101] The computer-readable storage medium 700 may be, for example, flash memory, electrically erasable programmable read-only memory (EEPROM), electrically programmable read-only memory (EPROM), hard disk, or read-only memory (ROM). Optionally, the computer-readable storage medium includes a non-transitory computer-readable storage medium. The computer-readable storage medium 700 has storage space for computer program instructions 710 that perform any of the method steps described above. These computer program instructions 710 may be read from or written to one or more computer program products.
[0102] The above are merely preferred embodiments of this application and are not intended to limit this application in any way. Although this application has disclosed preferred embodiments as above, it is not intended to limit this application. Any person skilled in the art can make some modifications or alterations to the above-disclosed technical content to create equivalent embodiments without departing from the scope of the technical solution of this application. Any simple modifications, equivalent changes and alterations made to the above embodiments based on the technical essence of this application without departing from the scope of the technical solution of this application shall still fall within the scope of the technical solution of this application.
Claims
1. A control method for splicing lighting fixtures, characterized in that, This is applied to splicing lighting fixtures, which include a main controller and n levels of lighting fixtures, where n is a positive integer; each level of the n-level lighting fixtures includes one or more lighting fixtures, the main controller and the first level of the n-level lighting fixtures are connected by a first connection, and the i-th level of the n-level lighting fixtures and the (i-1)-th level of the n-level lighting fixtures are connected by a second connection; The i is an integer greater than 1 and less than or equal to n; the method includes: The arrangement relationship of the n-level lamps is obtained through the first connection relationship and the second connection relationship; Based on the arrangement of the n-level luminaires, the first connection relationship, and the second connection relationship, a logical address is assigned to each luminaire in the n-level luminaires; The lighting fixtures are controlled based on their logical addresses, the first connection relationship, and the second connection relationship; wherein, the process of obtaining the arrangement relationship of the n-level lighting fixtures includes: The (i-1)th level luminaire receives the arrangement relationship acquisition instruction sent by the upper-level module through the target connection relationship; when i is 2, the target connection relationship is the first connection relationship, and the upper-level module is the main controller; when i is greater than 2, the target connection relationship is the second connection relationship, and the upper-level module is the (i-2)th level luminaire. The (i-1)th level luminaire obtains the first luminaire connection information of the (i-1)th level luminaire based on the arrangement relationship acquisition instruction, and receives the second luminaire connection information of the i-th level luminaire sent by the i-th level luminaire; the first luminaire connection information is used to characterize each i-th level luminaire connected to the communication port of the (i-1)th level luminaire, and the second luminaire connection information of the i-th level luminaire is used to characterize the luminaire arrangement information starting from the i-th level luminaire; The (i-1)th level luminaire sends the first luminaire connection information and the second luminaire connection information of the i-th level luminaire to the upper-level module through the target connection relationship; wherein, when i is 2, the first luminaire connection information and the second luminaire connection information of the i-th level luminaire sent by the first level luminaire to the main controller constitute the arrangement relationship of the n-th level luminaire.
2. The method according to claim 1, characterized in that, The (i-1)th level luminaire includes multiple communication ports. Based on the arrangement relationship, the (i-1)th level luminaire obtains the first luminaire connection information of itself, including: For each communication port of the (i-1)th level lamp, detect whether the level of the communication port is a specified level to obtain the connection information of the communication port. The connection information of the communication port is used to indicate whether the communication port is connected to the i-th level lamp. The connection information of each communication port of the (i-1)th level luminaire is determined as the first luminaire connection information of the (i-1)th level luminaire.
3. The method according to claim 1, characterized in that, The process of assigning a logical address to each of the n-level luminaires based on the arrangement relationship of the n-level luminaires, the first connection relationship, and the second connection relationship includes: The main controller generates m logical addresses, where m is the total number of lamps included in the n-level lamps, and m is greater than or equal to n; The (i-1)th level lamp obtains the first logical address set sent by the upper-level module, obtains the logical address of the (i-1)th level lamp from the first logical address set, and sends the second logical address set to the i-th level lamp based on the second lamp connection information of the i-th level lamp. The second logical address set belongs to the first logical address set. Wherein, when i is 2, the first logical address set includes m logical addresses.
4. The method according to claim 1, characterized in that, The arrangement of the n-level luminaires is encapsulated according to a specified format. The allocation of logical addresses to each luminaire in the n-level luminaires based on the arrangement of the n-level luminaires, the first connection relationship, and the second connection relationship includes: The main controller generates a logical address for each lamp and encapsulates the lamp address message based on the arrangement of the n-level lamps and the specified format. The (i-1)th level lamp obtains the first address message sent by the upper-level module, obtains the logical address of the (i-1)th level lamp from the lamp address message, and sends a second address message to the i-th level lamp based on the second lamp connection information of the i-th level lamp and the lamp address message. The second address message includes the logical addresses corresponding to each lamp in the lamp arrangement information starting from the i-th level lamp. Where i is 2, the first address message is the lamp address message.
5. The method according to any one of claims 1 to 4, characterized in that, The control of the lamp based on the lamp's logical address, the first connection relationship, and the second connection relationship includes: The main controller generates lighting control information based on preset lighting effects, and the lighting control information is used to indicate the light emission parameters of the target lighting fixture; The lighting control information is transmitted through the first connection information and the second connection information so that the target lighting fixture emits light according to the light emission parameters of the target lighting fixture.
6. The method according to claim 5, characterized in that, The step of transmitting the lighting control information through the first connection information and the second connection information so that the target lighting fixture emits light according to the lighting control information includes: The (i-1)th level luminaire receives luminaire control information sent by the upper-level module through the target connection relationship, detects whether the luminaire control information includes the light emission parameters of the (i-1)th level luminaire, and emits light according to the light emission parameters of the (i-1)th level luminaire if the luminaire control information includes the light emission parameters of the (i-1)th level luminaire. The (i-1)th level luminaire sends the luminaire control information to the i-th level luminaire through the second connection relationship; Where i is 2, the target connection relationship is the first connection relationship, and the upper-level module is the main controller; where i is greater than 2, the target connection relationship is the second connection relationship, and the upper-level module is the (i-2)th level lamp.
7. A control device for splicing lighting fixtures, characterized in that, This is applied to splicing lighting fixtures, which include a main controller and n levels of lighting fixtures, where n is a positive integer; each level of the n-level lighting fixtures includes one or more lighting fixtures, the main controller and the first level of the n-level lighting fixtures are connected by a first connection, and the i-th level of the n-level lighting fixtures and the (i-1)-th level of the n-level lighting fixtures are connected by a second connection; The i is an integer greater than 1 and less than or equal to n; the device includes: The arrangement relationship acquisition module is used to acquire the arrangement relationship of the n-level lamps through the first connection relationship and the second connection relationship; The logical address allocation module is used to allocate a logical address to each of the n-level lamps based on the arrangement relationship of the n-level lamps, the first connection relationship and the second connection relationship; A lighting control module is used to control the lighting fixture based on the lighting fixture's logical address, the first connection relationship, and the second connection relationship; The process of obtaining the arrangement relationship of the n-level lighting fixtures includes: The (i-1)th level luminaire receives the arrangement relationship acquisition instruction sent by the upper-level module through the target connection relationship; when i is 2, the target connection relationship is the first connection relationship, and the upper-level module is the main controller; when i is greater than 2, the target connection relationship is the second connection relationship, and the upper-level module is the (i-2)th level luminaire. The (i-1)th level luminaire obtains the first luminaire connection information of the (i-1)th level luminaire based on the arrangement relationship acquisition instruction, and receives the second luminaire connection information of the i-th level luminaire sent by the i-th level luminaire; the first luminaire connection information is used to characterize each i-th level luminaire connected to the communication port of the (i-1)th level luminaire, and the second luminaire connection information of the i-th level luminaire is used to characterize the luminaire arrangement information starting from the i-th level luminaire; The (i-1)th level luminaire sends the first luminaire connection information and the second luminaire connection information of the i-th level luminaire to the upper-level module through the target connection relationship; wherein, when i is 2, the first luminaire connection information and the second luminaire connection information of the i-th level luminaire sent by the first level luminaire to the main controller constitute the arrangement relationship of the n-th level luminaire.
8. A type of splicing lighting fixture, characterized in that, The splicing lighting fixture includes a control module, which includes a main controller and multiple electronic controllers. The splicing lighting fixture also includes: n-level luminaires, where n is a positive integer, each level of the n-level luminaires includes one or more luminaires, and multiple electronic controllers are connected one-to-one to the multiple luminaires in the n-level luminaires; The main controller and the first-level lamp in the n-level lamps are connected by a first connection, and the i-th lamp in the n-level lamps is connected by a second connection with the (i-1)-th lamp through a second connection; where i is an integer greater than 1 and less than or equal to n. The control module is configured as follows: The arrangement relationship of the n-level lamps is obtained through the first connection relationship and the second connection relationship; Based on the arrangement of the n-level luminaires, the first connection relationship, and the second connection relationship, a logical address is assigned to each luminaire in the n-level luminaires; The lamp is controlled based on its logical address, the first connection relationship, and the second connection relationship. The process of obtaining the arrangement relationship of the n-level lighting fixtures includes: The i-1 level luminaire receives the arrangement relationship acquisition instruction sent by the upper-level module through the target connection relationship; when i is 2, the target connection relationship is the first connection relationship and the upper-level module is the main controller; when i is greater than 2, the target connection relationship is the second connection relationship and the upper-level module is the i-2 level luminaire. The first lamp connection information of the (i-1)th level lamp is obtained based on the arrangement relationship using the instruction, and the second lamp connection information of the i-th level lamp is received from the i-th level lamp; the first lamp connection information is used to characterize each i-th level lamp connected to the communication port of the (i-1)th level lamp, and the second lamp connection information of the i-th level lamp is used to characterize the lamp arrangement information starting from the i-th level lamp; The first lamp connection information and the second lamp connection information of the i-th level lamp are sent to the upper-level module through the target connection relationship using the (i-1)-th level lamp; wherein, when i is 2, the first lamp connection information and the second lamp connection information of the i-th level lamp sent to the main controller by the first level lamp form the arrangement relationship of the n-th level lamp.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions, which can be invoked by a processor to execute the control method for the splicing lighting fixtures as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Control method of combined lamp, and illumination system
CN108064110A