Door and window opening and closing control method and system facing outdoor environment change

Through the door and window switch control methods and systems for outdoor environment changes, the door and window status is automatically adjusted using sensors and wireless communication technology, which solves the problem that traditional door and window switches are difficult to cope with extreme environments, realizes the comfort and safety of the indoor environment, and improves the comfort and safety of the indoor environment. The intelligent level of smart home life.

CN119225241APending Publication Date: 2024-12-31SHANGHAI LINTAO INTELLIGENT DOOR & WINDOW CURTAIN WALL CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411329743.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

Traditional door and window switching methods are difficult to cope with complex and changeable outdoor environments, such as extreme weather and air pollution, which lead to inconvenience in residents' lives and potential risks.

Method used

Adopt door and window switch control methods and systems for outdoor environment changes, collect environmental data in real time through sensor groups, combine preset control strategies to automatically adjust the door and window switch status, and send the execution data information to the user terminal through wireless communication to monitor the data sharing quality to ensure accuracy and completeness.

Benefits of technology

Effectively adjust indoor temperature and humidity, reduce safety hazards caused by human operation errors, improve living comfort and intelligence level, reduce energy waste, and promptly detect and deal with potential safety issues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119225241A_ABST
    Figure CN119225241A_ABST
Patent Text Reader

Abstract

The invention provides a door and window opening and closing control method and system oriented to outdoor environment changes. The door and window opening and closing control method facing the outdoor environment change comprises the steps that opening and closing control is conducted on doors and windows according to the change of the outdoor environment where the doors and the windows are located; when the door and window opening and closing controller executes the opening and closing operation of the door and window every time, extracting execution data information corresponding to the opening and closing of the door and window, and remotely sending the execution data information corresponding to the opening and closing of the door and window to a user terminal; and judging the data sharing quality of the door and window opening and closing information between the user terminal and the door and window opening and closing controller according to the door and window opening and closing information of the user terminal and the door and window opening and closing information recorded by the door and window opening and closing controller. The system comprises modules corresponding to the steps of the method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention provides a door and window switch control method and system facing outdoor environment changes, belonging to the technical field of door and window switch control. Background Art

[0002] With the rapid development of modern science and technology and the increasing requirements of people for the comfort, safety and intelligence of living environment, doors and windows, as an important part of buildings, are increasingly valued for their functions and performance. The traditional way of opening and closing doors and windows mainly relies on manual operation, which is not only inefficient, but also difficult to cope with the complex and changeable outdoor environment, such as extreme weather and air pollution, which brings many inconveniences and potential risks to residents' lives. Summary of the invention

[0003] The present invention provides a door and window switch control method and system for outdoor environment changes to solve the above technical problems existing in the prior art. The technical solutions adopted are as follows:

[0004] A door and window switch control method for outdoor environment changes, the door and window switch control method for outdoor environment changes comprising:

[0005] Control the opening and closing of doors and windows according to the changes in the outdoor environment where the doors and windows are located;

[0006] Each time the door and window switch controller performs a door and window switch operation, the execution data information corresponding to the door and window switch is extracted, and the execution data information corresponding to the door and window switch is remotely sent to the user terminal;

[0007] The door and window switch information of the user terminal and the door and window switch information recorded by the door and window switch controller are used to determine the data sharing quality of the door and window switch information between the user terminal and the door and window switch controller.

[0008] Furthermore, the doors and windows are opened and closed according to the changes in the outdoor environment in which the doors and windows are located, including:

[0009] The environmental data of the outdoor environment where the doors and windows are located is collected in real time through a sensor group, and the environmental data is transmitted to the door and window switch controller; wherein the sensor group includes a temperature sensor, a humidity sensor, a light sensor and a wind sensor;

[0010] The door and window switch controller performs switch operations on the doors and windows according to the environmental data combined with the door and window switch control strategy.

[0011] Furthermore, the door and window switch control strategy includes:

[0012] When the outdoor temperature exceeds or falls below the preset temperature range, the doors and windows are automatically controlled to close;

[0013] When the outdoor humidity exceeds or falls below the preset humidity range, the doors and windows are automatically controlled to close;

[0014] When the outdoor light intensity exceeds the preset light intensity threshold, the doors and windows are automatically controlled to close;

[0015] The outdoor wind strength is compared with a preset first wind strength threshold and a second wind strength threshold, and the door and window switch control mode corresponding to the wind strength is determined according to the comparison result.

[0016] Furthermore, the outdoor wind strength is compared with a preset first wind strength threshold and a second wind strength threshold, and a door and window switch control mode corresponding to the wind strength is determined according to the comparison result, including:

[0017] When the outdoor wind strength exceeds the preset first wind strength threshold, but does not exceed the preset second wind strength threshold, the current door and window angles are extracted;

[0018] The door and window angle safety value is obtained according to the wind strength and the door and window angle; wherein the door and window angle safety value is obtained by the following formula:

[0019]

[0020] Wherein, S represents the safety value of the door and window angle; W1 and W2 represent the first wind strength threshold and the second wind strength threshold; W represents the current outdoor wind strength; ΔW represents the average value of the wind strength change rate; θ represents the current opening angle of the door and window; k represents the adjustment coefficient, and the adjustment coefficient is obtained by the following formula:

[0021]

[0022] Where k represents the adjustment coefficient; ΔW min and ΔW max Indicates the minimum and maximum values ​​of the wind intensity change rate after the wind intensity exceeds the first wind intensity threshold during outdoor wind intensity monitoring;

[0023] When the door and window angle safety value is lower than the preset door and window angle safety value, the door and window are automatically controlled to close;

[0024] When the outdoor wind strength exceeds the preset second wind strength threshold, but does not exceed the preset third wind strength threshold, the wind safety factor is obtained using the current wind strength value; wherein the wind installation factor is obtained by the following formula:

[0025]

[0026] Wherein, F represents the wind safety factor; n represents the number of unit times after the outdoor wind intensity exceeds the preset second wind intensity threshold; W i represents the wind strength value corresponding to the i-th unit time after the outdoor wind strength exceeds the preset second wind strength threshold, and the value of the unit time is 1s; W3 and W2 represent the third wind strength threshold and the second wind strength threshold; ΔW represents the average value of the wind strength change rate; ΔW min and ΔW max Indicates the minimum and maximum values ​​of the wind intensity change rate after the wind intensity exceeds the first wind intensity threshold during outdoor wind intensity monitoring;

[0027] When the wind safety factor exceeds the preset coefficient threshold, the doors and windows are automatically controlled to close;

[0028] When the outdoor wind strength exceeds a preset third wind strength threshold, the doors and windows are automatically controlled to close.

[0029] Further, judging the data sharing quality of the door and window switch information between the user terminal and the door and window switch controller based on the door and window switch information of the user terminal and the door and window switch information recorded by the door and window switch controller includes:

[0030] When the distance between the user terminal and the door and window switch controller is less than a preset distance threshold, the door and window switch controller retrieves the door and window switch record information received by the user terminal;

[0031] The door and window switch controller extracts the data receiving time and data receiving quantity corresponding to each door and window switch data from the door and window switch record information;

[0032] The door and window switch controller retrieves the data transmission time and data transmission quantity corresponding to each door and window switch data in the door and window switch record information;

[0033] The door and window switch controller obtains the data sharing evaluation parameter according to the data receiving time and data receiving quantity corresponding to each door and window switch data combined with the data sending time and data sending quantity; wherein, the data sharing evaluation parameter is obtained by the following formula:

[0034]

