Intelligent window automatic control method, device and equipment and storage medium

Through the intelligent window automatic control method, the sensing unit is used to detect environmental information to adjust the window opening, solving the problem of safety hazards in window control in traditional technology, and improving the safety and user experience of window operations.

CN118979674APending Publication Date: 2024-11-19GLORYVIEW TECH INC +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410924650.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-11-19

AI Technical Summary

Technical Problem

Traditional window control technology has great safety risks and fails to effectively consider possible risk factors after windows are opened, such as the risk of indoor wet by rain and the human body falling from windows.

Method used

Through the intelligent window automatic control method, indoor and outdoor sensing units are used to detect environmental information and adjust window opening to ensure that the windows are opened only when the indoor and outdoor environment is safe and safe, avoiding potential risks.

Benefits of technology

Improve the control and use safety of smart windows, reduce safety hazards caused by window operations, and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118979674A_ABST
    Figure CN118979674A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an intelligent window automatic control method and device, equipment and a storage medium, and the method comprises the steps: determining initial opening degree information corresponding to a control instruction when the control instruction sent by a user and used for controlling the opening degree of a target intelligent window is received; according to the indoor environment information currently detected by the indoor sensing unit, whether the current indoor environment meets the preset indoor environment requirement or not is determined; determining whether the current outdoor environment meets a preset outdoor environment requirement or not according to the outdoor environment information currently detected by the outdoor sensing unit; when the current indoor environment does not meet the indoor environment requirement or the current outdoor environment does not meet the outdoor environment requirement, the initial opening degree information is adjusted according to the indoor environment information or the indoor environment information and the outdoor environment information, and target opening degree information is obtained; and controlling the opening degree of the target intelligent window according to the target opening degree information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of home automation control technology, and in particular to an intelligent window automatic control method, device, equipment and storage medium. Background Art

[0002] Smart home is the embodiment of Internet of Things under the influence of the Internet. It can connect various indoor home appliances, such as audio and video equipment, lighting systems, curtain control, window opening and closing control, air conditioning control, security systems, digital cinema systems, smart appliances, etc., through the Internet of Things technology, and provide automated control methods for various home appliances to provide users with a convenient, comfortable, environmentally friendly and energy-saving living environment.

[0003] Among them, window opening and closing control is one of the important links in adjusting the user's living environment. However, the current window control technology only needs to open the window when controlling the window opening, and does not take into account the potential risk factors after the window is opened, such as whether the room is at risk of being wet by rain, or whether there is a risk of a person falling from the window. Therefore, the current window control technology has a great safety hazard in controlling windows, which affects the user's safety and user experience. Summary of the invention

[0004] In view of this, in order to at least solve the technical problem that the traditional window control technology has a great potential safety hazard in controlling windows, the purpose of the present invention is to provide an intelligent window automatic control method, device, equipment and storage medium. The technical solution adopted in the embodiment of the present invention is as follows:

[0005] A first aspect of an embodiment of the present invention provides a smart window automatic control method, comprising:

[0006] When receiving a control instruction sent by a user for controlling the opening of a target smart window, determining initial opening information corresponding to the control instruction;

[0007] Determine whether the current indoor environment meets the preset indoor environment requirements according to the indoor environment information currently detected by the indoor sensing unit; wherein the indoor environment requirements are one or more of the following combinations: the concentration of the specified gas in the indoor environment does not exceed the set concentration threshold, and no indoor moving objects are detected within the first set range of the smart window;

[0008] Determine whether the current outdoor environment meets the preset outdoor environment requirements according to the outdoor environment information currently detected by the outdoor sensor unit; wherein the outdoor environment requirements are one or more of the following combinations: no rain signal is detected, no outdoor moving objects are detected within the second setting range of the smart window, the outdoor air quality meets the set air quality requirements, and the noise decibel is less than the set decibel threshold;

[0009] When the current indoor environment does not meet the indoor environment requirement, or the current outdoor environment does not meet the outdoor environment requirement, adjusting the initial opening information according to the indoor environment information, or the indoor environment information and the outdoor environment information, to obtain the target opening information;

[0010] The opening of the target smart window is controlled according to the target opening information.

