CN118101619A - Cascade method, device and system of landscape LED sub-controllers - Google Patents

Cascade method, device and system of landscape LED sub-controllers Download PDF

Info

Publication number
CN118101619A
CN118101619A CN202410213441.3A CN202410213441A CN118101619A CN 118101619 A CN118101619 A CN 118101619A CN 202410213441 A CN202410213441 A CN 202410213441A CN 118101619 A CN118101619 A CN 118101619A
Authority
CN
China
Prior art keywords
sub
controller
controllers
address
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410213441.3A
Other languages
Chinese (zh)
Inventor
李文俊
王天
王玺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yuming Information Technology Co ltd
Original Assignee
Shenzhen Yuming Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Yuming Information Technology Co ltd filed Critical Shenzhen Yuming Information Technology Co ltd
Priority to CN202410213441.3A priority Critical patent/CN118101619A/en
Publication of CN118101619A publication Critical patent/CN118101619A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a cascading method, device and system of landscape LED sub-controllers, wherein the method comprises the following steps: step S100, sending a designated IP address allocation instruction to a plurality of sub controllers; step S200, receiving response information returned by the target sub-controller based on the specified IP address allocation instruction, and sending prompt information to debugging personnel during the period of time by the target sub-controller so as to prompt a physical area where the LED group correspondingly controlled by the target sub-controller is located; and step S300, IP address binding information is sent to the target sub-controller so as to bind the MAC address, the IP address and the sub-controller array serial number of the target sub-controller, so that the MAC address, the sub-controller array serial number and the physical area where the LED group is located are in one-to-one correspondence. In the whole IP address binding process, the IP address setting of the sub-controllers can be completed without the need of a debugging person to reach the installation position of the sub-controllers, the limitation of an overhead operation certificate is overcome, and the workload of cascading is reduced.

Description