[0035] Among them, Q represents the acquisition data sharing evaluation parameter; m represents the number of data transmission times in the door and window switch record information; C i represents the number of data sent corresponding to the i-th data sending; C e Indicates the preset data quantity reference value; J i represents the number of data received corresponding to the i-th data transmission; T01i represents the data sending time corresponding to the i-th data sending; T 02i represents the data receiving time corresponding to the i-th data transmission; T e Indicates the maximum allowed duration of data transmission that meets the data sharing quality;

[0036] When the data sharing evaluation parameter is lower than a preset parameter threshold, it is determined that there is an abnormality in the data sharing between the user terminal and the door and window switch controller;

[0037] When there is an abnormality in the data sharing between the user terminal and the door and window switch controller, a data sharing abnormality warning is issued, redundant data of the user terminal is cleaned and restarted, and a remote wireless communication connection is re-established with the door and window switch controller after the user terminal is restarted.

[0038] A door and window switch control system for outdoor environment changes, the door and window switch control system for outdoor environment changes comprises:

[0039] A switch control module is used to control the opening and closing of doors and windows according to changes in the outdoor environment in which the doors and windows are located;

[0040] A data sending module, used for extracting execution data information corresponding to the door and window switch each time the door and window switch controller performs a door and window switch operation, and remotely sending the execution data information corresponding to the door and window switch to a user terminal;

[0041] The data sharing quality monitoring module is used to judge the data sharing quality of the door and window switch information between the user terminal and the door and window switch controller based on the door and window switch information of the user terminal and the door and window switch information recorded by the door and window switch controller.

[0042] Furthermore, the switch control module includes:

[0043] An environmental data acquisition module is used to collect environmental data of the outdoor environment where the doors and windows are located in real time through a sensor group, and transmit the environmental data to the door and window switch controller; wherein the sensor group includes a temperature sensor, a humidity sensor, a light sensor and a wind sensor;

[0044] A switch operation execution module is used for the door and window switch controller to perform switch operations on the doors and windows according to the environmental data combined with the door and window switch control strategy.

[0045] Furthermore, the door and window switch control strategy includes:

[0046] When the outdoor temperature exceeds or falls below the preset temperature range, the doors and windows are automatically controlled to close;

[0047] When the outdoor humidity exceeds or falls below the preset humidity range, the doors and windows are automatically controlled to close;

[0048] When the outdoor light intensity exceeds the preset light intensity threshold, the doors and windows are automatically controlled to close;

[0049] The outdoor wind strength is compared with a preset first wind strength threshold and a second wind strength threshold, and the door and window switch control mode corresponding to the wind strength is determined according to the comparison result.

[0050] Furthermore, the outdoor wind strength is compared with a preset first wind strength threshold and a second wind strength threshold, and a door and window switch control mode corresponding to the wind strength is determined according to the comparison result, including:

[0051] When the outdoor wind strength exceeds the preset first wind strength threshold, but does not exceed the preset second wind strength threshold, the current door and window angles are extracted;

[0052] The door and window angle safety value is obtained according to the wind strength and the door and window angle; wherein the door and window angle safety value is obtained by the following formula:

[0053]

[0054] Wherein, S represents the safety value of the door and window angle; W1 and W2 represent the first wind strength threshold and the second wind strength threshold; W represents the current outdoor wind strength; ΔW represents the average value of the wind strength change rate; θ represents the current opening angle of the door and window; k represents the adjustment coefficient, and the adjustment coefficient is obtained by the following formula:

[0055]

[0056] Where k represents the adjustment coefficient; ΔW min and ΔW max Indicates the minimum and maximum values ​​of the wind intensity change rate after the wind intensity exceeds the first wind intensity threshold during outdoor wind intensity monitoring;

[0057] When the door and window angle safety value is lower than the preset door and window angle safety value, the door and window are automatically controlled to close;

[0058] When the outdoor wind strength exceeds the preset second wind strength threshold, but does not exceed the preset third wind strength threshold, the wind safety factor is obtained using the current wind strength value; wherein the wind installation factor is obtained by the following formula:

[0059]

[0060] Wherein, F represents the wind safety factor; n represents the number of unit times after the outdoor wind intensity exceeds the preset second wind intensity threshold; W i represents the wind strength value corresponding to the i-th unit time after the outdoor wind strength exceeds the preset second wind strength threshold, and the value of the unit time is 1s; W3 and W2 represent the third wind strength threshold and the second wind strength threshold; ΔW represents the average value of the wind strength change rate; ΔW min and ΔW max Indicates the minimum and maximum values ​​of the wind intensity change rate after the wind intensity exceeds the first wind intensity threshold during outdoor wind intensity monitoring;

[0061] When the wind safety factor exceeds the preset coefficient threshold, the doors and windows are automatically controlled to close;

[0062] When the outdoor wind strength exceeds a preset third wind strength threshold, the doors and windows are automatically controlled to close.

[0063] Furthermore, the data sharing quality monitoring module includes:

[0064] A record information retrieving module, configured to cause the door and window switch controller to retrieve the door and window switch record information received by the user terminal when the distance between the user terminal and the door and window switch controller is less than a preset distance threshold;

[0065] A receiving information acquisition module, used for the door and window switch controller to extract the data receiving time and data receiving quantity corresponding to each door and window switch data from the door and window switch record information;

[0066] A sending information acquisition module, used for the door and window switch controller to retrieve the data sending time and data sending quantity corresponding to each door and window switch data in the door and window switch record information;

[0067] The data sharing evaluation parameter acquisition module is used for the door and window switch controller to acquire the data sharing evaluation parameter according to the data receiving time and data receiving quantity corresponding to each door and window switch data combined with the data sending time and data sending quantity; wherein, the data sharing evaluation parameter is obtained by the following formula:

[0068]

[0069] Among them, Q represents the acquisition data sharing evaluation parameter; m represents the number of data transmission times in the door and window switch record information; C i represents the number of data sent corresponding to the i-th data sending; C e Indicates the preset data quantity reference value; J i represents the number of data received corresponding to the i-th data transmission; T01i represents the data sending time corresponding to the i-th data sending; T 02i represents the data receiving time corresponding to the i-th data transmission; T e Indicates the maximum allowed duration of data transmission that meets the data sharing quality;

[0070] an abnormality determination module, used for determining that there is an abnormality in the data sharing between the user terminal and the door and window switch controller when the data sharing evaluation parameter is lower than a preset parameter threshold;

[0071] The exception handling module is used to issue a data sharing exception warning when an exception occurs in the data sharing between the user terminal and the door and window switch controller, clean up redundant data of the user terminal and restart the user terminal, and re-establish a remote wireless communication connection with the door and window switch controller after the user terminal restarts.

[0072] Beneficial effects of the present invention:

[0073] The door and window switch control method and system for outdoor environment changes proposed by the present invention can effectively adjust indoor temperature and humidity and improve living comfort by automatically opening and closing doors and windows according to outdoor environment changes. For example, in hot summer, windows are automatically opened for ventilation and cooling, and in cold winter, windows are automatically closed for warmth and cold protection. Automatic switch control can reduce safety hazards caused by human operation errors. For example, automatically closing windows in stormy weather can prevent rain from invading the room and causing losses. At the same time, by real-time monitoring of the door and window status and sending alarm information to the user terminal, potential safety issues can be discovered and handled in time. The technical solution combines Internet of Things technology, sensor technology and wireless communication technology to realize intelligent management and control of doors and windows. Users can understand the status of doors and windows anytime and anywhere and remotely control them through terminal devices such as smart phones, thereby improving the intelligent level of home life. By intelligently controlling the opening and closing time and frequency of doors and windows, indoor environmental parameters can be adjusted according to actual needs to reduce unnecessary energy waste. For example, automatically closing curtains when there is sufficient light to reduce lighting energy consumption; reducing the use of air conditioning or heating when the indoor temperature is suitable, etc. By comparing the door and window switch information between the user terminal and the door and window switch controller regularly or in real time, the accuracy and integrity of the data during transmission can be ensured. This helps users understand the status and performance of doors and windows more accurately and provides strong support for subsequent maintenance and optimization. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] Figure 1 is a flow chart of the method of the present invention;