[0011] A second aspect of an embodiment of the present invention provides an intelligent window automatic control device, comprising:

[0012] The receiving module is configured to: upon receiving a control instruction sent by a user for controlling the opening of a target smart window, determine initial opening information corresponding to the control instruction;

[0013] The determination module is configured to: determine whether the current indoor environment meets the preset indoor environment requirements according to the indoor environment information currently detected by the indoor sensing unit; determine whether the current outdoor environment meets the preset outdoor environment requirements according to the outdoor environment information currently detected by the outdoor sensing unit; wherein the indoor environment requirements are one of the following or a combination of more than one: the concentration of the specified gas in the indoor environment does not exceed the set concentration threshold, and no indoor moving objects are detected within the first setting range of the smart window; the outdoor environment requirements are one of the following or a combination of more than one: no rain signal is detected, no outdoor moving objects are detected within the second setting range of the smart window, the outdoor air quality meets the set air quality requirements, and the noise decibel is less than the set decibel threshold;

[0014] an adjustment module, configured to: when the current indoor environment does not meet the indoor environment requirement, or the current outdoor environment does not meet the outdoor environment requirement, adjust the initial opening information according to the indoor environment information, or the indoor environment information and the outdoor environment information, to obtain the target opening information;

[0015] The control module is configured to control the opening of the target smart window according to the target opening information.

[0016] According to a third aspect of an embodiment of the present invention, there is provided an electronic device, comprising a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor can execute the machine executable instructions to implement the smart window automatic control method provided in the first aspect.

[0017] According to a fourth aspect of an embodiment of the present invention, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the smart window automatic control method provided in the first aspect is implemented.

[0018] The smart window automatic control method, device, equipment and storage medium provided by the embodiments of the present invention, upon receiving a control instruction sent by a user for controlling the opening of a target smart window, determine the initial opening information corresponding to the control instruction, and use the indoor environment information and the outdoor environment information to determine whether to adjust the initial opening information. If adjustment is required, the initial opening information is adjusted according to the indoor environment information, or the indoor environment information and the outdoor environment information to obtain the target opening information for controlling the opening of the target smart window, rather than directly using the initial opening information to control the target smart window. This realizes controlling the opening of the smart window according to the safety conditions of the indoor environment and the outdoor environment, which can improve the control and use safety of the smart window to a certain extent.

[0019] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 A structural block diagram of an electronic device provided by an embodiment of the present invention is shown;

[0022] Figure 2 A flow chart of an intelligent window automatic control method provided by an embodiment of the present invention is shown;

[0023] Figure 3 A functional module diagram of an intelligent window automatic control device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0024] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0025] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present invention.

[0026] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0027] In order to solve the technical problem that traditional window control technology in traditional technology has great potential safety hazards in controlling windows, an embodiment of the present invention provides an intelligent window automatic control method. When receiving a control instruction sent by a user for controlling the opening of a target intelligent window, the method determines the initial opening information corresponding to the control instruction, and uses the indoor environment information and the outdoor environment information to determine whether to adjust the initial opening information. If adjustment is required, the initial opening information is adjusted according to the indoor environment information, or the indoor environment information and the outdoor environment information to obtain the target opening information for controlling the opening of the target intelligent window, instead of directly using the initial opening information to control the target intelligent window. This realizes controlling the opening of the intelligent window according to the safety conditions of the indoor environment and the outdoor environment, which can improve the control and use safety of the intelligent window to a certain extent.

[0028] The intelligent window automatic control method provided by the present invention can be applied to electronic devices, please refer to Figure 1 , is a block diagram of the structure of an electronic device. The electronic device 100 includes a memory 110, a processor 120 and a communication module 130. The memory 110, the processor 120 and the communication module 130 are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines.

[0029] The memory is used to store programs or data. The memory may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc.

[0030] The processor is used to read / write data or programs stored in the memory and execute corresponding functions.

[0031] The communication module is used to establish a communication connection between the electronic device and other communication terminals through a network, and is used to send and receive data through the network.

