Illumination control method and system, master control, lamp control, lamp induction and lamp node

Through the main control node broadcasting data and the light control node reporting control information, efficient and intelligent control of a large number of lamps is achieved, the problem of limiting the number of Bluetooth pairing is solved, and the control efficiency is improved.

CN118921816APending Publication Date: 2024-11-08TENDYRON CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310507728.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-08
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

Due to the limited number of Bluetooth pairing, the existing smart light control solution cannot efficiently control a large number of lamps, resulting in inefficient control.

Method used

Through the main control node broadcasts the status data and dimming data, the lamp control node reports the control data, and the lamp sensing node performs switch and dimming operations according to the encoding, realizing centralized control of the lamp sensing node by the lamp control node.

Benefits of technology

Efficient and intelligent control of a large number of lamps is realized, and the control efficiency is improved, and the control relationship only depends on node encoding, and there is no need to pay attention to physical location.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118921816A_ABST
    Figure CN118921816A_ABST
Patent Text Reader

Abstract

The invention provides an illumination control method and system, a main control node, lamp control nodes, lamp induction nodes and lamp node points, required control logic is planned in advance, which lamp induction node is controlled by which lamp control node, and a light source controlled by the lamp induction nodes is irrelevant to the installation position and the control relation of the lamp control nodes. The control relation is only related to respective codes, so that the light source controlled by the lamp sensing node can be controlled by the lamp control node with the same code in a mode of sending the broadcast data by the master control node, and an efficient intelligent lamp control scheme is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic technology, and in particular to a lighting control method and system, a main control node, a light control node, a light sensing node and a light node. Background Art

[0002] With the popularization of electronic intelligence, lighting systems need to be controlled intelligently. Existing intelligent lighting control solutions often use control panels to control lighting systems. The control panel needs to be paired with smart lamps via Bluetooth. Since the number of Bluetooth pairings is limited, for example, a control panel can only be paired with 5 lamps, it is impossible to control a large number of lamps, and the lighting control efficiency is low.

[0003] Therefore, how to provide an efficient intelligent lighting control solution has become an urgent problem to be solved. Summary of the invention

[0004] The present invention aims to solve one of the above-mentioned problems.

[0005] To achieve the above object, the technical solution of the present invention is specifically implemented as follows:

[0006] The first aspect of the present invention provides a lighting control method, comprising: a master control node obtains broadcast data; wherein: the broadcast data includes: status data and dimming data; the status data includes 8Bytes, one bit in the 8Bytes corresponds to the switch state of a switch light sensing node, and the node number of the switch light sensing node is the position number of the bit in the 8Bytes, when the bit is 1, it indicates that the light is on, and when the bit is 0, it indicates that the light is off; the dimming data includes 64Bytes, one Byte in the 64Bytes corresponds to the dimming value of a dimming light sensing node, and the node number of the dimming light sensing node is the position number of the Byte in the 64Bytes; the master control node broadcasts and sends the broadcast data according to a preset period.

[0007] The second aspect of the present invention provides a lighting control method, including: a lighting control node obtains lighting control reporting data; wherein the lighting control reporting data includes: a 1-byte node code and a 1-byte control data; the upper two bits of the 1-byte node code represent the node type of the lighting control node, and the lower six bits of the 1-byte node code represent the node number of the lighting control node, and the control data is used to represent the state of the light sensing node controlled by the light control node, and the node number of the light sensing node controlled by the light control node is configured according to a preset relationship with the node number of the light control node; the light control node sends the lighting control reporting data to the main control node.

[0008] The third aspect of the present invention provides a lighting control method, comprising: a light sensing node receives broadcast data sent by a master control node; wherein: the broadcast data comprises: status data and dimming data; the status data comprises 8 bytes, one bit in the 8 bytes corresponds to the switch state of a switch light sensing node, the node number of the switch light sensing node is the position number of the bit in the 8 bytes, when the bit is 1, it indicates that the light is on, and when the bit is 0, it indicates that the light is off; the dimming data comprises 64 bytes, one byte in the 64 bytes corresponds to the dimming value of a dimming light sensing node, and the node number of the dimming light sensing node is the position number of the byte in the 64 bytes; The light sensing node determines that the light sensing node is a switch light sensing node according to the node code of the light sensing node, determines that the position number in the status data is the bit corresponding to the node number of the light sensing node, and when the bit corresponding to the node number of the light sensing node is 1, the light sensing node performs a light source lighting operation; when the bit corresponding to the node number of the light sensing node is 0, the light sensing node performs a light source off operation; the light sensing node determines that the light sensing node is a dimming light sensing node according to the node code of the light sensing node, determines that the position number in the dimming data is the Byte corresponding to the node number of the light sensing node, and performs a light source dimming operation according to the value of the Byte in the dimming data corresponding to the node number of the light sensing node.

[0009] The fourth aspect of the present invention provides a master control node, including: an acquisition module, used to acquire broadcast data; wherein: the broadcast data includes: status data and dimming data; the status data includes 8Bytes, one bit in the 8Bytes corresponds to the switch state of a switch light sensing node, and the node number of the switch light sensing node is the position number of the bit in the 8Bytes, when the bit is 1, it indicates that the light is on, and when the bit is 0, it indicates that the light is off; the dimming data includes 64Bytes, one Byte in the 64Bytes corresponds to the dimming value of a dimming light sensing node, and the node number of the dimming light sensing node is the position number of the Byte in the 64Bytes; a sending module, used to broadcast and send the broadcast data according to a preset period.

[0010] Optionally, the acquisition module acquires the broadcast data in the following manner: acquiring broadcast data in which both status data and dimming data are 0; or, acquiring broadcast data stored during a power outage; or, acquiring a light-off or light-on trigger signal, and flipping the status data in the broadcast data from 0 to 1 or from 1 to 0; or, parsing the switch reporting data sent by the switch node to obtain the status data in the broadcast data, and parsing the dimming reporting data sent by the dimming node to obtain the dimming data in the broadcast data.

[0011] Optionally, the acquisition module parses the switch reporting data sent by the switch node to obtain the status data in the broadcast data in the following manner: receiving the switch reporting data sent by the switch node; wherein the switch reporting data includes: a 1-byte node code and a 1-byte switch status control data; the upper two bits of the 1-byte node code represent the node type of the switch node, and the lower six bits of the 1-byte node code represent the node number of the switch node; the switch status control data is used to represent the switch status of the light sensing node controlled by the switch node, and the node number of the light sensing node controlled by the switch node is configured according to a preset relationship with the node number of the switch node; according to the node number of the switch node and the switch status control data, the bit in the status data corresponding to the node number of the light sensing node controlled by the switch node is processed to obtain the status data in the broadcast data.

[0012] Optionally, the acquisition module processes the bit in the status data corresponding to the node number of the switch light sensing node controlled by the switch node according to the node number of the switch node and the switch status control data in the following manner to obtain the status data in the broadcast data: determine the position number k where the bit in the switch status control data is 1, k=0, 1,..., and / or 7, and obtain the node number of the switch light sensing node controlled by the switch node, wherein the node number of the switch light sensing node is the node number of the switch node+k; flip the bit in the status data corresponding to the node number of the switch light sensing node controlled by the switch node.

[0013] Optionally, the acquisition module parses the dimming reporting data sent by the dimming node to obtain the dimming data in the broadcast data in the following manner: receiving the dimming reporting data sent by the dimming node; wherein the dimming reporting data includes: 1 Byte of node code and 1 Byte of dimming control data; the upper two bits of the 1 Byte of node code represent the node type of the dimming node, and the lower six bits of the 1 Byte of node code represent the node number of the dimming node; the dimming control data is used to indicate the dimming state of the dimming lamp sensing node controlled by the dimming node, and the node number of the dimming lamp sensing node controlled by the dimming node is configured according to a preset relationship with the node number of the dimming node; according to the node number of the dimming node and the dimming control data, the Byte in the dimming data corresponding to the node number of the dimming node is processed to obtain the dimming data in the broadcast data.

[0014] Optionally, the upper four bits of the Byte corresponding to the node number of the dimming node in the dimming data represent brightness data, and the lower four bits of the Byte corresponding to the node number of the dimming node in the dimming data represent color temperature data.

[0015] Optionally, the sending module broadcasts and sends the broadcast data in the following manner: broadcasts and sends the broadcast data through a relay node according to a preset period.

[0016] Optionally, the sending module is also used to send the broadcast data to the backup master control node in a preset manner, so that the backup master control node receives a work trigger signal and acts as the master control node to perform the operation of broadcasting and sending the broadcast data according to a preset period; the sending module is also used to receive a stop trigger signal to stop sending the broadcast data.

[0017] Optionally, the acquisition module is further used to receive a work trigger signal to execute an operation of acquiring the broadcast data; the sending module is further used to receive a stop trigger signal to stop sending the broadcast data.

[0018] Optionally, the sending module broadcasts and sends the broadcast data according to a preset period in the following manner: broadcasts and sends the broadcast data on the lighting power line according to a preset period.

[0019] Optionally, the sending module broadcasts the broadcast data according to a preset period in the following manner: sending the broadcast data a preset number of times within one period.

[0020] Optionally, the sending module broadcasts the broadcast data according to a preset period in the following manner: monitoring whether the broadcast data changes according to a monitoring period, and if so, broadcasting the broadcast data according to a first preset period; if not, sending the broadcast data according to a second preset period; wherein the monitoring period is smaller than the first preset period, and the first preset period is smaller than the second preset period.

