Method and system for selecting optimal gateway node of single-lamp gateway

By analyzing the transmission performance data of the street light network through the central controller, constructing broadcast path identification and optimizing broadcast paths, the problems of broadcast signals occupying channels and wasting resources in the street light network are solved, and efficient, energy-saving and secure data transmission is achieved.

CN121967308APending Publication Date: 2026-05-01ZHEJIANG FONDA CONTROL TECH
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ZHEJIANG FONDA CONTROL TECH
Filing Date
2026-02-03
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

In large-scale, dense street light networks, simple broadcast signals can easily occupy channels, causing data uplink and downlink congestion, resource waste, and increased power consumption. Furthermore, processing invalid broadcast information leads to energy waste.

Method used

By analyzing the transmission performance data of gateways and individual lights through the central controller, a broadcast path identity is constructed. Only matching gateways or individual lights are allowed to parse and forward broadcast information, while other unmatched gateways or individual lights destroy the broadcast data. Broadcast path identity is dynamically generated to optimize the broadcast path. The best path is selected by using AI models to predict packet loss rate and latency data.

Benefits of technology

Reduce broadcast data packet loss rate, improve transmission quality, reduce network power consumption, enhance the security and energy efficiency of broadcast paths, and improve the transmission efficiency of different data types.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121967308A_ABST
    Figure CN121967308A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a system for selecting an optimal gateway node of a single-lamp group gateway, and the method comprises the steps: a central controller obtains uplink and downlink transmission performance data of each gateway relative to the central controller, and obtains uplink and downlink transmission performance data of each gateway relative to other gateways; acquiring uplink and downlink transmission performance data of a single lamp node in each communication connection; the central controller performs data analysis according to uplink and downlink transmission performance data of the gateway and the single lamp node, obtains identity information of the gateway and the single lamp node, screens out a satisfied gateway identity label and a satisfied single lamp identity label, and obtains a broadcast path identity label; the central controller sends broadcast information including the encrypted broadcast path identity label to the outside, and the corresponding gateway or the single lamp receives the broadcast information; and analyzing and matching the broadcast path identity identifier with the identity identifier of the gateway or the single lamp, if the matching is successful, analyzing and executing or forwarding the broadcast information, and if the matching is failed, directly destroying the broadcast information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of single-lamp networking technology, and in particular to a method and system for selecting the optimal gateway node for a single-lamp group gateway. Background Technology

[0002] Currently, streetlights with data transmission and networking capabilities are widely used in urban and rural roads. Streetlight control and fault detection are primarily achieved through broadcasting via the streetlight's communication module and gateway. However, this simple broadcasting method has the following technical problems: When a gateway broadcasts, adjacent gateways or streetlight communication modules receive the information and forward it to their neighbors. Therefore, in large-scale, dense streetlight networks, simple broadcast signals can easily occupy channels, leading to data congestion in both uplink and downlink communication. Furthermore, since adjacent gateways and streetlights need to process the broadcast information regardless of whether it's needed, and if it needs to be forwarded, a new broadcast signal is generated and forwarded. This results in the streetlight terminal consuming significant CPU and power to process data unrelated to its own operation, leading to resource waste. Summary of the Invention

[0003] One objective of this invention is to provide a method and system for optimal gateway node selection for a single-lamp group gateway. The method and system utilize a central controller to acquire uplink data from different gateways to the central controller in real time, as well as uplink and downlink data from each lamp to different gateways. The central controller performs data analysis on the uplink and downlink data from different gateways to the central controller and from each lamp to different gateways, extracts transmission performance data from the uplink and downlink data, and optimizes the broadcast path based on the transmission performance data, thereby effectively reducing the broadcast data packet loss rate and improving the transmission effect of broadcast data.