[0032] It should be understood that Figure 1 The structure shown is only a schematic diagram of the structure of the electronic device, and the electronic device may also include Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown. Figure 1 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0033] The following combination Figure 2 The intelligent window automatic control method provided by the embodiment of the present invention is described. Figure 2 : is a flow chart of an intelligent window automatic control method provided by an embodiment of the present invention. The intelligent window automatic control method provided by an embodiment of the present invention includes:

[0034] In step S100, when a control instruction for controlling the opening of a target smart window sent by a user is received, initial opening information corresponding to the control instruction is determined;

[0035] In step S200, according to the indoor environment information currently detected by the indoor sensor unit, it is determined whether the current indoor environment meets the preset indoor environment requirements; wherein the indoor environment requirements are one or more of the following combinations: the concentration of the specified gas in the indoor environment does not exceed the set concentration threshold, and no indoor moving objects are detected within the first set range of the smart window;

[0036] In step S300, according to the outdoor environment information currently detected by the outdoor sensor unit, it is determined whether the current outdoor environment meets the preset outdoor environment requirements; wherein the outdoor environment requirements are one or more of the following combinations: no rain signal is detected, no outdoor moving objects are detected within the second setting range of the smart window, the outdoor air quality meets the set air quality requirements, and the noise decibel is less than the set decibel threshold;

[0037] In step S400, when the current indoor environment does not meet the indoor environment requirement, or the current outdoor environment does not meet the outdoor environment requirement, the initial opening information is adjusted according to the indoor environment information, or the indoor environment information and the outdoor environment information, to obtain the target opening information;

[0038] In step S500, the opening of the target smart window is controlled according to the target opening information.

[0039] Before applying the smart window automatic control method provided by the embodiment of the present invention, an indoor sensing unit capable of detecting the indoor environment information of the indoor space and an outdoor sensing unit capable of detecting the outdoor environment information of the indoor space can be arranged in the indoor space where the method is to be applied and the smart window is installed. The indoor sensing unit includes an air detection component for detecting the concentration of a specified gas in the indoor environment and a first moving object detection unit for detecting indoor moving objects. The specified gas may include any one of oil smoke and carbon dioxide, and accordingly, the air detection component may include a carbon dioxide concentration detection device and an oil smoke concentration detection device. In addition, the outdoor sensor may include a rain detection sensor, an air quality detection sensor, a second moving object detection unit and a noise detection sensor. The first moving object detection unit and the second moving object detection unit may be, but are not limited to, an image sensor.

[0040] When there are multiple indoor spaces, a mapping relationship between each indoor space and the indoor sensor unit, outdoor sensor unit and smart window deployed therein can be established in advance, so as to facilitate the subsequent calling of the indoor sensor unit and outdoor sensor unit corresponding to the smart window to collect corresponding data, thereby realizing the safety control of the smart window. In some embodiments, the smart window automatic control method provided by the embodiment of the present invention can also provide a mapping relationship acquisition process, which includes:

[0041] Displaying an indoor plan map of the indoor environment on a user terminal, wherein the indoor plan map displays a plurality of indoor space areas and smart windows installed in the indoor space areas;

[0042] According to the pairing instruction issued by the user in the indoor floor plan map for pairing the sensor unit for each smart window, the unique code of each smart window and the paired sensor unit are mapped to obtain all mapping relationships.

[0043] The following describes the working process of the smart window automatic control method provided by the embodiment of the present invention:

[0044] When the electronic device executing the method receives the control instruction of the window opening sent by the user, the electronic device will execute step S100. Since the control instruction carries the unique code of the smart window to be controlled and the initial opening information configured by the user, the target smart window pointed to by the control instruction and the initial opening information of the target smart window can be parsed based on the control instruction. Among them, the initial opening information can be expressed in numbers or in codes. In some embodiments, the meaning of the initial opening information can be expressed as: to what extent the user currently needs to open the target smart window. For example, assuming that the initial opening information is 100%, it means that the user needs to control the smart window to be fully opened. In addition, the meaning of the initial opening information can also be expressed as: to what extent the user currently needs to increase or reduce the opening degree of the target smart window. For example, assuming that the initial opening information is -10%, it means that the user needs to control the opening of the smart window to be reduced by 10% compared to the current opening. Similarly, assuming that the initial opening information is +10%, it means that the user needs to control the opening of the smart window to be increased by 10% compared to the current opening.