[0021] The fifth aspect of the present invention provides a lighting control node, including: an acquisition module, used to acquire lighting control reporting data; wherein the lighting control reporting data includes: a 1-byte node code and a 1-byte control data; the upper two bits of the 1-byte node code represent the node type of the lighting control node, and the lower six bits of the 1-byte node code represent the node number of the lighting control node, and the control data is used to represent the state of the light sensing node controlled by the light control node, and the node number of the light sensing node controlled by the light control node is configured according to a preset relationship with the node number of the light control node; a sending module, used to send the lighting control reporting data to a main control node.

[0022] Optionally, the sending module sends the lighting control reporting data to the main control node in the following manner: sending the lighting control reporting data to the main control node via a relay node.

[0023] Optionally, the lighting control node further includes a configuration module, which is used to enter a configuration state and obtain the 1-Byte node code if the broadcast data sent by the master control node is not received within a preset time.

[0024] Optionally, the configuration module is also used to enter a configuration state if no broadcast data sent by the main control node is received within a preset time, and after obtaining the 1-Byte node code, when the indicator light on the light control node is off, perform an indicator light lighting operation; when the indicator light on the light control node is on, perform an indicator light turning off operation for a preset time, and then perform an indicator light lighting operation.

[0025] Optionally, the configuration module obtains the 1-Byte node code in the following manner: obtaining the 1-Byte node code through a hardware dip switch; or receiving the 1-Byte node code sent by an infrared remote controller.

[0026] Optionally, the light control node also includes: a receiving module, used to receive the broadcast data sent by the main control node, wherein: the broadcast data includes: status data; the status data includes 8Bytes, one bit in the 8Bytes corresponds to the switch state of the indicator light on a light control node, the node number of the light control node where the indicator light is located is the position number of the bit in the 8Bytes, when the bit is 1, it indicates that the light is on, and when the bit is 0, it indicates that the light is off; determine the bit whose position number in the status data corresponds to the node number of the light control node, when the bit corresponding to the node number of the light control node is 1, execute the indicator light lighting operation; when the bit corresponding to the node number of the light control node is 0, execute the indicator light off operation.

[0027] Optionally, the lighting control node is a switch node, and the receiving module determines the bit whose position number in the status data corresponds to the node number of the lighting control node by the following method, and when the bit corresponding to the node number of the lighting control node is 1, the indicator light is turned on; when the bit corresponding to the node number of the lighting control node is 0, the indicator light is turned off: determine the bit whose position number in the status data corresponds to the key number of the key on the switch node, and when the bit corresponding to the key number is 1, the indicator light on the key is turned on; when the bit corresponding to the key number is 0, the indicator light on the key is turned off.

[0028] Optionally, the light control node is a switch node, and the acquisition module acquires the light control reporting data in the following manner: acquiring switch reporting data, wherein the switch reporting data includes: 1 Byte of node code and 1 Byte of switch state control data; the upper two bits of the 1 Byte of node code represent the node type of the switch node, and the lower six bits of the 1 Byte of node code represent the node number of the switch node; the switch state control data is used to indicate the switch state of the switch light sensing node controlled by the switch node, and the node number of the switch light sensing node controlled by the switch node and the node number of the switch node are configured according to a preset relationship.

[0029] Optionally, the acquisition module acquires the switch reporting data in the following manner: acquiring the node number of the switch node according to the node code of the switch node; acquiring the key number of the triggered i-th key; wherein the key number is the node number of the switch node + i-1; i=1, 2, ..., and / or 8, and the node number of the switch light sensing node controlled by the i-th key is the same as the key number of the i-th key; setting the bit with position number i-1 in the switch state control data to 1 according to the key number to generate the switch state control data; generating the switch reporting data according to the node code of the switch node and the switch state control data.

[0030] Optionally, the lighting control node is a dimming node; the acquisition module obtains the lighting control reporting data in the following manner: obtaining dimming reporting data; wherein the dimming reporting data includes: 1 Byte of node code and 1 Byte of dimming control data; the upper two bits of the 1 Byte of node code represent the node type of the dimming node, and the lower six bits of the 1 Byte of node code represent the node number of the dimming node; the dimming control data is used to indicate the dimming state of the dimming lamp sensing node controlled by the dimming node, and the node number of the dimming lamp sensing node controlled by the dimming node and the node number of the dimming node are configured according to a preset relationship.

[0031] Optionally, the upper four bits of the 1-byte dimming control data represent brightness data, and the lower four bits of the 1-byte dimming control data represent color temperature data.

[0032] A sixth aspect of the present invention provides a light sensing node, comprising: a receiving module, for receiving broadcast data sent by a master control node; wherein: the broadcast data comprises: status data and dimming data; the status data comprises 8Bytes, one bit in the 8Bytes corresponds to the switch state of a switch light sensing node, the node number of the switch light sensing node is the position number of the bit in the 8Bytes, when the bit is 1, it indicates that the light is on, and when the bit is 0, it indicates that the light is off; the dimming data comprises 64Bytes, one Byte in the 64Bytes corresponds to the dimming value of a dimming light sensing node, the node number of the dimming light sensing node is the position number of the Byte in the 64Bytes. te; a control module, for determining that the light sensing node is a switch light sensing node according to the node code of the light sensing node, determining the bit whose position number in the status data corresponds to the node number of the light sensing node, and when the bit corresponding to the node number of the light sensing node is 1, performing a light source lighting operation; when the bit corresponding to the node number of the light sensing node is 0, performing a light source off operation; determining that the light sensing node is a dimming light sensing node according to the node code of the light sensing node, determining the Byte whose position number in the dimming data corresponds to the node number of the light sensing node, and performing a light source dimming operation according to the value of the Byte in the dimming data corresponding to the node number of the light sensing node.

[0033] Optionally, the upper four bits of a Byte in the dimming data corresponding to the node number of the light sensing node represent brightness data, and the lower four bits of a Byte in the dimming data corresponding to the node number of the light sensing node represent color temperature data.

[0034] Optionally, the light sensing node also includes: a configuration module, which is used to enter a configuration state and obtain a 1-byte node code when the broadcast data sent by the main control node is not received within a preset time; the upper two bits of the 1-byte node code represent the node type of the light sensing node, and the lower six bits of the 1-byte node code represent the node number of the light sensing node.

[0035] Optionally, the configuration module is also used to enter the configuration state if no broadcast data sent by the main control node is received within a preset time, and after obtaining a 1-Byte node code, when the light source is off, perform a light source lighting operation; when the light source is on, perform the light source lighting operation after performing the light source off operation for a preset time.

[0036] Optionally, the configuration module obtains the 1-Byte node code in the following manner: obtaining the 1-Byte node code through a hardware dip switch; or receiving the 1-Byte node code sent by an infrared remote controller.

[0037] Optionally, the receiving module receives the broadcast data sent by the master control node in the following manner: receiving the broadcast data sent by the master control node through a relay node.

[0038] A seventh aspect of the present invention provides a master control node, comprising a device for executing the lighting control method provided in the first aspect above.

[0039] An eighth aspect of the present invention provides a lighting control node, comprising a device for executing the lighting control method provided in the second aspect above.

[0040] A ninth aspect of the present invention provides a light sensing node, comprising a device for executing the lighting control method provided in the third aspect above.

[0041] A tenth aspect of the present invention provides a lamp node, comprising the lamp sensing node and light source as described above.

[0042] According to an eleventh aspect of the present invention, there is provided a lighting control system, comprising the light sensing node as described above or the light node as described above, the master control node as described above and the light control node as described above.

[0043] It can be seen from the technical solution provided by the present invention described above that the present invention provides a lighting control method and system, a master control node, a light control node, a light sensing node and a light node, and plans the required control logic in advance, that is, which light sensing node is controlled by which light control node, and the light source controlled by the light sensing node has nothing to do with the installation position and control relationship of the light control node, and the control relationship is only related to their respective encodings. Therefore, the light source controlled by the light sensing node in the present invention can be controlled by the light control node with the same encoding by sending broadcast data via the master control node, so as to realize an efficient intelligent light control solution. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0045] Figure 1 A schematic diagram of the structure of a lighting control system provided by an embodiment of the present invention;

[0046] Figure 2 A flowchart of a lighting control method applied to a master control node provided by an embodiment of the present invention;

[0047] Figure 3 A schematic diagram of the format of broadcast data provided by an embodiment of the present invention;

[0048] Figure 4 A schematic diagram of the data format of switch reporting data provided in an embodiment of the present invention;

[0049] Figure 5 A schematic diagram of the data format of dimming reporting data provided by an embodiment of the present invention;

[0050] Figure 6 A flowchart of a lighting control method applied to a lighting control node provided by an embodiment of the present invention;

[0051] Figure 7 A flowchart of a lighting control method applied to a light sensing node provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0052] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of the present invention.

[0053] Figure 1 A schematic diagram of the structure of a lighting control system provided by an embodiment of the present invention is shown. Figure 1 The lighting control system provided by the embodiment of the present invention includes: a light sensing node or a light node, a master control node and a light control node.

[0054] Among them, the light sensing node is used to receive the control of the main control node to turn on and off the light source; the light sensing node can be set as an independent device separated from the light source, or it can be set together with the light source in a light node.

[0055] The master control node is used to receive the reported data from the light control node and generate corresponding broadcast data according to the reported data to control the light sensing node.

[0056] The light control node is used to generate reporting data and send it to the main control node after being triggered so as to control the light sensing node through the main control node. The light control node may include a switch node for switching the light source, and a dimming node for adjusting the brightness and chromaticity of the light source.