[0004] Another objective of this invention is to provide a method and system for optimal gateway node selection in a single-lamp group. The method and system analyze the transmission performance data of uplink and downlink data, including that of the gateway, through a central controller. This generates a broadcast path identity identifier for the gateway and distributes the broadcast path identity identifier to the gateway. The gateway or single-lamp terminal then sends a message containing the broadcast path identity identifier. Only gateways or single-lamp terminals matching the broadcast path identity identifier parse and process or re-forward the broadcast data. Other gateways or single-lamp terminals that do not match the broadcast path identity identifier do not parse the broadcast data and directly destroy it. Therefore, other gateways or single-lamp terminals that do not match the broadcast path identity identifier do not need to re-broadcast and forward the broadcast data, thereby effectively reducing the broadcast power consumption of the single-lamp network and saving energy overall.

[0005] Another objective of this invention is to provide a method and system for selecting the optimal gateway node for a single-lamp group gateway. The method and system dynamically acquire transmission performance data for uplink and downlink data of all gateways and single lamps in multiple areas through a central controller, and randomly acquire gateway identity identifiers and single lamp identity identifiers that meet the transmission performance requirements. These are used to construct encrypted broadcast path identity identifiers. Therefore, the broadcast path identity identifiers are also dynamically generated. This allows the technical solution of this invention to not only meet the optimal broadcast for uplink and downlink data, but also provides a certain degree of security against illegal theft of confidential information due to the unspecificity of its own broadcast path.

[0006] Another objective of this invention is to provide a method and system for optimal gateway node selection for a single-lamp group gateway. The method and system utilize historical uplink and downlink data from the gateway and individual lamps to train an AI model. This AI model predicts the packet loss rate, latency, and success rate of communication between the gateway and individual lamps at different times. Based on data types meeting specific requirements, the optimal gateway identity and individual lamp identity are selected according to the predicted packet loss rate, latency, and success rate to construct the broadcast path identity, thereby significantly improving the uplink and downlink transmission performance for different data types.

[0007] To achieve at least one of the above-mentioned objectives, the present invention further provides a method for selecting the optimal gateway node for a single-lamp group gateway, the method comprising: The central controller acquires the uplink and downlink transmission performance data of each gateway relative to the central controller, and acquires the uplink and downlink transmission performance data of each gateway relative to other gateways. Each gateway acquires the uplink and downlink transmission performance data of each communication connection's single-lamp node, and uploads the corresponding uplink and downlink transmission performance data of the single-lamp node to the central controller through the corresponding gateway. The central controller performs data analysis based on the uplink and downlink transmission performance data of the acquired gateways and individual light nodes, and obtains the identity information of each gateway and individual light node. Based on the data analysis results, data transmission type and the preset transmission performance requirements of the corresponding data transmission type, it selects the gateway identity identifier and individual light identity identifier that meet the requirements, and uses them to construct the broadcast path identity identifier. The central controller sends out broadcast information including the encrypted broadcast path identity identifier, and the corresponding gateway or single light receives the broadcast information including the encrypted broadcast path identity identifier. The broadcast path identifier is parsed and matched with the identifier of the gateway or the individual light itself. If the match is successful, the broadcast information is parsed, executed, or forwarded. If the match fails, the broadcast information is destroyed directly.

[0008] According to a preferred embodiment of the present invention, the central controller obtains the MAC address of each gateway as the identity identifier of the corresponding gateway, the corresponding gateway obtains the MAC address of each individual lamp in the communication connection as the identity identifier of the individual lamp, and at the same time, the corresponding gateway obtains the transmission performance data corresponding to the uplink and downlink data of the individual lamp in the communication connection, and the corresponding gateway obtains the transmission performance data of the current gateway relative to the uplink and downlink data of other gateways, and uploads the transmission performance data to the central controller through the corresponding gateway after binding the MAC address of the gateway or the MAC address of the individual lamp.

[0009] According to another preferred embodiment of the present invention, the transmission performance data includes the communication success rate of the gateway and the single lamp within a set time period, the uplink and downlink packet loss rate of the gateway and the single lamp within the set time period, and the uplink and downlink delay data of the gateway and the single lamp within the set time period; and the corresponding communication success rate, packet loss rate, and delay data are bound to the corresponding gateway MAC address or single lamp MAC address to obtain binding data, and the binding data is uploaded to the central controller, which analyzes the binding data to filter broadcast path identity identifiers that meet the corresponding data type.