[0075] Figure 2 The system block diagram of the system of the present invention. DETAILED DESCRIPTION

[0076] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0077] The embodiment of the present invention proposes a door and window switch control method facing the change of outdoor environment, such as Figure 1 As shown, the door and window switch control method facing the change of outdoor environment includes:

[0078] S1. Control the opening and closing of doors and windows according to the changes in the outdoor environment where the doors and windows are located;

[0079] S2, when the door and window switch controller performs a door and window switch operation each time, extracting the execution data information corresponding to the door and window switch, and remotely sending the execution data information corresponding to the door and window switch to the user terminal;

[0080] S3. Determine the data sharing quality of the door and window switch information between the user terminal and the door and window switch controller based on the door and window switch information of the user terminal and the door and window switch information recorded by the door and window switch controller.

[0081] The working principle of the above technical solution is: through the various sensors integrated on the doors and windows (such as temperature sensors, humidity sensors, wind speed sensors, light sensors, etc.), the changes in the outdoor environment are monitored in real time. When the sensor detects that a specific condition (such as too high temperature, too high humidity, too strong wind speed, too strong or too weak light, etc.) reaches the preset threshold, it will automatically trigger the door and window switch controller to perform the corresponding switch operation to optimize and adjust the indoor environment. The door and window switch controller receives the data collected by the sensor and processes and analyzes the data through the built-in logic judgment module. According to the analysis results, the controller will send a control signal to the actuator of the door and window (such as a motor, a transmission device, etc.) to drive the door and window to open or close.

[0082] Every time the door and window switch controller performs a switch operation, the system automatically extracts and records the execution data information related to this operation, such as operation time, operation type (open / close), operation result (success / failure), energy consumption, etc. Subsequently, this information will be encrypted and remotely sent to the user terminal (such as a smart phone, tablet computer, etc.) via wireless communication technology (such as Wi-Fi, Bluetooth, Zigbee, etc.). The door and window switch controller has a built-in data extraction module and a communication module. The data extraction module is responsible for reading the execution data information from the actuator or sensor and storing it in the local memory. The communication module is responsible for sending the stored data information to the user terminal via the wireless network. After receiving the data, the user terminal will decrypt and parse it so that the user can view and understand the switch status of the doors and windows.

[0083] In order to ensure the quality of data sharing between the user terminal and the door and window switch controller, the system will compare and verify the door and window switch information between the two. By comparing the data received by the user terminal with the original data recorded by the door and window switch controller, it can be determined whether the data is lost, tampered with, or delayed during the transmission process. The system will set up a data verification module on the user terminal, which will compare the data received by the user terminal regularly or in real time. At the same time, the door and window switch controller will also retain the operation records for a period of time for comparison with the data on the user terminal. Through the comparison results, the system can evaluate the quality of data sharing and issue an alarm or make repairs in time when problems are found.

[0084] The effect of the above technical solution is: by automatically opening and closing doors and windows according to changes in the outdoor environment, the indoor temperature and humidity can be effectively adjusted to improve living comfort. For example, in the hot summer, the windows are automatically opened for ventilation and cooling, and in the cold winter, the windows are automatically closed to keep warm and prevent cold. Automatic switch control can reduce safety hazards caused by human operation errors. For example, automatically closing windows in stormy weather can prevent rain from invading the room and causing losses. At the same time, by real-time monitoring of the status of doors and windows and sending alarm information to the user terminal, potential safety issues can be discovered and handled in a timely manner.

[0085] This technical solution combines the Internet of Things technology, sensor technology and wireless communication technology to achieve intelligent management and control of doors and windows. Users can understand the status of doors and windows anytime and anywhere and remotely control them through terminal devices such as smartphones, which improves the level of intelligence in home life. By intelligently controlling the opening and closing time and frequency of doors and windows, indoor environmental parameters can be adjusted according to actual needs to reduce unnecessary energy waste. For example, automatically closing curtains when there is sufficient light to reduce lighting energy consumption; reducing the use of air conditioning or heating when the indoor temperature is suitable. By regularly or in real time comparing the door and window switch information between the user terminal and the door and window switch controller, the accuracy and integrity of the data during transmission can be ensured. This helps users understand the status and performance of doors and windows more accurately and provides strong support for subsequent maintenance and optimization.

[0086] An embodiment of the present invention controls the opening and closing of doors and windows according to changes in the outdoor environment in which the doors and windows are located, including:

[0087] S101, collecting environmental data of the outdoor environment where doors and windows are located in real time through a sensor group, and transmitting the environmental data to a door and window switch controller; wherein the sensor group includes a temperature sensor, a humidity sensor, a light sensor and a wind sensor;

[0088] S102: The door and window switch controller performs a switch operation on the doors and windows according to the environmental data and a door and window switch control strategy.

[0089] The working principle of the above technical solution is as follows: after receiving the environmental data transmitted by the sensor group, the door and window switch controller will start the built-in control algorithm or logic judgment module to analyze and process the environmental data. These processing processes will be combined with the preset door and window switch control strategy (such as setting the threshold for door and window opening according to temperature, adjusting the door and window opening angle according to wind force, etc.), and finally generate the switch control instructions for the doors and windows. The control instructions are sent through the interface between the controller and the door and window actuator (such as motor, transmission device, etc.) to drive the doors and windows to perform corresponding opening or closing operations.

[0090] The effect of the above technical solution is: by real-time perception and response to changes in the outdoor environment, the system can automatically adjust the opening and closing status of doors and windows to optimize the indoor environment. For example, in the hot summer, when the outdoor temperature exceeds the set threshold, the system will automatically open the doors and windows to increase ventilation and reduce the indoor temperature; in the cold winter, the opening time of the doors and windows will be reduced accordingly to keep the indoor warmth. The system can adjust the opening and closing time and frequency of doors and windows according to actual needs to avoid unnecessary energy waste. For example, when there is sufficient light, the system can automatically close the curtains or adjust the window angle to reduce the demand for indoor lighting; when the indoor temperature is suitable, the use of air conditioning or heating can be reduced to reduce energy consumption. This technical solution combines Internet of Things technology, sensor technology and automatic control technology to realize intelligent management and control of doors and windows. Users can realize automatic opening and closing adjustment of doors and windows without manual operation, which improves the level of intelligence of home life.

[0091] By monitoring the changes in the outdoor environment in real time and automatically adjusting the status of doors and windows, the system can reduce safety hazards caused by human negligence or external factors to a certain extent. For example, automatically closing windows in stormy weather can prevent rainwater from invading the room and causing losses; closing doors and windows in time and sounding an alarm when a harmful gas leak is detected can protect the lives of residents. The outdoor environmental data collected by the system can not only be used in the decision-making of the switch control of doors and windows, but also as the basis for subsequent data analysis and optimization. By analyzing historical data, the laws and trends of environmental changes can be discovered, providing strong support for further optimization of control strategies. At the same time, these data can also be used as input parameters for other functional modules of the smart home system (such as indoor environment monitoring, air quality adjustment, etc.), improving the collaborative working ability and intelligence level of the entire system.

[0092] In one embodiment of the present invention, the door and window switch control strategy includes:

[0093] When the outdoor temperature exceeds or falls below the preset temperature range, the doors and windows are automatically controlled to close;

[0094] When the outdoor humidity exceeds or falls below the preset humidity range, the doors and windows are automatically controlled to close;

[0095] When the outdoor light intensity exceeds the preset light intensity threshold, the doors and windows are automatically controlled to close;