[0057] In specific implementation, the present invention can be based on PLC technology, and the transmitted data can be directly superimposed on the lighting power line without the need for additional signal lines. The lighting control system includes: a master control node, a relay node (data is forwarded through the relay node in order to increase the control distance), a light sensing node (which can include a light-on light sensing node and a light-dimming light sensing node), and a light control node (which can include a switch node and a dimming node).

[0058] The mutual control relationship between the switch lamp sensing node and the switch node, and between the dimming lamp sensing node and the dimming node is only related to their respective node codes and has nothing to do with their physical positions on the lighting circuit.

[0059] The control logic of the master node and relay node has been solidified and no settings are required when using it.

[0060] The on / off status or dimming value of each light sensing node in the loop is centrally managed by the master control node.

[0061] The actions of each switch node and dimming node in the loop are centrally responded to by the master control node.

[0062] The core idea of ​​the present invention is to encode the light control node and the light sensing node and use the same code to realize the control of the light sensing node by the light control node.

[0063] Specifically, any number of light sensing nodes with the same node code are light sensing nodes that can be synchronously controlled; and any number of light control nodes with the same node code are light control nodes that can be multi-controlled.

[0064] Any number of light sensing nodes with the same node code are controlled by any number of light control nodes with the same node code, so that multiple light control nodes can control the light sensing nodes to achieve switching and dimming control of the light source.

[0065] Figure 2 A flowchart of a lighting control method provided by an embodiment of the present invention is shown. The lighting control method is applied to a master control node. Figure 2 , the lighting control method provided by the embodiment of the present invention includes:

[0066] S201, the master control node obtains broadcast data; wherein: the broadcast data includes: status data and dimming data; the status data includes 8Bytes, one bit in the 8Bytes corresponds to the switch state of a switch light sensing node, the node number of the switch light sensing node is the position number of the bit in the 8Bytes, when the bit is 1, it means the light is on, and when the bit is 0, it means the light is off; the dimming data includes 64Bytes, one Byte in the 64Bytes corresponds to the dimming value of a dimming light sensing node, and the node number of the dimming light sensing node is the position number of the Byte in the 64Bytes;

[0067] S202: The master control node broadcasts and sends broadcast data according to a preset period.

[0068] Specifically, Figure 3As shown in the figure, on the master control node, 64 bits (8 bytes) of data are used to represent the status data of the switch light sensing nodes in all the light sensing nodes on the loop. Each bit corresponds to the current status of a switch light sensing node, and can represent the current status of up to 64 groups of switch light sensing nodes. The position number of each bit corresponds to the node code of the switch light sensing node. 1 means that the light source controlled by the switch light sensing node corresponding to the bit is currently on, and 0 means it is off.

[0069] On the master node, 64 bytes of data are used to represent the dimming data of all dimming light sensing nodes on the loop. Each byte corresponds to the current dimming value of a dimming light sensing node, and can represent the current dimming values ​​of up to 64 groups of dimming light sensing nodes. The position number of each byte corresponds to the node code of the dimming light sensing node.

[0070] As an optional implementation of the embodiment of the present invention, the master control node obtains the broadcast data in one of the following ways:

[0071] Method 1: The master control node obtains broadcast data in which both the state data and the dimming data are 0. Specifically, the initial values ​​of the broadcast data on the master control node are all 0, so no special initialization setting is required.

[0072] Method 2: The master node obtains the broadcast data stored during power outage. Specifically, the master node maintains the 8+64=72-byte status data and dimming data of the light sensor node. All data can be stored during power outage. After powering on again after power outage, the state before power outage can be restored without switching on or dimming again.

[0073] Method 3: The master control node obtains the trigger signal for turning off or on the light, and flips the status data in the broadcast data from 0 to 1 or from 1 to 0. Specifically, a separate main switch can be set, and a special code can be set for the main switch. After the master control node receives the trigger signal of the main switch, the light sources controlled by all the light sensing nodes in the control loop are all on or off.

[0074] Method 4: The master control node parses the switch reporting data sent by the switch node to obtain the status data in the broadcast data, and the master control node parses the dimming reporting data sent by the dimming node to obtain the dimming data in the broadcast data. Specifically, the master control node controls the light sensing nodes with the same code according to the data reported by the switch node and / or the dimming node.

[0075] In method 4, as an optional implementation of an embodiment of the present invention, the master control node parses the switch reporting data sent by the switch node to obtain the status data in the broadcast data, including: the master control node receives the switch reporting data sent by the switch node; wherein the switch reporting data includes: 1 Byte of node code and 1 Byte of switch status control data; the upper two bits of the 1 Byte of node code represent the node type of the switch node, and the lower six bits of the 1 Byte of node code represent the node number of the switch node; the switch status control data is used to represent the switch status of the switch light sensing node controlled by the switch node, and the node number of the switch light sensing node controlled by the switch node is configured according to a preset relationship with the node number of the switch node; the master control node processes the bit in the status data corresponding to the node number of the switch light sensing node controlled by the switch node according to the node number of the switch node and the switch status control data, to obtain the status data in the broadcast data.

[0076] Specifically, if the same node code is set for multiple switch nodes, these switch nodes can realize the multi-control logic for the switch light sensing nodes with the same code. Among them: the node number of the switch light sensing node controlled by the switch node is consistent with the node number of the switch node, or has a linear or nonlinear relationship, and the user can set it according to actual needs.

[0077] As long as a switch is pressed, the switch node will send out switch reporting data. The data format of the switch reporting data is as follows: Figure 4 If it is not pressed, the switch node will not send out switch reporting data.

[0078] The present invention uses 1 Byte to represent the node code of the switch node, and the coding range is 0 to 63, the upper 2 bits are the node type, and the lower 6 bits are the node number. If the node type of the switch node is 00, and the node number of a certain switch node is 2, then the node code of the switch node is 00000010. If the switch node is pressed, the 1 Byte switch state control data generated by it is 00000001, and the switch reporting data generated by the switch node is 0000001000000001; the master control node receives the switch reporting data sent by the switch node, and generates broadcast data in the following way: according to the node number of the switch node, the value of the bit with position number 2 in the status data in the current broadcast data is flipped, if it is 0, it is flipped to 1, indicating that the light source controlled by the switch light sensing node with node number 2 is on, and if it is 1, it is flipped to 0, indicating that the light source controlled by the switch light sensing node with node number 2 is off.

[0079] As an optional implementation manner of an embodiment of the present invention, the main control node processes the bit in the status data corresponding to the node number of the switch light sensing node controlled by the switch node according to the node number of the switch node and the switch status control data, and obtains the status data in the broadcast data including: the main control node determines the position number k where the bit in the switch status control data is 1, k=0, 1,..., and / or 7, obtains the node number of the switch light sensing node controlled by the switch node, wherein the node number of the switch light sensing node is the node number of the switch node + k; and flips the bit in the status data corresponding to the node number of the switch light sensing node controlled by the switch node.

[0080] Specifically, 1 to 8 piano-key switches can be set on the switch node, and the action of each piano-key switch corresponds to the status data of a 1-bit switch light sensing node of the master control node on the loop. If the node type of the switch node is 00, and the node number of a switch node is 2, the node code of the switch node is 00000010. If the switch node has 3 piano-key switches, the node numbers of the switch light sensing nodes controlled by the keys of the switch node are 2, 3, and 4; if the 3 piano-key switches are all pressed, the 1-Byte switch state control data generated is 00000111, and the switch reporting data generated by the switch node is 0000001000000111; the master control node receives the switch reporting data sent by the switch node and generates the following method Broadcast data: According to the node number of the switch node, the node numbers of the switch light sensing nodes controlled by the keys of the switch node are determined to be 2, 3 and 4, and the values ​​of the bits with position numbers 2, 3 and 4 in the status data in the current broadcast data are flipped. If any one of them is 0, it is flipped to 1, and if any one of them is 1, it is flipped to 0; for example, if the bit with position number 2 is flipped to 1, it means that the light source controlled by the switch light sensing node with node number 2 is on, and if the bit with position number 3 is flipped to 0, it means that the light source controlled by the switch light sensing node with node number 3 is off.

[0081] In method four, as an optional implementation mode of the embodiment of the present invention, the master control node parses the dimming reporting data sent by the dimming node to obtain the dimming data in the broadcast data, including: the master control node receives the dimming reporting data sent by the dimming node; wherein the dimming reporting data includes: 1 Byte of node code and 1 Byte of dimming control data; the upper two bits of the 1 Byte of node code represent the node type of the dimming node, and the lower six bits of the 1 Byte of node code represent the node number of the dimming node; the dimming control data is used to indicate the dimming state of the dimming lamp sensing node controlled by the dimming node, and the node number of the dimming lamp sensing node controlled by the dimming node is configured according to a preset relationship with the node number of the dimming node; the master control node processes the Byte in the dimming data corresponding to the node number of the dimming node according to the node number of the dimming node and the dimming control data to obtain the dimming data in the broadcast data.

[0082] Specifically, if multiple dimming nodes are set with the same node code, these dimming nodes can realize the multi-control logic of the dimming lamp sensing nodes with the same code. Among them: the node number of the dimming lamp sensing node controlled by the dimming node is consistent with the node number of the dimming node, or has a linear or nonlinear relationship, and the user can set it according to actual needs.

[0083] As long as a dimming node is triggered, the dimming node will send dimming reporting data. The data format of the dimming reporting data is as follows: Figure 5 If not triggered, the dimming node will not send dimming reporting data.