[0010] According to another preferred embodiment of the present invention, the central controller pre-constructs broadcast policies based on different data types, wherein the different data types include: normal status reporting data, emergency alarm data, firmware upgrade data, and authentication data; transmission performance conditions that meet the corresponding data types are set for the normal reporting data, emergency alarm data, firmware upgrade data, and authentication data, respectively; and gateway identity identifiers and single-lamp identity identifiers that meet the corresponding data type transmission performance conditions are filtered from the central controller according to the transmission performance conditions, and the set of identifiers of the filtered gateway identity identifiers and single-lamp identity identifiers is used as the broadcast path identity identifier; further, the broadcast path identity identifier is encrypted and packaged with service data and sent out as broadcast data.

[0011] According to another preferred embodiment of the present invention, the transmission performance conditions for different data types include: pre-setting upper and lower thresholds for communication success rate, upper and lower thresholds for packet loss rate, and upper and lower thresholds for delayed data according to the corresponding data type; and filtering gateway identity identifiers and single-lamp identity identifiers that meet the corresponding data transmission performance conditions from the central controller according to the upper and lower thresholds of the above-mentioned different transmission performance conditions, for constructing the broadcast path identity identifier.

[0012] According to another preferred embodiment of the present invention, after receiving encrypted broadcast data, the current gateway or single light parses the broadcast path identity identifier in the broadcast data. The current gateway or single light matches its own identity identifier with the broadcast path identity identifier. If the identity identifier of the current gateway or single light exists in the broadcast path identity identifier, the current gateway or single light executes the forwarding broadcast command or service command matched in the task table of the broadcast data; otherwise, the current gateway or single light directly destroys the broadcast data, so that the current gateway or single light no longer forwards the broadcast data. It should be noted that the task table records the task commands of the gateway or single light that meet the requirements. It is preset by the central controller according to the data analysis results. The task commands include forwarding commands and service commands. The forwarding command executes external broadcasting, and the service command executes the corresponding service operation.

[0013] According to another preferred embodiment of the present invention, the central controller acquires historical transmission performance data of all gateways and individual lights in the corresponding area, and constructs training data for an AI model based on the historical transmission performance data. The historical transmission performance data is divided into data including time period data bound to the corresponding identity identifier, communication success rate of the corresponding time period, packet loss rate of the corresponding time period, and latency data of the corresponding time period. The divided historical transmission performance data is input into an AI model with regression prediction capability for training to obtain a transmission performance data prediction model. Based on the transmission performance data prediction model, the transmission performance data of the gateway or individual light with the corresponding identity identifier in the corresponding time period in the future is predicted. Based on the prediction results, gateway identity identifiers or individual light identity identifiers that meet the corresponding data type are selected, and the broadcast path identity identifier is predicted and constructed.

[0014] According to another preferred embodiment of the present invention, the central controller obtains the RSSI signal strength of other gateways or single lights that are communicated and connected to each gateway or single light node, and obtains the spatial distance of each gateway or single light relative to other communicated gateways or single lights. The central controller obtains the target identity identifier of the target service according to the service instruction, wherein the target identity identifier includes the gateway identity identifier and the single light identity identifier. Based on satisfying the communication connection conditions and the corresponding data type transmission performance conditions, the central controller randomly obtains multiple gateway identity identifiers and single light identity identifiers containing the target identity identifier according to the spatial distance, and randomly constructs broadcast path identity identifiers for n paths, calculates the forwarding number of broadcast path identity identifiers for each path, and selects the one with the smallest forwarding number as the final target broadcast path identity identifier.

[0015] To achieve at least one of the above-mentioned objectives, the present invention further provides a single-lamp group gateway optimal gateway node selection system, wherein the system executes the above-mentioned single-lamp group gateway optimal gateway node selection method.

[0016] The present invention further provides a computer-readable storage medium storing a computer program, which is executed by a processor to implement the above-described method for selecting the optimal gateway node for a single-lamp group gateway. Attached Figure Description

