Multi-angle regulation and control method and system for intelligent casement window
The multi-angle control method and system for smart casement windows addresses high monitoring costs and data congestion by predicting pollutant levels and dynamically adjusting angles based on historical data, enhancing accuracy and reducing lag in angle adjustments.
Patent Information
- Application Number
- CN202411305606.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2024-12-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing smart casement window systems incur high monitoring costs and risk data transmission congestion due to frequent monitoring of outdoor pollutant concentrations, leading to potential system downtime and lagged angle adjustments.
A multi-angle control method and system that utilizes historical and real-time environmental data to predict future pollutant levels, adjusting the casement window angles dynamically based on preset thresholds and rules to minimize redundant data transmission and improve angle accuracy.
Reduces monitoring costs, minimizes data congestion, and enhances the accuracy of angle adjustments by using historical data to predict and correct window positions in real-time, thereby reducing lag and improving indoor environmental control.
Smart Images

Figure CN119083854A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of intelligent door and window control, and in particular relates to a multi-angle control method and system for an intelligent casement window. Background Art
[0002] At present, the control of smart casement windows generally involves strongly associating the rotation angle of the smart casement windows with outdoor environmental data. For example, each pollutant concentration value is associated with a rotation angle. When multiple outdoor pollutant concentration values are monitored at different times, the windows are rotated at different angles according to the multiple outdoor pollutant concentration values. If the sampling time node is set based on the time interval, the change in the rotation angle will lag behind the change in the outdoor environment. If the outdoor pollutant concentration value at each moment is monitored and uploaded, the rotation angle of the smart casement window can be more sensitive to the change in the outdoor environment. However, this will not only increase the cost of monitoring, but also a large amount of redundant monitoring data may cause data transmission congestion or increase the possibility of system downtime.
[0003] Therefore, there is an urgent need for a multi-angle control method and system for an intelligent casement window, which can effectively adjust the rotation angle of the intelligent casement window based on changes in the outdoor environment. Summary of the invention
[0004] The present invention provides a multi-angle control method and system for an intelligent casement window, which is used to solve the technical problem that in the prior art, outdoor pollutant concentration values at each moment are monitored and uploaded, which not only increases the monitoring cost, but also a large amount of redundant monitoring data may cause transmission data congestion or increase the possibility of system downtime.
[0005] In a first aspect, the present invention provides a multi-angle control method for an intelligent casement window, comprising:
[0006] Acquire at least one outdoor environment data of the location of the smart casement window within a historical time period and angle data of the smart casement window corresponding to the at least one outdoor environment data;
[0007] Sorting the at least one outdoor environment data based on the time sequence to obtain a historical outdoor environment data sequence and a historical angle data sequence corresponding to the historical outdoor environment data sequence;
[0008] Acquire real-time outdoor environment data at a first moment, real-time angle data of the intelligent casement window, and outdoor environment prediction data at a second moment, and use a preset matching strategy to match historical outdoor environment data corresponding to the outdoor environment prediction data in the historical outdoor environment data sequence;
[0009] Searching for historical angle data corresponding to the historical outdoor environment data in the historical angle data sequence, and determining whether an angle difference between the historical angle data and the real-time angle data is greater than a preset threshold;
[0010] If it is greater than a preset threshold, the dynamic target angle change speed of the smart casement window is constructed according to the angle difference using a preset dynamic adjustment rule, and a first control instruction containing the dynamic target angle change speed is generated to control the smart casement window at the first moment until it is at the second moment.
[0011] In a second aspect, the present invention provides a multi-angle control system for an intelligent casement window, comprising:
[0012] An acquisition module configured to acquire at least one outdoor environment data of a location of the smart casement window within a historical time period and angle data of the smart casement window corresponding to the at least one outdoor environment data;
[0013] A sorting module, configured to sort the at least one outdoor environment data based on a time sequence to obtain a historical outdoor environment data sequence and a historical angle data sequence corresponding to the historical outdoor environment data sequence;
[0014] A matching module, configured to obtain real-time outdoor environment data at a first moment, real-time angle data of the intelligent casement window, and outdoor environment prediction data at a second moment, and match first historical outdoor environment data corresponding to the outdoor environment prediction data in the historical outdoor environment data sequence using a preset matching strategy;
[0015] A judgment module, configured to search the historical angle data sequence for the historical angle data corresponding to the historical outdoor environment data, and judge whether the angle difference between the historical angle data and the real-time angle data is greater than a preset threshold;
[0016] The generation module is configured to construct the dynamic target angle change speed of the smart casement window according to the angle difference and adopt a preset dynamic adjustment rule if it is greater than a preset threshold value, and generate a first control instruction containing the dynamic target angle change speed to control the smart casement window at the first moment until it is at the second moment.
[0017] According to a third aspect, an electronic device is provided, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the steps of the multi-angle control method of the intelligent casement window of any embodiment of the present invention.
[0018] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein when the program instructions are executed by a processor, the processor executes the steps of the multi-angle control method of the intelligent casement window of any embodiment of the present invention.
[0019] The multi-angle control method and system of the smart casement window of the present application finds the historical outdoor environment data that is closest to the real outdoor environment data at the second moment, so that the historical angle data corresponding to the historical outdoor environment data can be closer to the angle data required by the actual situation at the second moment. While avoiding the need to repeatedly adjust the angle of the smart casement window as much as possible, it effectively improves the accuracy of the angle control of the smart casement window, and obtains the degree of change between the real environment data and the historical environment data at different moments to perform real-time correction on the angle change speed of the smart casement window at different moments, so that the angle can be adjusted as accurately as possible at each moment, thereby reducing the lag in the angle adjustment of the smart casement window, and further reducing the time for adjusting the indoor environment due to the lag in the angle adjustment. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0021] Figure 1 A flow chart of a multi-angle control method for an intelligent casement window provided by an embodiment of the present invention;
[0022] Figure 2 A structural block diagram of a multi-angle control system for an intelligent casement window provided by an embodiment of the present invention;
[0023] Figure 3 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] See also Figure 1, which shows a flow chart of a multi-angle control method of an intelligent casement window of the present application.
[0026] like Figure 1 As shown, the multi-angle control method of the intelligent casement window specifically includes the following steps:
[0027] Step S101, obtaining at least one outdoor environment data of the location of the smart casement window within a historical time period and the angle data of the smart casement window corresponding to the at least one outdoor environment data.
[0028] In this step, the opening angle of the smart casement window is set to be related to the outdoor temperature, pollutant concentration and other environmental data. Therefore, at least one outdoor environmental data of the location of the smart casement window in the historical time period and the angle data of the smart casement window corresponding to the at least one outdoor environmental data are obtained. For example, when the outdoor PM2.5 concentration is 35, the opening angle of the smart casement window is 90 degrees, and when the outdoor PM2.5 concentration is 40, the opening angle of the smart casement window is 70 degrees.
[0029] Step S102: sorting the at least one outdoor environment data based on time sequence to obtain a historical outdoor environment data sequence and a historical angle data sequence corresponding to the historical outdoor environment data sequence.
[0030] In this step, at least one outdoor environment data is sorted based on time order to obtain a historical outdoor environment data sequence. Since the historical outdoor environment data is associated with the historical angle data, after the historical outdoor environment data are sorted to form a historical outdoor environment data sequence, the historical angle data can be synchronously sorted according to the sorting results of the historical outdoor environment data to obtain a historical angle data sequence.
[0031] Step S103, obtaining the real-time outdoor environment data at the first moment, the real-time angle data of the smart casement window, and the outdoor environment prediction data at the second moment, and using a preset matching strategy to match the historical outdoor environment data corresponding to the outdoor environment prediction data in the historical outdoor environment data sequence.
[0032] In this step, after obtaining the real-time outdoor environment data at the first moment, the real-time angle data of the smart casement window, and the outdoor environment prediction data at the second moment, a preset sliding window is slid on the historical outdoor environment data sequence. Each time the sliding is performed, it is determined whether the first historical outdoor environment data that is the same as the outdoor environment prediction data and the second historical outdoor environment data that is the same as the real-time outdoor environment data exist in the sliding window at the same time, wherein the size of the sliding window is the number of all outdoor environment data between the first moment and the second time, and the sliding step length of the sliding window is one outdoor environment data; if the first historical outdoor environment data that is the same as the outdoor environment prediction data and the second historical outdoor environment data that is the same as the real-time outdoor environment data exist in the sliding window at the same time, then the first time interval between the first historical outdoor environment data and the second historical outdoor environment data is obtained; the time interval between the first moment and the second The target time interval between the moments is determined, and whether the time difference between the first time interval and the target time interval is greater than a preset time threshold; if it is not greater than the preset time threshold, the first historical outdoor environment data is directly used as the historical outdoor environment data corresponding to the outdoor environment prediction data; if it is greater than the preset time threshold, continue to determine whether the time difference between other time intervals and the target time interval is greater than the preset time threshold, wherein the other time intervals are the time intervals between other first historical outdoor environment data and other second historical outdoor environment data in other sliding windows; when the time differences between other time intervals and the target time interval are all greater than the preset time threshold, a time interval with the smallest time difference with the target time interval is selected, and a first historical outdoor environment data corresponding to a certain time interval is used as the historical outdoor environment data corresponding to the outdoor environment prediction data.
[0033] It should be noted that after determining whether the first historical outdoor environment data that is identical to the outdoor environment prediction data and the second historical outdoor environment data that is identical to the real-time outdoor environment data exist simultaneously in the sliding window, if the first historical outdoor environment data that is identical to the outdoor environment prediction data and the second historical outdoor environment data that is identical to the real-time outdoor environment data do not exist simultaneously in the sliding window, then continue to determine whether the first historical outdoor environment data that is identical to the outdoor environment prediction data and the second historical outdoor environment data that is identical to the real-time outdoor environment data exist simultaneously in the next sliding window until all sliding windows are traversed; when the first historical outdoor environment data that is identical to the outdoor environment prediction data and the second historical outdoor environment data that is identical to the real-time outdoor environment data do not exist simultaneously in all sliding windows, directly select a certain historical outdoor environment data with the smallest data difference with the outdoor environment prediction data in the historical outdoor environment data sequence as the historical outdoor environment data corresponding to the outdoor environment prediction data.
[0034] In this embodiment, the first historical outdoor environment data and the second historical outdoor environment data with similar time spans are searched in the historical outdoor environment data sequence through a sliding window. Since the second historical outdoor environment data is the same as the real-time outdoor environment data at the first moment, and the first historical outdoor environment data is the same as the outdoor environment prediction data at the second moment, it is possible to find the historical outdoor environment data that is closest to the actual outdoor environment data at the second moment as much as possible, so that the historical angle data corresponding to the historical outdoor environment data can be closer to the angle data required for the actual situation at the second moment, which effectively improves the accuracy of the angle control of the intelligent casement window while avoiding the need to repeatedly adjust the angle of the intelligent casement window as much as possible.
[0035] Specifically, the angle adjustment of the smart casement window can be achieved by a motor installed on the smart casement window.
[0036] Step S104, searching the historical angle data sequence for historical angle data corresponding to the historical outdoor environment data, and determining whether an angle difference between the historical angle data and the real-time angle data is greater than a preset threshold.
[0037] In a specific embodiment, after determining whether the angle difference between the historical angle data and the real-time angle data is greater than a preset threshold, if it is not greater than the preset threshold, the initial angle change speed of the smart casement window at the first moment is calculated based on the angle difference and the target time interval between the first moment and the second moment, and a second control instruction containing the initial angle change speed is generated to control the smart casement window at the first moment until it is at the second moment.
[0038] In the method of this embodiment, since the historical angle data at the second moment is not much different from the real-time angle data at the first moment, the initial angle change speed of the smart casement window at the first moment can be directly calculated based on the angle difference and the target time interval between the first moment and the second moment, and a second control instruction including the initial angle change speed is generated. In this way, when there is an angle deviation between the real angle data at the second moment and the historical angle data, but because the angle deviation is small, the angle deviation of the smart casement window in the time period from the first moment to the second moment has a weak impact on the indoor environment, so it is relatively simple to directly generate the second control instruction including the initial angle change speed. If an angle deviation occurs later, it is only necessary to adjust the angle of the smart casement window again to remove the angle deviation.
[0039] Step S105, if it is greater than a preset threshold, then based on the angle difference, a preset dynamic adjustment rule is used to construct the dynamic target angle change speed of the smart casement window, and a first control instruction containing the dynamic target angle change speed is generated to control the smart casement window at the first moment until it is at the second moment.
[0040] In this step, the initial angle change speed of the smart casement window at the first moment is calculated according to the angle difference and the target time interval between the first moment and the second moment; the first environment difference between the first real-time outdoor environment data at the first moment and the outdoor environment prediction data at the second moment is obtained, and the initial environment change speed of the smart casement window at the first moment is calculated according to the first environment difference and the target time interval; the second environment difference between the second real-time outdoor environment data at at least one intermediate moment and the outdoor environment prediction data at the second moment is obtained, and the target environment change speed of the smart casement window at the at least one intermediate moment is calculated according to the second environment difference and the first time interval, wherein the first time interval is the time interval between at least one intermediate moment and the second moment, and the intermediate moment is the moment between the first moment and the second moment; the initial angle change speed of the smart casement window at at least one intermediate moment is corrected according to the environment change speed at the position at at least one intermediate moment, and the target angle change speed corresponding to at least one intermediate moment is obtained; the dynamic target angle change speed of the smart casement window from the first moment to the second moment is constructed according to the initial angle change speed of the smart casement window at the first moment and the target angle change speed of the smart casement window at at least one intermediate moment.
[0041] It should be noted that the initial angle change speed of the smart casement window at at least one intermediate moment is corrected according to the environmental change speed at the location at at least one intermediate moment to obtain the target angle change speed corresponding to at least one intermediate moment, including: obtaining a target ratio between the environmental change speed at the location at at least one intermediate moment and the initial angle change speed; correcting the initial angle change speed of the smart casement window at at least one intermediate moment according to the target ratio to obtain the target angle change speed corresponding to at least one intermediate moment.
[0042] In summary, the method of the present application finds the historical outdoor environment data that is closest to the real outdoor environment data at the second moment, so that the historical angle data corresponding to the historical outdoor environment data can be closer to the angle data required by the actual situation at the second moment. While avoiding the need to repeatedly adjust the angle of the smart casement window as much as possible, it effectively improves the accuracy of the angle control of the smart casement window, and obtains the degree of change between the real environment data and the historical environment data at different moments to perform real-time correction on the angle change speed of the smart casement window at different moments, so that the angle can be adjusted as accurately as possible at each moment, thereby reducing the lag in the angle adjustment of the smart casement window, and further reducing the time for adjusting the indoor environment due to the lag in the angle adjustment.
[0043] See also Figure 2, which shows a structural block diagram of a multi-angle control system of an intelligent casement window of the present application.
[0044] like Figure 2 As shown, the multi-angle control system 200 includes an acquisition module 210, a preprocessing module 220, a matching module 230, a judgment module 240 and a generation module 250.
[0045] The acquisition module 210 is configured to acquire at least one outdoor environment data of the location of the smart casement window within a historical time period and the angle data of the smart casement window corresponding to the at least one outdoor environment data; the sorting module 220 is configured to sort the at least one outdoor environment data based on the time sequence to obtain a historical outdoor environment data sequence and a historical angle data sequence corresponding to the historical outdoor environment data sequence; the matching module 230 is configured to acquire the real-time outdoor environment data at a first moment, the real-time angle data of the smart casement window, and the outdoor environment prediction data at a second moment, and use a preset matching strategy to sort the historical outdoor environment data. A first historical outdoor environment data corresponding to the outdoor environment prediction data is matched in the sequence; a judgment module 240 is configured to search for historical angle data corresponding to the historical outdoor environment data in the historical angle data sequence, and judge whether the angle difference between the historical angle data and the real-time angle data is greater than a preset threshold; a generation module 250 is configured to, if greater than the preset threshold, construct the dynamic target angle change speed of the smart casement window according to the angle difference using a preset dynamic adjustment rule, and generate a first control instruction containing the dynamic target angle change speed, so that the smart casement window at the first moment is controlled until it is at the second moment.
[0046] It should be understood that Figure 2 Modules and references documented in Figure 1 Therefore, the operations and features described above for the method and the corresponding technical effects are also applicable to Figure 2 The modules in it will not be described in detail here.
[0047] In other embodiments, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein when the program instructions are executed by a processor, the processor is caused to execute the multi-angle control method of the intelligent casement window in any of the above method embodiments;
[0048] As an implementation mode, the computer-readable storage medium of the present invention stores computer-executable instructions, and the computer-executable instructions are configured as follows:
[0049] Acquire at least one outdoor environment data of the location of the smart casement window within a historical time period and angle data of the smart casement window corresponding to the at least one outdoor environment data;
[0050] Sorting the at least one outdoor environment data based on the time sequence to obtain a historical outdoor environment data sequence and a historical angle data sequence corresponding to the historical outdoor environment data sequence;
[0051] Acquire real-time outdoor environment data at a first moment, real-time angle data of the intelligent casement window, and outdoor environment prediction data at a second moment, and use a preset matching strategy to match historical outdoor environment data corresponding to the outdoor environment prediction data in the historical outdoor environment data sequence;
[0052] Searching for historical angle data corresponding to the historical outdoor environment data in the historical angle data sequence, and determining whether an angle difference between the historical angle data and the real-time angle data is greater than a preset threshold;
[0053] If it is greater than a preset threshold, the dynamic target angle change speed of the smart casement window is constructed according to the angle difference using a preset dynamic adjustment rule, and a first control instruction containing the dynamic target angle change speed is generated to control the smart casement window at the first moment until it is at the second moment.
[0054] The computer-readable storage medium may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the multi-angle control system of the intelligent casement window, etc. In addition, the computer-readable storage medium may include a high-speed random access memory, and may also include a memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the computer-readable storage medium may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the multi-angle control system of the intelligent casement window via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0055] Figure 3 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, such as Figure 3 As shown, the device includes: a processor 310 and a memory 320. The electronic device may also include: an input device 330 and an output device 340. The processor 310, the memory 320, the input device 330 and the output device 340 may be connected via a bus or other means. Figure 3In the example, the connection through the bus is taken as an example. The memory 320 is the above-mentioned computer-readable storage medium. The processor 310 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 320, that is, the multi-angle control method of the intelligent casement window of the above-mentioned method embodiment is realized. The input device 330 can receive input digital or character information, and generate key signal input related to user settings and function control of the multi-angle control system of the intelligent casement window. The output device 340 may include display devices such as display screens.
[0056] The electronic device can execute the method provided by the embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the method provided by the embodiment of the present invention.
[0057] As an implementation mode, the electronic device is applied to a multi-angle control system of an intelligent casement window, and is used for a client, and includes: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can:
[0058] Acquire at least one outdoor environment data of the location of the smart casement window within a historical time period and angle data of the smart casement window corresponding to the at least one outdoor environment data;
[0059] Sorting the at least one outdoor environment data based on the time sequence to obtain a historical outdoor environment data sequence and a historical angle data sequence corresponding to the historical outdoor environment data sequence;
[0060] Acquire real-time outdoor environment data at a first moment, real-time angle data of the intelligent casement window, and outdoor environment prediction data at a second moment, and use a preset matching strategy to match historical outdoor environment data corresponding to the outdoor environment prediction data in the historical outdoor environment data sequence;
[0061] Searching for historical angle data corresponding to the historical outdoor environment data in the historical angle data sequence, and determining whether an angle difference between the historical angle data and the real-time angle data is greater than a preset threshold;
[0062] If it is greater than a preset threshold, the dynamic target angle change speed of the smart casement window is constructed according to the angle difference using a preset dynamic adjustment rule, and a first control instruction containing the dynamic target angle change speed is generated to control the smart casement window at the first moment until it is at the second moment.
[0063] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.
[0064] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A multi-angle control method for an intelligent casement window, characterized in that: include: Acquire at least one outdoor environment data of the location of the smart casement window within a historical time period and angle data of the smart casement window corresponding to the at least one outdoor environment data; Sorting the at least one outdoor environment data based on the time sequence to obtain a historical outdoor environment data sequence and a historical angle data sequence corresponding to the historical outdoor environment data sequence; Acquire real-time outdoor environment data at a first moment, real-time angle data of the intelligent casement window, and outdoor environment prediction data at a second moment, and use a preset matching strategy to match historical outdoor environment data corresponding to the outdoor environment prediction data in the historical outdoor environment data sequence; Searching for historical angle data corresponding to the historical outdoor environment data in the historical angle data sequence, and determining whether an angle difference between the historical angle data and the real-time angle data is greater than a preset threshold; If it is greater than a preset threshold, the dynamic target angle change speed of the smart casement window is constructed according to the angle difference using a preset dynamic adjustment rule, and a first control instruction containing the dynamic target angle change speed is generated to control the smart casement window at the first moment until it is at the second moment.
2. The multi-angle control method of an intelligent casement window according to claim 1, characterized in that: The method of matching the first historical outdoor environment data corresponding to the outdoor environment prediction data in the historical outdoor environment data sequence by using a preset matching strategy includes: Slide a preset sliding window on the historical outdoor environment data sequence, and judge whether there are first historical outdoor environment data identical to the outdoor environment prediction data and second historical outdoor environment data identical to the real-time outdoor environment data in the sliding window at the same time each time the sliding window slides, wherein the size of the sliding window is the number of all outdoor environment data between the first moment and the second time, and the sliding step length of the sliding window is one outdoor environment data; If the sliding window simultaneously contains first historical outdoor environment data identical to the outdoor environment prediction data and second historical outdoor environment data identical to the real-time outdoor environment data, then obtaining a first time interval between the first historical outdoor environment data and the second historical outdoor environment data; Obtaining a target time interval between the first moment and the second moment, and determining whether a time difference between the first time interval and the target time interval is greater than a preset time threshold; If it is not greater than the preset time threshold, directly taking the first historical outdoor environment data as the historical outdoor environment data corresponding to the outdoor environment prediction data; If it is greater than the preset time threshold, continue to determine whether the time difference between other time intervals and the target time interval is greater than the preset time threshold, wherein the other time interval is the time interval between other first historical outdoor environment data and other second historical outdoor environment data in other sliding windows; When the time differences between other time intervals and the target time interval are all greater than the preset time threshold, a time interval with the smallest time difference with the target time interval is selected, and a first historical outdoor environment data corresponding to the time interval is used as the historical outdoor environment data corresponding to the outdoor environment prediction data.
3. The multi-angle control method of an intelligent casement window according to claim 3 is characterized in that: After determining whether there are first historical outdoor environment data identical to the outdoor environment prediction data and second historical outdoor environment data identical to the real-time outdoor environment data in the sliding window, the method further includes: If the first historical outdoor environment data identical to the outdoor environment prediction data and the second historical outdoor environment data identical to the real-time outdoor environment data do not exist in the sliding window at the same time, continue to determine whether the first historical outdoor environment data identical to the outdoor environment prediction data and the second historical outdoor environment data identical to the real-time outdoor environment data exist in the next sliding window at the same time, until all sliding windows are traversed; When both the first historical outdoor environment data identical to the outdoor environment prediction data and the second historical outdoor environment data identical to the real-time outdoor environment data do not exist in all sliding windows at the same time, a certain historical outdoor environment data having the smallest data difference with the outdoor environment prediction data is directly selected from the historical outdoor environment data sequence as the historical outdoor environment data corresponding to the outdoor environment prediction data.
4. The multi-angle control method of an intelligent casement window according to claim 1, characterized in that: After determining whether the angle difference between the historical angle data and the real-time angle data is greater than a preset threshold, the method further includes: If it is not greater than a preset threshold, the initial angle change speed of the smart casement window at the first moment is calculated based on the angle difference and the target time interval between the first moment and the second moment, and a second control instruction containing the initial angle change speed is generated to control the smart casement window at the first moment until it is at the second moment.
5. The multi-angle control method of an intelligent casement window according to claim 1, characterized in that: The method of constructing the dynamic target angle change speed of the intelligent casement window according to the angle difference using a preset dynamic adjustment rule includes: Calculating an initial angle change speed of the smart casement window at the first moment according to the angle difference and a target time interval between the first moment and the second moment; Obtaining a first environmental difference between first real-time outdoor environmental data at the first moment and predicted outdoor environmental data at the second moment, and calculating an initial environmental change speed of the position of the smart casement window at the first moment according to the first environmental difference and the target time interval; Obtaining a second environmental difference between second real-time outdoor environmental data at at least one intermediate moment and outdoor environmental prediction data at the second moment, and calculating a target environmental change speed of the smart casement window at the at least one intermediate moment according to the second environmental difference and a first time interval, wherein the first time interval is a time interval between the at least one intermediate moment and the second moment, and the intermediate moment is a moment between the first moment and the second moment; Correcting the initial angle change speed of the smart casement window at the at least one intermediate moment according to the environmental change speed of the location at the at least one intermediate moment, to obtain a target angle change speed corresponding to the at least one intermediate moment; The dynamic target angle change speed of the smart casement window from the first moment to the second moment is constructed according to the initial angle change speed of the smart casement window at the first moment and the target angle change speed of the smart casement window at at least one intermediate moment.
6. The multi-angle control method of an intelligent casement window according to claim 5, characterized in that: The step of correcting the initial angle change speed of the smart casement window at the at least one intermediate moment according to the environmental change speed of the position at the at least one intermediate moment to obtain the target angle change speed corresponding to the at least one intermediate moment comprises: Obtaining a target ratio between an environmental change speed at the location of the at least one intermediate moment and the initial angle change speed; The initial angle change speed of the smart casement window at the at least one intermediate moment is corrected according to the target ratio to obtain a target angle change speed corresponding to the at least one intermediate moment.
7. A multi-angle control system for intelligent casement windows, characterized in that: include: An acquisition module configured to acquire at least one outdoor environment data of a location of the smart casement window within a historical time period and angle data of the smart casement window corresponding to the at least one outdoor environment data; A sorting module, configured to sort the at least one outdoor environment data based on a time sequence to obtain a historical outdoor environment data sequence and a historical angle data sequence corresponding to the historical outdoor environment data sequence; A matching module, configured to obtain real-time outdoor environment data at a first moment, real-time angle data of the intelligent casement window, and outdoor environment prediction data at a second moment, and match first historical outdoor environment data corresponding to the outdoor environment prediction data in the historical outdoor environment data sequence using a preset matching strategy; A judgment module, configured to search the historical angle data sequence for the historical angle data corresponding to the historical outdoor environment data, and judge whether the angle difference between the historical angle data and the real-time angle data is greater than a preset threshold; The generation module is configured to construct the dynamic target angle change speed of the smart casement window according to the angle difference and adopt a preset dynamic adjustment rule if it is greater than a preset threshold value, and generate a first control instruction containing the dynamic target angle change speed to control the smart casement window at the first moment until it is at the second moment.
8. An electronic device, characterized in that: include: At least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