[0084] The present invention uses 1 Byte to represent the node code of the dimming node, and the coding range is 0 to 63, the upper 2 bits are the node type, and the lower 6 bits are the node number. If the node type of the dimming node is 10, and the node number of a dimming node is 2, then the node code of the dimming node is 10000010. If the dimming node is triggered, the 1 Byte dimming control data generated by it is 10101010, and the dimming reporting data generated by the dimming node is 1000001010101010; the master control node receives the dimming reporting data sent by the dimming node, and generates broadcast data in the following way: according to the node number of the dimming node, the value of the byte with position number 2 in the dimming data in the current broadcast data is processed, indicating that the light source controlled by the dimming lamp sensing node with node number 2 is adjusted according to the dimming data.

[0085] As an optional implementation manner of an embodiment of the present invention, the upper four bits of the Byte corresponding to the node number of the dimming node in the dimming data represent brightness data, and the lower four bits of the Byte corresponding to the node number of the dimming node in the dimming data represent color temperature data.

[0086] As an optional implementation of the embodiment of the present invention, the master control node broadcasts and sends broadcast data, including: the master control node broadcasts and sends broadcast data through the relay node according to a preset period. Specifically, without relaying, the control distance of the master control node can reach 300m, and the control distance can be extended by 300m for each additional level of relay, so that data forwarding can be achieved through the relay node, extending the control distance of the master control node.

[0087] As an optional implementation of the embodiment of the present invention, the lighting control method provided by the embodiment of the present invention also includes: the main control node sends the broadcast data to the backup main control node in a preset manner; the main control node receives a stop trigger signal and stops sending the broadcast data; the backup main control node receives a work trigger signal and performs the operation of broadcasting and sending the broadcast data according to a preset period as the main control node. Specifically, the present invention can adopt a dual-machine redundant design. After the main main control node fails, it can be switched to the backup main control node by means of switch control, etc., and the backup main control node can synchronize the data of the main main control node and has the same control logic as the main main control node. After switching, the original control logic can continue to run without resetting.

[0088] As an optional implementation of an embodiment of the present invention, the lighting control method provided by the embodiment of the present invention also includes: the master control node receives a working trigger signal and executes an operation of acquiring broadcast data; the master control node receives a stop trigger signal and stops sending broadcast data. Specifically, the master control node can execute an operation of acquiring broadcast data after power is turned on, and the master control node stops sending broadcast data after power is turned off. After the master control node turns off the power, it stops sending broadcast data. If the various nodes in the loop do not receive broadcast data within 30 seconds, they automatically enter the encoding setting state. After the master control node turns on the power, a round of broadcast data is sent out at most every 10 seconds. If the various nodes in the loop receive broadcast data, they automatically exit the encoding setting state and enter the working state.

[0089] As an optional implementation of the embodiment of the present invention, the master control node broadcasts and sends broadcast data according to a preset period, including: the master control node broadcasts and sends broadcast data on the lighting power line according to a preset period. Specifically, the broadcast data sent by the master control node is directly superimposed on the lighting power line, and no additional signal line is required, saving costs.

[0090] As an optional implementation of the embodiment of the present invention, the master control node broadcasts and sends the broadcast data according to a preset period, including: the master control node sends the broadcast data according to a preset number of times within a period. Specifically, by sending the broadcast data multiple times, it can be ensured that each node receives the broadcast data.

[0091] As an optional implementation of an embodiment of the present invention, the master control node broadcasts and sends broadcast data according to a preset period, including: the master control node monitors whether the broadcast data changes according to the monitoring period, and if changes, broadcasts and sends the broadcast data according to the first preset period; if no change occurs, broadcast data is sent according to the second preset period; wherein the monitoring period is less than the first preset period, and the first preset period is less than the second preset period. Specifically, the master control node regularly broadcasts and sends 72Byte of broadcast data in the whole loop. If the master control node is powered on and reset again, all the data saved before power failure is read from the storage, and the whole loop broadcast is immediately sent. After receiving the broadcast data, the nodes in the loop do not feedback the reception result, and directly discard the wrong broadcast data after receiving it; the master control node regularly (for example, 0.5s) monitors each frame of broadcast data. If there is no change, the broadcast data is sent according to the second preset period, for example, once every 10 seconds; if there is a change, the broadcast data is sent according to the first preset period, for example, broadcast once every 1s. If the regularly monitored broadcast data does not change, it can be restored to be sent once every 10 seconds.

[0092] It can be seen that, through the lighting control method provided by the embodiment of the present invention, the required control logic is planned in advance, that is, which light sensing node is controlled by which light control node, and the light source controlled by the light sensing node has nothing to do with the installation position and control relationship of the light control node, and the control relationship is only related to their respective encodings. Therefore, the light source controlled by the light sensing node in the present invention can be controlled by the light control node with the same encoding by sending broadcast data via the main control node, so as to realize an efficient intelligent light control solution.

[0093] Figure 6 A flowchart of a lighting control method provided by an embodiment of the present invention is shown. The lighting control method is applied to a lighting control node. Figure 6 , the lighting control method provided by the embodiment of the present invention includes:

[0094] S601, the light control node obtains light control reporting data; wherein the light control reporting data includes: a 1-byte node code and a 1-byte control data; the upper two bits of the 1-byte node code represent the node type of the light control node, and the lower six bits of the 1-byte node code represent the node number of the light control node; the control data is used to represent the state of the light sensing node controlled by the light control node, and the node number of the light sensing node controlled by the light control node is configured with the node number of the light control node according to a preset relationship;

[0095] S602, the lighting control node sends the lighting control reporting data to the main control node.

[0096] Specifically, the light control node is used to control the operation of the light sensing node through the main control node. The light control node may include: a switch node and a dimming node; wherein the switch node controls the switch light sensing node to control the on and off of the light source, and the dimming node controls the dimming light sensing node to control the dimming of the light source.

[0097] After the light control node is triggered, for example, the switch node is pressed, or the knob on the dimming node is rotated, the light control node will obtain the light control reporting data.

[0098] As long as a switch is pressed, the switch node will send out switch reporting data. The data format of the switch reporting data is as follows: Figure 4 If it is not pressed, the switch node will not send out switch reporting data.

[0099] As an optional implementation manner of an embodiment of the present invention, the light control node is a switch node; the light control node obtains the light control reporting data including: the switch node obtains the switch reporting data, wherein the switch reporting data includes: 1 Byte of node code and 1 Byte of switch state control data; the upper two bits of the 1 Byte of node code represent the node type of the switch node, and the lower six bits of the 1 Byte of node code represent the node number of the switch node; the switch state control data is used to represent the switch state of the switch light sensing node controlled by the switch node, and the node number of the switch light sensing node controlled by the switch node and the node number of the switch node are configured according to a preset relationship.

[0100] Specifically, if the same node code is set for multiple switch nodes, these switch nodes can realize the multi-control logic for the switch light sensing nodes with the same code. Among them: the node number of the switch light sensing node controlled by the switch node is consistent with the node number of the switch node, or has a linear or nonlinear relationship, and the user can set it according to actual needs.

[0101] The present invention uses 1 Byte to represent the node code of the switch node, and the coding range is 0 to 63, the upper 2 bits are the node type, and the lower 6 bits are the node number. If the node type of the switch node is 00, and the node number of a switch node is 2, the node code of the switch node is 00000010. If the switch node is pressed, the 1 Byte switch state control data generated by it is 00000001, and the switch reporting data generated by the switch node is 0000001000000001; thus, the switch node with the node code of 00000010 can control the switch light sensing node with the node code of 00000010 through the master control node, so that the switch light sensing node with the node code of 00000010 can light up or extinguish the light source controlled by it.

[0102] As an optional implementation manner of an embodiment of the present invention, the switch node obtains the switch reporting data including: the switch node obtains the node number of the switch node according to the node code of the switch node; the switch node obtains the key number of the i-th key that is triggered; wherein the key number is the node number of the switch node + i-1; i=1, 2, ..., and / or 8, the node number of the switch light sensing node controlled by the i-th key is the same as the key number of the i-th key; the switch node sets the bit with position number i-1 in the switch state control data to 1 according to the key number to generate the switch state control data; the switch node generates the switch reporting data according to the node code of the switch node and the switch state control data.

[0103] Specifically, 1 to 8 piano key switches can be set on the switch node, and the action of each piano key switch corresponds to the state data of a 1-bit switch light sensing node of the main control node on the loop. For example, if the node type of the switch node is 00, and the node number of a switch node is 2, the node code of the switch node is 00000010. If the switch node has 3 piano key switches, the node numbers of the switch light sensing nodes controlled by the keys of the switch node are 2 (2+1-1=2), 3 (2+2-1=3) and 4 (2+3-1=4); if the 3 piano key switches are all pressed, the 1-Byte switch state control data generated is 00000111, that is, when the 0th (1-1)th bit in the switch state control data is 1, it means that the key with node number 2 is pressed, and the 1st (2-1)th bit is 1, which means that the key with node number 2 is pressed, and the 1st (2-1)th bit is 1. When the bit is 1, it means that the key with node number 3 is pressed, and when the second (3-1) bit is 1, it means that the key with node number 4 is pressed; the switch reporting data generated by the switch node is 0000001000000111; thus, the three keys on the switch node with node code 00000010 can respectively control the switch light sensing node with node code 00000010, the switch light sensing node with node code 00000011 and the switch light sensing node with node code 00000100 through the main control node, so that each switch light sensing node can light up or turn off the light source it controls.

[0104] At the same time, as long as a dimming node is triggered, the dimming node will send dimming reporting data. The data format of the dimming reporting data is as follows: Figure 5 If not triggered, the dimming node will not send dimming reporting data.

