Intelligent lamp control method, device, equipment, medium and product

By adopting a dual-path communication network and an automatic link switching mechanism in the intelligent lighting control system, the problem of uncontrolled lighting nodes caused by unstable wireless signals has been solved, enabling more stable and timely transmission of control commands and improving the system's reliability and synchronous response capability.

CN121968426APending Publication Date: 2026-05-01GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GREE ELECTRIC APPLIANCE INC OF ZHUHAI
Filing Date
2025-12-19
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

Existing intelligent lighting control systems are prone to signal attenuation, packet loss, or interruption in communication links when there is uneven wireless signal coverage, electromagnetic interference, or fluctuations in node power supply. This can cause some lighting nodes to lose connection, delay or lose control command transmission, and affect synchronous response and lighting experience.

Method used

A dual-path communication network is adopted, including a main communication link and a backup communication link based on different wireless communication protocols. The main controller detects the communication status of the lighting group and automatically switches to the backup link when there is an abnormality. Combined with heartbeat detection and command caching mechanism, the stability of the communication link and the accuracy of command transmission are ensured.

Benefits of technology

It improves the stability of the communication link and the timeliness of control commands, avoids the problem of lamp node malfunction, reduces maintenance costs and operational complexity, and enhances the system's reliability and synchronous response capability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121968426A_ABST
    Figure CN121968426A_ABST
Patent Text Reader

Abstract

The invention provides an intelligent lamp control method, device and equipment, a medium and a product, and is applied to the technical field of intelligent home furnishing.The method comprises the steps that a dual-path communication network for multiple lamp nodes is established; grouping the plurality of lamp nodes to obtain a plurality of lamp groups, and determining communication states of the plurality of lamp groups; wherein each lamp group comprises a plurality of lamp nodes; and when it is detected that the target lamp group is in the abnormal communication state, switching the communication link of the target lamp group from the main communication link to the standby communication link. According to the embodiment of the invention, the method achieves the automatic adjustment of the communication link through the establishment of a dual-path communication network when the communication is in an abnormal state, improves the stability of the communication link, achieves the precise switching of the communication link through the grouping management of the lamp nodes, improves the transmission accuracy and timeliness of a control instruction, and improves the user experience. And the problem that the lamp node is out of control due to the fault of a single communication link is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

A method, apparatus, equipment, medium, and product for intelligent lighting control. Technical Field

[0001] This invention relates to the field of smart home technology, and in particular to a method, apparatus, device, medium and product for controlling smart lighting fixtures. Background Technology

[0002] With the development of smart home technology, smart home devices can be interconnected through wireless communication to achieve intelligent control and management. Smart home devices typically include smart lighting.

[0003] In existing technologies, smart lighting fixtures use a single wireless communication protocol (such as Bluetooth or Wi-Fi) to build a Mesh (Mesh Network) network, enabling the transmission of control commands through relay forwarding between nodes.

[0004] However, when using this method, the communication link is prone to signal attenuation, packet loss, or even interruption when there is uneven wireless signal coverage, electromagnetic interference, or fluctuations in node power supply, causing some lighting nodes to lose connection. Furthermore, due to the instability of the communication link, control commands may experience transmission delays or loss during multiple transitions, resulting in multiple lighting fixtures in the same scenario failing to achieve synchronous response. Summary of the Invention

[0005] In view of the above problems, a method, apparatus, device, medium, and product for intelligent lighting control are proposed to overcome or at least partially solve the above problems, comprising: a method for intelligent lighting control, the method comprising: establishing a dual-path communication network for multiple lighting nodes; wherein the dual-path communication network includes a primary communication link based on a first wireless communication protocol and a backup communication link based on a second wireless communication protocol, the first wireless communication protocol and the second wireless communication protocol being different; grouping the multiple lighting nodes to obtain multiple lighting groups, and determining the communication status of the multiple lighting groups; wherein each lighting group includes multiple lighting nodes; when a target lighting group is detected to be in a communication abnormal state, switching the communication link of the target lighting group from the primary communication link to the backup communication link.

[0006] Optionally, each lighting group is equipped with a data acquisition node to determine the communication status of the multiple lighting groups, including: obtaining the lighting group signal strength value of the lighting group through the data acquisition node; wherein the lighting group signal strength value is determined based on the node signal strength value of the lighting nodes in the lighting group; if the lighting group signal strength value is less than or equal to a preset strength value, the communication status of the lighting group is determined to be a communication abnormal state.

[0007] Optionally, each lighting group is equipped with a data acquisition node to determine the communication status of the multiple lighting groups, including: if no confirmation message is received from the data acquisition node in response to the instruction, determining that the communication status of the lighting group where the data acquisition node is located is an abnormal communication status.

[0008] Optionally, after switching the communication link of the target lighting group from the primary communication link to the backup communication link when the target lighting group is detected to be in a communication abnormal state, the method further includes: switching the communication link of the target lighting group from the backup communication link to the primary communication link when the target lighting group is detected to have returned to a normal communication state.

[0009] Optionally, the method further includes: broadcasting a heartbeat frame in a dual-path communication network; wherein the heartbeat frame carries the identifier of the master controller, and the frame header of the heartbeat frame and the identifier of the master controller are encrypted; receiving a response frame returned by the lighting node in response to the heartbeat frame; wherein the lighting node is used to obtain the identifier of the master controller after decrypting the heartbeat frame, and to generate a response frame when the identifier of the master controller matches the identifier of the lighting node.

[0010] Optionally, the method further includes: establishing an instruction cache array to cache instructions that have not received a confirmation message from the lighting node; for instructions in the instruction cache array, if no confirmation message is received from the lighting node within a preset time period, retransmitting them with an adjusted transmission power.

[0011] Optionally, the method further includes: for instructions that fail to be retransmitted, setting a priority flag so that instructions with the priority flag set are sent first after the luminaire node reconnects to the network.

[0012] Optionally, the method further includes: after detecting that the target lighting node is offline, sending a wake-up command directly to the target lighting node or sending a wake-up command to the target lighting node through an adjacent lighting node, so that the target lighting node automatically reconnects to the network after receiving the wake-up command.

