Intelligent window control method and device

By obtaining relevant information and environmental parameters for window operation, the system automatically determines the disabling time and controls the window movement, thus solving the problem of window operation requiring human intervention, improving convenience and stability, reducing energy consumption, and providing a comfortable user experience.

CN120608631APending Publication Date: 2025-09-09HANGZHOU LIFESMART TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511010307.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-22
Publication Date
2025-09-09

AI Technical Summary

Technical Problem

In the prior art, window operation requires human intervention, which wastes user time and poses the risk of operational conflicts.

Method used

By obtaining relevant information of the current operation, including the initial disabling time, target time, learning coefficient and attenuation coefficient, the target disabling time is automatically determined, and other operations are blocked during this period, and the window movement is intelligently controlled in combination with indoor environmental parameters.

Benefits of technology

It realizes automated window operation, improves convenience and stability, reduces energy consumption and provides a comfortable user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120608631A_ABST
    Figure CN120608631A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and discloses a control method and device for an intelligent window. The method comprises the following steps: acquiring related information of a current operation; wherein the related information comprises initial forbidden duration, target duration, a learning coefficient and an attenuation coefficient, the target duration indicates a time interval between a previous operation and a current operation of a current operation, and the current operation indicates an operation of closing or opening a window; determining a target forbidding duration corresponding to the current operation according to the related information; and within the duration of the target forbidding duration, stopping executing other operations except the current operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a control method and device for smart windows. Background Art

[0002] In the related art, manual operation of the window is required to open or close the window.

[0003] However, manually operating the windows wastes a lot of user's time.

[0004] Therefore, how to avoid wasting users' time becomes a technical problem that needs to be solved. Summary of the Invention

[0005] In view of this, the present invention provides a method and device for controlling a smart window.

[0006] In a first aspect, the present invention provides a method for controlling a smart window, the method comprising: obtaining relevant information of a current operation; wherein the relevant information comprises: an initial disabling time, a target time, a learning coefficient and an attenuation coefficient, the target time indicates the time interval between the previous operation of the current operation and the current operation, and the current operation indicates an operation of closing the window or opening the window; according to the relevant information, determining the target disabling time corresponding to the current operation; and stopping executing operations other than the current operation within the duration of the target disabling time.

[0007] The control method for smart windows provided in this embodiment obtains the initial disable duration, target duration, learning coefficient, and attenuation coefficient of the current window closing operation, and determines the target disable duration corresponding to the current operation based on the relevant information. That is, based on the obtained relevant information, the target disable duration corresponding to the current window closing operation can be automatically determined. On the one hand, the window closing or opening operation can be automatically executed. The user no longer needs to manually operate the window switch, which improves the convenience and efficiency of the operation. On the other hand, after the window closing operation is automatically executed, other operations other than the current window closing operation are stopped within the target disable duration. That is, during this specific time period, other instructions that may affect the window status or conflict with the window operation are shielded, effectively avoiding possible conflicts between the user's manual operation and the intelligent execution of the window closing operation, and ensuring the stability and reliability of the window operation.

[0008] In a possible implementation, obtaining relevant information of the current operation includes: obtaining a user interaction event for the window; and obtaining relevant information of the current operation when the user interaction event indicates a manual operation by the user.

[0009] The control method for smart windows provided in this embodiment obtains relevant information by obtaining user interaction events and determining whether they are manual operations. When the user interaction event indicates manual operation by the user, relevant information of the current operation is obtained, and the user's true intention in the current scenario can be perceived in real time.

[0010] In one possible implementation, the method further includes: obtaining indoor air quality, temperature, and humidity after the target disablement time period expires; and controlling the window to perform an action based on the air quality, temperature, and humidity; wherein the action includes opening or closing.

[0011] The smart window control method provided in this embodiment can intelligently control the movement of windows according to the indoor air quality, temperature and humidity by obtaining indoor air quality, temperature and humidity, thereby avoiding unnecessary energy consumption and reducing users' energy costs.

[0012] In one possible implementation, the windows are controlled to perform actions according to the air quality, temperature, and humidity, including: determining the window processing result according to the air quality, temperature, and humidity; when the window processing result indicates to open the window, controlling the window to open; when the window processing result indicates to close the window, controlling the window to close.

[0013] The smart window control method provided in this embodiment determines the window processing result based on the air quality, temperature and humidity; when the window processing result indicates to open the window, the window is controlled to open; when the window processing result indicates to close the window, the window is controlled to close. It can automatically determine the window processing result and control the opening and closing of the window, providing users with a more convenient and comfortable usage experience.