[0105] As an optional implementation manner of an embodiment of the present invention, the lighting control node is a dimming node; the lighting control node obtains the lighting control reporting data including: the dimming node obtains the dimming reporting data; wherein the dimming reporting data includes: 1 Byte of node code and 1 Byte of dimming control data; the upper two bits of the 1 Byte of node code represent the node type of the dimming node, and the lower six bits of the 1 Byte of node code represent the node number of the dimming node; the dimming control data is used to represent the dimming state of the dimming lamp sensing node controlled by the dimming node, and the node number of the dimming lamp sensing node controlled by the dimming node and the node number of the dimming node are configured according to a preset relationship.

[0106] Specifically, the present invention uses 1 Byte to represent the node code of the dimming node, and the coding range is 0 to 63, the upper 2 bits are the node type, and the lower 6 bits are the node number. If the node type of the dimming node is 10, and the node number of a dimming node is 2, then the node code of the dimming node is 10000010. If the dimming node is triggered, the 1 Byte dimming control data generated by it is 10101010, and the dimming reporting data generated by the dimming node is 10000010101010; thus, the dimming node with the node code of 10000010 can control the dimming lamp sensing node with the node code of 10000010 through the master control node, thereby realizing that the dimming lamp sensing node with the node code of 10000010 adjusts the dimming condition of the light source it controls.

[0107] As an optional implementation of the embodiment of the present invention, the upper four bits of the 1-byte dimming control data represent brightness data, and the lower four bits of the 1-byte dimming control data represent color temperature data.

[0108] As an optional implementation of the embodiment of the present invention, the light control node sends the light control reporting data to the main control node, including: the light control node sends the light control reporting data to the main control node via the relay node. Specifically, through data forwarding by the relay node, the control distance of the light control node can be extended.

[0109] As an optional implementation of an embodiment of the present invention, the lighting control method provided by the embodiment of the present invention also includes: also includes: if the lighting control node does not receive the broadcast data sent by the master control node within a preset time, it enters the configuration state and obtains a 1-byte node code. Specifically, if each type of node in the loop does not receive the broadcast data sent by the master control node within 30 seconds, it automatically enters the configuration state, and encoding can be performed in this state. Among them, obtaining the 1-Byte node code includes: obtaining the 1-Byte node code through a hardware dip switch; or receiving the 1-Byte node code sent by an infrared remote control. The code of the lighting control node can be obtained by inputting a hardware dip switch, or by setting an internal infrared receiver to receive the code sent by an infrared remote control.

[0110] As an optional implementation of the embodiment of the present invention, the light control node does not receive the broadcast data sent by the master control node within the preset time, enters the configuration state, and obtains the 1-byte node code. The lighting control method provided by the embodiment of the present invention also includes: when the indicator light on the light control node is off, the light control node performs the indicator light lighting operation; when the indicator light on the light control node is on, the light control node performs the indicator light off operation after the preset time, and then performs the indicator light lighting operation. Specifically, the light control node is provided with a corresponding LED light, and after the node code is successfully configured at the light control node, the lighting operation is performed to indicate that the configuration is successful.

[0111] As an optional implementation manner of an embodiment of the present invention, the lighting control method provided by the embodiment of the present invention also includes: the lighting control node receives the broadcast data sent by the main control node, wherein: the broadcast data includes: status data; the status data includes 8Bytes, one bit in the 8Bytes corresponds to the switch state of the indicator light on a lighting control node, the node number of the lighting control node where the indicator light is located is the position number of the bit in the 8Bytes, when the bit is 1, it indicates that the light is on, and when the bit is 0, it indicates that the light is off; the lighting control node determines the bit corresponding to the node number of the lighting control node with the position number in the status data, when the bit corresponding to the node number of the lighting control node is 1, the lighting control node executes the indicator light lighting operation; when the bit corresponding to the node number of the lighting control node is 0, the light control node executes the indicator light off operation.

[0112] Specifically, the light control node is provided with a corresponding LED light. After receiving the broadcast data sent by the master control node, the light control node parses the broadcast data, determines the node number of the light control node where the indicator light is located from the status data in the broadcast data as the position number of the bit in the 8Byte, and performs the lighting or extinguishing operation according to the bit value on the position number. The state of the LED light is the same as the state of the light source controlled by the light sensing node it controls, thereby indicating whether the light source controlled by the light control node is on or off. For example, the status data in the broadcast data received by the light control node is 0010000...000100. Assuming that the node number of the light control node is 2, when it is determined that the bit value of the position number 2 in the 8Byte is 1, the operation of lighting the LED light is performed to indicate that the light source controlled by the light sensing node with the node number 2 is on.

[0113] As an optional implementation manner of an embodiment of the present invention, the lighting control node is a switch node, and the lighting control node determines a bit whose position number in the status data corresponds to the node number of the lighting control node. When the bit corresponding to the node number of the lighting control node is 1, the lighting control node performs an operation to light up the indicator light; when the bit corresponding to the node number of the lighting control node is 0, the lighting control node performs an operation to turn off the indicator light, including: the switch node determines a bit whose position number in the status data corresponds to the key number of a key on the switch node. When the bit corresponding to the key number is 1, the switch node performs an operation to light up the indicator light on the key; when the bit corresponding to the key number is 0, the switch node performs an operation to turn off the indicator light on the key.

[0114] Specifically, each key on the light control node is equipped with an LED light. After receiving the broadcast data sent by the main control node, the light control node parses the broadcast data, determines from the status data in the broadcast data the node number of the key where the indicator light is located as the position number of the bit in the 8Byte, and performs the lighting or extinguishing operation according to the bit value on the position number. The state of the LED light is the same as the state of the light source controlled by the light sensing node it controls, thereby indicating whether the light source controlled by each key in the light control node is on or off. For example, the status data in the broadcast data received by the lighting control node is 0010000...011100. Assuming that the node number of the lighting control node is 2 and it has 3 keys, the 3 keys on the lighting control node are numbered 2, 3, and 4 respectively. When it is determined that the bit value of the position number 2 of the three keys in the 8Byte is 1, the bit value of the position number 3 is 1, and the bit value of the position number 4 is 1, the three keys all execute the operation of lighting up their respective LED lights to indicate that the light sources controlled by the lighting sensing nodes with node numbers 2, 3, and 4 are lit.

[0115] It can be seen that by using the lighting control method provided in the embodiment of the present invention, the required control logic can be planned in advance, that is, which light sensing node is controlled by which light control node, and the light source controlled by the light sensing node has nothing to do with the installation position and control relationship of the light control node. The control relationship is only related to their respective codes. Therefore, the light source controlled by the light sensing node in the present invention can be controlled by the light control node with the same code to realize an efficient intelligent light control solution.

[0116] Figure 7 A flowchart of a lighting control method provided by an embodiment of the present invention is shown. The lighting control method is applied to a light sensing node. Figure 7 , the lighting control method provided by the embodiment of the present invention includes:

[0117] S701, the light sensing node receives the broadcast data sent by the master node; wherein: the broadcast data includes: status data and dimming data; the status data includes 8Bytes, one bit in the 8Bytes corresponds to the switch state of a switch light sensing node, and the node number of the switch light sensing node is the position number of the bit in the 8Bytes, when the bit is 1, it indicates that the light is on, and when the bit is 0, it indicates that the light is off; the dimming data includes 64Bytes, one Byte in the 64Bytes corresponds to the dimming value of a dimming light sensing node, and the node number of the dimming light sensing node is the position number of the Byte in the 64Bytes;

[0118] S702, the light sensing node determines that the light sensing node is a switch light sensing node according to the node code of the light sensing node, determines the bit whose position number in the status data corresponds to the node number of the light sensing node, when the bit corresponding to the node number of the light sensing node is 1, the light sensing node performs a light source lighting operation; when the bit corresponding to the node number of the light sensing node is 0, the light sensing node performs a light source off operation; the light sensing node determines that the light sensing node is a dimming light sensing node according to the node code of the light sensing node, determines the Byte whose position number in the dimming data corresponds to the node number of the light sensing node, and performs a light source dimming operation according to the value of the Byte in the dimming data corresponding to the node number of the light sensing node.

[0119] Specifically, the light sensing node can be independently configured as a device connected to a light source to control the light on and off, or it can be configured together with the light source as a light node.

[0120] Specifically, the light sensing node includes a light switch sensing node and a dimming light sensing node. The present invention uses 1 Byte to represent the node code of the light switch sensing node, and the coding range is 0 to 63. The upper 2 bits are the node type, and the lower 6 bits are the node number. If the node type of the light switch sensing node is 00, and the node number of a certain light switch sensing node is 2, then the node code of the light switch sensing node is 00000010, which is the same as the node code of the switch node that controls the light switch sensing node. The present invention uses 1 Byte to represent the node code of the dimming light sensing node, and the coding range is 0 to 63. The upper 2 bits are the node type, and the lower 6 bits are the node number. If the node type of the dimming light sensing node is 10, and the node number of a certain dimming light sensing node is 2, then the node code of the dimming light sensing node is 10000010, which is the same as the node code of the dimming node that controls the dimming light sensing node.

[0121] Specifically, when the light sensing node is a switch light sensing node, the light sensing node determines that the light sensing node is a switch light sensing node according to the node code of the light sensing node. After receiving the broadcast data sent by the master control node, the switch light sensing node parses the broadcast data, determines the node number of the switch light sensing node as the position number of the bit in the 8Byte from the status data in the broadcast data, and performs the operation of lighting or extinguishing the light source according to the bit value on the position number. For example, the status data in the broadcast data received by the switch light sensing node is 0010000...000100, assuming that the node number of the switch light sensing node is 2, then when the bit value of the position number 2 in the 8Byte is determined to be 1, the operation of lighting the light source is performed, so as to cooperate with the switch node with the node number 2 to control the switch light sensing node with the node number 2 through the master control node to perform the operation of lighting or extinguishing the light source.