[0045] In step S100, when a control instruction is received, in order to retrieve the data collected by the indoor sensor unit and the outdoor sensor unit corresponding to the target smart window, the indoor sensor unit and the outdoor sensor unit corresponding to the unique code of the target smart window can also be determined from the above mapping relationship.

[0046] Then, step S200 and step S300 can be executed to determine whether the current indoor environment meets the indoor environment requirements and whether the current outdoor environment meets the outdoor environment requirements according to the indoor environment information detected by the indoor sensor unit corresponding to the target smart window and the outdoor environment information detected by the outdoor sensor unit. Step S200 and step S300 can be executed simultaneously or successively, but the execution order is not limited.

[0047] When it is determined that the indoor environment meets the indoor environment requirements and the outdoor environment meets the outdoor environment requirements, the opening of the target smart window can be directly controlled according to the initial opening information. Otherwise, step S400 is executed to adjust the initial opening information according to the indoor environment information, or the indoor environment information and the outdoor environment information to obtain the target opening information, and then the target smart window can be controlled by using the target opening information in step S500.

[0048] In some embodiments, a neural network model may be used to adjust the initial opening information according to the indoor environment information, the outdoor environment information and the initial opening information to obtain the target opening information. Based on this, in the above step S400, the step of adjusting the initial opening information according to the indoor environment information and the outdoor environment information to obtain the target opening information may include:

[0049] The indoor environment information, the outdoor environment information and the initial opening information are input into a pre-built opening decision model to obtain target opening information.

[0050] The technical principle of how the opening decision model is trained can be found in the relevant technology and will not be elaborated here.

[0051] In some embodiments, in order to simplify the adjustment logic of the initial opening information and reduce the operating burden of the electronic device in executing the intelligent window automatic control method provided by the embodiment of the present invention, the embodiment of the present invention further provides another scheme for adjusting the initial opening information to obtain the target opening information, that is, in the embodiment of adjusting the initial opening information according to the indoor environment information and the outdoor environment information, in step S400, the step of adjusting the initial opening information according to the indoor environment information and the outdoor environment information to obtain the target opening information may include:

[0052] In step S401-1, first opening information is determined according to the indoor environment information;

[0053] In step S401-2, second opening information is determined according to the outdoor environment information;

[0054] In step S401 - 3 , the initial opening information is adjusted according to the first opening information and the second opening information to obtain target opening information.

[0055] For step S401-1, a first mapping relationship between various information in the indoor environment information and the opening index can be established in advance. For example, assuming that the indoor environment information includes the carbon dioxide concentration and the distance between the indoor moving object and the smart window, the first mapping relationship may include: the relationship between different distance ranges and their corresponding opening indexes, and the relationship between different carbon dioxide concentration ranges and their corresponding opening indexes; for example, assuming that the distance between the indoor moving object and the smart window is 5m, and the distance value corresponding to the first set range is 3m, it is considered that the indoor moving object is within a safe range relative to the smart window. At this time, the relationship between different distance ranges and their corresponding opening indexes may include distance ranges of (0, 1], (1, 2], (2, 3], (3, +∞), and the above distance ranges correspond to the opening indices in turn. The index can be: 10%, 30%, 50%, 100%, indicating the degree of opening of the window. It can be understood that the closer the indoor moving object is to the smart window, the smaller the opening of the smart window is to avoid the indoor moving object from falling from the smart window to improve safety. The above is only an exemplary description and should not be understood as a limitation on the embodiments of the present invention. As for the relationship between different carbon dioxide concentrations and their corresponding opening indexes, the configuration principle is the same as above and will not be repeated here. It can be understood that the higher the carbon dioxide concentration, the greater the opening of the smart window is to reduce human poisoning caused by excessive carbon dioxide concentration. Based on this, the corresponding opening index can be obtained from the first mapping relationship according to the numerical range to which each information in the indoor environment information belongs, and then all the opening indexes are weighted or averaged, and the obtained value is the first opening information.