[0017] Figure 1 The diagram shown is a flowchart illustrating the optimal gateway node selection method for a single-lamp group gateway according to the present invention. Detailed Implementation

[0018] The following description is intended to disclose the present invention and enable those skilled in the art to implement it. The preferred embodiments described below are merely examples, and other obvious variations will occur to those skilled in the art. The basic principles of the invention defined in the following description can be applied to other embodiments, modifications, improvements, equivalents, and other technical solutions that do not depart from the spirit and scope of the invention.

[0019] It is understood that the term "a" should be understood as "at least one" or "one or more," that is, in one embodiment, the number of an element can be one, while in another embodiment, the number of the element can be multiple, and the term "a" should not be understood as a limitation on the number.

[0020] Please combine Figure 1 This invention discloses a method for selecting the optimal gateway node for a single-lamp group gateway, the method specifically including the following steps: S01. The central controller obtains the uplink and downlink transmission performance data of each gateway relative to the central controller, and obtains the uplink and downlink transmission performance data of each gateway relative to other gateways. S02. Each gateway obtains the uplink and downlink transmission performance data of each communication connection's single-lamp node, and uploads the corresponding uplink and downlink transmission performance data of the single-lamp node to the central controller through the corresponding gateway. S03. The central controller performs data analysis based on the acquired uplink and downlink transmission performance data of the gateway and single light node, and obtains the identity information of each gateway and single light node. Based on the data analysis results, data transmission type and the preset transmission performance requirements of the corresponding data transmission type, it selects the gateway identity identifier and single light identity identifier that meet the requirements, and uses them to construct the broadcast path identity identifier. S04. The central controller sends out broadcast information including the encrypted broadcast path identity identifier, and the corresponding gateway or single light receives the broadcast information including the encrypted broadcast path identity identifier. S05. Parse the broadcast path identity identifier and match it with the identity identifier of the gateway or the single light itself. If the match is successful, parse and execute or forward the broadcast information. If the match fails, destroy the broadcast information directly.

[0021] Specifically, the central controller connects to multiple gateways, each gateway can communicate with other gateways and individual lights within its communication range. Each individual light has a broadcast communication module for communication with the gateways. In one preferred embodiment of the invention, the individual light can act as a gateway under specific circumstances, such as a gateway failure or other individual light failures. Therefore, in this invention, the individual light can communicate with other individual lights. The communication modules of both the gateways and individual lights in this invention have hardware devices. Therefore, this invention can use the MAC addresses of the gateways and individual lights themselves as identifiers. The central controller obtains the MAC address of each gateway as the identifier of the corresponding gateway. The corresponding gateway obtains the MAC address of each individual light it is communicating with as the identifier of that individual light. Simultaneously, the corresponding gateway obtains the transmission performance data corresponding to the uplink and downlink data of the individual lights it is communicating with, and the corresponding gateway obtains the transmission performance data of the current gateway relative to the uplink and downlink data of other gateways. The transmission performance data is then bound to the MAC address of the gateway or the MAC address of the individual light and uploaded to the central controller through the corresponding gateway.

[0022] It is worth mentioning that the transmission performance data includes the communication success rate between the gateway and individual lights within a set time period, the uplink and downlink packet loss rate between the gateway and individual lights within the set time period, and the uplink and downlink latency data between the gateway and individual lights within the set time period. The uplink and downlink packet loss data, success rate, and latency data within the set time period can be uplink and downlink data from the gateway to the central controller, or uplink and downlink data from an individual light node to the communication connection gateway, or uplink and downlink data from one light to another. The corresponding communication success rate, packet loss rate, and latency data are bound to the corresponding gateway MAC address or individual light MAC address to obtain bound data, which is then uploaded to the central controller. The central controller analyzes the bound data to filter broadcast path identifiers that meet the corresponding data type requirements. It should be noted that the gateway MAC address or individual light MAC address used as the unique identifier of the gateway or individual light in this invention is only an example. In some preferred embodiments of this invention, a string generated by combining a random number with a hash algorithm can be used as the unique identifier of the corresponding gateway or individual light. This invention does not impose specific limitations on this.