[0122] Specifically, when the light sensing node is a dimming light sensing node, the light sensing node determines that the light sensing node is a dimming light sensing node according to the node code of the light sensing node. After receiving the broadcast data sent by the main control node, the dimming light sensing node parses the broadcast data, determines the Byte in the dimming data whose position number corresponds to the node number of the dimming light sensing node from the dimming data in the broadcast data, and executes the dimming operation of the dimming light source controlled by the dimming light sensing node according to the value of the Byte in the dimming data corresponding to the node number of the dimming light sensing node. For example, the dimming data in the broadcast data received by the dimming light sensing node is 00100000...11101111010000010100000. Assuming that the node number of the dimming light sensing node is 2, when it is determined that the byte value of the position number 2 in the 64Byte is 11101111, the dimming operation is performed on the light source controlled by it according to the byte value, so as to cooperate with the dimming node with node number 2 to control the dimming light sensing node with node number 2 through the main control node to perform the dimming operation on the light source controlled by it.

[0123] As an optional implementation in this embodiment, the upper four bits of the Byte in the dimming data corresponding to the node number of the lamp sensing node represent brightness data, and the lower four bits of the Byte in the dimming data corresponding to the node number of the lamp sensing node represent color temperature data.

[0124] As an optional implementation in this embodiment, the lighting control method provided in this embodiment also includes: if the light sensing node does not receive the broadcast data sent by the main control node within a preset time, it enters the configuration state and obtains a 1-byte node code; the upper two bits in the 1-byte node code represent the node type of the light sensing node, and the lower six bits in the 1-byte node code represent the node number of the light sensing node. Specifically, if each type of node in the loop does not receive the broadcast data sent by the main control node within 30 seconds, it automatically enters the configuration state, and encoding can be performed in this state. Among them, obtaining the 1-byte node code includes: obtaining the 1-byte node code through a hardware dip switch; or receiving the 1-byte node code sent by an infrared remote control. The code of the light control node can be obtained by inputting a hardware dip switch, or by setting an internal infrared receiver to receive the code sent by an infrared remote control.

[0125] As an optional implementation in this embodiment, if the light sensing node does not receive the broadcast data sent by the master node within the preset time, it enters the configuration state, and after obtaining the 1-byte node code, the lighting control method provided in this embodiment also includes: when the light source is off, the light sensing node performs the light source lighting operation; when the light source is on, the light sensing node performs the light source lighting operation after performing the light source off operation for a preset time. Specifically, after the light sensing node successfully configures the node code, the light source controlled by the light sensing node performs the light source lighting operation to indicate that the configuration is successful.

[0126] As an optional implementation of this embodiment, the light sensing node receiving the broadcast data sent by the master control node includes: the light sensing node receiving the broadcast data sent by the master control node through the relay node. Specifically, through the data forwarding of the relay node, the control distance of the light control node can be extended.

[0127] It can be seen that by using the lighting control method provided in the embodiment of the present invention, the required control logic can be planned in advance, that is, which light sensing node is controlled by which light control node, and the light source controlled by the light sensing node has nothing to do with the installation position and control relationship of the light control node. The control relationship is only related to their respective codes. Therefore, the light source controlled by the light sensing node in the present invention can be controlled by the light control node with the same code to realize an efficient intelligent light control solution.

[0128] The embodiment of the present invention also provides a lighting control system, a master control node, a light control node, a light sensing node and a light node. The following only describes the functions of the lighting control system, the master control node, the light control node, the light sensing node and the light node. For other matters not covered, please refer to the description of the above-mentioned related methods.

[0129] An embodiment of the present invention provides a master control node, including: an acquisition module, used to acquire broadcast data; wherein: the broadcast data includes: status data and dimming data; the status data includes 8Bytes, one bit in the 8Bytes corresponds to the switch state of a switch light sensing node, the node number of the switch light sensing node is the position number of the bit in the 8Bytes, when the bit is 1, it indicates that the light is on, and when the bit is 0, it indicates that the light is off; the dimming data includes 64Bytes, one Byte in the 64Bytes corresponds to the dimming value of a dimming light sensing node, and the node number of the dimming light sensing node is the position number of the Byte in the 64Bytes; a sending module, used to broadcast and send the broadcast data according to a preset period.

[0130] Optionally, the acquisition module acquires the broadcast data in the following ways: acquiring broadcast data in which both status data and dimming data are 0; or, acquiring broadcast data stored during a power outage; or, acquiring a light-off or light-on trigger signal, and flipping the status data in the broadcast data from 0 to 1 or from 1 to 0; or, parsing the switch reporting data sent by the switch node to obtain the status data in the broadcast data, and parsing the dimming reporting data sent by the dimming node to obtain the dimming data in the broadcast data.

[0131] Optionally, the acquisition module parses the switch reporting data sent by the switch node to obtain the status data in the broadcast data in the following manner: receiving the switch reporting data sent by the switch node; wherein the switch reporting data includes: 1 Byte of node code and 1 Byte of switch status control data; the upper two bits of the 1 Byte of node code represent the node type of the switch node, and the lower six bits of the 1 Byte of node code represent the node number of the switch node; the switch status control data is used to represent the switch status of the light sensing node controlled by the switch node, and the node number of the light sensing node controlled by the switch node is configured according to a preset relationship with the node number of the switch node; according to the node number of the switch node and the switch status control data, the bit in the status data corresponding to the node number of the light sensing node controlled by the switch node is processed to obtain the status data in the broadcast data.

[0132] Optionally, the acquisition module processes the bit in the status data corresponding to the node number of the switch light sensing node controlled by the switch node according to the node number of the switch node and the switch status control data in the following manner to obtain the status data in the broadcast data: determine the position number k where the bit in the switch status control data is 1, k=0, 1,..., and / or 7, and obtain the node number of the switch light sensing node controlled by the switch node, wherein the node number of the switch light sensing node is the node number of the switch node + k; flip the bit in the status data corresponding to the node number of the switch light sensing node controlled by the switch node.

[0133] Optionally, the acquisition module parses the dimming report data sent by the dimming node to obtain the dimming data in the broadcast data in the following manner: receiving the dimming report data sent by the dimming node; wherein the dimming report data includes: 1 Byte of node code and 1 Byte of dimming control data; the upper two bits of the 1 Byte of node code represent the node type of the dimming node, and the lower six bits of the 1 Byte of node code represent the node number of the dimming node; the dimming control data is used to represent the dimming state of the dimming lamp sensing node controlled by the dimming node, and the node number of the dimming lamp sensing node controlled by the dimming node is configured according to a preset relationship with the node number of the dimming node; according to the node number of the dimming node and the dimming control data, the Byte in the dimming data corresponding to the node number of the dimming node is processed to obtain the dimming data in the broadcast data.

[0134] Optionally, the upper four bits of the Byte corresponding to the node number of the dimming node in the dimming data represent brightness data, and the lower four bits of the Byte corresponding to the node number of the dimming node in the dimming data represent color temperature data.

[0135] Optionally, the sending module broadcasts the broadcast data in the following manner: broadcasts the broadcast data through a relay node according to a preset period.

[0136] Optionally, the sending module is also used to send the broadcast data to the backup master control node in a preset manner, so that the backup master control node receives a work trigger signal and acts as the master control node to perform the operation of broadcasting the broadcast data according to a preset period; the sending module is also used to receive a stop trigger signal to stop sending the broadcast data.

[0137] Optionally, the acquisition module is further used to receive a work trigger signal to execute an operation of acquiring broadcast data; the sending module is further used to receive a stop trigger signal to stop sending broadcast data.

[0138] Optionally, the sending module broadcasts the broadcast data according to a preset period in the following manner: broadcasts the broadcast data on the lighting power line according to a preset period.

[0139] Optionally, the sending module broadcasts the broadcast data according to a preset period in the following manner: sending the broadcast data a preset number of times within one period.

[0140] Optionally, the sending module broadcasts the broadcast data according to a preset period in the following manner: monitor whether the broadcast data changes according to a monitoring period, and if so, broadcast the broadcast data according to a first preset period; if not, send the broadcast data according to a second preset period; wherein the monitoring period is smaller than the first preset period, and the first preset period is smaller than the second preset period.

[0141] An embodiment of the present invention provides a lighting control node, including: an acquisition module, used to acquire lighting control reporting data; wherein the lighting control reporting data includes: a 1-byte node code and a 1-byte control data; the upper two bits of the 1-byte node code represent the node type of the lighting control node, the lower six bits of the 1-byte node code represent the node number of the lighting control node, the control data is used to represent the state of the light sensing node controlled by the lighting control node, and the node number of the light sensing node controlled by the lighting control node is configured according to a preset relationship with the node number of the lighting control node; a sending module, used to send the lighting control reporting data to the main control node.

[0142] Optionally, the sending module sends the light control reporting data to the main control node in the following manner: sending the light control reporting data to the main control node via the relay node.

[0143] Optionally, the light control node also includes a configuration module, which is used to enter a configuration state and obtain a 1-Byte node code if the broadcast data sent by the master control node is not received within a preset time.

[0144] Optionally, the configuration module is also used to enter the configuration state if no broadcast data sent by the main control node is received within a preset time. After obtaining the 1-Byte node code, when the indicator light on the light control node is off, the indicator light lighting operation is performed; when the indicator light on the light control node is on, the indicator light turning off operation is performed for a preset time, and then the indicator light lighting operation is performed.