[0056] For step S402-2, similarly to step S401-1, a second mapping relationship between each item of information in the outdoor environment information and the opening index can also be established in advance. For example, assuming that the outdoor environment information includes rain information, the distance between the outdoor moving object and the smart window, the outdoor air quality information and the noise decibel value, the second mapping relationship information may include: the relationship between different rain intensity ranges and the corresponding opening indexes, the relationship between different distance ranges and the corresponding opening indexes, the relationship between different air quality ranges and the corresponding opening indexes, and the relationship between different noise decibel ranges and the corresponding opening indexes. Based on this, the corresponding opening index can be obtained from the second mapping relationship according to the numerical range to which each item of information in the outdoor environment information belongs, and then all the opening indexes are weighted or averaged, and the obtained value is the second opening information.

[0057] For step S401-3, the first opening information, the second opening information and the initial opening information may be averaged or weighted, and the obtained value is the target opening information. In this regard, in some embodiments, in order to further improve safety, a weighted processing method may be adopted, and the weights of the first opening information and the second opening information are both greater than the weight of the initial opening information.

[0058] Accordingly, in an embodiment in which the initial opening information is adjusted according to the indoor environment information, in step S400, the step of adjusting the initial opening information according to the indoor environment information to obtain the target opening information may include:

[0059] In step S402-1, first opening information is determined according to the indoor environment information;

[0060] In step S402-2, the initial opening information is adjusted according to the first opening information to obtain target opening information.

[0061] For understanding of step S402-1 and step S402-2, please refer to the relevant records above, which will not be repeated here.

[0062] In some embodiments, the smart window automatic control method provided by the embodiments of the present invention also focuses on the scenario when there is a movable object within the first set range of the smart window, and provides a solution to further improve the control safety of the smart window, that is, the step of adjusting the initial opening information according to the indoor environment information to obtain the target opening information includes:

[0063] In step S410, when the indoor sensing unit detects that there is an indoor moving object within the first set range of the smart window, the first opening information is determined according to the type of the indoor moving object; wherein the type of the moving object is: human body or toy;

[0064] In step S420, the initial opening information is adjusted according to the first opening information to obtain target opening information; the target opening information is less than or equal to the initial opening information.

[0065] In the above step S410, the understanding of the first opening information can refer to the relevant records above, which will not be repeated here. In some embodiments, when the moving object is a human body, the human body type can be further divided. For example, based on age, people under the age of 18 are divided into the first type of human body, and people aged 18 or above are divided into the second type of human body; because the safety awareness of people under the age of 18 may generally be lower than that of people aged 18 or above, in order to further improve safety while meeting the actual needs of users to control the opening of smart windows, the human body can be further divided and the corresponding first opening information can be distinguished. For example, the first opening information corresponding to the first type of human body is smaller than the first opening information corresponding to the second type of people.

[0066] In the above step S420, the technical principle of using the first opening information to adjust the initial opening information to obtain the target opening information can be referred to the relevant records above, and will not be repeated here. However, it should be noted that when the type of the moving object is the first type of human body or toy, the target opening information is less than the initial opening information, indicating that the user's desired window opening needs to be reduced to ensure safety. When the type of the moving object is the second type of human body, the target opening information can be equal to the initial opening information, indicating that the safety hazard of this type of moving object is relatively small, and the window opening can be controlled based on the user's expectations.

[0067] To further improve the control safety and use safety of smart windows, in some embodiments, the smart window automatic control method provided by the embodiment of the present invention further provides another solution for determining the first opening information in the above step S410, that is, in the step S410, the step of determining the first opening information according to the type of the indoor moving object includes:

[0068] In step S411, when the indoor moving object is a human body, the first opening information is determined according to the height, area, moving speed and moving direction of the human body;

[0069] In step S412, when the indoor moving object is a toy, the first opening information is determined according to the moving speed and moving direction of the toy.