[0023] Furthermore, since different data types require different broadcast communication environments, for example, the communication requirements for data reported by a single light in its normal state are minimal, requiring only a communication link that can be uploaded. Even with significant delays, it does not affect the final upload of normal data from a single light. Therefore, the transmission performance conditions for this type of normal state reporting data can be set more broadly, with higher upper limits for latency data and packet loss rates, etc. On the other hand, for emergency alarm data, there may be single light or gateway failures, or other potential risks. This invention requires allocating a low-latency broadcast link for emergency alarm data. Therefore, the latency threshold for emergency alarm data is set lower to ensure that the emergency alarm data can be quickly uploaded to the central controller via a low-latency gateway or single light communication link, achieving rapid feedback of emergency alarms. Therefore, to achieve efficient transmission of different types of data to their ultimate purpose, this invention's central controller... Broadcast strategies are pre-constructed based on different data types, including but not limited to: normal status reporting data, emergency alarm data, firmware upgrade data, and authentication data. Firmware upgrade data can be online upgrades of the corresponding software components within the firmware, and authentication data includes but is not limited to relevant hardware authentication certificates. Transmission performance conditions are set for each of the following data types: normal reporting data, emergency alarm data, firmware upgrade data, and authentication data. Gateway identity identifiers and single-lamp identity identifiers that meet the transmission performance conditions for the corresponding data types are selected from the central controller based on these conditions. The set of selected gateway identity identifiers and single-lamp identity identifiers is used as the broadcast path identity identifier. In other words, the broadcast path identifier in this invention is composed of at least one gateway identity identifier and / or at least one single-lamp identity identifier. Furthermore, the broadcast path identity identifier is encrypted and packaged with service data before being sent externally as broadcast data.

[0024] The transmission performance conditions for different data types include: pre-setting upper and lower thresholds for communication success rate, packet loss rate, and latency based on the corresponding data type; and selecting gateway and single-lamp identity identifiers that meet the corresponding data transmission performance conditions from the central controller based on the upper and lower thresholds of the above-mentioned different transmission performance conditions, which are used to construct the broadcast path identity identifier. Specifically, if the data type is firmware upgrade data, since firmware upgrade data requires a highly stable communication environment, it is necessary to calculate and select broadcast path identifiers with lower weighted or total packet loss rates from all possible broadcast links between the target single lamp or gateway and the central controller, and a set of broadcast path identifiers that meet higher communication success rates as the broadcast link for the firmware upgrade data.

[0025] After receiving encrypted broadcast data, the current gateway or single light parses the broadcast path identity identifier in the broadcast data. The current gateway or single light matches its own identity identifier with the broadcast path identity identifier. If the current gateway or single light's identity identifier exists in the broadcast path identity identifier, the current gateway or single light executes the forwarding broadcast command or service command matched in the task table of the broadcast data; otherwise, the current gateway or single light directly destroys the broadcast data, preventing it from being forwarded. It should be noted that the task table records the task commands of gateways or single lights that meet the requirements. It is pre-set by the central controller based on data analysis results. The task commands include forwarding commands and service commands. Forwarding commands execute external broadcasts, while service commands execute corresponding service operations. The task table can be sent externally as broadcast data or sent after encryption. The encryption method can include, but is not limited to, elliptic cryptography and hash encryption, and the verification method can include, but is not limited to, zero-knowledge proofs. The above encryption and verification methods are existing technologies, and will not be described in detail in this invention.

[0026] The central controller acquires historical transmission performance data of all gateways and individual lights in the corresponding area, and constructs training data for an AI model based on the historical transmission performance data. The AI ​​model can be, but is not limited to, neural network models such as CNN and deep neural network models such as DNN. This invention does not limit the specific type of the AI ​​model. This invention divides the historical transmission performance data into data including time period data bound to corresponding identity identifiers, communication success rate of the corresponding time period, packet loss rate of the corresponding time period, and latency data of the corresponding time period. The divided historical transmission performance data is input into an AI model with regression prediction capabilities for training to obtain a transmission performance data prediction model. Based on the transmission performance data prediction model, the transmission performance data of gateways or individual lights with corresponding identity identifiers in the corresponding time period in the future is predicted. Based on the prediction results, gateway identity identifiers or individual light identity identifiers that meet the corresponding data type are selected, and the broadcast path identity identifiers are predicted and constructed.