[0145] Optionally, the configuration module obtains the 1-Byte node code by: obtaining the 1-Byte node code by a hardware dip switch; or receiving the 1-Byte node code sent by an infrared remote controller.

[0146] Optionally, the lighting control node also includes: a receiving module, used to receive broadcast data sent by the main control node, wherein: the broadcast data includes: status data; the status data includes 8Bytes, one bit in the 8Bytes corresponds to the on / off state of an indicator light on a lighting control node, the node number of the lighting control node where the indicator light is located is the position number of the bit in the 8Bytes, when the bit is 1, it indicates that the light is on, and when the bit is 0, it indicates that the light is off; determine the bit whose position number in the status data corresponds to the node number of the lighting control node, when the bit corresponding to the node number of the lighting control node is 1, execute the indicator light lighting operation; when the bit corresponding to the node number of the lighting control node is 0, execute the indicator light off operation.

[0147] Optionally, the lighting control node is a switch node, and the receiving module determines the bit corresponding to the node number of the lighting control node in the status data in the following manner; when the bit corresponding to the node number of the lighting control node is 1, the indicator light is turned on; when the bit corresponding to the node number of the lighting control node is 0, the indicator light is turned off: determine the bit corresponding to the key number of the key on the switch node in the status data; when the bit corresponding to the key number is 1, the indicator light on the key is turned on; when the bit corresponding to the key number is 0, the indicator light on the key is turned off.

[0148] Optionally, the light control node is a switch node, and the acquisition module obtains the light control reporting data in the following manner: obtain the switch reporting data, wherein the switch reporting data includes: 1 Byte of node code and 1 Byte of switch state control data; the upper two bits of the 1 Byte of node code represent the node type of the switch node, and the lower six bits of the 1 Byte of node code represent the node number of the switch node; the switch state control data is used to represent the switch state of the switch light sensing node controlled by the switch node, and the node number of the switch light sensing node controlled by the switch node and the node number of the switch node are configured according to a preset relationship.

[0149] Optionally, the acquisition module acquires the switch reporting data in the following manner: acquiring the node number of the switch node according to the node code of the switch node; acquiring the key number of the i-th key that is triggered; wherein the key number is the node number of the switch node + i-1; i=1, 2, ..., and / or 8, the node number of the switch light sensing node controlled by the i-th key is the same as the key number of the i-th key; setting the bit with position number i-1 in the switch state control data to 1 according to the key number to generate the switch state control data; generating the switch reporting data according to the node code of the switch node and the switch state control data.

[0150] Optionally, the lighting control node is a dimming node; the acquisition module obtains the lighting control reporting data in the following manner: obtaining dimming reporting data; wherein the dimming reporting data includes: 1 Byte of node code and 1 Byte of dimming control data; the upper two bits of the 1 Byte of node code represent the node type of the dimming node, and the lower six bits of the 1 Byte of node code represent the node number of the dimming node; the dimming control data is used to represent the dimming state of the dimming lamp sensing node controlled by the dimming node, and the node number of the dimming lamp sensing node controlled by the dimming node and the node number of the dimming node are configured according to a preset relationship.

[0151] Optionally, the upper four bits of the 1-byte dimming control data represent brightness data, and the lower four bits of the 1-byte dimming control data represent color temperature data.

[0152] The embodiment of the present invention provides a light sensing node, including: a receiving module, used to receive broadcast data sent by a master control node; wherein: the broadcast data includes: status data and dimming data; the status data includes 8Bytes, one bit in the 8Bytes corresponds to the switch state of a switch light sensing node, the node number of the switch light sensing node is the position number of the bit in the 8Bytes, when the bit is 1, it indicates that the light is on, and when the bit is 0, it indicates that the light is off; the dimming data includes 64Bytes, one Byte in the 64Bytes corresponds to the dimming value of a dimming light sensing node, and the node number of the dimming light sensing node is the position number of the Byte in the 64Bytes. The control module is used to determine that the light sensing node is a switch light sensing node according to the node code of the light sensing node, determine the bit corresponding to the node number of the light sensing node whose position number is in the status data, and when the bit corresponding to the node number of the light sensing node is 1, execute the light source lighting operation; when the bit corresponding to the node number of the light sensing node is 0, execute the light source off operation; determine that the light sensing node is a dimming light sensing node according to the node code of the light sensing node, determine the Byte corresponding to the node number of the light sensing node in the dimming data, and execute the light source dimming operation according to the value of the Byte in the dimming data corresponding to the node number of the light sensing node.

[0153] Optionally, the upper four bits of a Byte in the dimming data corresponding to the node number of the lamp sensing node represent brightness data, and the lower four bits of a Byte in the dimming data corresponding to the node number of the lamp sensing node represent color temperature data.

[0154] Optionally, the light sensing node also includes: a configuration module, which is used to enter the configuration state and obtain a 1-byte node code when the broadcast data sent by the main control node is not received within a preset time; the upper two bits of the 1-byte node code represent the node type of the light sensing node, and the lower six bits of the 1-byte node code represent the node number of the light sensing node.

[0155] Optionally, the configuration module is also used to enter the configuration state if no broadcast data sent by the main control node is received within a preset time, and after obtaining a 1-Byte node code, when the light source is off, execute the light source lighting operation; when the light source is on, execute the light source turning off operation after a preset time, and then execute the light source lighting operation.

[0156] Optionally, the configuration module obtains the 1-Byte node code by: obtaining the 1-Byte node code by a hardware dip switch; or receiving the 1-Byte node code sent by an infrared remote controller.

[0157] Optionally, the receiving module receives the broadcast data sent by the master control node in the following manner: receiving the broadcast data sent by the master control node through a relay node.

[0158] An embodiment of the present invention provides a light node, comprising the light sensing node and a light source as described above.

[0159] An embodiment of the present invention provides a lighting control system, including the above light sensing node or the above light node, the above master control node and the above light control node.

[0160] It can be seen from the technical solution provided by the present invention as described above that the present invention provides a lighting control system, a master control node, a light control node, a light sensing node and a light node, and pre-plans the required control logic, that is, which light sensing node is controlled by which light control node, and the light source controlled by the light sensing node has nothing to do with the installation position and control relationship of the light control node, and the control relationship is only related to their respective encodings. Therefore, the light source controlled by the light sensing node in the present invention can be controlled by the light control node with the same encoding by sending broadcast data via the master control node, so as to realize an efficient intelligent light control solution.

[0161] Although the embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. Those skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention without departing from the principles and purpose of the present invention. The scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A lighting control method, characterized in that: include: The master control node obtains broadcast data; wherein: the broadcast data includes: status data and dimming data; the status data includes 8Bytes, one bit in the 8Bytes corresponds to the switch state of a switch light sensing node, and the node number of the switch light sensing node is the position number of the bit in the 8Bytes, when the bit is 1, it indicates that the light is on, and when the bit is 0, it indicates that the light is off; the dimming data includes 64Bytes, one Byte in the 64Bytes corresponds to the dimming value of a dimming light sensing node, and the node number of the dimming light sensing node is the position number of the Byte in the 64Bytes; The master control node broadcasts and sends the broadcast data according to a preset period.

2. The method according to claim 1, characterized in that The master control node acquires broadcast data including: The master control node obtains broadcast data in which both the status data and the dimming data are 0; or The master control node obtains the broadcast data stored during power failure; or The master control node obtains a light-off or light-on trigger signal, and flips the status data in the broadcast data from 0 to 1 or from 1 to 0; or The master control node parses the switch reporting data sent by the switch node to obtain the status data in the broadcast data, and the master control node parses the dimming reporting data sent by the dimming node to obtain the dimming data in the broadcast data.

3. The method according to claim 2, characterized in that The state data in the broadcast data obtained by the master control node through parsing the switch reporting data sent by the switch node includes: The master control node receives the switch reporting data sent by the switch node; wherein the switch reporting data includes: a 1-byte node code and a 1-byte switch state control data; the upper two bits of the 1-byte node code represent the node type of the switch node, and the lower six bits of the 1-byte node code represent the node number of the switch node; the switch state control data is used to represent the switch state of the light sensing node controlled by the switch node, and the node number of the light sensing node controlled by the switch node is configured according to a preset relationship with the node number of the switch node; The master control node processes the bit in the status data corresponding to the node number of the light sensing node controlled by the switch node according to the node number of the switch node and the switch status control data to obtain the status data in the broadcast data.

4. The method according to claim 3, characterized in that The master control node processes the bit in the state data corresponding to the node number of the switch light sensing node controlled by the switch node according to the node number of the switch node and the switch state control data, and obtains the state data in the broadcast data including: The master control node determines the position number k of the bit being 1 in the switch state control data, k=0, 1, ..., and / or 7, and obtains the node number of the switch light sensing node controlled by the switch node, wherein the node number of the switch light sensing node is the node number of the switch node+k; The bit in the state data corresponding to the node number of the switch light sensing node controlled by the switch node is flipped.

5. The method according to claim 2, characterized in that: The master control node parses the dimming reporting data sent by the dimming node to obtain the dimming data in the broadcast data, including: The master control node receives the dimming reporting data sent by the dimming node; wherein the dimming reporting data includes: a 1-byte node code and a 1-byte dimming control data; the upper two bits of the 1-byte node code represent the node type of the dimming node, and the lower six bits of the 1-byte node code represent the node number of the dimming node; the dimming control data is used to represent the dimming state of the dimming lamp sensing node controlled by the dimming node, and the node number of the dimming lamp sensing node controlled by the dimming node and the node number of the dimming node are configured according to a preset relationship; The master control node processes the Byte corresponding to the node number of the dimming node in the dimming data according to the node number of the dimming node and the dimming control data to obtain the dimming data in the broadcast data.