[0096] The outdoor wind strength is compared with a preset first wind strength threshold and a second wind strength threshold, and the door and window switch control mode corresponding to the wind strength is determined according to the comparison result.

[0097] The outdoor wind strength is compared with a preset first wind strength threshold and a second wind strength threshold, and a door and window switch control mode corresponding to the wind strength is determined according to the comparison result, including:

[0098] When the outdoor wind strength exceeds the preset first wind strength threshold, but does not exceed the preset second wind strength threshold, the current door and window angles are extracted;

[0099] The door and window angle safety value is obtained according to the wind strength and the door and window angle; wherein the door and window angle safety value is obtained by the following formula:

[0100]

[0101] Wherein, S represents the safety value of the door and window angle; W1 and W2 represent the first wind strength threshold and the second wind strength threshold; W represents the current outdoor wind strength; ΔW represents the average value of the wind strength change rate; θ represents the current opening angle of the door and window; k represents the adjustment coefficient, and the adjustment coefficient is obtained by the following formula:

[0102]

[0103] Where k represents the adjustment coefficient; ΔW min and ΔW max Indicates the minimum and maximum values ​​of the wind intensity change rate after the wind intensity exceeds the first wind intensity threshold during outdoor wind intensity monitoring;

[0104] When the door and window angle safety value is lower than the preset door and window angle safety value, the door and window are automatically controlled to close;

[0105] When the outdoor wind strength exceeds the preset second wind strength threshold, but does not exceed the preset third wind strength threshold, the wind safety factor is obtained using the current wind strength value; wherein the wind installation factor is obtained by the following formula:

[0106]

[0107] Wherein, F represents the wind safety factor; n represents the number of unit times after the outdoor wind intensity exceeds the preset second wind intensity threshold; W irepresents the wind strength value corresponding to the i-th unit time after the outdoor wind strength exceeds the preset second wind strength threshold, and the value of the unit time is 1s; W3 and W2 represent the third wind strength threshold and the second wind strength threshold; ΔW represents the average value of the wind strength change rate; ΔW min and ΔW max Indicates the minimum and maximum values ​​of the wind intensity change rate after the wind intensity exceeds the first wind intensity threshold during outdoor wind intensity monitoring;

[0108] When the wind safety factor exceeds the preset coefficient threshold, the doors and windows are automatically controlled to close;

[0109] When the outdoor wind strength exceeds a preset third wind strength threshold, the doors and windows are automatically controlled to close.

[0110] The working principle of the above technical solution is as follows: This technical solution describes in detail the door and window opening and closing control strategies based on outdoor environmental parameters (especially temperature, humidity, light intensity and wind intensity). These strategies automatically control the opening and closing states of doors and windows through the data collected in real time by the sensor group, combined with the preset thresholds and calculation models, to ensure the comfort and safety of the indoor environment.

[0111] 1. Temperature and humidity control

[0112] When the outdoor temperature or humidity exceeds or falls below the preset range, the system will automatically control the doors and windows to close to prevent the extreme environment from affecting the indoor environment.

[0113] 2. Light intensity control

[0114] When the outdoor light intensity exceeds the preset light intensity threshold, the system will also automatically close the doors and windows to reduce indoor overheating or glare caused by direct sunlight.

[0115] 3. Wind intensity control

[0116] The control strategy of wind intensity is relatively complex and is divided into multiple stages and conditional judgments:

[0117] Phase 1: When the outdoor wind intensity exceeds the preset first wind intensity threshold but does not exceed the second threshold, the system will extract the current door and window opening angle and calculate the door and window angle safety value based on the wind intensity and the door and window angle. This value is calculated using a specific formula, taking into account factors such as wind intensity, wind intensity change rate, current door and window opening angle, and adjustment coefficient. If the calculated safety value is lower than the preset value, the door and window will automatically close.

[0118] Phase 2: When the wind strength exceeds the second threshold but does not exceed the third threshold, the system will calculate the wind safety factor using the current wind strength value and a series of historical data (such as the minimum and maximum values ​​of the wind strength change rate). This factor reflects the stability and potential danger of wind strength. If the calculated safety factor exceeds the preset threshold, the doors and windows will also automatically close.

[0119] Stage 3: When the wind intensity exceeds the third threshold, the system will automatically and unconditionally control the doors and windows to close to prevent extreme wind from damaging the doors and windows and the indoor environment.

[0120] The effect of the above technical solution is: by real-time monitoring and responding to changes in the outdoor environment, the system can automatically adjust the opening and closing status of doors and windows to maintain the comfort and safety of the indoor environment. Especially under extreme weather conditions, such as high temperature, high humidity, strong wind, etc., the system can respond quickly to prevent adverse factors from affecting the indoor environment and residents' lives. By reasonably controlling the opening and closing time and frequency of doors and windows, the system can reduce unnecessary energy waste while ensuring the comfort of the indoor environment. For example, closing curtains or adjusting window angles when there is sufficient light can reduce indoor lighting needs; keeping doors and windows open when the wind is moderate can increase natural ventilation and reduce the use of air conditioners or fans.

[0121] This technical solution combines Internet of Things technology, sensor technology and automatic control technology to achieve intelligent management and control of doors and windows. Users can realize automatic opening and closing adjustment of doors and windows without manual operation, which improves the level of intelligence of home life. By presetting multiple thresholds and adopting complex calculation models, the system can flexibly adjust and optimize according to different environmental conditions and user needs. Especially in the control of wind intensity, the system can more accurately evaluate the impact of wind on doors and windows through multiple stages of judgment and calculation, and make corresponding control decisions. Through automatic control and intelligent adjustment, the system can provide users with a more convenient, comfortable and safe living environment. Users do not need to worry about the impact of extreme weather on doors and windows, nor do they have to frequently operate doors and windows manually, thereby improving the quality of life and convenience.

[0122] In one embodiment of the present invention, judging the data sharing quality of the door and window switch information between the user terminal and the door and window switch controller based on the door and window switch information of the user terminal and the door and window switch information recorded by the door and window switch controller includes:

[0123] S301: When the distance between the user terminal and the door and window switch controller is less than a preset distance threshold, the door and window switch controller retrieves the door and window switch record information received by the user terminal;

[0124] S302, the door and window switch controller extracts the data receiving time and data receiving quantity corresponding to each door and window switch data from the door and window switch record information;

[0125] S303, the door and window switch controller retrieves the data transmission time and data transmission quantity corresponding to each door and window switch data in the door and window switch record information;

[0126] S304, the door and window switch controller obtains a data sharing evaluation parameter according to the data receiving time and data receiving quantity corresponding to each door and window switch data combined with the data sending time and data sending quantity; wherein the data sharing evaluation parameter is obtained by the following formula:

[0127]

[0128] Among them, Q represents the acquisition data sharing evaluation parameter; m represents the number of data transmission times in the door and window switch record information; C i represents the number of data sent corresponding to the i-th data sending; C e Indicates the preset data quantity reference value; J i represents the number of data received corresponding to the i-th data transmission; T 01i represents the data sending time corresponding to the i-th data sending; T 02i represents the data receiving time corresponding to the i-th data transmission; T e Indicates the maximum allowed duration of data transmission that meets the data sharing quality;

[0129] S305: When the data sharing evaluation parameter is lower than a preset parameter threshold, it is determined that there is an abnormality in the data sharing between the user terminal and the door and window switch controller;

[0130] S306, when there is an abnormality in the data sharing between the user terminal and the door and window switch controller, a data sharing abnormality warning is issued, redundant data of the user terminal is cleaned and restarted, and a remote wireless communication connection is re-established with the door and window switch controller after the user terminal is restarted.