[0013] Optionally, the first wireless communication protocol is a mesh network protocol, and the second wireless communication protocol is an ultra-wideband wireless communication protocol.

[0014] A device for intelligent lighting control, comprising: a dual-path communication network establishment module for establishing a dual-path communication network for multiple lighting nodes; wherein the dual-path communication network includes a primary communication link based on a first wireless communication protocol and a backup communication link based on a second wireless communication protocol, the first wireless communication protocol and the second wireless communication protocol being different; a communication status determination module for grouping the multiple lighting nodes into multiple lighting groups and determining the communication status of the multiple lighting groups; wherein each lighting group includes multiple lighting nodes; and a link switching module for switching the communication link of a target lighting group from the primary communication link to the backup communication link when a target lighting group is detected to be in a communication abnormal state.

[0015] An electronic device includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the method described above.

[0016] A computer-readable storage medium on which a computer program is stored, which, when executed by a processor, implements the method described above.

[0017] A computer program product includes a computer program that, when executed by a processor, implements the method described above.

[0018] The embodiments of the present invention have the following advantages: In the embodiments of the present invention, a dual-path communication network for multiple lighting nodes is established; wherein, the dual-path communication network includes a main communication link based on a first wireless communication protocol and a backup communication link based on a second wireless communication protocol, the first wireless communication protocol and the second wireless communication protocol are different; multiple lighting nodes are grouped to obtain multiple lighting groups, and the communication status of multiple lighting groups is determined; wherein, each lighting group includes multiple lighting nodes; when a target lighting group is detected to be in a communication abnormal state, the communication link of the target lighting group is switched from the main communication link to the backup communication link, thereby realizing the automatic adjustment of the communication link in the event of a communication abnormal state by establishing a dual-path communication network, improving the stability of the communication link, and improving the accuracy and timeliness of control command transmission by managing lighting nodes by group and accurately switching communication links, thus avoiding the problem of lighting node loss of control due to a single communication link failure. Attached Figure Description

[0019] To more clearly illustrate the technical solution of the present invention, the accompanying drawings used in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 is a flowchart of a method for controlling intelligent lighting fixtures according to some embodiments of the present invention; Figure 2 is a flowchart of a lighting fixture node pairing process according to some embodiments of the present invention; Figure 3 is a flowchart of a heartbeat detection mechanism according to some embodiments of the present invention; Figure 4 is a flowchart of a communication anomaly handling strategy according to some embodiments of the present invention; Figure 5 is a flowchart of a method for controlling intelligent lighting fixtures according to some embodiments of the present invention; Figure 6 is a structural block diagram of a device for controlling intelligent lighting fixtures according to some embodiments of the present invention. Detailed Implementation

[0021] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0022] In related technologies, smart lighting fixtures construct a mesh network using a single wireless communication protocol (such as Bluetooth or Wi-Fi) to transmit control commands via relay forwarding between nodes.

[0023] For example, a smart lighting control solution based on Bluetooth Mesh connects each lighting node via Bluetooth and Mesh networking technology, and uses sensors to achieve automatic dimming and energy management. Alternatively, an interconnection solution combining SparkLink technology with 5G-RedCap (5G-Reduced Capability) can be used to achieve Mesh networking within the area and improve the reliability of device linkage.

[0024] However, in related technologies, the following problems exist when using a Mesh network built on a single wireless communication protocol for smart light control: 1. In environments with uneven wireless signal coverage, electromagnetic interference, or fluctuating power supply to lighting nodes, a single communication link is prone to signal attenuation, packet loss, or even interruption, causing some lighting nodes to lose connection. The system can reconstruct the route through adjacent nodes, but if the backbone node or critical path is interrupted, it will lead to partial or overall control failure.

[0025] 2. When a lighting node goes offline due to a communication interruption, it cannot be automatically woken up and reconnected. The device power needs to be restarted manually, which is especially costly and inconvenient in embedded or high-mounted lighting scenarios.

[0026] 3. Due to the instability of the communication link, control commands may experience transmission delays or loss during multiple jumps, causing multiple lights in the same scene to fail to respond synchronously, affecting the lighting experience and scene consistency.

[0027] Based on this, this invention proposes using dual communication links (i.e., a main Mesh link + a backup UWB (Ultra Wide Band) link). The main link achieves full-scene coverage, while the backup link ensures the transmission of core commands when the main link is interrupted, thereby improving communication stability and reducing the latency of multi-lamp synchronization response. Secondly, intelligent heartbeat detection is added to the lamp nodes to enable breakpoint resume and wireless reconnection, thus eliminating the need for manual disassembly and achieving automatic reconnection, improving operation and maintenance efficiency, and reducing maintenance costs.

[0028] The present invention will be further described below with reference to Figure 1: Referring to Figure 1, a flowchart of the steps of a method for controlling intelligent lighting fixtures according to some embodiments of the present invention is shown, which is applied to a smart home system. As some examples, the smart home system may have a main controller, which can run main controller software to be responsible for the control logic and data processing of the entire system and to communicate and interact with multiple lighting fixture nodes.

[0029] In some examples, the main controller software can integrate the 802.11s Mesh protocol stack and the UWB communication protocol stack, and adopt a primary and backup link parallel listening mechanism.

[0030] Specifically, it may include the following steps: Step 101, establishing a dual-path communication network for multiple lighting nodes; wherein, the dual-path communication network includes a main communication link based on a first wireless communication protocol and a backup communication link based on a second wireless communication protocol, the first wireless communication protocol and the second wireless communication protocol being different.

[0031] In some embodiments of the present invention, the first wireless communication protocol is a mesh network protocol (such as Bluetooth Mesh protocol, Wi-Fi Mesh protocol), and the second wireless communication protocol is an ultra-wideband wireless communication protocol (such as UWB protocol).