[0014] In one possible implementation, the window treatment result is determined based on the air quality, temperature and humidity, including: obtaining a first coefficient corresponding to the air quality, a second coefficient corresponding to the temperature and a third coefficient corresponding to the humidity; and determining the window treatment result based on the air quality, temperature, humidity, the first coefficient corresponding to the air quality, the second coefficient corresponding to the temperature and the third coefficient corresponding to the humidity.

[0015] The smart window control method provided in this embodiment can more accurately determine the window processing results corresponding to the air quality, temperature and humidity by referring to the first coefficient, the second coefficient and the third coefficient.

[0016] In one possible implementation, the method further includes: obtaining the historical time when the user processes the window after the target disablement time period ends; wherein the processing includes opening or closing; and when the current time reaches the historical time when the user processes the window, controlling the window to open or close.

[0017] The smart window control method provided in this embodiment obtains the historical time when the user handles the window, and controls the window to open or close when the current time reaches the historical time when the user handles the window. This can more intelligently control the opening or closing of the window and improve the user experience.

[0018] In a second aspect, the present invention provides a control device for a smart window, which includes: an acquisition module for acquiring relevant information of a current operation; wherein the relevant information includes: an initial disabling time, a target time, a learning coefficient, and an attenuation coefficient, the target time indicates the time interval between the previous operation of the current operation and the current operation, and the current operation indicates the operation of closing the window or opening the window; a determination module for determining the target disabling time corresponding to the current operation based on the relevant information; and a stop execution module for stopping the execution of other operations other than the current operation within the duration of the target disabling time.

[0019] In a third aspect, the present invention provides a computer device comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to execute the method for controlling smart windows of the first aspect or any corresponding embodiment thereof.

[0020] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for controlling a smart window according to the first aspect or any corresponding embodiment thereof.

[0021] In a fifth aspect, the present invention provides a computer program product comprising computer instructions for enabling a computer to execute the method for controlling a smart window according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. 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 paying any creative work.

[0023] Figure 1 is a flow chart of a method for controlling a smart window according to an embodiment of the present invention;

[0024] Figure 2 is a structural block diagram of a control device for a smart window according to an embodiment of the present invention;

[0025] Figure 3Schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0026] To make the purpose, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying 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 those skilled in the art without making creative efforts shall fall within the scope of protection of the present invention.

[0027] According to an embodiment of the present invention, an embodiment of a control method for a smart window is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0028] In this embodiment, a method for controlling a smart window is provided, which can be used in computer devices such as computers, servers, etc. Figure 1 FIG. 1 is a flow chart of a method for controlling a smart window according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0029] Step S101, obtain relevant information of the current operation; wherein, the relevant information includes: initial disabling time, target time, learning coefficient and attenuation coefficient, the target time indicates the time interval between the previous operation and the current operation, and the current operation indicates the operation of closing or opening the window.

[0030] The relevant information may indicate information used to determine the duration of disabling the window, wherein the relevant information includes: an initial disabling duration, a target duration, a learning coefficient, and a decay coefficient.

[0031] The initial ban time can be a pre-set ban time, such as 2 hours, 3 hours, etc., and is not specifically limited here. Learning coefficient and decay coefficient.

[0032] The target duration indicates the time interval between the previous operation and the current operation.

[0033] The current operation indicates an operation of closing a window or opening a window. The previous operation may indicate an operation of closing a window or opening a window. For example, the previous operation may indicate closing a window, and the current operation may indicate closing a window.

[0034] The learning coefficient can reflect the "intensity of influence" of the user's historical behavior (such as the habit of "disabling for 8 hours at night") on the current disablement duration.

[0035] The decay coefficient reflects how quickly the control interval decays relative to the disable duration. The longer the duration (the larger the interval), the more pronounced the decay.

[0036] Step S102: determining the target disabled duration corresponding to the current operation according to the relevant information.

[0037] After determining the above-mentioned relevant information, the target disabling duration corresponding to the current operation may be determined based on the relevant information.

[0038] As an example, the LSTM model is used for prediction optimization to determine the target disabling duration corresponding to the current operation.

[0039] Specifically, target disable duration = BaseTime × (1 + α × e^(-β × Δt)). α and β are learning parameters, and Δt is the time since the last operation. BaseTime: The base disable duration (e.g., 2 hours by default). α (alpha) is the learning coefficient, which controls the intensity of the impact of historical operations (α>0). β (beta) is the attenuation coefficient, which determines the decay rate of the time distance effect (β>0). Δt (deltat) is the time interval between the current time and the last similar manual operation. e^(-β×Δt) is an exponential decay term, indicating that the impact of historical operations decays over time.