[0131] The working principle of the above technical solution is: when the distance between the user terminal and the door and window switch controller is less than the preset distance threshold, the system considers that the two are within the effective communication range, and the door and window switch controller starts to retrieve the door and window switch record information received by the user terminal. This step is to ensure that the communication quality is high within a short distance and the data reliability is stronger. The door and window switch controller extracts the data reception time and data reception quantity corresponding to each door and window switch data from the door and window switch record information of the user terminal. These data reflect the time point when the user terminal receives the data and the amount of data received.

[0132] The door and window switch controller also retrieves the data transmission time and data transmission quantity corresponding to each door and window switch data recorded by itself. These data reflect the time point and data volume of the door and window switch controller. The door and window switch controller calculates the data sharing evaluation parameter Q through a specific formula based on the data reception time, data reception quantity, data transmission time and data transmission quantity. This parameter comprehensively considers the number of data transmissions, time difference, preset reference value and allowed time to evaluate the quality of data sharing.

[0133] If the calculated data sharing evaluation parameter Q is lower than the preset parameter threshold, it is determined that there is an abnormality in the data sharing between the user terminal and the door and window switch controller. This may mean that there are delays, losses or inconsistencies in the data transmission process. Once a data sharing abnormality is found, the system immediately issues a data sharing abnormality warning to notify the user or administrator. At the same time, the user terminal is cleaned of redundant data and restarted to clear possible erroneous data or cache problems. After the restart, the user terminal re-establishes a remote wireless communication connection with the door and window switch controller to resume the normal data sharing process.

[0134] The effect of the above technical solution is: by real-time monitoring and evaluation of the data sharing quality between the user terminal and the door and window switch controller, the technical solution can promptly discover and handle problems in the data transmission process to ensure the accuracy and real-time nature of the data. Through the data sharing abnormality warning and automatic processing mechanism, the system can respond quickly and take measures when abnormalities are found to avoid the expansion of problems, thereby enhancing the stability and reliability of the entire system. By reducing errors and delays in data transmission, the system can provide a smoother and more accurate door and window switch control experience, improving user satisfaction and comfort. The automatic data sharing quality monitoring and processing mechanism can reduce the need for manual intervention and reduce the maintenance cost and time cost of the system. This technical solution is an important component of the smart home system. Through intelligent data sharing quality evaluation and processing, it provides strong support for the intelligent management of the entire system.

[0135] The embodiment of the present invention provides a door and window switch control system for outdoor environment changes, such as Figure 2 As shown, the door and window switch control system facing outdoor environment changes includes:

[0136] A switch control module is used to control the opening and closing of doors and windows according to changes in the outdoor environment in which the doors and windows are located;

[0137] A data sending module, used for extracting execution data information corresponding to the door and window switch each time the door and window switch controller performs a door and window switch operation, and remotely sending the execution data information corresponding to the door and window switch to a user terminal;

[0138] The data sharing quality monitoring module is used to judge the data sharing quality of the door and window switch information between the user terminal and the door and window switch controller based on the door and window switch information of the user terminal and the door and window switch information recorded by the door and window switch controller.

[0139] The working principle of the above technical solution is: through the various sensors integrated on the doors and windows (such as temperature sensors, humidity sensors, wind speed sensors, light sensors, etc.), the changes in the outdoor environment are monitored in real time. When the sensor detects that a specific condition (such as too high temperature, too high humidity, too strong wind speed, too strong or too weak light, etc.) reaches the preset threshold, it will automatically trigger the door and window switch controller to perform the corresponding switch operation to optimize and adjust the indoor environment. The door and window switch controller receives the data collected by the sensor and processes and analyzes the data through the built-in logic judgment module. According to the analysis results, the controller will send a control signal to the actuator of the door and window (such as a motor, a transmission device, etc.) to drive the door and window to open or close.

[0140] Every time the door and window switch controller performs a switch operation, the system automatically extracts and records the execution data information related to this operation, such as operation time, operation type (open / close), operation result (success / failure), energy consumption, etc. Subsequently, this information will be encrypted and remotely sent to the user terminal (such as a smart phone, tablet computer, etc.) via wireless communication technology (such as Wi-Fi, Bluetooth, Zigbee, etc.). The door and window switch controller has a built-in data extraction module and a communication module. The data extraction module is responsible for reading the execution data information from the actuator or sensor and storing it in the local memory. The communication module is responsible for sending the stored data information to the user terminal via the wireless network. After receiving the data, the user terminal will decrypt and parse it so that the user can view and understand the switch status of the doors and windows.

[0141] In order to ensure the quality of data sharing between the user terminal and the door and window switch controller, the system will compare and verify the door and window switch information between the two. By comparing the data received by the user terminal with the original data recorded by the door and window switch controller, it can be determined whether the data is lost, tampered with, or delayed during the transmission process. The system will set up a data verification module on the user terminal, which will compare the data received by the user terminal regularly or in real time. At the same time, the door and window switch controller will also retain the operation records for a period of time for comparison with the data on the user terminal. Through the comparison results, the system can evaluate the quality of data sharing and issue an alarm or make repairs in time when problems are found.

[0142] The effect of the above technical solution is: by automatically opening and closing doors and windows according to changes in the outdoor environment, the indoor temperature and humidity can be effectively adjusted to improve living comfort. For example, in the hot summer, the windows are automatically opened for ventilation and cooling, and in the cold winter, the windows are automatically closed to keep warm and prevent cold. Automatic switch control can reduce safety hazards caused by human operation errors. For example, automatically closing windows in stormy weather can prevent rain from invading the room and causing losses. At the same time, by real-time monitoring of the status of doors and windows and sending alarm information to the user terminal, potential safety issues can be discovered and handled in a timely manner.

[0143] This technical solution combines the Internet of Things technology, sensor technology and wireless communication technology to achieve intelligent management and control of doors and windows. Users can understand the status of doors and windows anytime and anywhere and remotely control them through terminal devices such as smartphones, which improves the level of intelligence in home life. By intelligently controlling the opening and closing time and frequency of doors and windows, indoor environmental parameters can be adjusted according to actual needs to reduce unnecessary energy waste. For example, automatically closing curtains when there is sufficient light to reduce lighting energy consumption; reducing the use of air conditioning or heating when the indoor temperature is suitable. By regularly or in real time comparing the door and window switch information between the user terminal and the door and window switch controller, the accuracy and integrity of the data during transmission can be ensured. This helps users understand the status and performance of doors and windows more accurately and provides strong support for subsequent maintenance and optimization.

[0144] In one embodiment of the present invention, the switch control module includes:

[0145] An environmental data acquisition module is used to collect environmental data of the outdoor environment where the doors and windows are located in real time through a sensor group, and transmit the environmental data to the door and window switch controller; wherein the sensor group includes a temperature sensor, a humidity sensor, a light sensor and a wind sensor;

[0146] A switch operation execution module is used for the door and window switch controller to perform switch operations on the doors and windows according to the environmental data combined with the door and window switch control strategy.

[0147] The working principle of the above technical solution is as follows: after receiving the environmental data transmitted by the sensor group, the door and window switch controller will start the built-in control algorithm or logic judgment module to analyze and process the environmental data. These processing processes will be combined with the preset door and window switch control strategy (such as setting the threshold for door and window opening according to temperature, adjusting the door and window opening angle according to wind force, etc.), and finally generate the switch control instructions for the doors and windows. The control instructions are sent through the interface between the controller and the door and window actuator (such as motor, transmission device, etc.) to drive the doors and windows to perform corresponding opening or closing operations.