[0027] In one preferred embodiment of the present invention, in order to reduce the number of broadcast link forwardings and reduce overall broadcast power consumption, the central controller obtains the RSSI signal strength of other gateways or single lights that each gateway or single light node is connected to, and obtains the spatial distance of each gateway or single light relative to other connected gateways or single lights. The central controller obtains the target identity identifier of the target service according to the service instruction, wherein the target identity identifier includes the gateway identity identifier and the single light identity identifier. Based on meeting the conditions of communication connection and the transmission performance conditions of the corresponding data type, the central controller randomly obtains multiple gateway identity identifiers and single light identity identifiers containing the target identity identifier according to the spatial distance, and randomly constructs broadcast path identity identifiers for n paths, calculates the number of forwardings of the broadcast path identity identifier for each path, and selects the one with the smallest number of forwardings as the final target broadcast path identity identifier.

[0028] The processes described in the flowcharts above, as disclosed in the embodiments of this invention, can be implemented as computer software programs. The embodiments disclosed in this invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication component, and / or installed from a removable medium. When the computer program is executed by a central processing unit (CPU), the methods of this application are not limited to the aforementioned functions. It should be noted that the computer-readable medium described above in this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wire segments, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless segments, wire segments, optical fibers, RF, etc., or any suitable combination thereof.

[0029] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0030] Those skilled in the art should understand that the embodiments of the present invention described above and shown in the accompanying drawings are merely examples and do not limit the present invention. The purpose of the present invention has been fully and effectively achieved. The functions and structural principles of the present invention have been shown and explained in the embodiments. Without departing from the stated principles, the implementation of the present invention may have any variations or modifications.

Claims

1. A method for selecting the optimal gateway node for a single-lamp group gateway, characterized in that, The method includes: The central controller acquires the uplink and downlink transmission performance data of each gateway relative to the central controller, and acquires the uplink and downlink transmission performance data of each gateway relative to other gateways. Each gateway acquires the uplink and downlink transmission performance data of each communication connection's single-lamp node, and uploads the corresponding uplink and downlink transmission performance data of the single-lamp node to the central controller through the corresponding gateway. The central controller performs data analysis based on the uplink and downlink transmission performance data of the acquired gateways and individual light nodes, and obtains the identity information of each gateway and individual light node. Based on the data analysis results, data transmission type and the preset transmission performance requirements of the corresponding data transmission type, it selects the gateway identity identifier and individual light identity identifier that meet the requirements, and uses them to construct the broadcast path identity identifier. The central controller sends out broadcast information including the encrypted broadcast path identity identifier, and the corresponding gateway or single light receives the broadcast information including the encrypted broadcast path identity identifier. The broadcast path identifier is parsed and matched with the identifier of the gateway or the individual light itself. If the match is successful, the broadcast information is parsed, executed, or forwarded. If the match fails, the broadcast information is destroyed directly.

2. The method for selecting the optimal gateway node for a single-lamp group gateway according to claim 1, characterized in that, The central controller obtains the MAC address of each gateway as the identity identifier of the corresponding gateway. The corresponding gateway obtains the MAC address of each individual lamp in the communication connection as the identity identifier of the individual lamp. At the same time, the corresponding gateway obtains the transmission performance data corresponding to the uplink and downlink data of the individual lamp in the communication connection, and the corresponding gateway obtains the transmission performance data of the current gateway relative to the uplink and downlink data of other gateways. After binding the transmission performance data with the MAC address of the gateway or the MAC address of the individual lamp, it is uploaded to the central controller through the corresponding gateway.