[0032] In some examples, a lighting node refers to a smart lighting device in a smart home system. Each smart lighting device can be a lighting node. The lighting node can have two built-in wireless communication modules that support the wireless communication protocols corresponding to the main communication link and the backup communication link, respectively, in order to realize the construction of a dual-path communication network.

[0033] As shown in Figure 2, when establishing a dual-path communication network, the main controller can perform initial communication with each lighting node, broadcast pairing instructions to each lighting node for pairing, and configure the parameters of the main communication link and backup communication link of each lighting node to ensure that each lighting node can access the main communication link and backup communication link.

[0034] After pairing each lighting node, the main controller can detect whether each lighting node has completed pairing in order to monitor each lighting node in real time.

[0035] As examples, the primary communication link can use the 2.4 GHz channel 14 (20 MHz bandwidth), and the backup communication link can use the 3.5 GHz band (500 MHz bandwidth), with link switching controlled by a flag bit (Flag=0 / 1).

[0036] In some embodiments of the present invention, the method further includes: broadcasting a heartbeat frame in a dual-path communication network; wherein the heartbeat frame carries an identifier of the master controller, and the frame header of the heartbeat frame and the identifier of the master controller are encrypted; receiving a response frame returned by the lighting node in response to the heartbeat frame; wherein the lighting node is configured to obtain the identifier of the master controller after decrypting the heartbeat frame, and generate a response frame when the identifier of the master controller matches the identifier of the lighting node.

[0037] After pairing each lighting node, as shown in Figure 3, the main controller can broadcast a heartbeat frame containing the main controller's identifier, key identifier, and frame header checksum through the main communication link in the dual-path communication network. After receiving the heartbeat frame, the lighting node can obtain the corresponding decryption key based on the key identifier, decrypt the frame header, obtain the main controller's identifier, and generate a response frame when the main controller's identifier matches its own lighting node's identifier, and send it to the main controller.

[0038] As examples, the master controller's identifier can be carried in the heartbeat frame header (such as the first 1-byte identifier segment of the data frame) and encrypted using encryption technology (such as Advanced Encryption Standard 128-bit, 128-bit AES encryption). Then, the key identifier for decrypting the frame header and the frame header checksum can be carried in the heartbeat frame tail (such as the last 3 bytes of the data frame) to form a complete heartbeat frame.

[0039] The frame header checksum is used to verify whether errors have occurred in the frame header data during transmission. For example, the checksum can be generated using the Cyclic Redundancy Check (CRC) algorithm.

[0040] After receiving a heartbeat frame, the lighting node can use the key identifier carried at the end of the frame to obtain the corresponding decryption key, decrypt the frame header, obtain the main controller's identifier, and match the decrypted main controller identifier with its own lighting node identifier. If the match is successful, it will return a response frame to the main controller within a preset time (e.g., 10ms).

[0041] The response frame can be composed of the lamp node's identifier and an acknowledgment code. The acknowledgment code indicates that the lamp node has successfully received the heartbeat frame and completed the identifier matching. The acknowledgment code can be in binary encoding to distinguish different response states.

[0042] Step 102: Group the multiple lighting nodes to obtain multiple lighting groups, and determine the communication status of the multiple lighting groups; wherein, each lighting group includes multiple lighting nodes.

[0043] As examples, luminaire nodes can be grouped according to their physical location and signal strength. For instance, luminaire nodes in the same area can be grouped into the same luminaire group, and luminaire nodes with similar signal strength values ​​can be grouped into the same luminaire group.

[0044] After grouping the lighting nodes, the communication status of the lighting group (such as communication abnormality or communication normal) can be determined based on the signal strength value of the lighting group.

[0045] In some embodiments of the present invention, each lighting group is provided with a data acquisition node to determine the communication status of the plurality of lighting groups, including: obtaining the lighting group signal strength value of the lighting group through the data acquisition node; wherein the lighting group signal strength value is determined based on the node signal strength value of the lighting node in the lighting group; and determining the communication status of the lighting group as a communication abnormal state when the lighting group signal strength value is less than or equal to a preset strength value.

[0046] After grouping the lighting nodes, the lighting node with the strongest signal strength value in each lighting group can be used as the acquisition node. The signal strength value of the lighting group can be obtained through the acquisition node.

[0047] The signal strength value can be represented using Received Signal Strength Indication (RSSI), with units of dBm. The signal strength value of the lighting fixture group can be obtained by averaging and weighting the signal strength values ​​of all nodes within the lighting fixture group.

[0048] After obtaining the signal strength value of the lighting group, it can be compared with the preset strength value. The preset strength value can be a threshold set according to the actual application scenario and communication requirements, which is used to determine whether the communication status of the lighting group is normal.

[0049] In practical applications, when the signal strength value of the lighting group is less than or equal to the preset strength value, it indicates that the wireless signal environment of the lighting group is poor, and there may be problems such as signal attenuation and interference, which may lead to unstable or interrupted communication. Therefore, the communication status of the lighting group is determined to be an abnormal communication status.

[0050] For example, the main controller acquires the signal strength value of the lighting group every 1 second. If the RSSI of the lighting group is ≤-85dBm for 5 consecutive sampling cycles, it indicates that the lighting group is in a communication abnormal state.

[0051] In some examples, other luminaire nodes in the luminaire group, besides the acquisition node, can send their own node information to the acquisition node. The node information may include the luminaire node identifier, the brightness and color of the lamp, the fault code, and the node signal strength value.

[0052] In some embodiments of the present invention, each lighting group is provided with a data acquisition node to determine the communication status of the plurality of lighting groups, including: if no confirmation message is received from the data acquisition node in response to the instruction, determining that the communication status of the lighting group to which the data acquisition node is located is a communication abnormal state.

[0053] In practical applications, the main controller can periodically send instructions to the data acquisition nodes of each lighting group and wait for the data acquisition nodes to return confirmation messages for the instructions. If no confirmation message is received from the data acquisition node within a preset time (e.g., 20ms), it indicates that the data acquisition node may be unable to receive or send data normally due to communication problems, and it can be determined that the lighting group to which the data acquisition node is located is in a communication abnormal state.