[0148] The effect of the above technical solution is: by real-time perception and response to changes in the outdoor environment, the system can automatically adjust the opening and closing status of doors and windows to optimize the indoor environment. For example, in the hot summer, when the outdoor temperature exceeds the set threshold, the system will automatically open the doors and windows to increase ventilation and reduce the indoor temperature; in the cold winter, the opening time of the doors and windows will be reduced accordingly to keep the indoor warmth. The system can adjust the opening and closing time and frequency of doors and windows according to actual needs to avoid unnecessary energy waste. For example, when there is sufficient light, the system can automatically close the curtains or adjust the window angle to reduce the demand for indoor lighting; when the indoor temperature is suitable, the use of air conditioning or heating can be reduced to reduce energy consumption. This technical solution combines Internet of Things technology, sensor technology and automatic control technology to realize intelligent management and control of doors and windows. Users can realize automatic opening and closing adjustment of doors and windows without manual operation, which improves the level of intelligence of home life.

[0149] By monitoring the changes in the outdoor environment in real time and automatically adjusting the status of doors and windows, the system can reduce safety hazards caused by human negligence or external factors to a certain extent. For example, automatically closing windows in stormy weather can prevent rain from invading the room and causing damage; closing doors and windows in time and issuing an alarm when a harmful gas leak is detected can protect the lives of residents.

[0150] The outdoor environmental data collected by the system can not only be used in the decision-making of the opening and closing control of doors and windows, but also serve as the basis for subsequent data analysis and optimization. By analyzing historical data, the laws and trends of environmental changes can be discovered, providing strong support for further optimization of control strategies. At the same time, these data can also be used as input parameters for other functional modules of the smart home system (such as indoor environment monitoring, air quality adjustment, etc.), improving the collaborative working ability and intelligence level of the entire system.

[0151] In one embodiment of the present invention, the door and window switch control strategy includes:

[0152] When the outdoor temperature exceeds or falls below the preset temperature range, the doors and windows are automatically controlled to close;

[0153] When the outdoor humidity exceeds or falls below the preset humidity range, the doors and windows are automatically controlled to close;

[0154] When the outdoor light intensity exceeds the preset light intensity threshold, the doors and windows are automatically controlled to close;

[0155] The outdoor wind strength is compared with a preset first wind strength threshold and a second wind strength threshold, and the door and window switch control mode corresponding to the wind strength is determined according to the comparison result.

[0156] The outdoor wind strength is compared with a preset first wind strength threshold and a second wind strength threshold, and a door and window switch control mode corresponding to the wind strength is determined according to the comparison result, including:

[0157] When the outdoor wind strength exceeds the preset first wind strength threshold, but does not exceed the preset second wind strength threshold, the current door and window angles are extracted;

[0158] The door and window angle safety value is obtained according to the wind strength and the door and window angle; wherein the door and window angle safety value is obtained by the following formula:

[0159]

[0160] Wherein, S represents the safety value of the door and window angle; W1 and W2 represent the first wind strength threshold and the second wind strength threshold; W represents the current outdoor wind strength; ΔW represents the average value of the wind strength change rate; θ represents the current opening angle of the door and window; k represents the adjustment coefficient, and the adjustment coefficient is obtained by the following formula:

[0161]

[0162] Where k represents the adjustment coefficient; ΔW min and ΔW max Indicates the minimum and maximum values ​​of the wind intensity change rate after the wind intensity exceeds the first wind intensity threshold during outdoor wind intensity monitoring;

[0163] When the door and window angle safety value is lower than the preset door and window angle safety value, the door and window are automatically controlled to close;

[0164] When the outdoor wind strength exceeds the preset second wind strength threshold, but does not exceed the preset third wind strength threshold, the wind safety factor is obtained using the current wind strength value; wherein the wind installation factor is obtained by the following formula:

[0165]

[0166] Wherein, F represents the wind safety factor; n represents the number of unit times after the outdoor wind intensity exceeds the preset second wind intensity threshold; W i represents the wind strength value corresponding to the i-th unit time after the outdoor wind strength exceeds the preset second wind strength threshold, and the value of the unit time is 1s; W3 and W2 represent the third wind strength threshold and the second wind strength threshold; ΔW represents the average value of the wind strength change rate; ΔW min and ΔW maxIndicates the minimum and maximum values ​​of the wind intensity change rate after the wind intensity exceeds the first wind intensity threshold during outdoor wind intensity monitoring;

[0167] When the wind safety factor exceeds the preset coefficient threshold, the doors and windows are automatically controlled to close;

[0168] When the outdoor wind strength exceeds a preset third wind strength threshold, the doors and windows are automatically controlled to close.

[0169] The working principle of the above technical solution is as follows: This technical solution describes in detail the door and window opening and closing control strategies based on outdoor environmental parameters (especially temperature, humidity, light intensity and wind intensity). These strategies automatically control the opening and closing states of doors and windows through the data collected in real time by the sensor group, combined with the preset thresholds and calculation models, to ensure the comfort and safety of the indoor environment.

[0170] 1. Temperature and humidity control

[0171] When the outdoor temperature or humidity exceeds or falls below the preset range, the system will automatically control the doors and windows to close to prevent the extreme environment from affecting the indoor environment.

[0172] 2. Light intensity control

[0173] When the outdoor light intensity exceeds the preset light intensity threshold, the system will also automatically close the doors and windows to reduce indoor overheating or glare caused by direct sunlight.

[0174] 3. Wind intensity control

[0175] The control strategy of wind intensity is relatively complex and is divided into multiple stages and conditional judgments:

[0176] Phase 1: When the outdoor wind intensity exceeds the preset first wind intensity threshold but does not exceed the second threshold, the system will extract the current door and window opening angle and calculate the door and window angle safety value based on the wind intensity and the door and window angle. This value is calculated using a specific formula, taking into account factors such as wind intensity, wind intensity change rate, current door and window opening angle, and adjustment coefficient. If the calculated safety value is lower than the preset value, the door and window will automatically close.

[0177] Phase 2: When the wind strength exceeds the second threshold but does not exceed the third threshold, the system will calculate the wind safety factor using the current wind strength value and a series of historical data (such as the minimum and maximum values ​​of the wind strength change rate). This factor reflects the stability and potential danger of wind strength. If the calculated safety factor exceeds the preset threshold, the doors and windows will also automatically close.

[0178] Stage 3: When the wind intensity exceeds the third threshold, the system will automatically and unconditionally control the doors and windows to close to prevent extreme wind from damaging the doors and windows and the indoor environment.

[0179] The effect of the above technical solution is: by real-time monitoring and responding to changes in the outdoor environment, the system can automatically adjust the opening and closing status of doors and windows to maintain the comfort and safety of the indoor environment. Especially under extreme weather conditions, such as high temperature, high humidity, strong wind, etc., the system can respond quickly to prevent adverse factors from affecting the indoor environment and residents' lives. By reasonably controlling the opening and closing time and frequency of doors and windows, the system can reduce unnecessary energy waste while ensuring the comfort of the indoor environment. For example, closing curtains or adjusting window angles when there is sufficient light can reduce indoor lighting needs; keeping doors and windows open when the wind is moderate can increase natural ventilation and reduce the use of air conditioners or fans.

[0180] This technical solution combines Internet of Things technology, sensor technology and automatic control technology to achieve intelligent management and control of doors and windows. Users can realize automatic opening and closing adjustment of doors and windows without manual operation, which improves the level of intelligence of home life. By presetting multiple thresholds and adopting complex calculation models, the system can flexibly adjust and optimize according to different environmental conditions and user needs. Especially in the control of wind intensity, the system can more accurately evaluate the impact of wind on doors and windows through multiple stages of judgment and calculation, and make corresponding control decisions. Through automatic control and intelligent adjustment, the system can provide users with a more convenient, comfortable and safe living environment. Users do not need to worry about the impact of extreme weather on doors and windows, nor do they have to frequently operate doors and windows manually, thereby improving the quality of life and convenience.