Cascade method, device and system of landscape LED sub-controllers
Technical Field
The invention relates to the technical field of landscape LEDs, in particular to a cascading method, device and system of landscape LED sub-controllers.
Background
Along with the intelligent development of the LED technology, the LED playing control system is widely applied to scenic spots and buildings, such as 'lamplight show' of cities. The LED play control system is a huge project, taking city "light show" as an example, it is necessary to lay countless LEDs on the outer facade of the building, group the LEDs, and control the LEDs of different groups by different sub controllers, where the sub controllers are usually installed on the top building of the building or on the equipment positions (outside the building body) of different floors, and each sub controller is controlled by a host through a switch (HUB) by unified scheduling.
When cascading different groups of LEDs through a plurality of sub-controllers, each sub-controller is connected with a group of LEDs, the plurality of sub-controllers are connected in series or in parallel to a switch, and in the debugging process, the switch needs to distribute IP addresses to the plurality of sub-controllers. In a specific IP address allocation process, the switch sends an IP address allocation instruction to each sub-controller, one of the sub-controllers returns response information, at the moment, a debugger carries out IP address modification to the corresponding sub-controller beside the field device, thereby completing the IP address modification of the sub-controller, and the switch can carry out the next IP address allocation.
When the debugger modifies the IP address of the sub-controller, as described above, the sub-controller is usually installed on the top floor of a building or on the equipment positions of different floors, so that the debugger is required to hold an overhead operation certificate, but the general debugger does not have the overhead operation certificate, so that the debugger cannot modify the IP address of the sub-controller on site; in addition, in the IP address allocation mode in the prior art, debugging personnel are required to carry out IP modification beside the field device, so that the workload of debugging the early-stage device is increased, and the difficulty of later-stage maintenance is also increased.
Therefore, how to conveniently realize the cascade connection of the LED sub-controllers becomes a technical problem to be solved.
Disclosure of Invention
Based on the above-mentioned current situation, the main purpose of the present invention is to provide a method, a device and a system for cascading landscape LED sub-controllers, so as to conveniently realize the cascading of the LED sub-controllers.
In order to achieve the above purpose, the technical scheme adopted by the invention is as follows:
in a first aspect, an embodiment of the present invention discloses a method for cascading landscape LED sub-controllers, which is applied to a switch, where the switch is connected with a plurality of cascaded sub-controllers, each sub-controller is respectively connected with LEDs of a respective group, and each group of LEDs is arranged on a landscape building, and the method includes:
Step S100, sending a specified IP address allocation instruction to a plurality of sub-controllers, wherein the sub-controllers form a topology array and respectively control different groups of LED groups, and the physical areas of the LED groups are different;
Step S200, receiving response information returned by a target sub-controller based on a specified IP address allocation instruction, wherein the target sub-controller is a sub-controller which returns response information in a plurality of sub-controllers, the response information comprises the MAC address of the target sub-controller, and the target sub-controller sends prompt information to debugging personnel during the period to prompt a physical area where an LED group correspondingly controlled by the target sub-controller is located;
And step S300, IP address binding information is sent to the target sub-controller so as to bind the MAC address, the IP address and the sub-controller array serial number of the target sub-controller, wherein the sub-controller array serial number represents the physical area where the LED group controlled by the target sub-controller is located, so that the MAC address, the sub-controller array serial number and the physical area where the LED group controlled by the target sub-controller are located are in one-to-one correspondence.
Optionally, in step S200, the prompt information includes a sound and/or a light emitted by the target sub-controller, and/or the target sub-controller drives the LED group of the corresponding physical area to emit light.
Optionally, in step S300, sending the IP address binding information to the target subcontroller includes:
Generating a target IP address according to a serial number corresponding to the position of the target sub-controller, wherein the target IP address is one of a plurality of IP addresses which are arranged in sequence;
And sending the target IP address to the target sub-controller as IP address binding information so that the target sub-controller binds the target IP address.
Optionally, the plurality of sub-controllers are divided into a plurality of groups, and each group of sub-controllers is arranged in sequence;
after step S300, further includes:
Determining the IP addresses of other sub-controllers in the same group as the target sub-controller in sequence according to the target IP address and the corresponding serial number;
The other sub-controllers in the same group sequentially determine respective IP address binding information by referring to the head station, so that the other sub-controllers in the same group respectively and sequentially bind respective MAC addresses, IP addresses and sub-controller array serial numbers, and the MAC addresses of the other sub-controllers in the same group, the sub-controller array serial numbers and the physical areas where the LED groups are located are respectively and one-to-one corresponding.
Optionally, after step S300, the method further includes:
after cascade connection of each sub-controller is completed, the sub-controller currently in a working state is identified;
The total bandwidth of the switch is distributed according to the number of the sub-controllers in the working state, and the unit bandwidth is obtained;
The total bandwidth is distributed to each sub-controller in an operating state according to the size of the unit bandwidth, and the total bandwidth is not distributed to the sub-controllers in a non-operating state.
In a second aspect, an embodiment of the present invention discloses a cascade device of landscape LED sub-controllers, which is applied to a switch, where the switch is connected with a plurality of cascaded sub-controllers, each sub-controller is connected with a respective group of LEDs, and each group of LEDs is arranged on a landscape building, and the device includes:
The distribution instruction sending module is used for sending a specified IP address distribution instruction to the plurality of sub-controllers, wherein the plurality of sub-controllers form a topological array and respectively control different groups of LED groups, and the physical areas of the LED groups are different;
The response information receiving module is used for receiving response information returned by the target sub-controllers based on the specified IP address allocation instruction, wherein the target sub-controllers are sub-controllers which return the response information in the plurality of sub-controllers, the response information comprises the MAC address of the target sub-controller, and the target sub-controllers send prompt information to debugging personnel during the response information comprises the MAC address of the target sub-controllers so as to prompt the physical area where the LED group correspondingly controlled by the target sub-controllers is located;
The IP address binding module is used for sending IP address binding information to the target sub-controller so as to bind the MAC address, the IP address and the sub-controller array serial number of the target sub-controller, wherein the sub-controller array serial number represents the physical area where the LED group controlled by the target sub-controller is located, so that the MAC address, the sub-controller array serial number and the physical area where the LED group is located of the target sub-controller are in one-to-one correspondence.
Optionally, in the IP address binding module, the target IP address is generated according to a sequence number corresponding to the position of the target sub-controller, where the target IP address is one of multiple IP addresses arranged in sequence; and sending the target IP address to the target sub-controller as IP address binding information so that the target sub-controller binds the target IP address.
Optionally, the plurality of sub-controllers are divided into a plurality of groups, and each group of sub-controllers is arranged in sequence; further comprises:
The IP address determining module is used for sequentially determining the IP addresses of other sub-controllers in the same group with the target sub-controller according to the target IP address and the corresponding serial number;
The IP address sequentially binding module is used for sequentially determining respective IP address binding information to other sub-controllers of the same group, so that the other sub-controllers of the same group bind respective MAC addresses, IP addresses and sub-controller array serial numbers respectively, and the MAC addresses of the other sub-controllers of the same group, the sub-controller array serial numbers and the physical areas where the LED groups are located are in one-to-one correspondence respectively.
In a third aspect, embodiments of the present invention disclose a computer readable storage medium having stored thereon a computer program for execution by a processor to implement the method disclosed in the first aspect above.
In a fourth aspect, an embodiment of the present invention discloses a cascade system of landscape LED sub-controllers, including:
A plurality of cascaded sub-controllers;
and the switch is connected with the plurality of cascaded branch controllers and runs a program to realize the method disclosed in the first aspect.
[ Beneficial effects ]
According to the landscape LED sub-controller cascading method, device and system disclosed by the embodiment of the invention, the sub-controllers form the topological array, different groups of LED groups are respectively controlled, after the designated IP address allocation instruction is sent to the sub-controllers, response information returned by the target sub-controller based on the designated IP address allocation instruction is received, during the period, the target sub-controller sends prompt information to a debugger, so that the debugger can know the physical area where the LED groups controlled by the target sub-controller are located, and then the IP address binding information can be sent to the target sub-controller based on the physical area corresponding to the target sub-controller, so that the MAC address, the IP address and the sub-controller array serial number of the target sub-controller are bound, namely, in the whole IP address binding process, the debugger does not need to reach the installation position of the sub-controller, the cascading process only needs to receive the prompt information of the sub-controller, the corresponding relation of the prompt information, the serial number and the IP address is conveniently utilized, the IP address setting of the sub-controller is completed, and the IP address is enabled to be corresponding to the LED groups after the setting, the IP address binding process is completed, and the work amount of the LED is reduced one-to one by one, and the work is limited.
As an alternative scheme, the plurality of sub-controllers are divided into a plurality of groups, each group of sub-controllers is sequentially arranged, and the IP addresses of other sub-controllers in the same group as the target sub-controller are sequentially determined according to the target IP address and the corresponding serial number, so that after the IP address of the target sub-controller is set, the IP addresses of the other sub-controllers can be automatically set without setting one by one, the workload is further reduced, and setting errors caused by setting one by one manually are also reduced.
Alternatively, the switch performs bandwidth allocation to the sub-controllers by responding to the signals of the number of the sub-controllers, and does not allocate the total bandwidth to the sub-controllers in the non-operating state, that is, performs bandwidth allocation according to the number of participating operations, and N sub-controllers are operated to allocate the total bandwidth. Compared with the prior art, the method for fixing the bandwidth can fully utilize the total bandwidth, so that the total bandwidth is completely distributed to the sub-controllers participating in the work, the utilization efficiency of the total bandwidth is improved, and the waste of the bandwidth is reduced.
Other advantages of the present invention will be set forth in the description of specific technical features and solutions, by which those skilled in the art should understand the advantages that the technical features and solutions bring.
Drawings
Embodiments of the present invention will be described below with reference to the accompanying drawings. In the figure:
Fig. 1 is a schematic flow chart of a cascading method of a landscape LED sub-controller disclosed in the present embodiment;
Fig. 2 is a schematic diagram of a cascade system of landscape LED sub-controllers disclosed in the present embodiment;
fig. 3 is a schematic structural diagram of a cascade device of a landscape LED sub-controller disclosed in this embodiment.
Detailed Description
The present invention is described below based on examples, but the present invention is not limited to only these examples. In the following detailed description of the present invention, certain specific details are set forth in order to avoid obscuring the present invention, and in order to avoid obscuring the present invention, well-known methods, procedures, flows, and components are not presented in detail.
Moreover, those of ordinary skill in the art will appreciate that the drawings are provided herein for illustrative purposes and that the drawings are not necessarily drawn to scale.
Unless the context clearly requires otherwise, throughout the description and the claims, the words "comprise", "comprising", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is, it is the meaning of "including but not limited to".
In the description of the present invention, it should be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present invention, unless otherwise indicated, the meaning of "a plurality" is two or more.
In order to conveniently realize the cascade connection of the LED sub-controllers, the present embodiment discloses a cascade connection method of a landscape LED sub-controller, please refer to fig. 1, fig. 1 is a schematic flow diagram of a cascade connection method of a landscape LED sub-controller disclosed in the present embodiment, the cascade connection method of a landscape LED sub-controller is applied to a switch, please refer to fig. 2, fig. 2 is a cascade connection system of a landscape LED sub-controller disclosed in the present embodiment, including: a plurality of cascaded sub-controllers 2 and a switch 1, wherein the switch 1 is connected with the plurality of cascaded sub-controllers 2, specifically, can be connected in a serial manner or can be connected in a parallel manner; each sub-controller is respectively connected with each group of LEDs, and each group of LEDs is arranged on the landscape architecture. In the specific implementation process, the main control computer 3 of the landscape LED sends driving data to the corresponding sub-controller 2 through the switch 1 according to a set program, so that the sub-controller 2 drives the corresponding LED group to emit light or to extinguish, and the lamplight is realized. In the process that the switch 1 and the plurality of cascaded sub-controllers 2 are in interactive communication, each sub-controller 2 shares the total bandwidth of the switch 1, in general, the switch 1 is connected with N sub-controllers 2, and each sub-controller 2 allocates the total bandwidth according to N shares, namely, assuming that the total bandwidth of the switch 1 is M, the bandwidth obtained by each sub-controller 2 is M/N, and the sub-controller 2 occupies the bandwidth of M/N no matter whether the sub-controller 2 is in a working state or not.
Referring to fig. 1, the cascading method of the landscape LED sub-controllers includes: step S100, step S200, and step S300, wherein:
Step S100, a designated IP address allocation instruction is sent to a plurality of sub controllers. Specifically, the multiple sub-controllers 2 form a topology array, and control different groups of LED groups respectively, where the physical areas of the LED groups are different. In a specific embodiment, referring to fig. 2, a plurality of sub-controllers 2 are divided into a plurality of groups, each group of sub-controllers 2 is sequentially arranged to form a plurality of rows, and the sub-controllers 2 of different groups are arranged in columns, so that the plurality of sub-controllers 2 form a topological array of a matrix. The facade of the landscape architecture is provided with numerous LEDs which are controlled by different sub-controllers 2 according to the location area in which they are located, i.e. each sub-controller 2 has a respective controlled area. Through cooperation among different sub controllers 2, LEDs arranged on the outer facade of the landscape building emit light or are extinguished according to a preset program, so that a lamplight show is realized. In this embodiment, the specified IP address allocation instruction may be an allocation instruction or an instruction with IP address information.
Step S200, receiving response information returned by the target sub-controller, wherein the target sub-controller is a sub-controller which returns response information among the plurality of sub-controllers. In this embodiment, the response information includes the MAC address of the target sub-controller, and during this period, the target sub-controller sends a prompt message to the debugger to prompt the physical area where the LED group controlled by the target sub-controller is located. In a specific embodiment, when receiving the response information returned by the target slave controller, the switch can learn the current interaction object, and based on the current interaction object, the switch can allocate an IP address to the target slave controller. In this embodiment, the prompt message may be a sound emitted by the target sub-controller, or may be that the target sub-controller prompts the debugger of the position of the target sub-controller by flashing its LED. However, there is a problem that the switch cannot know the coordinates of the target slave controllers in the topology array, that is, the switch cannot know the physical area corresponding to the target slave controllers, and in the prior art, a debugger needs to go to the slave controller topology array to confirm the target slave controllers. Therefore, the target sub-controller sends the prompt information to the debugger, so that the debugger can be prompted to the position of the target sub-controller, and the debugger can bind the IP address of the target sub-controller according to the position of the target sub-controller conveniently.
And step S300, IP address binding information is sent to the target sub-controller so as to bind the MAC address, the IP address and the sub-controller array serial number of the target sub-controller. In this embodiment, the number of the sub-controller array characterizes the physical area where the LED group controlled by the target sub-controller is located, so that the MAC address of the target sub-controller, the number of the sub-controller array, and the physical area where the LED group is located are in one-to-one correspondence. Specifically, after determining the physical area where the LED group controlled by the target slave device corresponds to (i.e., the array coordinate where the target slave device is located), the array serial number may be allocated to the target slave device, so as to bind the MAC address, the IP address, and the slave device array serial number of the target slave device. In one embodiment, when the specified IP address allocation instruction is an instruction with IP address information, the sequence number of the slave array of the target slave can be directly updated, so as to bind the MAC address, the IP address and the sequence number of the slave array of the target slave; in another embodiment, when the specified IP address allocation instruction is an allocation instruction, an IP address corresponding to the sequence number of the sub-controller array may be provided to the target sub-controller, so that the sub-controller array sequence number and the IP address sequence number may be easily associated, for example, the last bit of the IP address is arranged in order, which is consistent with the sub-controller array sequence number, so as to facilitate memory and management. In this embodiment, by binding the MAC address, the IP address, and the serial number of the sub-controller array of the target sub-controller, in the process of implementing the landscape architecture "light show" by using the computer 3, the serial number of the array can be directly used for programming, so that the programmer can program and control the light conveniently, and the position of the array where the sub-controller is located can be intuitively distinguished.
In a specific embodiment, in step S200, the prompt message sent by the target sub-controller to the debugger may be sound and/or light sent by the target sub-controller, or the target sub-controller may drive the LED group in the corresponding physical area to emit light. In a preferred embodiment, the prompt information includes that the target sub-controller drives the corresponding physical area LED group to emit light, the purpose of knowing the position of the target sub-controller is to determine the physical area of the LED group corresponding to the target sub-controller, and the sub-controllers and the LED group are connected in advance, so that the sub-controllers and the LED group have completed one-to-one correspondence, in this case, the target sub-controller drives the corresponding physical area LED group to emit light to prompt a debugger, so that the debugger can directly position the physical area of the LED group through the emitted LED group; and because the LEDs are arranged on the outer elevation of the building, debugging personnel do not need to go to the installation site (a top building, an outer elevation of a floor and the like) of the sub-controllers, but can directly observe the lighting condition of the building at a distance, the LED group corresponding to the current target sub-controllers and the physical area where the LED group is positioned can be known, namely, the debugging personnel can finish cascading of the sub-controllers by sitting in an office or an outdoor fixed position, and only the debugging personnel have enough distance with the building and can observe the lighting condition of the LED group of the building.
In an alternative embodiment, in step S300, sending the IP address binding information to the target microcontroller includes: generating a target IP address according to a serial number corresponding to the position of the target sub-controller, wherein the target IP address is one of a plurality of IP addresses which are arranged in sequence; and sending the target IP address to the target sub-controller as IP address binding information so that the target sub-controller binds the target IP address. Specifically, the switch presets a plurality of IP addresses and is arranged in sequence, the arrangement sequence of the switch corresponds to the sequence number of the sub-controllers, after receiving the prompt information of the target sub-controllers, a debugger can determine the position of the target sub-controllers and the corresponding sequence number of the sub-controllers, at the moment, the debugger can determine the IP address corresponding to the target sub-controllers according to the sequence number of the sub-controllers, and send the corresponding IP address as a target IP address to the target sub-controllers, so that the target IP address corresponds to the MAC address of the target sub-controllers, and the binding of the target IP address and the MAC address of the target sub-controllers is completed, and the binding of the MAC address, the IP address and the array sequence number of the sub-controllers of the target sub-controllers is realized.
In order to improve cascading efficiency of LED sub-controllers and reduce human errors caused by manual binding, in an alternative embodiment, a plurality of sub-controllers are divided into a plurality of groups, each group of sub-controllers is sequentially arranged, specifically, please refer to a dashed line frame in fig. 2, each dashed line frame is a group of sub-controllers, the sub-controllers in the group are sequentially arranged, for example, 01, 02, 03, 04 … …, and the arrangement sequence of a plurality of IP addresses preset by the switch corresponds to the sequence of sequence numbers of the sub-controllers, so that the IP addresses are sequentially associated with the sequence numbers of the sub-controllers. After step S300, further includes:
Step S410, the IP addresses of other sub-controllers in the same group as the target sub-controller are determined in sequence according to the target IP address and the corresponding serial number. Specifically, referring to the dashed box in fig. 2, after receiving the response information returned by the target slave controller in step S200, the slave controller group in which the target slave controller is located and the serial number (e.g. number 01) thereof can be determined, and at this time, for other slave controllers in the slave controller group, the IP address and the slave controller serial number associated with each slave controller can be determined according to the sequence.
In step S420, other sub-controllers in the same group sequentially determine respective IP address binding information with reference to the head station. Specifically, the target slave controllers can synchronize the IP addresses of other slave controllers to each slave controller in the group in a self-adding or self-subtracting mode, so that each slave controller in the group can respectively and automatically bind respective MAC addresses, IP addresses and slave controller array serial numbers in sequence, and the MAC addresses of other slave controllers in the same group, the slave controller array serial numbers and the physical areas where the LED groups are located are respectively and one-to-one corresponding. In the implementation process, each other sub-controller in the group can also bind the IP address and the MAC address by itself and transmit the binding information back to the switch through the target sub-controller. Therefore, the IP address automatic binding of the sub-controller is realized, and the manual intervention degree is reduced.
In order to optimize the utilization efficiency of the bandwidth and reduce the bandwidth waste, in an alternative embodiment, after step S300, the method further includes: after cascade connection of each sub-controller is completed, the sub-controller currently in a working state is identified; the total bandwidth of the switch is distributed according to the number of the sub-controllers in the working state, and the unit bandwidth is obtained; the total bandwidth is distributed to each sub-controller in an operating state according to the size of the unit bandwidth, and the total bandwidth is not distributed to the sub-controllers in a non-operating state. Specifically, after each sub-controller completes cascading, the current working state (in working state or non-working state) of each sub-controller can be identified through data interaction, at this time, the total bandwidth of the switch can be allocated according to the number of sub-controllers in working state, specifically, each sub-controller in working state can obtain each bandwidth in an average allocation mode, and the sub-controllers in non-working state do not occupy bandwidth any more. The total bandwidth of the switch is distributed to each sub-controller in an operating state according to the requirement. Compared with the prior art, the method for fixing the bandwidth can fully utilize the total bandwidth, so that the total bandwidth is completely distributed to the sub-controllers participating in the work, the utilization efficiency of the total bandwidth is improved, and the waste of the bandwidth is reduced.
Because each sub-controller is connected with the switch in a cascade manner, the switch needs to transit through the sub-controllers between the switch and the target sub-controller when transmitting the data packet to the target sub-controller, when one of the sub-controllers fails, the target sub-controller can not receive the data packet transmitted by the switch, and in order to avoid the situation that the data packet cannot be received caused by the failure of one of the sub-controllers, in an alternative embodiment, adjacent groups of (parallel) sub-controllers are connected end to end (see fig. 2); for the mode of series connection, each sub-controller is connected in series in turn, so that the end-to-end connection of adjacent sub-controllers can be realized. In transmitting the LED driving data packet, the switch transmits the data packet bi-directionally, that is, the switch starts to transmit the data packet of the same content to each of the sub-controllers from the first sub-controller and the last sub-controller (as shown by the broken arrow line in fig. 2), thereby forming two data transmission links, and at this time, even if one or more of the sub-controllers in one of the data links fails, the target sub-controller can receive the data packet through the other data link. Therefore, the situation that the subsequent sub controllers cannot work due to the fact that one or more sub controllers are in fault is avoided. And because the switch transmits the data packet through the bidirectional data link, when one of the sub-controllers has a fault, the fault sub-controllers can be conveniently and rapidly arranged through the bidirectional data link for opposite transmission, for example, the fault sub-controllers can be positioned through the front-stage and rear-stage data transmission conditions, and specifically, the front-stage and rear-stage sub-controllers of the fault sub-controllers can normally receive the data packet and drive the LEDs to emit light, so that the fault sub-controllers can be positioned very efficiently and accurately.
In an alternative embodiment, when the switch transmits in opposite directions through the bidirectional data link, each sub-controller preferentially processes the data received first, so that the data processing speed and the response speed are improved.
The embodiment also discloses a landscape LED sub-controller cascade device, which is applied to a switch, the switch is connected with a plurality of cascaded sub-controllers, each sub-controller is respectively connected with respective groups of LEDs, each group of LEDs is arranged on a landscape building, please refer to fig. 3, fig. 3 is a schematic structural diagram of the landscape LED sub-controller cascade device disclosed in the embodiment, and the device comprises: an allocation instruction transmitting module 100, a response information receiving module 200, and an IP address binding module 300, wherein
The allocation instruction sending module 100 is configured to send an allocation instruction of a specified IP address to a plurality of sub-controllers, where the plurality of sub-controllers form a topology array, and control different groups of LED groups respectively, where physical areas where the LED groups of the groups are located are different;
The response information receiving module 200 is configured to receive response information returned by the target slave controllers based on the specified IP address allocation instruction, where the target slave controllers are slave controllers that return response information from the multiple slave controllers, and the response information includes MAC addresses of the target slave controllers, and during that time, the target slave controllers send prompt information to a debugger to prompt a physical area where the LED group correspondingly controlled by the target slave controllers is located;
The IP address binding module 300 is configured to send IP address binding information to the target slave device to bind the MAC address, the IP address, and the slave device array serial number of the target slave device, where the slave device array serial number characterizes a physical area where the LED group controlled by the target slave device is located, so that the MAC address, the slave device array serial number, and the physical area where the LED group is located of the target slave device are in one-to-one correspondence.
In an alternative embodiment, in the IP address binding module 300, the target IP address is generated according to a sequence number corresponding to a location of the target sub-controller, where the target IP address is one of a plurality of IP addresses that are sequentially arranged; and sending the target IP address to the target sub-controller as IP address binding information so that the target sub-controller binds the target IP address.
In an alternative embodiment, the plurality of sub-controllers are divided into a plurality of groups, each group of sub-controllers being arranged in sequence; further comprises: the IP address determining module and the IP address binding module sequentially, wherein:
The IP address determining module is used for sequentially determining the IP addresses of other sub-controllers in the same group with the target sub-controller according to the target IP address and the corresponding serial number;
The IP address sequential binding module is used for sequentially determining respective IP address binding information for other sub-controllers of the same group, so that the other sub-controllers of the same group can respectively bind respective MAC addresses, IP addresses and sub-controller array serial numbers in sequence, and the MAC addresses of the other sub-controllers of the same group, the sub-controller array serial numbers and the physical areas where the LED groups are located are respectively in one-to-one correspondence.
The embodiment of the invention also discloses a landscape LED sub-controller cascade system, which comprises: the system comprises a plurality of cascaded sub-controllers and a switch, wherein the switch is connected with the plurality of cascaded sub-controllers, and the switch runs a program to realize the method.
According to the landscape LED sub-controller cascading method, device and system disclosed by the embodiment of the invention, the sub-controllers form the topological array, different groups of LED groups are respectively controlled, after the designated IP address allocation instruction is sent to the sub-controllers, response information returned by the target sub-controller based on the designated IP address allocation instruction is received, during the period, the target sub-controller sends prompt information to a debugger, so that the debugger can know the physical area where the LED groups controlled by the target sub-controller are located, and then the IP address binding information can be sent to the target sub-controller based on the physical area corresponding to the target sub-controller, so that the MAC address, the IP address and the sub-controller array serial number of the target sub-controller are bound, namely, in the whole IP address binding process, the debugger does not need to reach the installation position of the sub-controller, the cascading process only needs to receive the prompt information of the sub-controller, the corresponding relation of the prompt information, the serial number and the IP address is conveniently utilized, the IP address setting of the sub-controller is completed, and the IP address is enabled to be corresponding to the LED groups after the setting, the IP address binding process is completed, and the work amount of the LED is reduced one-to one by one, and the work is limited.
In addition, the invention also provides a computer readable storage medium, such as a chip, an optical disc, and the like, on which an execution program is stored, which when executed, implements the method as described in any one of the above.
The computer readable storage medium according to the embodiments of the present disclosure is not limited to the above-described embodiments, and may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the above. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In an embodiment of the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
Those skilled in the art will appreciate that the above-described preferred embodiments can be freely combined and stacked without conflict. In which the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures, for example, two blocks shown in succession may in fact be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. The numbering of the steps herein is for convenience of illustration and reference only and is not intended to limit the order in which the steps are performed, the particular order of execution being determined by the technology itself, and the skilled artisan can determine various allowable, reasonable orders based on the technology itself.
It should be noted that step numbers (letter or number numbers) are used in the present invention to refer to certain specific method steps for convenience and brevity only, and are not intended to limit the order of the method steps by letter or number in any way. It will be apparent to those skilled in the art that the sequence of steps of the relevant method should be determined by the technique itself, should not be unduly limited by the presence of step numbers, and that one skilled in the art can determine various allowable, reasonable sequences of steps based on the technique itself.
Those skilled in the art will appreciate that the above-described preferred embodiments can be freely combined and stacked without conflict.
It will be understood that the above-described embodiments are merely illustrative and not restrictive, and that all obvious or equivalent modifications and substitutions to the details given above may be made by those skilled in the art without departing from the underlying principles of the invention, are intended to be included within the scope of the appended claims.