[0054] In some examples, the command may be used to query the status of the lighting group, update lighting parameters, or perform specific control operations. When the main controller issues such a command, it can start a timer to wait for confirmation from the data acquisition node. If the timer expires (i.e., after a preset time) and no confirmation message is received, the main controller can determine that the lighting group is in communication abnormal.

[0055] Step 103: When the target lighting group is detected to be in a communication abnormal state, the communication link of the target lighting group is switched from the main communication link to the backup communication link.

[0056] In some examples, the switching of primary and backup communication links can be controlled by flag bits, and the target lighting group refers to one or more lighting groups that are in a communication abnormal state.

[0057] For example, initially, the flag bit (e.g., 0) indicates that the main communication link is normal. When the target lighting group is detected to be in a communication abnormal state, the flag bit can be changed (e.g., changed to 1) to switch to the backup communication link.

[0058] When a lighting group is detected to be in a communication abnormal state, the flag bit can be set to 1 and the communication link of the lighting group can be switched from the main communication link to the backup communication link, so that the main controller can communicate with the target lighting group through the backup communication link, and the lighting nodes in the target lighting group can communicate through the backup communication link.

[0059] In some embodiments of the present invention, after switching the communication link of the target lighting group from the main communication link to the backup communication link when the target lighting group is detected to be in a communication abnormal state, the method further includes: switching the communication link of the target lighting group from the backup communication link to the main communication link when the target lighting group is detected to have returned to a normal communication state.

[0060] In some examples, after switching the communication link of the target lighting group from the main communication link to the backup communication link, the main controller can also send probe frames to the acquisition node of the target lighting group through the main communication link. When the RSSI of the lighting group is ≥-75dBm and stable for 3 consecutive cycles (i.e., when the communication is normal), the flag can be reset to 0 to switch back to the main communication link. The switching delay can be controlled within ≤10ms by interrupt priority configuration (i.e., the instruction to switch the link is executed first).

[0061] As some examples, as shown in Figure 4, the types of communication abnormal states can be divided into weak signal strength, command packet loss, and node offline. When the target lighting group is detected to be in a communication abnormal state, the type of communication abnormal state can be determined based on the lighting group signal strength, command confirmation rate, and communication latency, so as to perform primary and backup communication link switching, breakpoint resume transmission, and node reconnection.

[0062] The command confirmation rate can be defined as the percentage of times the main controller successfully receives a confirmation message from a lighting node after sending a command to the lighting node. Communication latency can be defined as the time elapsed from sending a command to receiving a confirmation message.

[0063] In some embodiments of the present invention, the method further includes: establishing an instruction cache array to cache instructions for which no confirmation message has been received from the lighting node; for instructions in the instruction cache array, if no confirmation message has been received from the lighting node within a preset time period, retransmitting them with an adjusted transmission power.

[0064] As some examples, an instruction cache array can be a data structure used to temporarily store instructions, such as a queue or a stack, and the capacity of the instruction cache array can be 100 instructions.

[0065] In practical applications, if the main controller does not receive a confirmation message from the lighting node within a preset time (e.g., 20ms) after sending a command to the lighting node, it can resume transmission from the breakpoint and store the command in the command cache array.

[0066] The main controller can also record information such as the lamp node identifier, instruction content, and number of times the instruction needs to be executed in the instruction cache array for subsequent processing.

[0067] If no confirmation message is received from the lighting node within the preset time period, the main controller can also set the transmission power through the power control interface, retrieve the instruction from the instruction cache array using the adjusted transmission power, and resend the instruction.

[0068] For example, the command can be retransmitted by gradually increasing the transmission power (e.g., increasing the transmission power in steps from 5 to 7 to 9 to 11 to 13 dBm) until the maximum transmission power is reached or an acknowledgment message is received from the lighting node.

[0069] In some embodiments of the present invention, the method further includes: setting a priority flag for a failed retransmission instruction, so as to prioritize sending the instruction with the priority flag after the lamp node reconnects to the network.

[0070] As examples, instructions in the instruction cache array can be resent according to a preset retransmission interval (e.g., 50ms). When the preset number of retransmissions (e.g., 5 times) is reached, it indicates that the instruction retransmission has failed. The instruction can be set with a priority flag so that instructions with the priority flag are sent first after the lighting node reconnects to the network.

[0071] In some embodiments of the present invention, the method further includes: after detecting that the target lighting node is offline, sending a wake-up command directly to the target lighting node or sending a wake-up command to the target lighting node through an adjacent lighting node, so that the target lighting node automatically reconnects to the network after receiving the wake-up command.

[0072] As examples, the communication latency can be compared with the preset latency. If the communication latency is greater than the preset latency (e.g., 100ms), and no confirmation message is received from the lighting node, and the command resend fails, it indicates that the node may be offline.

[0073] After detecting that a target luminaire node is offline, the main controller can send a wake-up command frame to the target luminaire node, so that the target luminaire node can automatically reconnect to the network upon receiving the wake-up command. Alternatively, the main controller can send a wake-up command frame to the target luminaire node through a neighboring luminaire node.

[0074] For example, the main controller can simulate and generate a square wave signal (50% duty cycle) with a fixed frequency of 2402MHz and a duration of 100ms through GPIO (General Purpose Input / Output), encapsulate it into a wake-up command frame, and send it to the target lighting node, or the target lighting node's adjacent lighting node forwards it to the target lighting node, so that the target lighting node can automatically reconnect to the network after receiving the wake-up command frame.

[0075] In some examples, after the target lighting node goes offline, the master controller software can start a timer to send a wake-up command frame every second for a total of 3 times.

[0076] As examples, when the lighting node is in sleep mode or offline mode, it can retain only the wake-up signal listening thread. After receiving the wake-up command frame, it can trigger the microcontroller reset interrupt. After the reset, the Mesh networking thread is automatically started, which performs active scanning → receives the networking invitation from the main controller → sends a join request → obtains the lighting node identifier and registers it. After reconnection, it can immediately send a confirmation frame to the main controller to restore online status.