[0181] In one embodiment of the present invention, the data sharing quality monitoring module includes:

[0182] A record information retrieving module, configured to cause the door and window switch controller to retrieve the door and window switch record information received by the user terminal when the distance between the user terminal and the door and window switch controller is less than a preset distance threshold;

[0183] A receiving information acquisition module, used for the door and window switch controller to extract the data receiving time and data receiving quantity corresponding to each door and window switch data from the door and window switch record information;

[0184] A sending information acquisition module, used for the door and window switch controller to retrieve the data sending time and data sending quantity corresponding to each door and window switch data in the door and window switch record information;

[0185] The data sharing evaluation parameter acquisition module is used for the door and window switch controller to acquire the data sharing evaluation parameter according to the data receiving time and data receiving quantity corresponding to each door and window switch data combined with the data sending time and data sending quantity; wherein, the data sharing evaluation parameter is obtained by the following formula:

[0186]

[0187] Among them, Q represents the acquisition data sharing evaluation parameter; m represents the number of data transmission times in the door and window switch record information; C i represents the number of data sent corresponding to the i-th data sending; C e Indicates the preset data quantity reference value; J i represents the number of data received corresponding to the i-th data transmission; T 01i represents the data sending time corresponding to the i-th data sending; T 02i represents the data receiving time corresponding to the i-th data transmission; T e Indicates the maximum allowed duration of data transmission that meets the data sharing quality;

[0188] an abnormality determination module, used for determining that there is an abnormality in the data sharing between the user terminal and the door and window switch controller when the data sharing evaluation parameter is lower than a preset parameter threshold;

[0189] The exception handling module is used to issue a data sharing exception warning when an exception occurs in the data sharing between the user terminal and the door and window switch controller, clean up redundant data of the user terminal and restart the user terminal, and re-establish a remote wireless communication connection with the door and window switch controller after the user terminal restarts.

[0190] The working principle of the above technical solution is: when the distance between the user terminal and the door and window switch controller is less than the preset distance threshold, the system considers that the two are within the effective communication range, and the door and window switch controller starts to retrieve the door and window switch record information received by the user terminal. This step is to ensure that the communication quality is high within a short distance and the data reliability is stronger. The door and window switch controller extracts the data reception time and data reception quantity corresponding to each door and window switch data from the door and window switch record information of the user terminal. These data reflect the time point when the user terminal receives the data and the amount of data received.

[0191] The door and window switch controller also retrieves the data transmission time and data transmission quantity corresponding to each door and window switch data recorded by itself. These data reflect the time point and data volume of the door and window switch controller. The door and window switch controller calculates the data sharing evaluation parameter Q through a specific formula based on the data reception time, data reception quantity, data transmission time and data transmission quantity. This parameter comprehensively considers the number of data transmissions, time difference, preset reference value and allowed time to evaluate the quality of data sharing.

[0192] If the calculated data sharing evaluation parameter Q is lower than the preset parameter threshold, it is determined that there is an abnormality in the data sharing between the user terminal and the door and window switch controller. This may mean that there are delays, losses or inconsistencies in the data transmission process. Once a data sharing abnormality is found, the system immediately issues a data sharing abnormality warning to notify the user or administrator. At the same time, the user terminal is cleaned of redundant data and restarted to clear possible erroneous data or cache problems. After the restart, the user terminal re-establishes a remote wireless communication connection with the door and window switch controller to resume the normal data sharing process.

[0193] The effect of the above technical solution is: by real-time monitoring and evaluation of the data sharing quality between the user terminal and the door and window switch controller, the technical solution can promptly discover and handle problems in the data transmission process to ensure the accuracy and real-time nature of the data. Through the data sharing abnormality warning and automatic processing mechanism, the system can respond quickly and take measures when abnormalities are found to avoid the expansion of problems, thereby enhancing the stability and reliability of the entire system. By reducing errors and delays in data transmission, the system can provide a smoother and more accurate door and window switch control experience, improving user satisfaction and comfort. The automatic data sharing quality monitoring and processing mechanism can reduce the need for manual intervention and reduce the maintenance cost and time cost of the system. This technical solution is an important component of the smart home system. Through intelligent data sharing quality evaluation and processing, it provides strong support for the intelligent management of the entire system.

[0194] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A door and window switch control method for outdoor environment changes, characterized in that: The door and window switch control method facing outdoor environment changes includes: Control the opening and closing of doors and windows according to the changes in the outdoor environment where the doors and windows are located; Each time the door and window switch controller performs a door and window switch operation, the execution data information corresponding to the door and window switch is extracted, and the execution data information corresponding to the door and window switch is remotely sent to the user terminal; The door and window switch information of the user terminal and the door and window switch information recorded by the door and window switch controller are used to determine the data sharing quality of the door and window switch information between the user terminal and the door and window switch controller.

2. The door and window switch control method facing outdoor environment changes according to claim 1, characterized in that: The doors and windows are opened and closed according to the changes in the outdoor environment where they are located, including: The environmental data of the outdoor environment where the doors and windows are located is collected in real time through a sensor group, and the environmental data is transmitted to the door and window switch controller; wherein the sensor group includes a temperature sensor, a humidity sensor, a light sensor and a wind sensor; The door and window switch controller performs switch operations on the doors and windows according to the environmental data combined with the door and window switch control strategy.

3. The door and window switch control method facing outdoor environment changes according to claim 2, characterized in that: The door and window switch control strategy includes: When the outdoor temperature exceeds or falls below the preset temperature range, the doors and windows are automatically controlled to close; When the outdoor humidity exceeds or falls below the preset humidity range, the doors and windows are automatically controlled to close; When the outdoor light intensity exceeds the preset light intensity threshold, the doors and windows are automatically controlled to close; The outdoor wind strength is compared with a preset first wind strength threshold and a second wind strength threshold, and the door and window switch control mode corresponding to the wind strength is determined according to the comparison result.

4. The door and window switch control method facing outdoor environment changes according to claim 3, characterized in that: The outdoor wind strength is compared with a preset first wind strength threshold and a second wind strength threshold, and a door and window switch control mode corresponding to the wind strength is determined according to the comparison result, including: When the outdoor wind strength exceeds the preset first wind strength threshold, but does not exceed the preset second wind strength threshold, the current door and window angles are extracted; The door and window angle safety value is obtained according to the wind strength and the door and window angle; wherein the door and window angle safety value is obtained by the following formula: Wherein, S represents the safety value of the door and window angle; W1 and W2 represent the first wind strength threshold and the second wind strength threshold; W represents the current outdoor wind strength; ΔW represents the average value of the wind strength change rate; θ represents the current opening angle of the door and window; k represents the adjustment coefficient, and the adjustment coefficient is obtained by the following formula: Where k represents the adjustment coefficient; ΔW min and ΔW max Indicates the minimum and maximum values ​​of the wind intensity change rate after the wind intensity exceeds the first wind intensity threshold during outdoor wind intensity monitoring; When the door and window angle safety value is lower than the preset door and window angle safety value, the door and window are automatically controlled to close; When the outdoor wind strength exceeds the preset second wind strength threshold, but does not exceed the preset third wind strength threshold, the wind safety factor is obtained using the current wind strength value; wherein the wind installation factor is obtained by the following formula: Wherein, F represents the wind safety factor; n represents the number of unit times after the outdoor wind intensity exceeds the preset second wind intensity threshold; W i represents the wind strength value corresponding to the i-th unit time after the outdoor wind strength exceeds the preset second wind strength threshold, and the value of the unit time is 1s; W3 and W2 represent the third wind strength threshold and the second wind strength threshold; ΔW represents the average value of the wind strength change rate; ΔW min and ΔW max Indicates the minimum and maximum values ​​of the wind intensity change rate after the wind intensity exceeds the first wind intensity threshold during outdoor wind intensity monitoring; When the wind safety factor exceeds the preset coefficient threshold, the doors and windows are automatically controlled to close; When the outdoor wind strength exceeds a preset third wind strength threshold, the doors and windows are automatically controlled to close.