Claims (10)

1. A landscape LED sub-controller cascading method applied to a switch, wherein the switch is connected with a plurality of cascaded sub-controllers, each sub-controller is respectively connected with a respective group of LEDs, and each group of LEDs is arranged on a landscape building, the method is characterized by comprising the following steps:
step S100, sending a specified IP address allocation instruction to a plurality of sub-controllers, wherein the sub-controllers form a topological array and respectively control different groups of LED groups, and the physical areas of the LED groups are different;
Step S200, receiving response information returned by a target sub-controller, wherein the target sub-controller is a sub-controller which returns the response information among the plurality of sub-controllers, the response information comprises the MAC address of the target sub-controller, and the target sub-controller sends prompt information to a debugging personnel during the period to prompt a physical area where an LED group correspondingly controlled by the target sub-controller is located;
And step S300, IP address binding information is sent to the target sub-controller so as to bind the MAC address, the IP address and the sub-controller array serial number of the target sub-controller, wherein the sub-controller array serial number represents the physical area where the LED group controlled by the target sub-controller is located, so that the MAC address, the sub-controller array serial number and the physical area where the LED group controlled by the target sub-controller are located are in one-to-one correspondence.
2. The method according to claim 1, wherein in the step S200, the prompt message includes a sound and/or a light emitted from the target sub-controller, and/or the target sub-controller drives the corresponding physical area LED group to emit light.
3. The method of cascading landscape LED sub-controllers according to claim 1, wherein in the step S300, transmitting IP address binding information to the target sub-controller includes:
generating a target IP address according to a serial number corresponding to the position of the target sub-controller, wherein the target IP address is one of a plurality of IP addresses which are arranged in sequence;
and sending the target IP address serving as the IP address binding information to the target sub-controller so that the target sub-controller binds the target IP address.
4. A landscape LED sub-controller cascade method according to claim 3, wherein the plurality of sub-controllers are divided into a plurality of groups, each group of sub-controllers being arranged in sequence;
After the step S300, further includes:
determining the IP addresses of other sub-controllers in the same group with the target sub-controller in sequence according to the target IP address and the corresponding serial number;
the other sub-controllers in the same group sequentially determine respective IP address binding information by referring to the head station, so that the other sub-controllers in the same group respectively bind respective MAC addresses, IP addresses and sub-controller array serial numbers in sequence, and the MAC addresses of the other sub-controllers in the same group, the sub-controller array serial numbers and the physical areas where the LED groups are located are in one-to-one correspondence.
5. The method of cascading landscape LED sub-controllers according to any one of claims 1 to 4, further comprising, after said step S300:
after cascade connection of each sub-controller is completed, the sub-controller currently in a working state is identified;
the total bandwidth of the switch is distributed according to the number of the sub-controllers in the working state, and a unit bandwidth is obtained;
And distributing the total bandwidth to each sub-controller in an operating state according to the size of the unit bandwidth, and not distributing the total bandwidth to the sub-controllers in a non-operating state.
6. A landscape LED sub-controller cascade device applied to a switch, the switch being connected with a plurality of cascaded sub-controllers, each sub-controller being connected with a respective group of LEDs, each group of LEDs being arranged on a landscape architecture, the device comprising:
An allocation instruction sending module (100) for sending an allocation instruction of a specified IP address to a plurality of sub-controllers, wherein the sub-controllers form a topology array and respectively control different groups of LED groups, and the physical areas of the LED groups are different;
The response information receiving module (200) is used for receiving response information returned by the target sub-controller based on the specified IP address allocation instruction, wherein the target sub-controller is a sub-controller which returns the response information in the plurality of sub-controllers, the response information comprises the MAC address of the target sub-controller, and the target sub-controller sends prompt information to debugging personnel during the response information comprises the MAC address of the target sub-controller so as to prompt a physical area where an LED group correspondingly controlled by the target sub-controller is located;
And the IP address binding module (300) is used for sending IP address binding information to the target sub-controller so as to bind the MAC address, the IP address and the sub-controller array serial number of the target sub-controller, wherein the sub-controller array serial number represents the physical area where the LED group controlled by the target sub-controller is located, so that the MAC address of the target sub-controller, the sub-controller array serial number and the physical area where the LED group is located are in one-to-one correspondence.
7. The landscape LED sub-controller cascade apparatus of claim 6, wherein the IP address binding module (300) is configured to generate a target IP address according to a sequence number corresponding to a location of the target sub-controller, where the target IP address is one of a plurality of IP addresses arranged in sequence; and sending the target IP address serving as the IP address binding information to the target sub-controller so that the target sub-controller binds the target IP address.
8. The landscape LED sub-controller cascade apparatus of claim 7, wherein the plurality of sub-controllers are divided into a plurality of groups, each group of sub-controllers being arranged in sequence; further comprises:
the IP address determining module is used for sequentially determining the IP addresses of other sub controllers in the same group with the target sub controller according to the target IP address and the corresponding serial number;
The IP address sequentially binding module is used for sequentially determining respective IP address binding information to other sub-controllers of the same group, so that the other sub-controllers of the same group can respectively bind respective MAC addresses, IP addresses and sub-controller array serial numbers in sequence, and the MAC addresses of the other sub-controllers of the same group, the sub-controller array serial numbers and the physical areas where the LED groups are located are respectively in one-to-one correspondence.
9. A computer readable storage medium having stored thereon a computer program for execution by a processor to implement the method of any of claims 1-5.
10. A landscape LED sub-controller cascade system, comprising:
A plurality of cascaded sub-controllers;
a switch coupled to the plurality of cascaded controllers, the switch running a program to implement the method of any of claims 1-5.
CN202410213441.3A 2024-02-27 2024-02-27 Cascade method, device and system of landscape LED sub-controllers Pending CN118101619A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410213441.3A CN118101619A (en) 2024-02-27 2024-02-27 Cascade method, device and system of landscape LED sub-controllers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410213441.3A CN118101619A (en) 2024-02-27 2024-02-27 Cascade method, device and system of landscape LED sub-controllers