[0077] In this embodiment of the invention, a dual-path communication network is established for multiple lighting nodes. The dual-path communication network includes a primary communication link based on a first wireless communication protocol and a backup communication link based on a second wireless communication protocol, the first and second wireless communication protocols being different. Multiple lighting nodes are grouped to obtain multiple lighting groups, and the communication status of each lighting group is determined. Each lighting group includes multiple lighting nodes. When a target lighting group is detected to be in a communication abnormal state, the communication link of the target lighting group is switched from the primary communication link to the backup communication link. This achieves automatic adjustment of the communication link in the event of a communication abnormality by establishing a dual-path communication network, improving the stability of the communication link. By managing lighting nodes in groups, precise switching of the communication link is performed, improving the accuracy and timeliness of control command transmission, and avoiding the problem of lighting node loss of control due to a single communication link failure.

[0078] Referring to Figure 5, a flowchart illustrating the steps of another intelligent lighting control method provided by some embodiments of the present invention is shown, applied to a smart home system. As examples, the smart home system may have a main controller, which can run main controller software to be responsible for the control logic and data processing of the entire system, and to communicate and interact with multiple lighting nodes.

[0079] In some examples, the main controller software can integrate the 802.11s Mesh protocol stack and the UWB communication protocol stack, and adopt a primary and backup link parallel listening mechanism.

[0080] Specifically, it may include the following steps: Step 501, establishing a dual-path communication network for multiple lighting nodes; wherein, the dual-path communication network includes a main communication link based on a first wireless communication protocol and a backup communication link based on a second wireless communication protocol, the first wireless communication protocol and the second wireless communication protocol being different.

[0081] In some embodiments of the present invention, the first wireless communication protocol is a mesh network protocol (such as Bluetooth Mesh protocol, Wi-Fi Mesh protocol), and the second wireless communication protocol is an ultra-wideband wireless communication protocol (such as UWB protocol).

[0082] In some examples, a lighting node refers to a smart lighting device in a smart home system. Each smart lighting device can be a lighting node. The lighting node can have two built-in wireless communication modules that support the wireless communication protocols corresponding to the main communication link and the backup communication link, respectively, in order to realize the construction of a dual-path communication network.

[0083] As shown in Figure 2, when establishing a dual-path communication network, the main controller can perform initial communication with each lighting node, broadcast pairing instructions to each lighting node for pairing, and configure the parameters of the main communication link and backup communication link of each lighting node to ensure that each lighting node can access the main communication link and backup communication link.

[0084] After pairing each lighting node, the main controller can detect whether each lighting node has completed pairing in order to monitor each lighting node in real time.

[0085] As examples, the primary communication link can use the 2.4 GHz channel 14 (20 MHz bandwidth), and the backup communication link can use the 3.5 GHz band (500 MHz bandwidth), with link switching controlled by a flag bit (Flag=0 / 1).

[0086] Step 502: Broadcast a heartbeat frame in the dual-path communication network; wherein the heartbeat frame carries the identifier of the master controller, and the frame header of the heartbeat frame and the identifier of the master controller are encrypted.

[0087] After pairing each lighting node, as shown in Figure 3, the main controller can broadcast a heartbeat frame containing the main controller's identifier, key identifier, and frame header checksum through the main communication link in the dual-path communication network. After receiving the heartbeat frame, the lighting node can obtain the corresponding decryption key based on the key identifier, decrypt the frame header, obtain the main controller's identifier, and generate a response frame when the main controller's identifier matches its own lighting node's identifier, and send it to the main controller.

[0088] As examples, the identifier of the master controller can be carried in the frame header of the heartbeat frame (such as the first 1-byte identifier segment of the data frame) and encrypted using encryption technology (such as 128-bit AES encryption). Then, the key identifier for decrypting the frame header and the frame header checksum can be carried in the frame tail of the heartbeat frame (such as the last 3 bytes of the data frame) to form a complete heartbeat frame.

[0089] The frame header checksum is used to verify whether errors have occurred in the frame header data during transmission. For example, the checksum can be generated using the Cyclic Redundancy Check (CRC) algorithm.

[0090] Step 503: Receive the response frame returned by the lighting node in response to the heartbeat frame; wherein, the lighting node is used to obtain the identifier of the main controller after decrypting the heartbeat frame, and generate a response frame when the identifier of the main controller matches the identifier of the lighting node.

[0091] After receiving a heartbeat frame, the lighting node can use the key identifier carried at the end of the frame to obtain the corresponding decryption key, decrypt the frame header, obtain the main controller's identifier, and match the decrypted main controller identifier with its own lighting node identifier. If the match is successful, it will return a response frame to the main controller within a preset time (e.g., 10ms).

[0092] The response frame can be composed of the lamp node's identifier and an acknowledgment code. The acknowledgment code indicates that the lamp node has successfully received the heartbeat frame and completed the identifier matching. The acknowledgment code can be in binary encoding to distinguish different response states.

[0093] Step 504: Group the multiple lighting nodes to obtain multiple lighting groups, and determine the communication status of the multiple lighting groups; wherein, each lighting group includes multiple lighting nodes.

[0094] As examples, luminaire nodes can be grouped according to their physical location and signal strength. For instance, luminaire nodes in the same area can be grouped into the same luminaire group, and luminaire nodes with similar signal strength values ​​can be grouped into the same luminaire group.

[0095] After grouping the lighting nodes, the communication status of the lighting group (such as communication abnormality or communication normal) can be determined based on the signal strength value of the lighting group.

[0096] In some embodiments of the present invention, each lighting group is provided with a data acquisition node to determine the communication status of the plurality of lighting groups, including: obtaining the lighting group signal strength value of the lighting group through the data acquisition node; wherein the lighting group signal strength value is determined based on the node signal strength value of the lighting node in the lighting group; and determining the communication status of the lighting group as a communication abnormal state when the lighting group signal strength value is less than or equal to a preset strength value.

