An internet of things multi-terminal cooperative intelligent colored light networking control system and method
By establishing a power supply impact correlation matrix and identifying the range of fluctuation propagation, and optimizing the animation switching sequence, the problem of difficulty in identifying the range of power supply fluctuation propagation in existing technologies is solved, and accurate identification of power supply fluctuation and continuity of animation switching are achieved.
Patent Information
- Application Number
- CN202611384999.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-08
- Publication Date
- 2026-11-27
AI Technical Summary
Existing smart lantern network control methods lack a power supply fluctuation propagation identification mechanism based on the actual power supply impact relationship of the lantern terminals, making it difficult to accurately identify the propagation range of power supply fluctuations.
By establishing a power supply impact correlation matrix, the propagation range of power supply fluctuations is identified, and fluctuation buffer priority and animation switching delay control variables are generated to optimize the animation switching sequence and reduce the impact of power supply fluctuations.
It enables accurate identification of the propagation range of power supply fluctuations, reduces local power supply fluctuations caused by synchronous switching, and ensures the continuity and coordination of animation switching.
Smart Images

Figure CN123185740A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of smart lighting control technology, and in particular to a smart colored light network control system and method with multi-terminal collaboration in the Internet of Things. Background Technology
[0002] With the development of IoT communication technology and intelligent lighting control technology, smart lantern network control systems are widely used in urban landscape lighting, cultural and tourism light shows, building lighting, and festival decorations. Multiple lantern terminals connect to the control platform through a communication network, and the control platform uniformly issues brightness, color, and animation control commands to achieve coordinated control between the lantern terminals.
[0003] In existing smart light network control systems, a unified clock synchronization control or broadcast control method is typically used to enable multiple light terminals to synchronously execute animation switching. When multiple light terminals switch brightness or color simultaneously, it can easily cause fluctuations in local power supply status. Existing control methods mainly rely on communication groups or preset areas for control, lacking analysis of the power supply impact between light terminals, making it difficult to identify the propagation of power supply fluctuations among multiple light terminals.
[0004] However, in the process of realizing the technical solution of this application, the inventors of this application discovered that the existing smart lantern network control method lacks a power supply fluctuation propagation identification mechanism based on the actual power supply influence relationship of the lantern terminal, which makes it difficult to accurately identify the propagation range of power supply fluctuations. Summary of the Invention
[0005] To overcome the above shortcomings, this invention provides a smart lantern network control system and method for multi-terminal collaboration in the Internet of Things, aiming to improve the problem that the existing technology lacks a power supply fluctuation propagation identification mechanism based on the actual power supply influence relationship of the lantern terminals, which makes it difficult to accurately identify the propagation range of power supply fluctuations.
[0006] In a first aspect, the present invention provides the following technical solution: a smart colored light networking control system for multi-terminal collaboration in the Internet of Things, comprising:
[0007] The terminal status acquisition module is used to collect the power supply voltage, operating current, output brightness, color power coefficient, and animation execution stage of each colored light terminal, and generate terminal status data.
[0008] The power supply impact correlation establishment module is connected to the terminal status acquisition module for establishing the power supply impact correlation between the colored light terminals based on the terminal status data and the preset power supply response detection process, and generating a power supply impact correlation matrix.
[0009] The power supply fluctuation state generation module is data-connected to the terminal state acquisition module and the power supply influence association establishment module, and is used to generate the power supply fluctuation state corresponding to each colored light terminal based on the terminal state data and the power supply influence association matrix.
[0010] The fluctuation propagation identification module is data-connected to the power supply fluctuation state generation module and the power supply influence association establishment module, and is used to identify the power supply fluctuation propagation range based on the power supply influence association matrix and the power supply fluctuation state.
[0011] The fluctuation buffer decision module is connected to the fluctuation propagation identification module and is used to generate the fluctuation buffer priority and animation switching delay control amount for each colored light terminal according to the power supply fluctuation propagation range.
[0012] An animation coordination control module is data-connected to the fluctuation buffer decision module and is used to control each colored light terminal to perform animation switching according to the animation switching delay control amount.
[0013] The animation continuity correction module is connected to the animation collaborative control module and is used to generate animation continuity correction results based on the deviation of the animation execution stage, and send them to each colored light terminal to complete the animation continuity restoration.
[0014] Preferably, the power supply impact correlation establishment module establishes a power supply impact correlation based on the terminal status data and a preset power supply response detection process, specifically including:
[0015] Control the target colored light terminal to perform brightness perturbation, and obtain the power supply response changes before and after the brightness perturbation;
[0016] The power supply influence correlation strength between the target colored light terminal and the other colored light terminals is generated based on the power supply response changes corresponding to the other colored light terminals.
[0017] A power supply influence correlation matrix is generated based on the correlation strength of power supply influence between each colored light terminal to characterize the power supply influence correlation between each colored light terminal.
[0018] Preferably, the power supply fluctuation state generation module performs power supply fluctuation state generation based on the terminal state data, specifically including:
[0019] The power supply voltage change rate, operating current change rate, and output brightness change rate of each colored light terminal are obtained according to the continuous sampling period.
[0020] The corresponding power supply fluctuation state is generated based on the power supply voltage change rate, the operating current change rate, and the output brightness change rate;
[0021] A smooth power supply fluctuation state is generated based on the power supply fluctuation state corresponding to multiple consecutive sampling periods.
[0022] Preferably, the fluctuation propagation identification module performs power supply fluctuation propagation range identification based on the power supply influence correlation matrix and the power supply fluctuation state, specifically including:
[0023] Based on the power supply impact correlation matrix, identify the associated colored light terminals that have a power supply impact relationship with the target colored light terminal;
[0024] Generate the fluctuation propagation impact value of the target colored light terminal based on the power supply fluctuation status of each associated colored light terminal;
[0025] The power supply fluctuation propagation range is generated based on the fluctuation propagation impact value corresponding to each colored light terminal and the propagation judgment conditions.
[0026] Preferably, the fluctuation buffering decision module performs fluctuation buffering decisions based on the power supply fluctuation propagation range, specifically including:
[0027] The fluctuation propagation impact value corresponding to each colored light terminal is obtained based on the power supply fluctuation propagation range.
[0028] Based on the fluctuation propagation impact value and the output brightness change rate of each colored light terminal, a fluctuation buffer priority is generated for each colored light terminal.
[0029] The animation switching order is determined based on the fluctuation buffer priority of each colored light terminal, and the animation switching delay control amount corresponding to each colored light terminal is generated.
[0030] Preferably, the animation coordination control module performs animation coordination control based on the animation switching delay control amount, specifically including:
[0031] The animation execution time for each colored light terminal is determined based on the animation switching delay control amount for each colored light terminal.
[0032] Based on the animation execution time corresponding to each colored light terminal, different colored light terminals within the same power supply fluctuation propagation range are controlled to complete staggered animation switching.
[0033] Preferably, the animation continuity correction module performs animation continuity correction based on the animation switching delay control amount, specifically including:
[0034] The deviation of the animation execution stage is obtained based on the animation execution stage corresponding to each colored light terminal;
[0035] Animation continuity correction results are generated based on the deviations in the animation execution phases.
[0036] Based on the animation continuity correction results, the corresponding colored light terminal is controlled to return to the reference animation execution stage.
[0037] Preferably, the power supply impact correlation establishment module updates the power supply impact correlation matrix based on changes in network status, specifically including:
[0038] The preset power supply response detection process is re-executed based on changes in the network status of the colored light terminals;
[0039] The correlation strength of power supply impact between each colored light terminal is updated based on the changes in the reacquired power supply response;
[0040] The power supply influence correlation matrix is regenerated based on the updated power supply influence correlation strength.
[0041] Preferably, the fluctuation buffer decision module optimizes the animation switching order based on the fluctuation buffer priority of each colored light terminal, specifically including:
[0042] The animation switching sequence between each light terminal within the same power supply fluctuation propagation range is determined based on the fluctuation buffer priority corresponding to each light terminal.
[0043] Based on the animation switching sequence, the animation switching delay control amount corresponding to each colored light terminal is reallocated;
[0044] Animation switching control strategy is generated based on the reallocated animation switching delay control value.
[0045] Secondly, the present invention provides the following technical solution: a smart colored light network control method for multi-terminal collaboration in the Internet of Things, comprising the following steps:
[0046] S1. Collect the power supply voltage, operating current, output brightness, color power coefficient, and animation execution stage of each colored light terminal to generate terminal status data;
[0047] S2. Based on the terminal status data and the preset power supply response detection process, establish the power supply influence relationship between the colored light terminals and generate a power supply influence correlation matrix;
[0048] S3. Generate the power supply fluctuation status corresponding to each colored light terminal based on the terminal status data and the power supply influence correlation matrix;
[0049] S4. Identify the propagation range of power supply fluctuations based on the power supply impact correlation matrix and the power supply fluctuation status;
[0050] S5. Generate the fluctuation buffer priority and animation switching delay control amount for each colored light terminal according to the power supply fluctuation propagation range.
[0051] S6. Control each colored light terminal to perform animation switching according to the animation switching delay control amount;
[0052] S7. Generate animation continuity correction results based on the deviation of the animation execution stage, and control each colored light terminal to return to the reference animation execution stage based on the animation continuity correction results.
[0053] The present invention has the following beneficial effects:
[0054] 1. This invention establishes a power supply influence correlation matrix and generates the power supply fluctuation propagation range based on the power supply influence correlation matrix, enabling the color light control to identify the fluctuation influence area based on the actual power supply influence relationship, thereby solving the technical problem that the existing technology has difficulty in identifying the power supply fluctuation propagation range.
[0055] 2. This invention generates a fluctuation buffer priority based on the power supply fluctuation propagation range and generates an animation switching delay control amount, so that the colored light terminals within the same power supply fluctuation propagation range can coordinately execute animation switching, thereby reducing local power supply fluctuations caused by synchronous switching.
[0056] 3. This invention generates animation continuity correction results based on the deviation of the animation execution stage, so that the animation switching control and the animation execution state jointly participate in the color light coordinated control, thereby reducing the inconsistency of animation stages caused by animation switching delay. Attached Figure Description
[0057] Figure 1 This is a schematic diagram of the overall structure of a smart lantern network control system for multi-terminal collaboration in the Internet of Things proposed in this invention;
[0058] Figure 2 A schematic diagram illustrating the power supply impact correlation proposed in this invention;
[0059] Figure 3 This is a schematic diagram illustrating the power supply fluctuation propagation range identification proposed in this invention;
[0060] Figure 4 This is a schematic diagram of the fluctuation buffering decision process proposed in this invention;
[0061] Figure 5 This is a schematic diagram of the animation collaborative control process proposed in this invention;
[0062] Figure 6 This is a schematic diagram of the animation continuity correction proposed in this invention;
[0063] Figure 7 This is a flowchart of a smart colored light network control method for multi-terminal collaboration in the Internet of Things proposed in this invention. Detailed Implementation
[0064] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0065] Example 1: Refer to Figure 1 In the first embodiment of the present invention, the present invention provides a smart colored light network control system for multi-terminal collaboration in the Internet of Things, comprising:
[0066] The terminal status acquisition module is used to collect the power supply voltage, operating current, output brightness, color power coefficient, and animation execution stage of each colored light terminal, and generate terminal status data.
[0067] The power supply impact correlation establishment module is connected to the terminal status acquisition module. It is used to establish the power supply impact correlation between the colored light terminals based on the terminal status data and the preset power supply response detection process, and generate a power supply impact correlation matrix.
[0068] The power supply fluctuation status generation module is connected to the terminal status acquisition module and the power supply impact association establishment module. It is used to generate the power supply fluctuation status corresponding to each colored light terminal based on the terminal status data and the power supply impact association matrix.
[0069] The fluctuation propagation identification module is connected to the power supply fluctuation state generation module and the power supply impact association establishment module, and is used to identify the propagation range of power supply fluctuations based on the power supply impact association matrix and the power supply fluctuation state.
[0070] The fluctuation buffer decision module is connected to the fluctuation propagation identification module and is used to generate the fluctuation buffer priority and animation switching delay control amount for each colored light terminal according to the power supply fluctuation propagation range.
[0071] The animation coordination control module is connected to the fluctuation buffer decision module and is used to control each colored light terminal to perform animation switching according to the animation switching delay control amount.
[0072] The animation continuity correction module is connected to the animation collaborative control module. It is used to generate animation continuity correction results based on the deviations in the animation execution stage and send them to each colored light terminal to complete the animation continuity restoration.
[0073] Specifically, the terminal status acquisition module collects the power supply voltage, operating current, output brightness, color power coefficient, and animation execution stage of each colored light terminal, and generates terminal status data. This data is then sent to the power supply influence correlation establishment module and the power supply fluctuation status generation module. The power supply influence correlation establishment module receives the terminal status data and establishes the power supply influence correlation between colored light terminals based on a preset power supply response detection process, generating a power supply influence correlation matrix. This matrix is then sent to the power supply fluctuation status generation module and the fluctuation propagation identification module.
[0074] The power supply fluctuation status generation module generates the power supply fluctuation status for each colored light terminal based on the terminal status data and the power supply influence correlation matrix, and sends the power supply fluctuation status to the fluctuation propagation identification module. The fluctuation propagation identification module identifies the power supply fluctuation propagation range based on the power supply influence correlation matrix and the power supply fluctuation status, and sends the power supply fluctuation propagation range to the fluctuation buffer decision module.
[0075] The fluctuation buffering decision module generates the fluctuation buffer priority and animation switching delay control value for each colored light terminal based on the power supply fluctuation propagation range, and sends the animation switching delay control value to the animation coordination control module. The animation coordination control module controls each colored light terminal to perform animation switching according to the animation switching delay control value, and sends the animation execution status to the animation continuity correction module.
[0076] The animation continuity correction module obtains the deviation of the animation execution stage based on the animation execution status, generates the animation continuity correction result, and sends the animation continuity correction result to the corresponding lantern terminal, so that each lantern terminal is restored to the reference animation execution stage, thereby completing an IoT multi-terminal smart lantern network control process.
[0077] Reference Figure 3 Furthermore, the power supply impact correlation establishment module establishes power supply impact correlations based on terminal status data and a preset power supply response detection process, specifically including:
[0078] Control the target colored light terminal to perform brightness perturbation, and obtain the power supply response changes before and after the brightness perturbation;
[0079] The power supply influence correlation strength between the target colored light terminal and the other colored light terminals is generated based on the power supply response changes corresponding to the other colored light terminals.
[0080] A power supply influence correlation matrix is generated based on the correlation strength of power supply influence between each colored light terminal to characterize the power supply influence correlation between each colored light terminal.
[0081] The power supply impact correlation establishment module updates the power supply impact correlation matrix based on changes in network status, specifically including:
[0082] The preset power supply response detection process is re-executed based on changes in the network status of the colored light terminals;
[0083] The correlation strength of power supply impact between each colored light terminal is updated based on the changes in the reacquired power supply response;
[0084] The power supply influence correlation matrix is regenerated based on the updated power supply influence correlation strength.
[0085] Specifically, after receiving the terminal status data sent by the terminal status acquisition module, the power supply impact association establishment module first reads the color light terminal identifier in the current network and establishes a color light terminal correspondence table according to the color light terminal identifier.
[0086] Subsequently, the power supply impact correlation establishment module sequentially selects each colored light terminal as a target colored light terminal according to a preset order and executes a preset power supply response detection process. Only one target colored light terminal is allowed to perform brightness perturbation at a time, while the remaining colored light terminals maintain their current animation execution state and output state, ensuring that the power supply response change originates from the brightness change corresponding to the target colored light terminal. After the brightness perturbation ends, each colored light terminal re-collects its corresponding power supply voltage and sends the power supply voltage data to the power supply impact correlation establishment module. The power supply impact correlation establishment module then obtains the corresponding power supply response change for each colored light terminal based on the power supply voltage data before and after the brightness perturbation.
[0087] Among them, after the target colored light terminal completes the brightness perturbation, the first The power supply response change corresponding to each colored light terminal is represented by the change in power supply voltage, and its calculation method is as follows:
[0088] ;
[0089] in: Indicates that the target colored light terminal is the first When the first colored light terminal is reached, the first The change in power supply voltage corresponding to each colored light terminal; This indicates the supply voltage after the brightness disturbance; This indicates the power supply voltage before the brightness disturbance.
[0090] Subsequently, the power supply impact correlation establishment module calculates the power supply impact correlation strength based on the brightness change of the target light terminal and the power supply response change of each light terminal. The power supply impact correlation strength describes the degree to which the brightness change of the target light terminal affects the power supply status of other light terminals, and its calculation method is as follows:
[0091] ;
[0092] in: Indicates the first The colored light terminal is for the first The power supply corresponding to each colored light terminal affects the correlation strength;
[0093] Indicates the first The change in power supply voltage corresponding to each colored light terminal; Indicates the first The amount of brightness change corresponding to the brightness disturbance executed by each colored light terminal; This indicates a correction term used to avoid a denominator of zero.
[0094] After completing the calculation of the power supply impact correlation strength for all colored light terminals, the power supply impact correlation establishment module arranges the power supply impact correlation strength according to the colored light terminal identifier order and generates a power supply impact correlation matrix, which is expressed as follows:
[0095] ;
[0096] in: Represents the correlation matrix of power supply impact; Indicates the first The colored light terminal is for the first The power supply corresponding to each colored light terminal affects the correlation strength; This indicates the total number of colored light terminals.
[0097] The power supply impact correlation establishment module sends the generated power supply impact correlation matrix to the power supply fluctuation status generation module and the fluctuation propagation identification module, and stores the current power supply impact correlation matrix in the matrix cache unit. When a new connection, exit from the network, or change in the network connection relationship of a decorative light terminal is detected, the power supply impact correlation establishment module re-acquires the current set of decorative light terminals and re-executes the preset power supply response detection process; based on the updated power supply response changes, it recalculates the power supply impact correlation strength between each decorative light terminal.
[0098] Subsequently, the power supply impact correlation matrix is regenerated according to the updated color light terminal identifier, and the original power supply impact correlation matrix is replaced with the updated power supply impact correlation matrix, so that the subsequent generation of power supply fluctuation status and the identification of fluctuation propagation range are all performed based on the power supply impact correlation relationship corresponding to the current network status.
[0099] By establishing a power supply impact correlation matrix and dynamically updating the matrix according to changes in network status, the power supply impact correlation relationship is kept consistent with the current network status of the colored light terminal, providing a unified data foundation for the generation of power supply fluctuation status, the identification of the propagation range of power supply fluctuation, and subsequent animation collaborative control.
[0100] Furthermore, the power supply fluctuation status generation module generates a power supply fluctuation status based on the terminal status data, specifically including:
[0101] The power supply voltage change rate, operating current change rate, and output brightness change rate of each colored light terminal are obtained according to the continuous sampling period.
[0102] The corresponding power supply fluctuation state is generated based on the power supply voltage change rate, the operating current change rate, and the output brightness change rate.
[0103] A smooth power supply fluctuation state is generated based on the power supply fluctuation state corresponding to multiple consecutive sampling periods.
[0104] Specifically, after receiving the terminal status data sent by the terminal status acquisition module and the power supply influence correlation matrix sent by the power supply influence correlation establishment module, the power supply fluctuation status generation module analyzes the operating status of each colored light terminal within a continuous sampling period.
[0105] The power supply fluctuation status generation module reads the power supply voltage, operating current, and output brightness data corresponding to multiple consecutive sampling periods according to the color light terminal identifier, and obtains the power supply voltage change rate, operating current change rate, and output brightness change rate based on the data changes in adjacent sampling periods. The consecutive sampling periods are obtained using a fixed sampling interval to ensure that all status parameters correspond to the same time series.
[0106] Let the first Each colored light terminal at the sampling time The corresponding rates of change of supply voltage, operating current, and output brightness are respectively , and The power supply voltage change rate is calculated from the power supply voltage corresponding to adjacent sampling periods. The operating current change rate and output brightness change rate are calculated using the same method from the operating current and output brightness, respectively. The power supply fluctuation state generation module generates the power supply fluctuation state based on the above three change rates, and its calculation method is as follows:
[0107] ;
[0108] in: Indicates the first Each colored light terminal at the sampling time The corresponding power supply fluctuation status; Indicates the first The rate of change of the power supply voltage corresponding to each colored light terminal; Indicates the first The rate of change of operating current corresponding to each colored light terminal; Indicates the first The output brightness change rate corresponding to each colored light terminal; , as well as These represent the weighting coefficients corresponding to the rate of change of power supply voltage, the rate of change of operating current, and the rate of change of output brightness, respectively, and each weighting coefficient is a pre-set parameter.
[0109] After completing the calculation of the power supply fluctuation state corresponding to the current sampling period, the power supply fluctuation state generation module continues to read the power supply fluctuation states corresponding to multiple consecutive sampling periods and performs smoothing processing according to the time sequence to reduce the impact of instantaneous sampling fluctuations on the power supply fluctuation state. The smoothed power supply fluctuation state is obtained by jointly calculating the power supply fluctuation state of the current sampling period and the power supply fluctuation state of historical sampling periods. The calculation method is as follows:
[0110] ;
[0111] in: Indicates the first Each colored light terminal at the sampling time The corresponding smooth power supply fluctuation state; This indicates the power supply fluctuation status corresponding to the current sampling period; This indicates the smooth power supply fluctuation state corresponding to the previous sampling period; Indicates the smoothing weighting coefficient; This indicates the sampling time interval between adjacent sampling periods.
[0112] The power supply fluctuation status generation module generates a smooth power supply fluctuation status for each colored light terminal according to its identifier, and then sends the smooth power supply fluctuation status to the fluctuation propagation identification module after establishing a mapping relationship between the smooth power supply fluctuation status and the corresponding colored light terminal identifier. The fluctuation propagation identification module retrieves the smooth power supply fluctuation status of the corresponding colored light terminal based on the power supply influence correlation matrix, providing input data for subsequent fluctuation propagation influence value calculation and power supply fluctuation propagation range identification.
[0113] The power supply fluctuation state is generated by comprehensively considering the power supply voltage change rate, operating current change rate, and output brightness change rate. A smooth power supply fluctuation state is generated based on multiple consecutive sampling periods, so that the power supply fluctuation state can reflect the power supply changes during the continuous operation of the colored light terminal, and provide unified status data for identifying the propagation range of power supply fluctuations.
[0114] Reference Figure 4 Furthermore, the fluctuation propagation identification module performs power supply fluctuation propagation range identification based on the power supply impact correlation matrix and power supply fluctuation status, specifically including:
[0115] Based on the power supply impact correlation matrix, identify the associated colored light terminals that have a power supply impact relationship with the target colored light terminal;
[0116] Generate the fluctuation propagation impact value of the target colored light terminal based on the power supply fluctuation status of each associated colored light terminal;
[0117] The power supply fluctuation propagation range is generated based on the fluctuation propagation impact value corresponding to each colored light terminal and the propagation judgment conditions.
[0118] Specifically, after receiving the power supply influence correlation matrix sent by the power supply influence correlation establishment module and the smoothed power supply fluctuation state sent by the power supply fluctuation state generation module, the fluctuation propagation identification module first reads the corresponding correlation information in the power supply influence correlation matrix according to the terminal identifier corresponding to the target colored light terminal, and obtains the set of associated colored light terminals that have a power supply influence correlation with the target colored light terminal.
[0119] Subsequently, the fluctuation propagation identification module reads the smooth power supply fluctuation state corresponding to each associated colored light terminal, and calculates the fluctuation propagation impact value corresponding to the target colored light terminal by combining the power supply impact correlation strength in the power supply impact correlation matrix. Since the power supply impact correlation matrix reflects the power supply impact relationship between colored light terminals, the power supply fluctuation state corresponding to colored light terminals with higher correlation strength has a higher degree of participation in the calculation of the fluctuation propagation impact value.
[0120] Let the first The fluctuation propagation impact value corresponding to each colored light terminal is The calculation method is as follows:
[0121] ;
[0122] in: Indicates the first The fluctuation propagation impact value corresponding to each colored light terminal; In the power supply influence correlation matrix, the first... The colored light terminal is for the first The power supply corresponding to each colored light terminal affects the correlation strength; Indicates the first The smooth power supply fluctuation status corresponding to each colored light terminal; This indicates the total number of colored light terminals.
[0123] After calculating the fluctuation propagation impact value for all colored light terminals, the fluctuation propagation identification module compares and analyzes the fluctuation propagation impact value for each colored light terminal based on preset propagation judgment conditions. When the fluctuation propagation impact value for a target colored light terminal meets the propagation judgment conditions, the target colored light terminal is marked as a fluctuation propagation node. Subsequently, based on the power supply impact correlation matrix, the module continues to search for associated colored light terminals that have a power supply impact correlation with the fluctuation propagation node and meet the propagation judgment conditions, and adds the corresponding colored light terminals to the current propagation set until no new associated colored light terminals meet the propagation judgment conditions. Finally, all colored light terminals that meet the propagation judgment conditions constitute the current power supply fluctuation propagation range, and a mapping relationship is established between the power supply fluctuation propagation range and the corresponding colored light terminal identifiers.
[0124] After identifying the power supply fluctuation propagation range, the fluctuation propagation identification module sends the range to the fluctuation buffer decision module. Simultaneously, it retains the fluctuation propagation impact value for each colored light terminal as data input for subsequent fluctuation buffer priority calculations. When the power supply impact correlation matrix or smoothed power supply fluctuation status is reacquired in the next sampling period, the fluctuation propagation identification module re-executes the above calculation process and updates the current power supply fluctuation propagation range.
[0125] By combining the power supply influence correlation matrix and the smooth power supply fluctuation state to generate the fluctuation propagation influence value, and identifying the power supply fluctuation propagation range based on the propagation judgment conditions, the power supply fluctuation propagation range can reflect the actual propagation of the current power supply fluctuation between the colored light terminals, providing corresponding propagation range data for subsequent fluctuation buffer priority generation and animation collaborative control.
[0126] Reference Figure 5 Furthermore, the fluctuation buffering decision module performs fluctuation buffering decisions based on the propagation range of power supply fluctuations, specifically including:
[0127] The fluctuation propagation impact value corresponding to each colored light terminal is obtained based on the power supply fluctuation propagation range.
[0128] Based on the fluctuation propagation impact value and the output brightness change rate of each colored light terminal, a fluctuation buffer priority is generated for each colored light terminal.
[0129] The animation switching order is determined based on the fluctuation buffer priority of each colored light terminal, and the animation switching delay control amount corresponding to each colored light terminal is generated.
[0130] The fluctuation buffer decision module optimizes the animation switching order based on the fluctuation buffer priority of each colored light terminal, specifically including:
[0131] The animation switching sequence between each light terminal within the same power supply fluctuation propagation range is determined based on the fluctuation buffer priority corresponding to each light terminal.
[0132] The animation switching delay control amount corresponding to each colored light terminal is reallocated according to the order of animation switching;
[0133] Animation switching control strategy is generated based on the reallocated animation switching delay control value.
[0134] Specifically, after receiving the power supply fluctuation propagation range and the fluctuation propagation impact value corresponding to each colored light terminal from the fluctuation propagation identification module, the fluctuation buffer decision module first classifies and manages the colored light terminals according to the power supply fluctuation propagation range, so that colored light terminals within the same power supply fluctuation propagation range are treated as the same buffer decision object.
[0135] Subsequently, the fluctuation buffer decision module reads the output brightness change rate sent by the terminal status acquisition module and correlates the output brightness change rate with the fluctuation propagation impact value of the corresponding colored light terminal to obtain the fluctuation buffer priority for each colored light terminal. Among them, the fluctuation propagation impact value reflects the degree to which the colored light terminal is affected by the power supply fluctuation propagation, and the output brightness change rate reflects the change trend of the output power of the colored light terminal during the current animation switching process. Both of them participate in the generation of fluctuation buffer priority.
[0136] Let the first The fluctuation buffer priority corresponding to each colored light terminal is: The calculation method is as follows:
[0137] ;
[0138] in: Indicates the first The fluctuation buffer priority corresponding to each colored light terminal; Indicates the first The fluctuation propagation impact value corresponding to each colored light terminal; Indicates the first The output brightness change rate corresponding to each colored light terminal; This represents the weighting coefficient corresponding to the impact value of wave propagation.
[0139] After calculating the fluctuation buffer priority for all colored light terminals, the fluctuation buffer decision module sorts each colored light terminal within the same power supply fluctuation propagation range according to its fluctuation buffer priority and determines the animation switching order based on the sorting results. Colored light terminals with higher fluctuation buffer priorities execute animation buffer control first, while colored light terminals with lower fluctuation buffer priorities maintain their original animation execution order. Subsequently, the fluctuation buffer decision module reallocates the animation switching delay control amount for each colored light terminal according to the animation switching order, so that different colored light terminals within the same power supply fluctuation propagation range correspond to different animation execution times, and generates an animation switching control strategy based on the reallocated animation switching delay control amount. The animation switching control strategy includes the colored light terminal identifier, the corresponding animation execution time, and the animation switching delay control amount, and is sent to the animation coordination control module as the basis for animation execution.
[0140] The fluctuation buffer decision module reacquires the updated power supply fluctuation propagation range, fluctuation propagation impact value, and output brightness change rate in subsequent sampling periods, and re-executes the fluctuation buffer priority calculation, animation switching sequence optimization, and animation switching control strategy generation process to ensure that the animation switching control strategy is consistent with the current power supply fluctuation propagation state.
[0141] By generating fluctuation buffer priorities based on the propagation range of power supply fluctuations, and optimizing the animation switching sequence and reallocating the animation switching delay control based on the fluctuation buffer priorities, the colored light terminals within the same power supply fluctuation propagation range can complete the animation switching according to different animation execution times, providing corresponding control strategies for subsequent animation collaborative control.
[0142] Reference Figure 6 Furthermore, the animation coordination control module performs animation coordination control based on the animation switching delay control amount, specifically including:
[0143] The animation execution time for each colored light terminal is determined based on the animation switching delay control amount for each colored light terminal.
[0144] Based on the animation execution time corresponding to each colored light terminal, different colored light terminals within the same power supply fluctuation propagation range are controlled to complete staggered animation switching.
[0145] Specifically, after receiving the animation switching control strategy sent by the fluctuation buffer decision module, the animation collaborative control module first reads the animation switching delay control amount corresponding to each colored light terminal, and obtains the original animation execution time of each colored light terminal in conjunction with the current animation execution plan. The animation collaborative control module recalculates the animation execution time corresponding to each colored light terminal based on the original animation execution time and the animation switching delay control amount, and establishes the correspondence between the colored light terminal identifier and the animation execution time.
[0146] Subsequently, the animation collaborative control module generates an animation execution queue based on the recalculated animation execution time, and sends animation control commands to the corresponding colored light terminals in sequence according to the animation execution queue, so that different colored light terminals within the same power supply fluctuation propagation range can complete the animation switching according to the corresponding animation execution time.
[0147] Let the first The original animation execution time corresponding to each colored light terminal is: The animation switching delay control value is The adjusted animation execution time is The method for calculating the animation execution time is as follows:
[0148] ;
[0149] After calculating the animation execution times for all colored light terminals, the animation coordination control module generates an animation execution queue in ascending order of execution times. When multiple colored light terminals belong to the same power supply fluctuation propagation range, the animation coordination control module sends animation control commands sequentially according to the animation execution queue. When multiple colored light terminals belong to different power supply fluctuation propagation ranges, each power supply fluctuation propagation range establishes its own corresponding animation execution queue, and each executes animation switching control independently according to its respective animation execution queue. The animation control command includes the colored light terminal identifier, animation execution time, target animation stage, and animation switching parameters. After receiving the animation control command, each colored light terminal executes the target animation switch at the corresponding animation execution time.
[0150] During animation execution, the animation collaborative control module continuously receives animation execution status feedback from each colored light terminal and sends the animation execution status to the animation continuity correction module. When the fluctuation buffer decision module regenerates the animation switching control strategy, the animation collaborative control module recalculates the animation execution time based on the updated animation switching delay control amount and synchronously updates the animation execution queue to ensure that the animation execution process is consistent with the current animation switching control strategy.
[0151] By determining the animation execution time of each colored light terminal based on the animation switching delay control amount, and controlling the colored light terminals within the same power supply fluctuation propagation range to complete the staggered animation switching according to the animation execution time, the animation execution process and the fluctuation buffer decision result are kept in correspondence, providing unified animation execution status data for subsequent animation continuity correction.
[0152] Reference Figure 7 Furthermore, the animation continuity correction module performs animation continuity correction based on the animation switching delay control amount, specifically including:
[0153] The deviation of the animation execution stage is obtained based on the animation execution stage corresponding to each colored light terminal;
[0154] Animation continuity correction results are generated based on deviations during the animation execution phase.
[0155] Based on the animation continuity correction results, the corresponding colored light terminal is controlled to restore to the reference animation execution stage.
[0156] Specifically, after receiving the animation execution status and animation switching delay control amount sent by the animation coordination control module, the animation continuity correction module first reads the current animation execution stage of each colored light terminal and obtains the reference animation execution stage of the corresponding colored light terminal according to the current animation execution plan.
[0157] Subsequently, the animation continuity correction module compares the difference between the current animation execution stage and the reference animation execution stage to obtain the animation execution stage deviation for each lantern terminal. The animation execution stage deviation describes the degree of deviation between the current animation execution state of the lantern terminal and the reference animation execution state, and serves as the basis for generating the animation continuity correction results.
[0158] Let the first The deviation in the animation execution stage corresponding to each colored light terminal is: The calculation method is as follows:
[0159] ;
[0160] in: Indicates the first Deviation in the animation execution stage corresponding to each colored light terminal; Indicates the first The current animation execution stage of the individual colored light terminal; Indicates the first The reference animation execution phase corresponding to each colored light terminal.
[0161] The animation continuity correction module generates corresponding animation continuity correction results based on the deviations in the animation execution stages. These results are used to adjust the current animation execution stage of the colored light terminal, gradually bringing it closer to the reference animation execution stage. The calculation method is as follows:
[0162] ;
[0163] in: Indicates the first The animation continuity correction results corresponding to each colored light terminal; Indicates the first Deviation in the animation execution stage corresponding to each colored light terminal; This represents the animation continuity correction coefficient.
[0164] After the animation continuity correction module completes the calculation of the animation continuity correction results for all the colored light terminals, it establishes a mapping relationship between the animation continuity correction results and the corresponding colored light terminal identifiers, and sends them to the corresponding colored light terminals.
[0165] Each colored light terminal adjusts its current animation execution stage based on the received animation continuity correction results, gradually restoring it to the reference animation execution stage. When the deviation of the animation execution stage decreases to within a preset allowable range, the animation continuity correction stops, and subsequent animation playback continues according to the current animation execution plan. The animation continuity correction module re-acquires the current animation execution stage of each colored light terminal in each sampling cycle and recalculates the animation execution stage deviation and animation continuity correction results, ensuring that the animation continuity correction process is synchronized with the animation execution status.
[0166] By generating animation continuity correction results based on the deviation of the animation execution stage, and controlling the corresponding colored light terminal to return to the reference animation execution stage based on the animation continuity correction results, the colored light terminal after the staggered animation switching is gradually restored to the unified animation execution state, providing continuous animation execution results for the entire colored light network control process.
[0167] Example 2: Refer to Figure 7 In a second embodiment of the present invention, the present invention provides a smart colored light network control method for multi-terminal collaboration in the Internet of Things, comprising the following steps:
[0168] S1. Collect the power supply voltage, operating current, output brightness, color power coefficient, and animation execution stage of each colored light terminal to generate terminal status data;
[0169] S2. Based on the terminal status data and the preset power supply response detection process, establish the power supply influence relationship between the colored light terminals and generate a power supply influence correlation matrix;
[0170] S3. Generate the power supply fluctuation status corresponding to each colored light terminal based on the terminal status data and the power supply impact correlation matrix;
[0171] S4. Identify the propagation range of power supply fluctuations based on the power supply impact correlation matrix and power supply fluctuation status;
[0172] S5. Generate the fluctuation buffer priority and animation switching delay control amount for each colored light terminal according to the power supply fluctuation propagation range.
[0173] S6. Control each colored light terminal to perform animation switching according to the animation switching delay control amount;
[0174] S7. Generate animation continuity correction results based on the deviation of the animation execution stage, and control each colored light terminal to restore to the reference animation execution stage based on the animation continuity correction results.
[0175] Specifically, this embodiment uses the multi-terminal smart lantern network control process in a landscape lighting system as an example. Multiple lantern terminals are deployed in the system, each connected to the same IoT control network, and synchronously execute lighting animations according to a preset animation scheme. When the control system starts, each lantern terminal collects power supply voltage, operating current, output brightness, color power coefficient, and animation execution stage according to a fixed sampling period, and sends the collected terminal status data to the control terminal.
[0176] The control unit first organizes the terminal status data uploaded by each colored light terminal. Following a preset power supply response detection process, it sequentially controls each colored light terminal to perform brightness disturbances and collects the corresponding power supply response changes from other colored light terminals. Based on the power supply response changes among the colored light terminals, it establishes a power supply impact correlation relationship and generates a corresponding power supply impact correlation matrix. When a colored light terminal is newly added to the network, leaves the network, or its network connection changes, the control unit re-executes the preset power supply response detection process and regenerates the power supply impact correlation matrix to ensure that the power supply impact correlation relationship remains consistent with the current network status.
[0177] After establishing the power supply impact correlation matrix, the control terminal reads terminal status data corresponding to multiple consecutive sampling periods. Based on the changes in power supply voltage, operating current, and output brightness of each colored light terminal, a power supply fluctuation state is generated, and a smoothed power supply fluctuation state is generated by combining the operating status of multiple consecutive sampling periods. Subsequently, based on the power supply impact correlation matrix, associated colored light terminals with power supply impact relationships with the target colored light terminal are obtained. The fluctuation propagation impact value corresponding to each colored light terminal is calculated based on the power supply fluctuation state of the associated colored light terminals, and the current power supply fluctuation propagation range is identified based on propagation judgment conditions.
[0178] The control terminal reads the fluctuation propagation impact value and output brightness change rate of each colored light terminal according to the power supply fluctuation propagation range, and generates the fluctuation buffer priority of each colored light terminal. Then, the colored light terminals belonging to the same power supply fluctuation propagation range are sorted according to the fluctuation buffer priority to determine the animation switching order, and the animation switching delay control amount of each colored light terminal is reallocated to generate the animation switching control strategy.
[0179] After receiving the animation switching control strategy, the animation coordination control module redetermines the animation execution time according to the animation switching delay control amount corresponding to each colored light terminal, and sends animation control instructions to the corresponding colored light terminals in sequence according to the animation execution time, so that different colored light terminals within the same power supply fluctuation propagation range complete the animation switching according to the corresponding animation execution time; colored light terminals within different power supply fluctuation propagation ranges execute the corresponding animation switching control strategy respectively.
[0180] During animation execution, each light terminal continuously provides feedback on its current animation execution stage. The animation continuity correction module obtains the deviation between the current animation execution stage and the reference animation execution stage of each light terminal and generates the corresponding animation continuity correction result. Subsequently, based on the animation continuity correction result, the current animation execution stage of each light terminal is adjusted so that each light terminal, after switching from the staggered animation, returns to the reference animation execution stage, completing a full IoT multi-terminal collaborative smart light network control process.
[0181] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A smart colored light network control system for multi-terminal collaboration in the Internet of Things, characterized in that, include: The terminal status acquisition module is used to collect the power supply voltage, operating current, output brightness, color power coefficient, and animation execution stage of each colored light terminal, and generate terminal status data. The power supply impact correlation establishment module is connected to the terminal status acquisition module for establishing the power supply impact correlation between the colored light terminals based on the terminal status data and the preset power supply response detection process, and generating a power supply impact correlation matrix. The power supply fluctuation state generation module is data-connected to the terminal state acquisition module and the power supply influence association establishment module, and is used to generate the power supply fluctuation state corresponding to each colored light terminal based on the terminal state data and the power supply influence association matrix. The fluctuation propagation identification module is data-connected to the power supply fluctuation state generation module and the power supply influence association establishment module, and is used to identify the power supply fluctuation propagation range based on the power supply influence association matrix and the power supply fluctuation state. The fluctuation buffer decision module is connected to the fluctuation propagation identification module and is used to generate the fluctuation buffer priority and animation switching delay control amount for each colored light terminal according to the power supply fluctuation propagation range. An animation coordination control module is data-connected to the fluctuation buffer decision module and is used to control each colored light terminal to perform animation switching according to the animation switching delay control amount. The animation continuity correction module is connected to the animation collaborative control module and is used to generate animation continuity correction results based on the deviation of the animation execution stage, and send them to each colored light terminal to complete the animation continuity restoration.
2. The IoT multi-terminal collaborative smart lantern network control system according to claim 1, characterized in that, The power supply impact correlation establishment module establishes a power supply impact correlation based on the terminal status data and a preset power supply response detection process, specifically including: Control the target colored light terminal to perform brightness perturbation, and obtain the power supply response changes before and after the brightness perturbation; The power supply influence correlation strength between the target colored light terminal and the other colored light terminals is generated based on the power supply response changes corresponding to the other colored light terminals. A power supply influence correlation matrix is generated based on the correlation strength of power supply influence between each colored light terminal to characterize the power supply influence correlation between each colored light terminal.
3. The IoT multi-terminal collaborative smart lantern network control system according to claim 1, characterized in that, The power supply fluctuation status generation module generates a power supply fluctuation status based on the terminal status data, specifically including: The power supply voltage change rate, operating current change rate, and output brightness change rate of each colored light terminal are obtained according to the continuous sampling period. The corresponding power supply fluctuation state is generated based on the power supply voltage change rate, the operating current change rate, and the output brightness change rate; A smooth power supply fluctuation state is generated based on the power supply fluctuation state corresponding to multiple consecutive sampling periods.
4. The IoT multi-terminal collaborative smart lantern network control system according to claim 1, characterized in that, The fluctuation propagation identification module performs power supply fluctuation propagation range identification based on the power supply impact correlation matrix and the power supply fluctuation state, specifically including: Based on the power supply impact correlation matrix, identify the associated colored light terminals that have a power supply impact relationship with the target colored light terminal; Generate the fluctuation propagation impact value of the target colored light terminal based on the power supply fluctuation status of each associated colored light terminal; The power supply fluctuation propagation range is generated based on the fluctuation propagation impact value corresponding to each colored light terminal and the propagation judgment conditions.
5. The IoT multi-terminal collaborative smart lantern network control system according to claim 1, characterized in that, The fluctuation buffering decision module performs fluctuation buffering decisions based on the power supply fluctuation propagation range, specifically including: The fluctuation propagation impact value corresponding to each colored light terminal is obtained based on the power supply fluctuation propagation range. Based on the fluctuation propagation impact value and the output brightness change rate of each colored light terminal, a fluctuation buffer priority is generated for each colored light terminal. The animation switching order is determined based on the fluctuation buffer priority of each colored light terminal, and the animation switching delay control amount corresponding to each colored light terminal is generated.
6. The IoT multi-terminal collaborative smart lantern network control system according to claim 1, characterized in that, The animation coordination control module performs animation coordination control based on the animation switching delay control amount, specifically including: The animation execution time for each colored light terminal is determined based on the animation switching delay control amount for each colored light terminal. Based on the animation execution time corresponding to each colored light terminal, different colored light terminals within the same power supply fluctuation propagation range are controlled to complete staggered animation switching.
7. The IoT multi-terminal collaborative smart lantern network control system according to claim 1, characterized in that, The animation continuity correction module performs animation continuity correction based on the animation switching delay control amount, specifically including: The deviation of the animation execution stage is obtained based on the animation execution stage corresponding to each colored light terminal; Animation continuity correction results are generated based on the deviations in the animation execution phases. Based on the animation continuity correction results, the corresponding colored light terminal is controlled to return to the reference animation execution stage.
8. The IoT multi-terminal collaborative smart lantern network control system according to claim 2, characterized in that, The power supply impact correlation establishment module updates the power supply impact correlation matrix based on changes in network status, specifically including: The preset power supply response detection process is re-executed based on changes in the network status of the colored light terminals; The correlation strength of power supply influence between each colored light terminal is updated based on the changes in the reacquired power supply response; The power supply influence correlation matrix is regenerated based on the updated power supply influence correlation strength.
9. A smart colored light network control system for multi-terminal collaboration in the Internet of Things according to claim 5, characterized in that, The fluctuation buffer decision module optimizes the animation switching order based on the fluctuation buffer priority of each colored light terminal, specifically including: The animation switching sequence between each colored light terminal within the same power supply fluctuation propagation range is determined based on the fluctuation buffer priority corresponding to each colored light terminal. Based on the animation switching sequence, the animation switching delay control amount corresponding to each colored light terminal is reallocated; Animation switching control strategy is generated based on the reallocated animation switching delay control value.
10. A smart colored light network control method for multi-terminal collaboration in the Internet of Things, characterized in that, The application of the IoT multi-terminal collaborative smart lantern networking control system according to any one of claims 1-9 includes the following steps: S1. Collect the power supply voltage, operating current, output brightness, color power coefficient, and animation execution stage of each colored light terminal to generate terminal status data; S2. Based on the terminal status data and the preset power supply response detection process, establish the power supply influence relationship between the colored light terminals and generate a power supply influence correlation matrix; S3. Generate the power supply fluctuation status corresponding to each colored light terminal based on the terminal status data and the power supply influence correlation matrix; S4. Identify the propagation range of power supply fluctuations based on the power supply impact correlation matrix and the power supply fluctuation status; S5. Generate the fluctuation buffer priority and animation switching delay control amount for each colored light terminal according to the power supply fluctuation propagation range. S6. Control each colored light terminal to perform animation switching according to the animation switching delay control amount; S7. Generate animation continuity correction results based on the deviation of the animation execution stage, and control each colored light terminal to return to the reference animation execution stage based on the animation continuity correction results.