[0040] Step S103: Stop executing other operations except the current operation during the target disabled time duration.

[0041] During the target disable time, only the current operation can be performed, and other operations cannot be performed. For example, if the current operation is to close the window, then during the target disable time, the window can only be closed, and cannot be opened or other operations.

[0042] The control method for smart windows provided in this embodiment obtains the initial disable duration, target duration, learning coefficient, and attenuation coefficient of the current window closing operation, and determines the target disable duration corresponding to the current operation based on the relevant information. That is, based on the obtained relevant information, the target disable duration corresponding to the current window closing operation can be automatically determined. On the one hand, the window closing or opening operation can be automatically executed. The user no longer needs to manually operate the window switch, which improves the convenience and efficiency of the operation. On the other hand, after the window closing operation is automatically executed, other operations other than the current window closing operation are stopped within the target disable duration. That is, during this specific time period, other instructions that may affect the window status or conflict with the window operation are shielded, effectively avoiding possible conflicts between the user's manual operation and the intelligent execution of the window closing operation, and ensuring the stability and reliability of the window operation.

[0043] In one possible implementation, step S101 includes:

[0044] Step S1011: Obtain user interaction events for the window.

[0045] User interaction events can indicate the user's operational behavior with "window-related devices" (such as smart window switches), including manual operations (such as pressing a switch or opening a window) and automatic operations (such as the system automatically closing a window based on temperature). For example, clicking the "open window" button on a mobile app, manually pulling the window handle, and using the voice command "close the window" are all user interaction events.

[0046] Through sensors, controllers and other devices, all user operations on windows (whether manual or automatic) are collected in real time or at regular intervals to form an event log.

[0047] Step S1012: When the user interaction event indicates a manual operation by the user, obtain relevant information of the current operation.

[0048] From the events collected by S1011, filter out "manual operation" type events and extract relevant information about the operation. For example, after detecting a manual operation, start the adaptive disable timer, freezing the automatic window opening logic during the time.

[0049] The control method for smart windows provided in this embodiment obtains relevant information by obtaining user interaction events and determining whether they are manual operations. When the user interaction event indicates manual operation by the user, relevant information of the current operation is obtained, and the user's true intention in the current scenario can be perceived in real time.

[0050] In one possible implementation, the method further includes:

[0051] Step S201: After the target disabled time period ends, obtain the indoor air quality, temperature, and humidity.

[0052] After the target disablement duration has expired, meaning that the window no longer needs to be prohibited from performing operations other than the current operation, the window's intelligent operation can be performed. Indoor air quality, temperature, and humidity can be obtained, and the air quality, temperature, and humidity are parameters used to determine the window's automatic control logic.

[0053] Step S202: Control the windows to operate according to the air quality, temperature, and humidity; the operation includes opening or closing.

[0054] After determining the air quality, temperature and humidity, the windows can be controlled to open or close according to the air quality, temperature and humidity.

[0055] As an example, the air quality, temperature, and humidity are compared with their corresponding preset thresholds to determine whether it is necessary to improve the indoor environment by opening / closing the windows, and finally drive the windows to perform corresponding actions.

[0056] As an example, a total coefficient is determined based on air quality, temperature, and humidity, and then the total coefficient is compared with the preset coefficient to determine whether it is necessary to improve the indoor environment by opening / closing the window, and finally drive the window to perform the corresponding action.

[0057] The smart window control method provided in this embodiment can intelligently control the movement of windows according to the indoor air quality, temperature and humidity by obtaining indoor air quality, temperature and humidity, thereby avoiding unnecessary energy consumption and reducing users' energy costs.

[0058] In one possible implementation, step S202 includes:

[0059] Step S2021, determining the window treatment result according to the air quality, temperature and humidity.

[0060] Step S2022: When the window processing result indicates to open the window, control the window to open.

[0061] Step S2023: When the window processing result indicates closing the window, control the window to close.

[0062] The window treatment result can indicate the window control mode, such as open or closed. The window treatment result can be determined numerically. Specifically, a numerical value can be determined based on the air quality, temperature, and humidity. The window treatment result is then determined based on a comparison between this numerical value and a threshold. If the window treatment result indicates opening the window, the window is controlled to open. If the window treatment result indicates closing the window, the window is controlled to close.

[0063] The smart window control method provided in this embodiment determines the window processing result based on the air quality, temperature and humidity; when the window processing result indicates to open the window, the window is controlled to open; when the window processing result indicates to close the window, the window is controlled to close. It can automatically determine the window processing result and control the opening and closing of the window, providing users with a more convenient and comfortable usage experience.

[0064] In one possible implementation, air quality can be prioritized for testing. When the air quality is acceptable, the window treatment result can be further determined based on the air quality, temperature, and humidity. Because air quality can affect the user's physical and mental safety, prioritizing air quality can prevent unacceptable air quality from causing user safety concerns when the window treatment result indicates opening the window.

[0065] In one possible implementation, step S2021 includes:

[0066] Step a1: Obtain a first coefficient corresponding to air quality, a second coefficient corresponding to temperature, and a third coefficient corresponding to humidity.

[0067] The first coefficient, the second coefficient and the third coefficient can be pre-set coefficients, wherein a coefficient relationship table can be pre-set. After determining the specific values ​​of the air quality, temperature and humidity, the corresponding coefficients can be determined according to the specific values, that is, the first coefficient corresponding to the air quality, the second coefficient corresponding to the temperature and the third coefficient corresponding to the humidity.

[0068] Step a2: determining the window treatment result according to the air quality, temperature, humidity, a first coefficient corresponding to the air quality, a second coefficient corresponding to the temperature, and a third coefficient corresponding to the humidity.

[0069] After determining the first coefficient corresponding to the air quality, the second coefficient corresponding to the temperature, and the third coefficient corresponding to the humidity, the window treatment result can be determined based on the air quality, temperature, humidity, the first coefficient corresponding to the air quality, the second coefficient corresponding to the temperature, and the third coefficient corresponding to the humidity.

[0070] As an example, the following formula can be used to determine the window treatment result:

[0071] F=T×M1+φ×(1-M2)+AQI×M3; wherein F is the comprehensive value, T is the temperature, φ is the humidity, AQI is the air quality, M1 is the first coefficient, M2 is the second coefficient, and M3 is the third coefficient.

[0072] After the comprehensive value is determined, the window processing result can be determined based on the comparison result between the comprehensive value and the threshold value.

[0073] The smart window control method provided in this embodiment can more accurately determine the window processing results corresponding to the air quality, temperature and humidity by referring to the first coefficient, the second coefficient and the third coefficient.

[0074] In one possible implementation, the method further includes:

[0075] Step S301, after the target disable time duration ends, obtain the historical time of the user processing the window; wherein processing includes opening or closing.

[0076] After the target disable time period expires, the historical time of the user handling the window can be obtained. The historical time of the user handling the window can be a pre-recorded time. For example, if the user often closes the window at 8 pm, then the user often closes the window at 8 pm as the historical time of the user handling the window.

[0077] Step S302: When the current time reaches the historical time when the user processes the window, the window is controlled to be opened or closed.

[0078] If the current time reaches the historical time when the user handles the window, the operation recorded in the user's history can be automatically executed. For example, if the user often closes the window at 8 pm, then when the time reaches 8 pm, the window can be controlled to close.

[0079] The smart window control method provided in this embodiment obtains the historical time when the user handles the window, and controls the window to open or close when the current time reaches the historical time when the user handles the window. This can more intelligently control the opening or closing of the window and improve the user experience.

[0080] In this embodiment, a control device for a smart window is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the details that have been described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and conceivable.

[0081] This embodiment provides a control device for a smart window, such as Figure 2As shown, it includes: an acquisition module 201, which is used to obtain relevant information of the current operation; wherein the relevant information includes: an initial disabling time, a target time, a learning coefficient and an attenuation coefficient, the target time indicates the time interval between the previous operation of the current operation and the current operation, and the current operation indicates the operation of closing the window or opening the window; a determination module 202, which is used to determine the target disabling time corresponding to the current operation according to the relevant information; a stop execution module 203, which is used to stop executing other operations except the current operation within the duration of the target disabling time.

[0082] In a possible implementation, the acquisition module 201 includes: a first acquisition unit, configured to acquire a user interaction event for a window; and a second acquisition unit, configured to acquire relevant information of the current operation when the user interaction event indicates a manual operation by the user.

[0083] In one possible implementation, the above-mentioned device also includes: a parameter acquisition module, which is used to obtain the indoor air quality, temperature and humidity after the target disabling time period ends; a control module, which is used to control the window to perform an action according to the air quality, temperature and humidity; wherein the action includes opening or closing.

[0084] In one possible implementation, the control module includes: a determination unit for determining a window processing result based on air quality, temperature, and humidity; a first control unit for controlling the window to open when the window processing result indicates that the window is to be opened; and a second control unit for controlling the window to close when the window processing result indicates that the window is to be closed.