[0070] For step S411, according to the technical principles recorded above, a third mapping relationship can be established in advance, and the third mapping relationship includes the opening index corresponding to different human height ranges, the opening index corresponding to different moving speed ranges, and the opening index corresponding to different human area ranges. The moving direction is a priority factor to determine whether the first opening information is a null value. For example, if the moving direction points to the target smart window, it means that the human body is approaching the target smart window, so safety control is required. At this time, the first opening information is enabled, and then the opening index corresponding to the human height, human area and human moving speed is averaged or weighted, and the obtained value is the first opening information. On the contrary, if the moving direction is opposite to or parallel to the target smart window or, it means that the human body is not close to the target smart window. At this time, the first opening information is set to a null value, indicating that the first opening information does not need to be applied to adjust the initial opening information.

[0071] Regarding step S412, its principle is the same as step S411, except that: there is no need to consider the height and area of ​​the human body, so it will not be described here.

[0072] Based on the previous embodiment, in some embodiments, in order to further improve the safety control performance and safe use performance of the smart window, the smart window automatic control method provided by the embodiment of the present invention further considers the timeliness of opening and closing of the smart window, that is, after obtaining the target opening information, the method may also include:

[0073] In step S600, when the indoor sensing unit detects that there is an indoor moving object within the first set range of the smart window, the opening adjustment speed of the target smart window is determined according to the moving direction, moving speed and target opening information of the moving object.

[0074] For step S600, in some embodiments, the acquisition of the opening adjustment speed can be achieved by the following scheme, that is, the step of determining the opening adjustment speed of the target smart window according to the moving direction, moving speed and the target opening information of the moving object includes:

[0075] In step S610, when the moving direction of the moving object is toward the target smart window, a moving distance of the target smart window from the current opening to the target opening corresponding to the target opening information is determined;

[0076] In step S620, the time length for the moving object to move to the target smart window is determined according to the moving speed of the moving object and the distance between the moving object and the target smart window;

[0077] In step S630, the opening adjustment speed of the target smart window is determined according to the moving distance and the duration.

[0078] For step S610, the position corresponding to the smart window at each allowed opening can be constructed in advance according to the width of the smart window and the movable range, forming a corresponding opening distance mapping relationship. In the application, the opening distance mapping relationship can be used to obtain the position at the current opening and the position at the target opening, respectively, and then the distance calculation principle can be used to calculate the distance between the two position points, which is the moving distance.

[0079] For step S620, assuming that the moving speed is v1 and the distance is d1, the duration t is the ratio of d1 to v1.

[0080] For step S630, assuming that the moving distance is d and the duration is t, the opening adjustment speed v is the ratio of d to t. It is worth noting that if the smart window is driven by a motor, the opening adjustment speed needs to be further converted into the motor rotation speed to control the motor.

[0081] Correspondingly, in step S500, the step of controlling the opening of the target smart window according to the target opening information includes: controlling the opening of the target smart window according to the target opening information and the opening adjustment speed.

[0082] It should be noted that the various set thresholds, various set ranges, etc. mentioned in any of the above embodiments of the present invention can be obtained according to actual needs and experience and are not limited here.

[0083] It is worth noting that the technical features or technical solutions in any of the above embodiments of the present invention can be combined with each other as long as there is no combination contradiction.

[0084] In order to execute the corresponding steps in the above embodiments and various possible methods, a method for implementing an intelligent window automatic control device is given below. Optionally, the intelligent window automatic control device can adopt the above Figure 1 For further information, please refer to Figure 3 , Figure 3 This is a functional module diagram of an intelligent window automatic control device provided by an embodiment of the present invention. It should be noted that the basic principle and technical effects of the intelligent window automatic control device provided by this embodiment are the same as those of the above embodiments. For the sake of brief description, for parts not mentioned in this embodiment, reference can be made to the corresponding contents in the above embodiments. The intelligent window automatic control device 300 includes:

[0085] The receiving module 310 is configured to: upon receiving a control instruction sent by a user for controlling the opening of a target smart window, determine initial opening information corresponding to the control instruction;

[0086] The determination module 320 is configured to: determine whether the current indoor environment meets the preset indoor environment requirements according to the indoor environment information currently detected by the indoor sensing unit; determine whether the current outdoor environment meets the preset outdoor environment requirements according to the outdoor environment information currently detected by the outdoor sensing unit; wherein the indoor environment requirements are one or more of the following combinations: the concentration of the specified gas in the indoor environment does not exceed the set concentration threshold, and no indoor moving objects are detected within the first setting range of the smart window; the outdoor environment requirements are one or more of the following combinations: no rain signal is detected, no outdoor moving objects are detected within the second setting range of the smart window, the outdoor air quality meets the set air quality requirements, and the noise decibel is less than the set decibel threshold;