Publications (1)

Publication Number Publication Date
CN118101619A true CN118101619A (en) 2024-05-28

Family

ID=91159551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410213441.3A Pending CN118101619A (en) 2024-02-27 2024-02-27 Cascade method, device and system of landscape LED sub-controllers

Country Status (1)

Country Link
CN (1) CN118101619A (en)

Similar Documents

Publication Publication Date Title
CA2520784C (en) Packet communication between a collecting unit and a plurality of control devices over the power supply line
CN111147619B (en) Method and system for realizing automatic address allocation of RS485 slave equipment locally
JP6502329B2 (en) System including control device and controlled device
CN106131240B (en) CAN address allocation method and communication system based on sequential chain
CN102334386A (en) The automatic debugging of the equipment of the control system of networking
CN109257841B (en) Writing system and writing method of coded address
WO2020220762A1 (en) Method for quickly setting dmx addresses of lamps
US10120400B2 (en) Air-conditioning apparatus and remote controller power supply method
CN101449235A (en) Method and apparatus for auto-commissioning of LED based display configurations
KR101410192B1 (en) Reconfiguration method and system of rf channel and device address in wireless dmx512 devices and a method based on two-way communication
US20060080379A1 (en) Network system and method allocating addresses
CN111397175A (en) Control equipment with multiple control modes, control method and air conditioning unit
CN106201964A (en) The on-line automatic addressing of RDM driver and RDM bus short circuit positioner and method
CN112114524A (en) Equipment control and access method based on centralized control network and equipment thereof
JP2006281960A (en) Signal control system, signal equipment and program
JP6534063B2 (en) Lighting system and communication method in lighting system
CN118101619A (en) Cascade method, device and system of landscape LED sub-controllers
CN111402525B (en) Equipment on-site positioning system and method in cabinet and operation and maintenance management system and method
JP2016134879A (en) Apparatus id assignment system
CN109412741B (en) Large-scale array system state monitoring and software upgrading method based on optical fiber communication
CN118101784A (en) Landscape LED data transmission method, device and system based on sub-controller
WO2021233477A1 (en) Wireless networking and communication method, system and apparatus for air conditioner, and medium
KR101668089B1 (en) A communication apparatus for a safety system of a nuclear plant and a communication method therefor
CN201178508Y (en) Lamp control system
CN216122959U (en) Multi-floor light control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination