Intelligent ceiling lamp and table lamp interactive linkage control method and system

By setting the linkage control relationship between intelligent ceiling lights and desk lamps, continuously detecting and identifying command conflicts, and calculating the control bias index, the conflict between system automatic control and user manual operation is solved, achieving more accurate lamp control and improving user experience.

CN120343780APending Publication Date: 2025-07-18HANGZHOU 2M2 INTELLIGENT HOME TECH CO LTD
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
CN202510726769.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-03
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

In the linkage control between intelligent ceiling lights and desk lamps, the system's automatic control signal and user manual operation instructions are prone to trigger control conflicts, affecting the synergy effect of user experience and equipment.

Method used

By setting the automatic linkage control relationship between the intelligent ceiling lamp and the desk lamp, continuously detect control behavior and identify command conflicts, obtain operation information of each control source, calculate the control bias index, select the actual implemented control source, and store the relevant data in the database.

Benefits of technology

It improves the accuracy of smart lamp control, improves the user experience, ensures that the control behavior is consistent with the user's wishes, and reduces the occurrence of control conflicts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120343780A_ABST
    Figure CN120343780A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of linkage control, and discloses an intelligent ceiling lamp and table lamp interaction linkage control method and system, which are used for solving the problem that a linkage control signal and a user manual operation instruction are triggered at the same time when a lamp is controlled. Identifying instruction conflicts, marking control sources in the instruction conflicts, if the instruction conflicts are judged to occur, acquiring lamp operation information of each control source in a detection time period, evaluating according to the lamp operation information to obtain a control deviation index of each control source, and selecting an actually implemented control source according to the control deviation index; the lamp is controlled according to the actually implemented control instruction of the control source, the related data of the conflict event is acquired, and the related data is stored in the database, so that the control accuracy of the intelligent lamp is effectively improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of linkage control, and more specifically to an intelligent ceiling lamp and table lamp interactive linkage control method and system. Background Art

[0002] The interactive linkage control method of smart ceiling lamps and table lamps is an important control strategy for realizing multi-device coordinated response, dynamic lighting management and scene atmosphere creation in modern smart home environments. This type of linkage control is widely used in smart space scenes such as homes, offices and hotels, and uses a unified platform to realize automatic linkage of multiple lamps, state synchronization and user behavior-driven context switching.

[0003] Existing technologies usually preset linkage rules between lamps in the intelligent control platform. When the ceiling lamp is turned on or off, the brightness, color temperature or switch status of the desk lamp is automatically adjusted to create a specific lighting atmosphere. Some advanced systems introduce ambient light sensors and user behavior statistics to achieve simple adaptive control. By setting linkage strategies, users can switch between multiple scenes such as "reading mode", "movie viewing mode" and "resting mode", improving the lighting experience and the level of space intelligence.

[0004] However, in the process of implementing the technical solution of the invention in the embodiments of the present application, the present application found that the above technology has at least the following technical problems:

[0005] In actual use, there may be situations where the system's automatic control signal and the user's manual operation command are triggered at the same time, which can easily lead to control conflicts. As a result, the ceiling lamp and desk lamp are not controlled according to the user's wishes, seriously affecting the user experience and the synergy of the equipment.

[0006] In view of the above problems, the present invention proposes a solution. Summary of the invention

[0007] In order to overcome the above-mentioned defects of the prior art, the present invention provides an intelligent ceiling lamp and table lamp interactive linkage control method and system to solve the problems existing in the above-mentioned background technology.

[0008] To achieve the above object, the present invention provides the following technical solutions:

[0009] Intelligent ceiling lamp and table lamp interactive linkage control method, including the following steps: Step 1: Set the automatic linkage control relationship between the intelligent ceiling lamp and the table lamp; Step 2: Continuously detect the control behaviors of the intelligent ceiling lamp and the table lamp, and identify instruction conflicts, mark the control sources in the instruction conflicts, and the control sources include direct user control and automatic linkage control; Step 3: If it is determined that an instruction conflict occurs, obtain the lamp operation information of each control source during the detection time period, and the lamp operation information includes control information, light intensity data, the number of control source changes, the device control response feedback situation, the current time period, and the ambient light intensity; Step 4: Evaluate the control bias index of each control source according to the lamp operation information, and select the actually implemented control source according to the control bias index; Step 5: Control the lamp according to the control instruction of the actually implemented control source; Step 6: Obtain the relevant data of the conflict event and store the relevant data in the database.

[0010] Preferably, the step of identifying instruction conflicts is: Set a time window, use the sliding time window method to detect whether there is more than one control source within a time window. If there is more than one control source, it is determined that an instruction conflict occurs; if there is not more than one control source, it is determined that no instruction conflict occurs.

[0011] Preferably, the step of obtaining the control bias index is: Obtain the control information during the detection time period, and the control information includes the total number of controls issued by the control source, the time points of issuing controls, and the number of status operations. Calculate the control trend coefficient according to the control information; Obtain the light intensity data in real time through a light sensor, and calculate the scene reasonable coefficient according to the light intensity data; Obtain the total number of control source changes during the detection time period, calculate the ratio of the number of changes of each control source to the total number of control source changes to obtain the change coefficient; Obtain the device control response feedback situation during the detection time period, and the device control response feedback situation includes the send timestamp and the feedback timestamp, and calculate the device status coefficient according to the device control response feedback situation; Normalize the control trend coefficient, the scene reasonable coefficient, the change coefficient, and the device status coefficient, and calculate the control bias index according to the normalized control trend coefficient, the scene reasonable coefficient, the change coefficient, and the device status coefficient. The specific obtaining steps are: ; In the formula, represents the control bias index, represents the normalized control trend coefficient, represents the normalized scene reasonable coefficient, represents the normalized change coefficient, represents the normalized device status coefficient, 、 、 、 The weight coefficients representing the control trend coefficient, the scenario rationality coefficient, the change coefficient, and the device status coefficient.

[0012] Preferably, the steps for obtaining the control trend coefficient are as follows: Set a detection time period, and obtain all control instructions from different control sources within the detection time period, their corresponding timestamps, execution results, and device feedback status; According to the timestamps corresponding to the control instructions of the control source, count the total number of control instructions on the target control path, denoted as the total control count; Calculate the time difference between consecutive control operations by the same control source, and calculate the average interval time between all adjacent consecutive control operations, denoted as the average control interval time; Obtain the minimum time interval between two adjacent control operations, denoted as the minimum control interval time; Count the number of control operations that cause changes in the actual state of the device within the detection time period, and divide it by the total number of control instructions to obtain the state switching ratio; Preset a short time window, obtain the number of consecutive control operations that occur within the short time window, and calculate the ratio with the total number of all control operations to obtain the fast consecutive control ratio; Normalize the total control count, the average control interval time, the minimum control interval time, the state switching ratio, and the fast consecutive control ratio, and calculate the control trend coefficient according to the normalized total control count, average control interval time, minimum control interval time, state switching ratio, and fast consecutive control ratio. The specific obtaining steps are as follows: ; In the formula, represents the control trend coefficient, represents the total control count after normalization, represents the average control interval time after normalization, represents the state switching ratio after normalization, represents the fast consecutive control ratio after normalization, represents the minimum control interval time after normalization.

[0013] Preferably, the step of obtaining the scene rationality coefficient is as follows: obtain the current actual time and convert it into the hour value in the 24-hour system, denoted as the current time period; judge the direction according to the current control behavior. If it is a "turn on the light" operation, set the control behavior direction to 1. If it is a "turn off the light" operation, set the control behavior direction to -1; calculate the time rationality factor according to the current time period and the control behavior direction; collect the current ambient light intensity value in the room in real time through the ambient light sensor; based on the ambient light measurement results of the previous and the next time, calculate the light intensity change rate per unit time, denoted as the ambient light intensity change rate; calculate the light mutation response factor according to the ambient light intensity change rate and the control behavior direction; calculate the ambient light adaptation factor according to the current ambient light intensity value and the control behavior direction; add the time rationality factor, the light mutation response factor and the ambient light adaptation factor to calculate the scene rationality coefficient.

[0014] Preferably, the step of obtaining the device state coefficient is as follows: calculate the difference between the feedback timestamp and the sending timestamp recorded each time a control instruction is issued to obtain the control response delay; obtain the control response delays of each control instruction issued during the detection time period and calculate the average value to obtain the average response delay; calculate the device state coefficient according to the average response delay.

[0015] Preferably, the step of selecting the actual implemented control source according to the control bias index is as follows: compare the control bias indexes of the control sources within a time window and select the control source with the highest control bias index as the actual implemented control source.

[0016] Preferably, for the intelligent ceiling lamp and table lamp interactive linkage control system, the system includes: an automatic linkage setting module for setting the automatic linkage control relationship between the intelligent ceiling lamp and the table lamp; an instruction conflict identification module for continuously detecting the control behaviors of the intelligent ceiling lamp and the table lamp and identifying instruction conflicts, and marking the control sources in the instruction conflicts. The control sources include user direct control and automatic linkage control; an operation information acquisition module, if it is determined that an instruction conflict occurs, acquire the lamp operation information of each control source during the detection time period. The lamp operation information includes control information, light intensity data, the number of control source changes, the device control response feedback situation, the current time period, and the ambient light intensity; an implemented control source selection module for evaluating the control bias index of each control source according to the lamp operation information and selecting the actual implemented control source according to the control bias index; an actual control module for controlling the lamp according to the control instruction of the actual implemented control source; a data storage module for acquiring the relevant data of the conflict event and storing the relevant data in the database.

[0017] The technical effects and advantages of the present invention:

[0018] Continuously detect the control behaviors of the intelligent ceiling lamp and the table lamp, identify instruction conflicts, mark the control sources in the instruction conflicts. If it is determined that an instruction conflict occurs, obtain the lamp operation information of each control source during the detection time period, evaluate the control preference index of each control source based on the lamp operation information, select the actually implemented control source according to the control preference index, control the lamp according to the control instruction of the actually implemented control source, obtain the relevant data of the conflict event, and store the relevant data in the database, effectively improving the accuracy of intelligent lamp control and enhancing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 It is a flowchart of the interactive and interlocking control method for the intelligent ceiling lamp and the table lamp provided by the embodiment of the present application.

[0020] Figure 2 It is a structural diagram of the interactive and interlocking control method for the intelligent ceiling lamp and the table lamp provided by the embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0021] Next, the technical solutions in the present invention will be clearly and completely described in conjunction with the accompanying drawings in the present invention. In addition, the forms of the structures described in the following embodiments are only examples, and the interactive and interlocking control method and system for the intelligent ceiling lamp and the table lamp involved in the present invention are not limited to the structures described in the following embodiments. All other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0022] The present invention provides an interactive and interlocking control method for an intelligent ceiling lamp and a table lamp, as Figure 1 shown, including the following steps:

[0023] Step 1: Set the automatic interlocking control relationship between the intelligent ceiling lamp and the table lamp;

[0024] In this embodiment, it should be specifically noted that the step of setting the automatic interlocking control relationship between the intelligent ceiling lamp and the table lamp is as follows:

[0025] Connect the intelligent ceiling lamp and the table lamp to the unified intelligent lighting control platform through wireless protocols respectively, and assign a unique identification code to each device;

[0026] Obtain the basic information of the ceiling lamp and the table lamp. The basic information includes parameters such as the supported control instruction types (such as on / off, brightness adjustment, color temperature adjustment, etc.), working power, response delay, dimming range, etc.;

[0027] According to the basic information of the ceiling lamp and the table lamp, establish a logical control association between the ceiling lamp and the table lamp, incorporate the two into the same interlocking control group, and mark their functional roles. For example, the ceiling lamp is the main lamp and the table lamp is the auxiliary lamp;

[0028] The user sets the linkage trigger conditions between the ceiling lamp and the table lamp through the control platform. For example: when the ceiling lamp is turned off, the table lamp is automatically turned on; when the brightness of the ceiling lamp is lower than a certain threshold, the table lamp enters the reading mode; or within a set time period, the change in the state of the ceiling lamp triggers the synchronous change of the table lamp. Each condition corresponds to specific scenario requirements and supports user-defined configuration;

[0029] On the basis of the trigger conditions, further set the response mode of the table lamp, including the on state, brightness percentage, color temperature value, gradient speed, etc.;

[0030] The user can bind specific time periods (such as 18:00–22:00 every day) or specific scenario tags (such as "rest", "reading", "falling asleep", etc.) to the set linkage strategies. Before the linkage is executed, the system will judge whether the current environment meets the time or scenario constraints on which the trigger conditions depend, so as to improve the accuracy of control and the degree of fit with the scenario;

[0031] After completing the settings of the trigger conditions, response actions and applicable scopes, save the linkage strategy to the platform configuration.

[0032] Step 2: Continuously detect the control behaviors of the smart ceiling lamp and the table lamp, identify instruction conflicts, and mark the control sources in the instruction conflicts. The control sources include direct user control and automatic linkage control. Direct user control includes physical buttons, mobile applications, and voice commands for the lamp;

[0033] The continuous detection of the control behaviors of the smart ceiling lamp and the table lamp is achieved through the instruction listening function and the device status feedback interface. It listens in real time for control instructions from the user control end and the system's automatic linkage logic, and at the same time receives the status change feedback from the lamp end, so as to continuously monitor and record all control behaviors, providing continuous data support for subsequent conflict identification and control bias evaluation.

[0034] In this embodiment, it should be specifically noted that the step of marking the control sources in the instruction conflicts is as follows:

[0035] Attach a control source identification field to each control instruction generated, such as "User App Control", "Voice Assistant Control", "Physical Button Control", or "System Automatic Linkage Control", and write this identification into the control log together with the instruction. When two or more control sources are detected within the sliding time window to issue instructions with inconsistent states to the same device within a short time, the system immediately marks their respective sources and establishes a pair of conflicting instructions for subsequent control bias index evaluation and priority judgment, realizing the intelligent control path selection in the multi-source conflict state.

[0036] In this embodiment, it should be specifically noted that the step of identifying instruction conflicts is as follows:

[0037] Set a time window, which can be 2 seconds. Using the sliding time window method, detect whether there is more than one control source within a time window. If there is more than one control source, it is determined that an instruction conflict has occurred; if there is not more than one control source, it is determined that no instruction conflict has occurred.

[0038] The sliding time window method is a commonly used dynamic detection method in time series data processing. By setting a time window with a fixed length and continuously sliding this window along the entire time axis at a certain step size, the data change characteristics within each time period can be captured in real time. In the intelligent control scenario, the sliding time window method can be used to determine whether there are control instructions from multiple control sources within a window.

[0039] Step 3: If it is determined that an instruction conflict has occurred, obtain the lamp operation information of each control source during the detection time period. The lamp operation information includes control information, light intensity data, the number of control source changes, the device control response feedback situation, the current time period, and the ambient light intensity, etc., which is used to comprehensively analyze the behavior background and environmental conditions of the current control conflict. The detection time period can be adjusted according to requirements. For example, it can be 1 day or 1 week;

[0040] Step 4: Evaluate the control bias index of each control source based on the lamp operation information, and select the actual implemented control source according to the control bias index;

[0041] In this embodiment, specifically, the steps for obtaining the control bias index are as follows:

[0042] Obtain the control information during the detection time period. The control information includes the total number of controls issued by the control source, the time points of issuing controls, and the number of status operations, and calculate the control trend coefficient based on the control information;

[0043] Obtain the light intensity data in real time through a light sensor, and calculate the scene rationality coefficient based on the light intensity data;

[0044] Obtain the total number of control source changes during the detection time period, and calculate the ratio of the number of changes of each control source to the total number of control source changes to obtain the change coefficient;

[0045] Obtain the device control response feedback situation during the detection time period. The device control response feedback situation includes the send timestamp and the feedback timestamp, and calculate the device status coefficient based on the device control response feedback situation;

[0046] Normalize the control trend coefficient, scene rationality coefficient, change coefficient, and device status coefficient. Normalization refers to mapping parameters with different dimensions or value ranges through mathematical transformation to a unified standard interval (such as between 0 and 1) to eliminate the unbalanced influence caused by different parameter scales. Calculate the control bias index based on the normalized control trend coefficient, scene rationality coefficient, change coefficient, and device status coefficient. The specific acquisition steps are as follows: ;

[0047] In the formula, is expressed as the control bias index, is expressed as the normalized control trend coefficient. The control trend coefficient reflects the dominant behavior frequency and rhythm characteristics of a specific control method (such as user manual operation or system automatic linkage) over a period of time. Whether it is due to frequent user operations or frequent triggering of system rules, as long as it is more dominant in the actual control process, the system will be more inclined to execute the control instructions corresponding to this path when conflicts occur. The proportional relationship reflects the system's perception ability of the behavior trend, helps to dynamically adapt to the actual control habits, and improves the rationality and intelligence of the lighting control response. is expressed as the normalized scene rationality coefficient. The higher the matching degree of the current control behavior with the actual environmental conditions (such as time period, light change, etc.), the more inclined the system is to adopt this control path when control conflicts occur. This coefficient reflects the rationality and adaptability of the control operation in a specific scene. For example, if system linkages such as automatically turning on the lights in the evening or users manually dimming the lights late at night are more in line with the scene characteristics, the corresponding control bias index will increase. is expressed as the normalized change coefficient. The higher the frequency of a control operation being changed within a period of time after execution, the more unstable or unrecognized the operation is in actual use, and the lower its control bias index. The system is less inclined to adopt this control path in conflict judgment. The change coefficient reflects the possibility of a control behavior being corrected. Whether the operation comes from the user or the system, as long as it is often changed again by the user or the system in a short time, it indicates that there is a deviation or misoperation risk between the control result and the actual requirements. is expressed as the normalized device status coefficient. The higher the stability and execution reliability of the device corresponding to the current control path in terms of status response, the easier it is for this control path to be preferentially adopted in conflict judgment. The device status coefficient mainly reflects the response speed and execution success rate of the lamp to control instructions. If a device has small control delay, accurate instruction feedback, and high execution success rate, it indicates that it has good control execution conditions, and the system will regard the corresponding control operation as a more feasible and reliable option. 、 、 、 The weight coefficients representing the control trend coefficient, the scenario rationality coefficient, the change coefficient, and the device status coefficient, and , , , , are obtained through the analytic hierarchy process. The analytic hierarchy process is a multi-criteria decision analysis method mainly used to decompose complex decision-making problems into factors at multiple levels, and by constructing a pairwise comparison judgment matrix, quantify the importance of each factor relative to the goal. This method conducts pairwise comparisons of each factor through expert experience or statistical analysis, calculates the relative weights of each factor, and conducts a consistency test to ensure the rationality and consistency of the judgment results. In the present invention, the control trend coefficient, the scenario rationality coefficient, the change coefficient, and the device status coefficient have different influences on the control bias index. Using the analytic hierarchy process can scientifically and systematically determine the weights of each coefficient, making the weighted summation process of the control bias index more objective and reasonable, and conforming to the decision-making priorities in the actual scenario.

[0048] In the present invention, the control trend coefficient, the scenario rationality coefficient, the change coefficient, and the device status coefficient have different sources and value ranges. If no normalization processing is performed, the parameter with a larger value will occupy too high a weight in the weighted summation, resulting in a distorted result of the control bias index. Through normalization processing, it can be ensured that each coefficient has a relatively fair comparison basis in the calculation, making the control bias index more truly reflect the comprehensive effects of various factors, thereby improving the rationality and accuracy of conflict control decisions.

[0049] In this embodiment, it should be specifically noted that the steps for obtaining the control trend coefficient are as follows:

[0050] Set a detection time period, and obtain all control instructions from different control sources within the detection time period, as well as their corresponding timestamps, execution results, and device feedback statuses, providing a data basis for subsequent parameter extraction;

[0051] According to the timestamps corresponding to the control instructions of the control source, count the total number of control instructions on the target control path, denoted as the total control times, which reflects the control frequency of this path within the current time window and is the basic basis for evaluating control dominance;

[0052] Calculate the time difference between consecutive control operations of the same control source, and calculate the average interval time between all adjacent consecutive control operations, denoted as the average control interval time, which is used to evaluate the density and rhythm of control behavior. The smaller the interval, the more concentrated the control;

[0053] Obtain the minimum time interval between two adjacent control operations, denoted as the minimum control interval time;

[0054] Count the number of control operations that cause changes in the actual state of the device (such as on / off, brightness change, etc.) within the statistical detection time period, and divide it by the total number of control instructions to obtain the state switching ratio. The higher the value, the more effective and efficient the operations under this control path are;

[0055] Preset a short time window, such as 20 seconds, obtain the number of consecutive control operations that occur within the short time window, and calculate the ratio with the total number of control operations to obtain the fast consecutive control ratio, which is used to evaluate the density of the control rhythm. Continuous concentrated control means a stronger dominant trend for this path;

[0056] Normalize the total number of controls, average control interval time, minimum control interval time, state switching ratio, and fast consecutive control ratio. According to the normalized total number of controls, average control interval time, minimum control interval time, state switching ratio, and fast consecutive control ratio, calculate the control trend coefficient. The specific acquisition steps are as follows: ;

[0057] In the formula, represents the control trend coefficient, represents the total number of controls after normalization, represents the average control interval time after normalization, represents the state switching ratio after normalization, represents the fast consecutive control ratio after normalization, represents the minimum control interval time after normalization. By combining control frequency, control rhythm, actual state change ability, and operation continuity, comprehensively evaluate the dominant degree of a certain control path within the current time period. In the formula, the ratio of the number of controls to the average interval time reflects the density of control, the state switching ratio and the fast control ratio jointly measure the effectiveness and rhythm intensity of operations, and the logarithmic penalty term of the minimum control interval is used to suppress possible accidental touches or ineffective jitter operations. Overall, the formula uses a product structure to strengthen the mutual constraint relationship between parameters, avoid a single indicator dominating the result, and thus achieve an objective and accurate quantification of control dominance, providing a reliable basis for the optimal control under conflict states.

[0058] In this embodiment, it should be specifically noted that the steps for obtaining the scene reasonable coefficient are as follows:

[0059] Obtain the current actual time and convert it into the hour value in the 24-hour system, denoted as the current time period, which is used to determine whether the control behavior occurs in a typical lighting-sensitive period. For example, the period from 18:00 to 22:00 is a high lighting demand period, and the period before 6:00 in the morning or 12:00 at noon is a low lighting demand period;

[0060] Judge its direction according to the current control behavior. If it is an "on" operation, set the control behavior direction to 1. If it is an "off" operation, set the control behavior direction to -1, which is used to guide the rationality judgment of positive or negative behavior in the formula;

[0061] Calculate the time rationality factor according to the current time period and the control behavior direction. The specific acquisition steps are as follows: ;

[0062] In the formula, represents the time rationality factor, represents the current time period, represents the control behavior direction. The formula adopts the exponential function form. By comparing the current hour value with the typical lighting period (such as 18:00 in the evening) and combining the control behavior direction for power operation. When the "on" operation is executed, being in the evening period will make the factor value approach 1, indicating that the operation meets the high-incidence period of lighting demand; while when the "off" operation is carried out at night or in the early morning, the factor can also show a high value, indicating that the behavior is energy-saving and reasonable in terms of time. This formula strengthens the influence of a specific time period on the control decision through a non-linear function, avoids the sudden judgment caused by hard thresholds, and improves the sensitivity and continuous response ability of the system to the time scenario;

[0063] Real-time collect the current ambient light intensity value in the room through the ambient light sensor, which is used to judge whether the current space is in a bright or dim state;

[0064] Based on the ambient light measurement results of the previous and next times, calculate the light intensity change rate per unit time, denoted as the ambient light intensity change rate, which reflects whether the current control behavior is a reasonable response to the environmental mutation;

[0065] Calculate the light mutation response factor according to the ambient light intensity change rate and the control behavior direction. The specific acquisition steps are as follows: ;

[0066] In the formula, represents the light mutation response factor, represents the ambient light intensity change rate, represents the control behavior direction. The formula is based on the exponential growth model. By using the product of the light intensity change rate and the control direction as the exponential parameter, when the environment quickly darkens, execute the "on" operation or when the light is enhanced, execute the "off" operation, and the factor value quickly approaches 1, indicating that the behavior is a positive and effective adaptive response. If the operation direction is inconsistent with the light change trend, the value will be significantly reduced, suppressing the priority of incorrect responses. This design can dynamically capture the reasonable behavior trend driven by light changes and enhance the system's response ability to sudden lighting demands;

[0067] The ambient light adaptation factor is calculated based on the current ambient light intensity value and the control behavior direction. The specific acquisition steps are as follows: ;

[0068] In the formula, represents the ambient light adaptation factor, represents the current ambient light intensity value, represents the control behavior direction. The formula is based on the Sigmoid function transformation, which compares the ambient light intensity with the critical value of human comfort illumination and involves the control direction in the function calculation. When the system turns on the light under low light conditions and turns off the light under high light conditions, the factor value increases significantly, reflecting strong operation rationality; otherwise, it tends to a lower value. By compressing the response amplitude in different brightness scenarios through the exponential function, this factor can effectively avoid control misjudgment caused by minor light fluctuations and improve the judgment accuracy of the lighting system's adaptability to the light environment;

[0069] Add the time rationality factor, the light mutation response factor, and the ambient light adaptation factor to calculate the scene rationality coefficient.

[0070] In this embodiment, it should be specifically noted that the acquisition steps of the device state coefficient are as follows:

[0071] Calculate the difference between the feedback timestamp and the sending timestamp recorded each time a control instruction is issued to obtain the control response delay, which represents the time required for the device to complete the operation;

[0072] Obtain the control response delay of each control instruction issued during the detection period and calculate the average value to obtain the average response delay;

[0073] Calculate the device state coefficient based on the average response delay. The specific acquisition steps are as follows: ;

[0074] In the formula, represents the device state coefficient, represents the average response delay. The calculation formula of this device state coefficient constructs a reciprocal function with the average response delay as the denominator, effectively mapping the control response performance of the device to a continuous scoring value between 0 and 1. The principle is as follows: the smaller the response delay, the closer the denominator is to 1, and the closer the coefficient is to 1, indicating that the device control execution is fast and reliable; the larger the response delay, the lower the coefficient value, reflecting the decline in device execution efficiency and the lag of instruction feedback. This function structure is simple and monotonically decreasing, which not only retains the sensitivity to response timeliness but also avoids unstable factors brought by complex weights or exponential terms. It is suitable for embedding in the actual control system to evaluate the control reliability of the device in real time and provide intuitive and quantifiable support for conflict control decisions.

[0075] In this embodiment, it should be specifically noted that the steps for selecting the actual implemented control source according to the control bias index are as follows:

[0076] Compare the control bias indices of the control sources within a time window, and select the control source with the highest control bias index as the actually implemented control source.

[0077] Step 5: Control the lamp according to the control instructions of the actually implemented control source. The control can be switch control, brightness adjustment control, color temperature adjustment control, etc.;

[0078] Step 6: Obtain the relevant data of the conflict event. The relevant data includes the control source, the control bias index value, the final execution result, and the user's subsequent operation feedback information. Store the relevant data in the database for easy retrieval and traceability.

[0079] It should be noted that the database is a dedicated database with functions of multi-source control record, conflict event data, control bias evaluation result, and user feedback information archiving. This database supports structured storage of data for each control event, including fields such as control timestamp, control device identifier, control source type, control bias index value, final executed control instruction, and subsequent user operation feedback, ensuring the queryability, traceability, and accountability of the entire process of control behavior. The system can retrieve historical conflict handling records from this database according to the set conditions for model optimization, adaptive adjustment of linkage strategies, or auditing and analysis of abnormal behaviors.

[0080] In this embodiment, it should be specifically noted that as Figure 2 shown, the intelligent ceiling lamp and table lamp interactive linkage control system, the system includes:

[0081] An automatic linkage setting module for setting the automatic linkage control relationship between the intelligent ceiling lamp and the table lamp;

[0082] An instruction conflict identification module for continuously detecting the control behaviors of the intelligent ceiling lamp and the table lamp, identifying instruction conflicts, and marking the control sources in the instruction conflicts. The control sources include user direct control and automatic linkage control. User direct control includes physical buttons, mobile applications, and voice commands, etc.;

[0083] An operation information acquisition module. If it is determined that an instruction conflict occurs, acquire the lamp operation information of each control source within the detection time period. The lamp operation information includes user control frequency, linkage control frequency, whether the user changes the linkage result, device control response feedback, current time period type, and environmental light intensity change trend, etc.;

[0084] Implement a control source selection module, which is used to evaluate the control bias index of each control source according to the lamp operation information, and select the actually implemented control source according to the control bias index;

[0085] An actual control module, which is used to control the lamp according to the control instruction of the actually implemented control source;

[0086] A data storage module, which is used to obtain the relevant data of the conflict event. The relevant data includes the control source, the control bias index value, the final execution result, and the user's subsequent operation feedback information, and stores the relevant data in the database for easy retrieval and traceability.

[0087] Finally: The above are only the preferred embodiments of the present invention and are not used to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

[0088] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present application, and all should be covered by the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claimed rights.

Claims

1. Intelligent ceiling lamp and table lamp interactive linkage control method, characterized in that, It includes the following steps: Step 1: Set the automatic linkage control relationship between the intelligent ceiling lamp and the table lamp; Step 2: Continuously detect the control behaviors of the intelligent ceiling lamp and the table lamp, identify instruction conflicts, mark the control sources in the instruction conflicts, and the control sources include direct user control and automatic linkage control; Step 3: If it is determined that an instruction conflict occurs, obtain the lamp operation information of each control source during the detection time period. The lamp operation information includes control information, light intensity data, the number of control source changes, the device control response feedback situation, the current time period, and the environmental light intensity; Step 4: Evaluate the control bias index of each control source based on the lamp operation information, and select the control source for actual implementation according to the control bias index; Step 5: Control the lamp according to the control instruction of the control source for actual implementation; Step 6: Obtain the relevant data of the conflict event and store the relevant data in the database.

2. The intelligent ceiling lamp and table lamp interactive linkage control method according to claim 1, wherein: The step of identifying instruction conflicts is as follows: Set a time window, use the sliding time window method to detect whether there is more than one control source within a time window. If there is more than one control source, it is determined that an instruction conflict occurs; if there is not more than one control source, it is determined that no instruction conflict occurs.

3. The intelligent ceiling lamp and table lamp interactive linkage control method according to claim 1, characterized in that: The step of obtaining the control bias index is as follows: Obtain the control information during the detection time period. The control information includes the total number of controls issued by the control source, the time points of issuing controls, and the number of status operation times, and calculate the control trend coefficient according to the control information; Obtain the light intensity data in real time through a light sensor, and calculate the scene rationality coefficient according to the light intensity data; Obtain the total number of control source changes during the detection time period, calculate the ratio of the change times of each control source to the total number of control source changes to obtain the change coefficient; Obtain the device control response feedback situation during the detection time period. The device control response feedback situation includes the send timestamp and the feedback timestamp, and calculate the device status coefficient according to the device control response feedback situation; Normalize the control trend coefficient, the scene rationality coefficient, the change coefficient, and the device status coefficient, and calculate the control bias index according to the normalized control trend coefficient, the scene rationality coefficient, the change coefficient, and the device status coefficient. The specific obtaining steps are as follows: ; In the formula, is expressed as the control deviation index, is expressed as the control trend coefficient after normalization, is expressed as the scenario rationality coefficient after normalization, is expressed as the change coefficient after normalization, is expressed as the device status coefficient after normalization, and and and are expressed as the weight coefficients of the control trend coefficient, the scenario rationality coefficient, the change coefficient, and the device status coefficient.

4. The intelligent ceiling lamp and table lamp interactive linkage control method according to claim 3, characterized in that: The step of obtaining the control trend coefficient is as follows: Set a detection time period, obtain all control instructions from different control sources during the detection time period and their corresponding timestamps, execution results, and device feedback status; According to the timestamps corresponding to the control instructions of the control source, count the total number of control instructions on the target control path, denoted as the total number of controls; Calculate the average interval time between all adjacent two consecutive control operations, denoted as the average control interval time; Obtain the minimum time interval between two adjacent control operations, denoted as the minimum control interval time; Count the number of control operations that cause the actual state change of the device during the detection time period, and divide it by the total number of control instructions to obtain the state switching ratio; Preset a short time window, obtain the number of consecutive control operations that occur within the short time window, and calculate the ratio with the total number of all control operations to obtain the fast consecutive control ratio; Normalize the total number of controls, average control interval time, minimum control interval time, state switching ratio, and rapid continuous control ratio, and calculate the control trend coefficient based on the normalized total number of controls, average control interval time, minimum control interval time, state switching ratio, and rapid continuous control ratio.

5. The intelligent ceiling lamp and table lamp interactive linkage control method according to claim 3, characterized in that: The steps for obtaining the scene rationality coefficient are as follows: Obtain the current actual time and convert it to the hour value in 24-hour format, denoted as the current time period. Judge the direction of the current control action. If it is a "turn on the light" operation, set the control action direction to 1; if it is a "turn off the light" operation, set the control action direction to -1. Calculate the time rationality factor based on the current time period and the control action direction. Real-time collect the current ambient light intensity value in the room through the ambient light sensor. Based on the ambient light measurement results of the previous and next times, calculate the light intensity change rate per unit time, denoted as the ambient light intensity change rate. Calculate the light mutation response factor based on the ambient light intensity change rate and the control action direction. Calculate the ambient light adaptation factor based on the current ambient light intensity value and the control action direction. Add the time rationality factor, the light mutation response factor, and the ambient light adaptation factor to calculate the scene rationality coefficient.

6. The intelligent ceiling lamp and table lamp interactive linkage control method according to claim 3, characterized in that: The steps for obtaining the device state coefficient are as follows: Calculate the difference between the feedback timestamp and the sending timestamp recorded each time a control instruction is issued to obtain the control response delay. Obtain the control response delays of each control instruction issued during the detection time period and calculate their average value to obtain the average response delay. Calculate the device state coefficient based on the average response delay.

7. The intelligent ceiling lamp and table lamp interactive linkage control method according to claim 1, characterized in that: The steps for selecting the actual implemented control source according to the control bias index are as follows: Compare the control bias indices of the control sources within a time window and select the control source with the highest control bias index as the actual implemented control source.

8. Intelligent ceiling lamp and table lamp interactive linkage control system, applied to the intelligent ceiling lamp and table lamp interactive linkage control method described in any one of claims 1-7, characterized in that: The system includes: An automatic linkage setting module for setting the automatic linkage control relationship between the smart ceiling light and the table lamp. An instruction conflict identification module for continuously detecting the control actions of the smart ceiling light and the table lamp, identifying instruction conflicts, and marking the control sources in the instruction conflicts. The control sources include user direct control and automatic linkage control. An operation information acquisition module. If it is determined that an instruction conflict occurs, obtain the lamp operation information of each control source during the detection time period. The lamp operation information includes control information, light intensity data, the number of control source changes, the device control response feedback situation, the current time period, and the ambient light intensity. An implemented control source selection module for evaluating the control bias index of each control source based on the lamp operation information and selecting the actual implemented control source according to the control bias index. An actual control module for controlling the lamp according to the control instruction of the actual implemented control source. A data storage module for obtaining the relevant data of the conflict event and storing the relevant data in the database.

Citation Information

Patent Citations

  • AllJoyn linkage control conflict resolution method, trigger and server

    CN106527168A

  • Voice control method, smart home system, storage medium and computer equipment

    CN107808669A

  • Method and device for detecting control conflict, electronic equipment and storage medium

    CN110597075A

  • Scene equipment control method and device, storage medium and electronic device

    CN115903617A

  • Intelligent lamp control method and device based on Internet of Things

    CN117460136A