[0097] After grouping the lighting nodes, the lighting node with the strongest signal strength value in each lighting group can be used as the acquisition node. The signal strength value of the lighting group can be obtained through the acquisition node.

[0098] The signal strength value can be represented by Received Signal Strength Indication (RSSI), with the unit being dBm. The signal strength value of the lighting fixture group can be obtained by averaging and weighting the signal strength values ​​of all nodes within the lighting fixture group.

[0099] After obtaining the signal strength value of the lighting group, it can be compared with the preset strength value. The preset strength value can be a threshold set according to the actual application scenario and communication requirements, which is used to determine whether the communication status of the lighting group is normal.

[0100] In practical applications, when the signal strength value of the lighting group is less than or equal to the preset strength value, it indicates that the wireless signal environment of the lighting group is poor, and there may be problems such as signal attenuation and interference, which may lead to unstable or interrupted communication. Therefore, the communication status of the lighting group is determined to be an abnormal communication status.

[0101] For example, the main controller acquires the signal strength value of the lighting group every 1 second. If the RSSI of the lighting group is ≤-85dBm for 5 consecutive sampling cycles, it indicates that the lighting group is in a communication abnormal state.

[0102] In some examples, other luminaire nodes in the luminaire group, besides the acquisition node, can send their own node information to the acquisition node. The node information may include the luminaire node identifier, the brightness and color of the lamp, the fault code, and the node signal strength value.

[0103] In some embodiments of the present invention, each lighting group is provided with a data acquisition node to determine the communication status of the plurality of lighting groups, including: if no confirmation message is received from the data acquisition node in response to the instruction, determining that the communication status of the lighting group to which the data acquisition node is located is a communication abnormal state.

[0104] In practical applications, the main controller can periodically send instructions to the data acquisition nodes of each lighting group and wait for the data acquisition nodes to return confirmation messages for the instructions. If no confirmation message is received from the data acquisition node within a preset time (e.g., 20ms), it indicates that the data acquisition node may be unable to receive or send data normally due to communication problems, and it can be determined that the lighting group to which the data acquisition node is located is in a communication abnormal state.

[0105] In some examples, the command may be used to query the status of the lighting group, update lighting parameters, or perform specific control operations. When the main controller issues such a command, it can start a timer to wait for confirmation from the data acquisition node. If the timer expires (i.e., after a preset time) and no confirmation message is received, the main controller can determine that the lighting group is in communication abnormal.

[0106] Step 505: When the target lighting group is detected to be in a communication abnormal state, the communication link of the target lighting group is switched from the main communication link to the backup communication link.

[0107] In some examples, the switching of primary and backup communication links can be controlled by flag bits, and the target lighting group refers to one or more lighting groups that are in a communication abnormal state.

[0108] For example, initially, the flag bit (e.g., 0) indicates that the main communication link is normal. When the target lighting group is detected to be in a communication abnormal state, the flag bit can be changed (e.g., changed to 1) to switch to the backup communication link.

[0109] When a lighting group is detected to be in a communication abnormal state, the flag bit can be set to 1 and the communication link of the lighting group can be switched from the main communication link to the backup communication link, so that the main controller can communicate with the target lighting group through the backup communication link, and the lighting nodes in the target lighting group can communicate through the backup communication link.

[0110] Step 506: When the target lighting group is detected to have returned to normal communication status, the communication link of the target lighting group is switched from the backup communication link to the main communication link.

[0111] In some examples, after switching the communication link of the target lighting group from the main communication link to the backup communication link, the main controller can also send probe frames to the acquisition node of the target lighting group through the main communication link. When the RSSI of the lighting group is ≥-75dBm and stable for 3 consecutive cycles (i.e., when the communication is normal), the flag can be reset to 0 to switch back to the main communication link. The switching delay can be controlled within ≤10ms by interrupt priority configuration (i.e., the instruction to switch the link is executed first).

[0112] As some examples, as shown in Figure 4, the types of communication abnormal states can be divided into weak signal strength, command packet loss, and node offline. When the target lighting group is detected to be in a communication abnormal state, the type of communication abnormal state can be determined based on the lighting group signal strength, command confirmation rate, and communication latency, so as to perform primary and backup communication link switching, breakpoint resume transmission, and node reconnection.

[0113] The command confirmation rate can be defined as the percentage of times the main controller successfully receives a confirmation message from a lighting node after sending a command to the lighting node. Communication latency can be defined as the time elapsed from sending a command to receiving a confirmation message.

[0114] Step 507: Establish an instruction cache array to cache instructions that have not received confirmation messages from the lighting nodes.

[0115] As some examples, an instruction cache array can be a data structure used to temporarily store instructions, such as a queue or a stack, and the capacity of the instruction cache array can be 100 instructions.

[0116] In practical applications, if the main controller does not receive a confirmation message from the lighting node within a preset time (e.g., 20ms) after sending a command to the lighting node, it can resume transmission from the breakpoint and store the command in the command cache array.

[0117] The main controller can also record information such as the lamp node identifier, instruction content, and number of times the instruction needs to be executed in the instruction cache array for subsequent processing.

[0118] Step 508: For the instructions in the instruction cache array, if no confirmation message is received from the lamp node within a preset time period, the instructions are retransmitted using the adjusted transmission power.

[0119] In practical applications, if no confirmation message is received from the lighting node within a preset time period, the main controller can also set the transmission power through the power control interface, retrieve the instruction from the instruction cache array using the adjusted transmission power, and resend the instruction.

[0120] For example, the command can be retransmitted by gradually increasing the transmission power (e.g., increasing the transmission power in steps from 5 to 7 to 9 to 11 to 13 dBm) until the maximum transmission power is reached or an acknowledgment message is received from the lighting node.

[0121] In some embodiments of the present invention, the method further includes: setting a priority flag for a failed retransmission instruction, so as to prioritize sending the instruction with the priority flag after the lamp node reconnects to the network.

[0122] As examples, instructions in the instruction cache array can be resent according to a preset retransmission interval (e.g., 50ms). When the preset number of retransmissions (e.g., 5 times) is reached, it indicates that the instruction retransmission has failed. The instruction can be set with a priority flag so that instructions with the priority flag are sent first after the lighting node reconnects to the network.