5. The door and window switch control method facing outdoor environment changes according to claim 1, characterized in that: The door and window switch information of the user terminal and the door and window switch information recorded by the door and window switch controller are judged to be data sharing quality of the door and window switch information between the user terminal and the door and window switch controller, including: When the distance between the user terminal and the door and window switch controller is less than a preset distance threshold, the door and window switch controller retrieves the door and window switch record information received by the user terminal; The door and window switch controller extracts the data receiving time and data receiving quantity corresponding to each door and window switch data from the door and window switch record information; The door and window switch controller retrieves the data transmission time and data transmission quantity corresponding to each door and window switch data in the door and window switch record information; The door and window switch controller obtains the data sharing evaluation parameter according to the data receiving time and data receiving quantity corresponding to each door and window switch data combined with the data sending time and data sending quantity; wherein, the data sharing evaluation parameter is obtained by the following formula: Among them, Q represents the acquisition data sharing evaluation parameter; m represents the number of data transmission times in the door and window switch record information; C i represents the number of data sent corresponding to the i-th data sending; C e Indicates the preset data quantity reference value; J i represents the number of data received corresponding to the i-th data transmission; T 01i represents the data sending time corresponding to the i-th data sending; T 02i represents the data receiving time corresponding to the i-th data transmission; T e Indicates the maximum allowed duration of data transmission that meets the data sharing quality; When the data sharing evaluation parameter is lower than a preset parameter threshold, it is determined that there is an abnormality in the data sharing between the user terminal and the door and window switch controller; When there is an abnormality in the data sharing between the user terminal and the door and window switch controller, a data sharing abnormality warning is issued, redundant data of the user terminal is cleaned and restarted, and a remote wireless communication connection is re-established with the door and window switch controller after the user terminal is restarted.

6. A door and window switch control system for outdoor environment changes, characterized in that: The door and window switch control system facing outdoor environment changes includes: A switch control module is used to control the opening and closing of doors and windows according to changes in the outdoor environment in which the doors and windows are located; A data sending module, used for extracting execution data information corresponding to the door and window switch each time the door and window switch controller performs a door and window switch operation, and remotely sending the execution data information corresponding to the door and window switch to a user terminal; The data sharing quality monitoring module is used to judge the data sharing quality of the door and window switch information between the user terminal and the door and window switch controller based on the door and window switch information of the user terminal and the door and window switch information recorded by the door and window switch controller.

7. The door and window switch control system for outdoor environment changes according to claim 6, characterized in that: The switch control module comprises: An environmental data acquisition module is used to collect environmental data of the outdoor environment where the doors and windows are located in real time through a sensor group, and transmit the environmental data to the door and window switch controller; wherein the sensor group includes a temperature sensor, a humidity sensor, a light sensor and a wind sensor; A switch operation execution module is used for the door and window switch controller to perform switch operations on the doors and windows according to the environmental data combined with the door and window switch control strategy.

8. The door and window switch control system for outdoor environment changes according to claim 7, characterized in that: The door and window switch control strategy includes: When the outdoor temperature exceeds or falls below the preset temperature range, the doors and windows are automatically controlled to close; When the outdoor humidity exceeds or falls below the preset humidity range, the doors and windows are automatically controlled to close; When the outdoor light intensity exceeds the preset light intensity threshold, the doors and windows are automatically controlled to close; The outdoor wind strength is compared with a preset first wind strength threshold and a second wind strength threshold, and the door and window switch control mode corresponding to the wind strength is determined according to the comparison result.

9. The door and window switch control system for outdoor environment changes according to claim 8, characterized in that: The outdoor wind strength is compared with a preset first wind strength threshold and a second wind strength threshold, and a door and window switch control mode corresponding to the wind strength is determined according to the comparison result, including: When the outdoor wind strength exceeds the preset first wind strength threshold, but does not exceed the preset second wind strength threshold, the current door and window angles are extracted; The door and window angle safety value is obtained according to the wind strength and the door and window angle; wherein the door and window angle safety value is obtained by the following formula: Wherein, S represents the safety value of the door and window angle; W1 and W2 represent the first wind strength threshold and the second wind strength threshold; W represents the current outdoor wind strength; ΔW represents the average value of the wind strength change rate; θ represents the current opening angle of the door and window; k represents the adjustment coefficient, and the adjustment coefficient is obtained by the following formula: Where k represents the adjustment coefficient; ΔW min and ΔW max Indicates the minimum and maximum values ​​of the wind intensity change rate after the wind intensity exceeds the first wind intensity threshold during outdoor wind intensity monitoring; When the door and window angle safety value is lower than the preset door and window angle safety value, the door and window are automatically controlled to close; When the outdoor wind strength exceeds the preset second wind strength threshold, but does not exceed the preset third wind strength threshold, the wind safety factor is obtained using the current wind strength value; wherein the wind installation factor is obtained by the following formula: Wherein, F represents the wind safety factor; n represents the number of unit times after the outdoor wind intensity exceeds the preset second wind intensity threshold; W i represents the wind strength value corresponding to the i-th unit time after the outdoor wind strength exceeds the preset second wind strength threshold, and the value of the unit time is 1s; W3 and W2 represent the third wind strength threshold and the second wind strength threshold; ΔW represents the average value of the wind strength change rate; ΔW min and ΔW max Indicates the minimum and maximum values ​​of the wind intensity change rate after the wind intensity exceeds the first wind intensity threshold during outdoor wind intensity monitoring; When the wind safety factor exceeds the preset coefficient threshold, the doors and windows are automatically controlled to close; When the outdoor wind strength exceeds a preset third wind strength threshold, the doors and windows are automatically controlled to close.

10. The door and window switch control system for outdoor environment changes according to claim 6, characterized in that: The data sharing quality monitoring module includes: A record information retrieving module, configured to cause the door and window switch controller to retrieve the door and window switch record information received by the user terminal when the distance between the user terminal and the door and window switch controller is less than a preset distance threshold; A receiving information acquisition module, used for the door and window switch controller to extract the data receiving time and data receiving quantity corresponding to each door and window switch data from the door and window switch record information; A sending information acquisition module, used for the door and window switch controller to retrieve the data sending time and data sending quantity corresponding to each door and window switch data in the door and window switch record information; The data sharing evaluation parameter acquisition module is used for the door and window switch controller to acquire the data sharing evaluation parameter according to the data receiving time and data receiving quantity corresponding to each door and window switch data combined with the data sending time and data sending quantity; wherein, the data sharing evaluation parameter is obtained by the following formula: Among them, Q represents the acquisition data sharing evaluation parameter; m represents the number of data transmission times in the door and window switch record information; C i represents the number of data sent corresponding to the i-th data sending; C e Indicates the preset data quantity reference value; J i represents the number of data received corresponding to the i-th data transmission; T 01i represents the data sending time corresponding to the i-th data sending; T 02i represents the data receiving time corresponding to the i-th data transmission; T e Indicates the maximum allowed duration of data transmission that meets the data sharing quality; an abnormality determination module, used for determining that there is an abnormality in the data sharing between the user terminal and the door and window switch controller when the data sharing evaluation parameter is lower than a preset parameter threshold; The exception handling module is used to issue a data sharing exception warning when an exception occurs in the data sharing between the user terminal and the door and window switch controller, clean up redundant data of the user terminal and restart the user terminal, and re-establish a remote wireless communication connection with the door and window switch controller after the user terminal restarts.