[0087] The adjustment module 330 is configured to: when the current indoor environment does not meet the indoor environment requirement, or the current outdoor environment does not meet the outdoor environment requirement, adjust the initial opening information according to the indoor environment information, or the indoor environment information and the outdoor environment information to obtain the target opening information;

[0088] The control module 340 is configured to control the opening of the target smart window according to the target opening information.

[0089] In some embodiments, the process in which the adjustment module 330 adjusts the initial opening information according to the indoor environment information and the outdoor environment information to obtain the target opening information is configured as follows:

[0090] The indoor environment information, the outdoor environment information and the initial opening information are input into a pre-built opening decision model to obtain target opening information.

[0091] In some other embodiments, the process in which the adjustment module 330 adjusts the initial opening information according to the indoor environment information to obtain the target opening information is configured as follows:

[0092] When the indoor sensing unit detects that there is an indoor moving object within the first set range of the smart window, the first opening information is determined according to the type of the indoor moving object; wherein the type of the moving object is: a human body or a toy;

[0093] The initial opening information is adjusted according to the first opening information to obtain target opening information; the target opening information is less than or equal to the initial opening information.

[0094] In some embodiments, the process of the adjustment module 330 determining the first opening information according to the type of the indoor moving object is configured as follows:

[0095] When the indoor moving object is a human body, determining the first opening information according to the height, area, moving speed and moving direction of the human body;

[0096] When the indoor moving object is a toy, the first opening information is determined according to the moving speed and moving direction of the toy.

[0097] In some embodiments, the smart window automatic control device 300 may further include:

[0098] The speed determination module is configured to: after the adjustment module 330 obtains the target opening information, when the indoor sensing unit detects that there is an indoor moving object within the first set range of the smart window, determine the opening adjustment speed of the target smart window according to the moving direction, moving speed and the target opening information of the moving object;

[0099] Correspondingly, the control module 340 is adjusted and configured to control the opening of the target smart window according to the target opening information and the opening adjustment speed.

[0100] In some embodiments, the process of the speed determination module determining the opening adjustment speed of the target smart window according to the moving direction, moving speed and the target opening information of the moving object is configured as follows:

[0101] When the moving direction of the moving object is toward the target smart window, determining a moving distance of the target smart window from a current opening to a target opening corresponding to the target opening information;

[0102] Determine the time length for the moving object to move to the target smart window according to the moving speed of the moving object and the distance between the moving object and the target smart window;

[0103] The opening adjustment speed of the target smart window is determined according to the moving distance and the duration.

[0104] In some embodiments, the process in which the adjustment module 330 adjusts the initial opening information according to the indoor environment information and the outdoor environment information to obtain the target opening information is configured as follows:

[0105] Determining first opening information according to the indoor environment information;

[0106] Determining second opening information according to the outdoor environment information;

[0107] The initial opening information is adjusted according to the first opening information and the second opening information to obtain target opening information.

[0108] Optionally, the above modules can be stored in the form of software or firmware. Figure 1 The memory shown in the figure or solidified in the operating system (OS) of the electronic device, and can be Figure 1 Meanwhile, the data and program codes required for executing the above modules can be stored in the memory.

[0109] In several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0110] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0111] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0112] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A smart window automatic control method, characterized in that: include: When receiving a control instruction sent by a user for controlling the opening of a target smart window, determining initial opening information corresponding to the control instruction; Determine whether the current indoor environment meets the preset indoor environment requirements according to the indoor environment information currently detected by the indoor sensing unit; wherein the indoor environment requirements are one or more of the following combinations: the concentration of the specified gas in the indoor environment does not exceed the set concentration threshold, and no indoor moving objects are detected within the first set range of the smart window; Determine whether the current outdoor environment meets the preset outdoor environment requirements according to the outdoor environment information currently detected by the outdoor sensor unit; wherein the outdoor environment requirements are one or more of the following combinations: no rain signal is detected, no outdoor moving objects are detected within the second set range of the smart window, the outdoor air quality meets the set air quality requirements, and the noise decibel is less than the set decibel threshold; When the current indoor environment does not meet the indoor environment requirement, or the current outdoor environment does not meet the outdoor environment requirement, adjusting the initial opening information according to the indoor environment information, or the indoor environment information and the outdoor environment information, to obtain target opening information; The opening of the target smart window is controlled according to the target opening information.