6. The method according to claim 5, characterized in that The upper four bits of the Byte corresponding to the node number of the dimming node in the dimming data represent brightness data, and the lower four bits of the Byte corresponding to the node number of the dimming node in the dimming data represent color temperature data.

7. The method according to claim 1, characterized in that The master control node broadcasts and sends the broadcast data including: The master control node broadcasts and sends the broadcast data through the relay nodes according to a preset period.

8. The method according to claim 1, characterized in that Also includes: The master control node sends the broadcast data to the backup master control node in a preset manner; The master control node receives a stop trigger signal and stops sending the broadcast data; The backup master control node receives the work trigger signal and performs, as the master control node, the operation of broadcasting and sending the broadcast data according to a preset period.

9. The method according to claim 1, characterized in that: Also includes: The master control node receives a work trigger signal and executes an operation of acquiring the broadcast data; The master control node receives the stop trigger signal and stops sending the broadcast data.

10. The method according to claim 1, characterized in that The master control node broadcasts and sends the broadcast data according to a preset period, including: The master control node broadcasts and sends the broadcast data on the lighting power line according to a preset period.

11. The method according to claim 1, characterized in that: The master control node broadcasts and sends the broadcast data according to a preset period, including: The master control node sends the broadcast data a preset number of times within a cycle.

12. The method according to claim 1, characterized in that The master control node broadcasts and sends the broadcast data according to a preset period, including: The master control node monitors whether the broadcast data changes according to a monitoring period. If it changes, the broadcast data is broadcast and sent according to a first preset period; if it does not change, the broadcast data is sent according to a second preset period; wherein the monitoring period is smaller than the first preset period, and the first preset period is smaller than the second preset period.

13. A lighting control method, characterized in that: include: The light control node obtains light control reporting data; wherein the light control reporting data includes: a 1-byte node code and a 1-byte control data; the upper two bits of the 1-byte node code represent the node type of the light control node, and the lower six bits of the 1-byte node code represent the node number of the light control node; the control data is used to represent the state of the light sensing node controlled by the light control node, and the node number of the light sensing node controlled by the light control node is configured according to a preset relationship with the node number of the light control node; The light control node sends the light control reporting data to the main control node.

14. The method according to claim 13, characterized in that The light control node sending the light control reporting data to the main control node includes: The light control node sends the light control reporting data to the main control node through the relay node.

15. The method according to claim 13, further comprising: The lighting control node does not receive the broadcast data sent by the master control node within the preset time, enters the configuration state, and obtains the 1-Byte node code.

16. The method according to claim 15, characterized in that The light control node does not receive the broadcast data sent by the master control node within the preset time, enters the configuration state, and after obtaining the 1 Byte node code, it also includes: The light control node performs an operation of lighting up the indicator light when the indicator light on the light control node is off; When the indicator light on the light control node is on, the light control node performs an indicator light off operation after a preset time period, and then performs an indicator light lighting operation.

17. The method according to claim 15, characterized in that Obtaining the 1-Byte node code includes: Obtain the 1-Byte node code through a hardware dip switch; or Receive the 1 Byte node code sent by the infrared remote controller.

18. The method according to claim 13, characterized in that Also includes: The light control node receives the broadcast data sent by the master control node, wherein: the broadcast data includes: status data; the status data includes 8 bytes, one bit in the 8 bytes corresponds to the switch state of the indicator light on a light control node, the node number of the light control node where the indicator light is located is the position number of the bit in the 8 bytes, when the bit is 1, it indicates that the light is on, and when the bit is 0, it indicates that the light is off; The light control node determines the bit whose position number in the status data corresponds to the node number of the light control node. When the bit corresponding to the node number of the light control node is 1, the light control node performs an operation to light up the indicator light; when the bit corresponding to the node number of the light control node is 0, the light control node performs an operation to turn off the indicator light.

19. The method according to claim 18, characterized in that The light control node is a switch node, and the light control node determines a bit whose position number in the state data corresponds to the node number of the light control node. When the bit corresponding to the node number of the light control node is 1, the light control node performs an operation of lighting up the indicator light; When the bit corresponding to the node number of the light control node is 0, the light control node performs the operation of turning off the indicator light, including: The switch node determines a bit whose position number in the status data corresponds to a key number of a key on the switch node. When the bit corresponding to the key number is 1, the switch node performs an operation of lighting up the indicator light on the key; when the bit corresponding to the key number is 0, the switch node performs an operation of turning off the indicator light on the key.

20. The method according to any one of claims 13 to 19, characterized in that The light control node is a switch node; The light control node obtains the light control reporting data including: The switch node obtains switch reporting data, wherein the switch reporting data includes: a 1-byte node code and a 1-byte switch state control data; the upper two bits of the 1-byte node code represent the node type of the switch node, and the lower six bits of the 1-byte node code represent the node number of the switch node; the switch state control data is used to represent the switch state of the switch light sensing node controlled by the switch node, and the node number of the switch light sensing node controlled by the switch node and the node number of the switch node are configured according to a preset relationship.

21. The method according to claim 20, characterized in that: The switch node acquiring the switch reporting data includes: The switch node obtains a node number of the switch node according to a node code of the switch node; The switch node obtains the key number of the i-th key that is triggered; wherein the key number is the node number of the switch node + i-1; i=1, 2, ..., and / or 8, and the node number of the switch light sensing node controlled by the i-th key is the same as the key number of the i-th key; The switch node sets the bit with position number i-1 in the switch state control data to 1 according to the key number, thereby generating the switch state control data; The switch node generates the switch reporting data according to the node code of the switch node and the switch state control data.

22. The method according to any one of claims 13 to 19, characterized in that The lighting control node is a dimming node; The light control node obtains the light control reporting data including: The dimming node obtains dimming reporting data; wherein, the dimming reporting data includes: 1 Byte of node code and 1 Byte of dimming control data; the upper two bits of the 1 Byte of node code represent the node type of the dimming node, and the lower six bits of the 1 Byte of node code represent the node number of the dimming node; the dimming control data is used to represent the dimming state of the dimming lamp sensing node controlled by the dimming node, and the node number of the dimming lamp sensing node controlled by the dimming node and the node number of the dimming node are configured according to a preset relationship.

23. The method according to claim 22, characterized in that: The upper four bits of the 1-byte dimming control data represent brightness data, and the lower four bits of the 1-byte dimming control data represent color temperature data.

24. A lighting control method, characterized in that: include: The light sensing node receives the broadcast data sent by the master node; wherein: the broadcast data includes: status data and dimming data; the status data includes 8Bytes, one bit in the 8Bytes corresponds to the switch state of a switch light sensing node, and the node number of the switch light sensing node is the position number of the bit in the 8Bytes, when the bit is 1, it indicates that the light is on, and when the bit is 0, it indicates that the light is off; the dimming data includes 64Bytes, one Byte in the 64Bytes corresponds to the dimming value of a dimming light sensing node, and the node number of the dimming light sensing node is the position number of the Byte in the 64Bytes; The light sensing node determines that the light sensing node is a switch light sensing node according to the node code of the light sensing node, determines that the position sequence number in the state data is a bit corresponding to the node number of the light sensing node, and when the bit corresponding to the node number of the light sensing node is 1, the light sensing node performs a light source lighting operation; when the bit corresponding to the node number of the light sensing node is 0, the light sensing node performs a light source extinguishing operation; The light sensing node determines that the light sensing node is a dimming light sensing node according to the node code of the light sensing node, determines that the position number in the dimming data is the Byte corresponding to the node number of the light sensing node, and performs the light source dimming operation according to the value of the Byte in the dimming data corresponding to the node number of the light sensing node.

25. The method according to claim 24, characterized in that The upper four bits of the Byte in the dimming data corresponding to the node number of the lamp sensing node represent brightness data, and the lower four bits of the Byte in the dimming data corresponding to the node number of the lamp sensing node represent color temperature data.

26. The method according to claim 25, characterized in that Also includes: If the light sensing node does not receive the broadcast data sent by the master control node within the preset time, it enters the configuration state and obtains a 1-Byte node code; The upper two bits of the 1-byte node code represent the node type of the light sensing node, and the lower six bits of the 1-byte node code represent the node number of the light sensing node.

27. The method according to claim 26, characterized in that The light sensing node does not receive the broadcast data sent by the master control node within the preset time, enters the configuration state, and after obtaining the 1-Byte node code, it also includes: The light sensing node performs the light source lighting operation when the light source is off; When the light source is on, the light sensing node performs the light source turning off operation for a preset time period and then performs the light source lighting operation.

28. The method according to claim 26, characterized in that Obtaining the 1-Byte node code includes: Obtain the 1-Byte node code through a hardware dip switch; or Receive the 1 Byte node code sent by the infrared remote controller.

29. The method according to claim 24, characterized in that The light sensing node receives the broadcast data sent by the main control node, including: The light sensing node receives the broadcast data sent by the main control node through the relay node.

30. A master control node, characterized in that: The method comprises an apparatus for executing the method according to any one of claims 1 to 12.

31. A lighting control node, characterized in that: The method comprises an apparatus for performing the method as claimed in any one of claims 13 to 23.

32. A light sensing node, characterized in that: Comprising an apparatus for performing the method as claimed in any one of claims 24 to 29.

33. A light node, characterized in that: Comprises a light sensing node and a light source as described in claim 32.

34. A lighting control system, characterized in that: It comprises the light sensing node as described in claim 32 or the light node as described in claim 33, the master control node as described in claim 30 and the light control node as described in claim 31.