[0123] In some embodiments of the present invention, the method further includes: after detecting that the target lighting node is offline, sending a wake-up command directly to the target lighting node or sending a wake-up command to the target lighting node through an adjacent lighting node, so that the target lighting node automatically reconnects to the network after receiving the wake-up command.

[0124] As examples, the communication latency can be compared with the preset latency. If the communication latency is greater than the preset latency (e.g., 100ms), and no confirmation message is received from the lighting node, and the command resend fails, it indicates that the node may be offline.

[0125] After detecting that a target luminaire node is offline, the main controller can send a wake-up command frame to the target luminaire node, so that the target luminaire node can automatically reconnect to the network upon receiving the wake-up command. Alternatively, the main controller can send a wake-up command frame to the target luminaire node through a neighboring luminaire node.

[0126] For example, the main controller can simulate and generate a square wave signal (50% duty cycle) with a fixed frequency of 2402MHz and a duration of 100ms through GPIO (General Purpose Input / Output), encapsulate it into a wake-up command frame, and send it to the target lighting node, or the adjacent lighting node of the target lighting node forwards it to the target lighting node, so that the target lighting node can automatically reconnect to the network after receiving the wake-up command frame.

[0127] In some examples, after the target lighting node goes offline, the master controller software can start a timer to send a wake-up command frame every second for a total of 3 times.

[0128] As examples, when the lighting node is in sleep mode or offline mode, it can retain only the wake-up signal listening thread. After receiving the wake-up command frame, it can trigger the microcontroller reset interrupt. After the reset, the Mesh networking thread is automatically started, which performs active scanning → receives the networking invitation from the main controller → sends a join request → obtains the lighting node identifier and registers it. After reconnection, it can immediately send a confirmation frame to the main controller to restore online status.

[0129] In this embodiment of the invention, a dual-path communication network is established for multiple lighting nodes. The dual-path communication network includes a primary communication link based on a first wireless communication protocol and a backup communication link based on a second wireless communication protocol, the first and second wireless communication protocols being different. Multiple lighting nodes are grouped to obtain multiple lighting groups, and the communication status of each lighting group is determined. Each lighting group includes multiple lighting nodes. When a target lighting group is detected to be in a communication abnormal state, the communication link of the target lighting group is switched from the primary communication link to the backup communication link. This achieves automatic adjustment of the communication link in the event of a communication abnormality by establishing a dual-path communication network, improving the stability of the communication link. By managing lighting nodes in groups, precise switching of the communication link is performed, improving the accuracy and timeliness of control command transmission, and avoiding the problem of lighting node loss of control due to a single communication link failure.

[0130] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.

[0131] Referring to Figure 6, a schematic diagram of a smart lighting control device according to some embodiments of the present invention is shown, which is applied to a smart home system. As an example, the smart home system may have a main controller, which can run main controller software to be responsible for the control logic and data processing of the entire system and to communicate and interact with multiple lighting nodes.

[0132] Specifically, it may include the following modules: a dual-path communication network establishment module 601, used to establish a dual-path communication network for multiple lighting nodes; wherein the dual-path communication network includes a main communication link based on a first wireless communication protocol and a backup communication link based on a second wireless communication protocol, the first wireless communication protocol and the second wireless communication protocol being different; a communication status determination module 602, used to group the multiple lighting nodes to obtain multiple lighting groups, and determine the communication status of the multiple lighting groups; wherein each lighting group includes multiple lighting nodes; and a link switching module 603, used to switch the communication link of the target lighting group from the main communication link to the backup communication link when an abnormal communication state is detected in the target lighting group.

[0133] In some embodiments of the present invention, each lighting group is provided with a data acquisition node, and the communication status determination module 602 includes: a signal strength value acquisition submodule, used to acquire the lighting group signal strength value of the lighting group through the data acquisition node; wherein the lighting group signal strength value is determined based on the node signal strength value of the lighting nodes in the lighting group; and a signal strength value judgment submodule, used to determine that the communication status of the lighting group is a communication abnormal state when the lighting group signal strength value is less than or equal to a preset strength value.

[0134] In some embodiments of the present invention, each lighting group is provided with a data acquisition node, and the communication status determination module 602 includes: a confirmation message judgment submodule, used to determine that the communication status of the lighting group where the data acquisition node is located is a communication abnormal state when no confirmation message is received from the data acquisition node in response to the instruction.

[0135] In some embodiments of the present invention, the device further includes: a communication link switching module, used to switch the communication link of the target lighting group from the backup communication link to the main communication link when the target lighting group is detected to have returned to normal communication status.

[0136] In some embodiments of the present invention, the apparatus further includes: a heartbeat frame sending module, configured to broadcast a heartbeat frame in a dual-path communication network; wherein the heartbeat frame carries an identifier of the master controller, and the frame header of the heartbeat frame and the identifier of the master controller are encrypted; and a response frame receiving module, configured to receive a response frame returned by the lighting node in response to the heartbeat frame; wherein the lighting node is configured to obtain the identifier of the master controller after decrypting the heartbeat frame, and generate a response frame when the identifier of the master controller matches the identifier of the lighting node.

[0137] In some embodiments of the present invention, the device further includes: a caching module, configured to establish an instruction caching array to cache instructions for which no confirmation message has been received from the lighting node; and an instruction retransmission module, configured to retransmit the instructions in the instruction caching array using an adjusted transmission power if no confirmation message has been received from the lighting node within a preset time period.

[0138] In some embodiments of the present invention, the apparatus further includes: a priority flag setting module, used to set a priority flag for a failed retransmission instruction, so as to send the instruction with the priority flag set first after the lamp node reconnects to the network.

[0139] In some embodiments of the present invention, the device further includes: a wake-up command sending module, used to send a wake-up command directly to the target lighting node or send a wake-up command to the target lighting node through an adjacent lighting node after detecting that the target lighting node is offline, so that the target lighting node automatically reconnects to the network after receiving the wake-up command.