2. The method according to claim 1, characterized in that The step of adjusting the initial opening information according to the indoor environment information and the outdoor environment information to obtain the target opening information includes: The indoor environment information, the outdoor environment information and the initial opening information are input into a pre-built opening decision model to obtain target opening information.

3. The method according to claim 1, characterized in that The step of adjusting the initial opening information according to the indoor environment information to obtain the target opening information includes: When the indoor sensing unit detects that there is an indoor moving object within the first set range of the smart window, the first opening information is determined according to the type of the indoor moving object; wherein the type of the moving object is: a human body or a toy; The initial opening information is adjusted according to the first opening information to obtain target opening information; the target opening information is less than or equal to the initial opening information.

4. The method according to claim 3, characterized in that The step of determining the first opening information according to the type of the indoor moving object comprises: When the indoor moving object is a human body, determining the first opening information according to the height, area, moving speed and moving direction of the human body; When the indoor moving object is a toy, the first opening information is determined according to the moving speed and moving direction of the toy.

5. The method according to claim 3, characterized in that: After obtaining the target opening information, the method further includes: When the indoor sensing unit detects that there is an indoor moving object within the first set range of the smart window, the opening adjustment speed of the target smart window is determined according to the moving direction, moving speed and target opening information of the moving object; The step of controlling the opening of the target smart window according to the target opening information comprises: The opening of the target smart window is controlled according to the target opening information and the opening adjustment speed.

6. The method according to claim 5, characterized in that The step of determining the opening adjustment speed of the target smart window according to the moving direction, moving speed and target opening information of the moving object comprises: When the moving direction of the moving object is toward the target smart window, determining a moving distance of the target smart window from a current opening to a target opening corresponding to the target opening information; Determine the time length for the moving object to move to the target smart window according to the moving speed of the moving object and the distance between the moving object and the target smart window; The opening adjustment speed of the target smart window is determined according to the moving distance and the duration.

7. The method according to claim 1, characterized in that The step of adjusting the initial opening information according to the indoor environment information and the outdoor environment information to obtain the target opening information includes: Determining first opening information according to the indoor environment information; Determining second opening information according to the outdoor environment information; The initial opening information is adjusted according to the first opening information and the second opening information to obtain target opening information.

8. An intelligent window automatic control device, characterized in that: include: The receiving module is configured to: upon receiving a control instruction sent by a user for controlling the opening of a target smart window, determine initial opening information corresponding to the control instruction; The determination module is configured to: determine whether the current indoor environment meets the preset indoor environment requirements according to the indoor environment information currently detected by the indoor sensing unit; determine whether the current outdoor environment meets the preset outdoor environment requirements according to the outdoor environment information currently detected by the outdoor sensing unit; wherein the indoor environment requirements are one of the following or a combination of more than one: the concentration of the specified gas in the indoor environment does not exceed the set concentration threshold, and no indoor moving objects are detected within the first setting range of the smart window; the outdoor environment requirements are one of the following or a combination of more than one: no rain signal is detected, no outdoor moving objects are detected within the second setting range of the smart window, the outdoor air quality meets the set air quality requirements, and the noise decibel is less than the set decibel threshold; an adjustment module, configured to: when the current indoor environment does not meet the indoor environment requirement, or the current outdoor environment does not meet the outdoor environment requirement, adjust the initial opening information according to the indoor environment information, or the indoor environment information and the outdoor environment information, to obtain the target opening information; The control module is configured to control the opening of the target smart window according to the target opening information.

9. An electronic device, characterized in that: The invention comprises a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor can execute the machine executable instructions to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.