3. The method for selecting the optimal gateway node for a single-lamp group gateway according to claim 1, characterized in that, The transmission performance data includes the communication success rate of the gateway and individual lights within a set time period, the uplink and downlink packet loss rates of the gateway and individual lights within the set time period, and the uplink and downlink latency data of the gateway and individual lights within the set time period. The corresponding communication success rate, packet loss rate, and latency data are bound to the corresponding gateway MAC address or individual light MAC address to obtain bound data. The bound data is then uploaded to the central controller, which analyzes the bound data to filter broadcast path identity identifiers that meet the corresponding data type requirements.

4. The method for selecting the optimal gateway node for a single-lamp group gateway according to claim 1, characterized in that, The central controller pre-constructs broadcast policies based on different data types, including: normal status reporting data, emergency alarm data, firmware upgrade data, and authentication data. It sets transmission performance conditions for each of the normal reporting data, emergency alarm data, firmware upgrade data, and authentication data, and filters gateway identity identifiers and single-lamp identity identifiers that meet these conditions from the central controller. The set of selected gateway and single-lamp identity identifiers is then used as the broadcast path identity identifier. Furthermore, the broadcast path identity identifier is encrypted and packaged with service data before being sent externally as broadcast data.

5. The method for selecting the optimal gateway node for a single-lamp group gateway according to claim 4, characterized in that, The transmission performance conditions for different data types include: pre-setting upper and lower thresholds for communication success rate, packet loss rate, and latency data according to the corresponding data type; and filtering gateway identity identifiers and single-lamp identity identifiers that meet the corresponding data transmission performance conditions from the central controller according to the upper and lower thresholds of the above different transmission performance conditions, which are used to construct the broadcast path identity identifier.

6. The method for selecting the optimal gateway node for a single-lamp group gateway according to claim 1, characterized in that, After receiving encrypted broadcast data, the current gateway or single light parses the broadcast path identity identifier in the broadcast data. The current gateway or single light matches its own identity identifier with the broadcast path identity identifier. If the current gateway or single light's identity identifier exists in the broadcast path identity identifier, the current gateway or single light executes the forward broadcast command or service command matched in the task table of the broadcast data. Otherwise, the current gateway or single light directly destroys the broadcast data, so that the current gateway or single light no longer forwards the broadcast data.

7. The method for selecting the optimal gateway node for a single-lamp group gateway according to claim 1, characterized in that, The central controller acquires historical transmission performance data of all gateways and individual lights in the corresponding area, and constructs training data for an AI model based on the historical transmission performance data. The historical transmission performance data is divided into data including time period data bound to the corresponding identity, communication success rate of the corresponding time period, packet loss rate of the corresponding time period, and latency data of the corresponding time period. The divided historical transmission performance data is input into an AI model with regression prediction capabilities for training to obtain a transmission performance data prediction model. Based on the transmission performance data prediction model, the transmission performance data of the gateway or individual light with the corresponding identity in the corresponding time period in the future is predicted. Based on the prediction results, gateway identity or individual light identity that meets the corresponding data type is selected, and the broadcast path identity is predicted and constructed.

8. The method for selecting the optimal gateway node for a single-lamp group gateway according to claim 1, characterized in that, The central controller acquires the RSSI signal strength of other gateways or single lights that each gateway or single light node communicates with, and acquires the spatial distance of each gateway or single light relative to other communicating gateways or single lights. The central controller acquires the target identity identifier of the target service according to the service instruction, wherein the target identity identifier includes the gateway identity identifier and the single light identity identifier. Based on the conditions of communication connection and the transmission performance conditions of the corresponding data type, the central controller randomly acquires multiple gateway identity identifiers and single light identity identifiers containing the target identity identifier according to the spatial distance, and randomly constructs broadcast path identity identifiers for n paths, calculates the forwarding number of broadcast path identity identifiers for each path, and selects the one with the smallest forwarding number as the final target broadcast path identity identifier.

9. A single-lamp group gateway optimal gateway node selection system, characterized in that, The system executes the optimal gateway node selection method for a single-lamp group gateway as described in any one of claims 1-8.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that is executed by a processor to implement the optimal gateway node selection method for a single-lamp group gateway as described in any one of claims 1-8.