[0140] In some embodiments of the present invention, the first wireless communication protocol is a mesh network protocol, and the second wireless communication protocol is an ultra-wideband wireless communication protocol.

[0141] In this embodiment of the invention, a dual-path communication network is established for multiple lighting nodes. The dual-path communication network includes a primary communication link based on a first wireless communication protocol and a backup communication link based on a second wireless communication protocol, the first and second wireless communication protocols being different. Multiple lighting nodes are grouped to obtain multiple lighting groups, and the communication status of each lighting group is determined. Each lighting group includes multiple lighting nodes. When a target lighting group is detected to be in a communication abnormal state, the communication link of the target lighting group is switched from the primary communication link to the backup communication link. This achieves automatic adjustment of the communication link in the event of a communication abnormality by establishing a dual-path communication network, improving the stability of the communication link. By managing lighting nodes in groups, precise switching of the communication link is performed, improving the accuracy and timeliness of control command transmission, and avoiding the problem of lighting node loss of control due to a single communication link failure.

[0142] Some embodiments of the present invention also provide an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the method described above.

[0143] Some embodiments of the present invention also provide a computer-readable storage medium on which a computer program is stored, and which, when executed by a processor, implements the method described above.

[0144] Some embodiments of the present invention also provide a computer program product, including a computer program that, when executed by a processor, implements the method described above.

[0145] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.

[0146] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.

[0147] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0148] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, embodiments of the present invention can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of the present invention can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0149] Embodiments of the present invention are described with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in one or more blocks of the flowchart illustrations and / or one or more blocks of the block diagrams.

[0150] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means that implement the functions specified in one or more flowcharts and / or one or more block diagrams.

[0151] These computer program instructions may also be loaded onto a computer or other programmable data processing terminal equipment to cause a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable terminal equipment, provide steps for implementing the functions specified in one or more flowcharts and / or one or more block diagrams.

[0152] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.

[0153] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes the aforementioned element.

[0154] The above provides a detailed description of the method, apparatus, equipment, medium, and product for controlling intelligent lighting fixtures. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A method for controlling intelligent lighting fixtures, characterized in that, The method includes: establishing a dual-path communication network for multiple lighting nodes; wherein the dual-path communication network includes a primary communication link based on a first wireless communication protocol and a backup communication link based on a second wireless communication protocol, the first wireless communication protocol and the second wireless communication protocol being different; grouping the multiple lighting nodes into multiple lighting groups, and determining the communication status of the multiple lighting groups; wherein each lighting group includes multiple lighting nodes; when a target lighting group is detected to be in a communication abnormal state, switching the communication link of the target lighting group from the primary communication link to the backup communication link.

2. The method according to claim 1, characterized in that, Each lighting group is equipped with a data acquisition node to determine the communication status of the multiple lighting groups, including: obtaining the lighting group signal strength value of the lighting group through the data acquisition node; wherein the lighting group signal strength value is determined based on the node signal strength value of the lighting nodes in the lighting group; if the lighting group signal strength value is less than or equal to a preset strength value, the communication status of the lighting group is determined to be a communication abnormal state.

3. The method according to claim 1, characterized in that, Each lighting fixture group is equipped with a data acquisition node to determine the communication status of the multiple lighting fixture groups, including: if no confirmation message is received from the data acquisition node in response to the instruction, determining that the communication status of the lighting fixture group to which the data acquisition node is located is an abnormal communication status.

4. The method according to claim 1, characterized in that, When a target lighting group is detected to be in a communication abnormal state, after switching the communication link of the target lighting group from the primary communication link to the backup communication link, the method further includes: when the target lighting group is detected to have returned to a normal communication state, switching the communication link of the target lighting group from the backup communication link to the primary communication link.

5. The method according to any one of claims 1-4, characterized in that, The method further includes: broadcasting a heartbeat frame in a dual-path communication network; wherein the heartbeat frame carries the identifier of the master controller, and the frame header of the heartbeat frame and the identifier of the master controller are encrypted; receiving a response frame returned by the lighting node in response to the heartbeat frame; wherein the lighting node is used to obtain the identifier of the master controller after decrypting the heartbeat frame, and generate a response frame when the identifier of the master controller matches the identifier of the lighting node.

6. The method according to any one of claims 1-4, characterized in that, The method further includes: establishing an instruction cache array to cache instructions that have not received a confirmation message from the lighting node; for instructions in the instruction cache array, if no confirmation message is received from the lighting node within a preset time period, the instructions are retransmitted using an adjusted transmission power.

7. The method according to claim 6, characterized in that, The method further includes: setting a priority flag for instructions that fail to be retransmitted, so that instructions with the priority flag set are sent first after the luminaire node reconnects to the network.

8. The method according to any one of claims 1-4, characterized in that, The method further includes: after detecting that the target lighting node is offline, sending a wake-up command directly to the target lighting node or sending a wake-up command to the target lighting node through an adjacent lighting node, so that the target lighting node automatically reconnects to the network after receiving the wake-up command.

9. The method according to claim 1, characterized in that, The first wireless communication protocol is a mesh network protocol, and the second wireless communication protocol is an ultra-wideband wireless communication protocol.

10. A device for controlling intelligent lighting fixtures, characterized in that, The device includes: a dual-path communication network establishment module for establishing a dual-path communication network for multiple lighting nodes; wherein the dual-path communication network includes a primary communication link based on a first wireless communication protocol and a backup communication link based on a second wireless communication protocol, the first wireless communication protocol and the second wireless communication protocol being different; a communication status determination module for grouping the multiple lighting nodes into multiple lighting groups and determining the communication status of the multiple lighting groups; wherein each lighting group includes multiple lighting nodes; and a link switching module for switching the communication link of the target lighting group from the primary communication link to the backup communication link when an abnormal communication state is detected in the target lighting group.

11. An electronic device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the method as described in any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, which, when executed by a processor, implements the method as described in any one of claims 1 to 9.

13. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the method as described in any one of claims 1 to 9.