[0085] In one possible implementation, the determination unit includes: an acquisition subunit, used to obtain a first coefficient corresponding to the air quality, a second coefficient corresponding to the temperature, and a third coefficient corresponding to the humidity; a determination subunit, used to determine the window processing result based on the air quality, temperature, humidity, the first coefficient corresponding to the air quality, the second coefficient corresponding to the temperature, and the third coefficient corresponding to the humidity.

[0086] In one possible implementation, the above-mentioned device also includes: a historical time acquisition module, which is used to obtain the historical time of the user processing the window after the duration of the target disabled time period ends; wherein the processing includes opening or closing; an opening or closing control module, which is used to control the window to open or close when the current time reaches the historical time of the user processing the window.

[0087] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0088] The control device of the smart window in this embodiment is presented in the form of a functional unit, where the functional unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0089] The embodiment of the present invention also provides a computer device having the above Figure 2 The control device of the smart window shown.

[0090] See also Figure 3 , Figure 3 is a structural diagram of a computer device provided by an optional embodiment of the present invention, such as Figure 3 As shown, the computer device includes: one or more processors 10, memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components utilize different buses to communicate with each other and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in the memory or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Equally, multiple computer devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 3 A processor 10 is taken as an example.

[0091] The processor 10 may be a central processing unit, a network processor, or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic, or any combination thereof.

[0092] The memory 20 stores instructions that can be executed by at least one processor 10, so as to enable at least one processor 10 to execute the method shown in the above embodiment.

[0093] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created based on the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device 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.

[0094] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid-state drive; the memory 20 may also include a combination of the above types of memory.

[0095] The computer device further includes a communication interface 30 for the computer device to communicate with other devices or a communication network.

[0096] The embodiment of the present invention also provides a computer-readable storage medium. The above-mentioned method according to the embodiment of the present invention can be implemented in hardware, firmware, or implemented as a computer code that can be recorded in a storage medium, or implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor or hardware, the method shown in the above embodiment is implemented.

[0097] A portion of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the form in which the computer program instruction exists in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc. Accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium that can be accessed by the computer.

[0098] Although the embodiments of the present invention have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention. Such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for controlling a smart window, characterized in that: The method comprises: Obtaining relevant information about the current operation; wherein the relevant information includes: an initial disable duration, a target duration, a learning coefficient, and a decay coefficient; the target duration indicates the time interval between the last operation and the current operation; the current operation indicates an operation of closing or opening a window; Determine the target disabled duration corresponding to the current operation according to the relevant information; During the target disable time duration, other operations except the current operation are stopped.

2. The control method of the smart window according to claim 1, characterized in that: The information related to the current operation is obtained, including: Get user interaction events for windows; When the user interaction event indicates a manual operation by the user, relevant information of the current operation is obtained.

3. The control method of the smart window according to claim 1, characterized in that: The method further comprises: After the target disabled time period ends, obtain the indoor air quality, temperature, and humidity; The window is controlled to move according to the air quality, temperature and humidity; wherein the movement includes opening or closing.

4. The control method of the smart window according to claim 3, characterized in that: Controlling the window to operate according to the air quality, temperature, and humidity includes: determining a window treatment result based on the air quality, temperature, and humidity; When the window processing result indicates to open the window, controlling the window to open; When the window processing result indicates closing the window, the window is controlled to close.

5. The control method of the smart window according to claim 4, characterized in that: Determine window treatment results based on the air quality, temperature, and humidity, including: Obtaining a first coefficient corresponding to air quality, a second coefficient corresponding to temperature, and a third coefficient corresponding to humidity; A window treatment result is determined according to the air quality, temperature, humidity, a first coefficient corresponding to the air quality, a second coefficient corresponding to the temperature, and a third coefficient corresponding to the humidity.

6. The method for controlling a smart window according to claim 1, wherein: The method further comprises: After the target disabled time duration ends, obtaining the historical time of the user processing the window; wherein the processing includes opening or closing; When the current time reaches the historical time when the user processes the window, the window is controlled to be opened or closed.

7. A control device for a smart window, characterized in that: The device comprises: an acquisition module, configured to acquire relevant information of a current operation; wherein the relevant information includes: an initial disable duration, a target duration, a learning coefficient, and a decay coefficient; the target duration indicates the time interval between the last operation and the current operation; and the current operation indicates an operation of closing or opening a window. A determination module, configured to determine a target disabled duration corresponding to the current operation based on the relevant information; The execution stopping module is configured to stop executing operations other than the current operation within the duration of the target disabled time.

8. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the control method of the smart window according to any one of claims 1 to 6 by executing the computer instructions.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, which are used to enable a computer to execute the control method of the smart window according to any one of claims 1 to 6.

10. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the method for controlling a smart window according to any one of claims 1 to 6.