Control method, device and equipment of intelligent window and storage medium

CN117328765BActive Publication Date: 2026-09-11SHENZHEN HOPO WINDOW CONTROL TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311240638.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-22
Publication Date
2026-09-11
Estimated Expiration
2043-09-22

AI Technical Summary

Technical Problem

[0004]鉴于上述问题,本发明实施例提供了一种智能窗户的控制方法,用于解决现有技术中现有开关窗方式难以满足用户对智能家居的需求的技术问题

Benefits of technology

[0040] This invention achieves the goal of intelligently closing windows based on real-time weather conditions, thereby solving the technical problem that existing window opening and closing methods cannot meet users' needs for smart homes. It obtains real-time weather information for the current window's location and matches control commands in the current application scenario based on the real-time weather. If the window is open and the matched control command is a window closing command, the window is closed, and the generation method of the last control command is stored as intelligent matching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117328765B_ABST
    Figure CN117328765B_ABST
Patent Text Reader

Abstract

The embodiment of the application relates to the technical field of intelligent windows, and discloses a control method, device and equipment of an intelligent window and a storage medium, the method comprising: acquiring real-time weather of a position where a current window is located, matching a control instruction in a current application scene according to the real-time weather, detecting an opening and closing state of the current window, if the window is in an opening state and the matched control instruction is a window closing instruction, controlling the window to close, and storing a generation mode of the last control instruction as intelligent matching, so as to realize intelligent closing of the intelligent window, and to meet the demand of a user on smart home which cannot be met by an existing opening and closing mode of a window.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent window control technology, specifically to a control method, device, equipment, and storage medium for an intelligent window. Background Technology

[0002] In existing technologies, windows, as general components of buildings or various means of transportation, serve both lighting and protection functions. Generally, windows are operated by manually pushing mechanical components to open and close them, or by adding a motor and opening and closing them via buttons or remote start.

[0003] However, in the various existing operating methods, the control actions are all actively controlled by humans, which is difficult to meet people's current requirements for smart homes. Summary of the Invention

[0004] In view of the above problems, embodiments of the present invention provide a control method for a smart window, which solves the technical problem that existing window opening and closing methods are difficult to meet users' needs for smart homes.

[0005] According to one aspect of the present invention, a control method for a smart window is provided, the method comprising:

[0006] Get the real-time weather for the current window's location;

[0007] The control commands in the current application scenario are matched based on the real-time weather, and the generation method of the control commands includes intelligent matching;

[0008] Detect the current open / closed status of the window;

[0009] If the window is open and the matched control command is a window-closing command, then the window is controlled to close, and the generation method of the last control command is stored as smart matching.

[0010] In an alternative approach, the generation of the control command further includes user input, and after the step of detecting the current window's open / closed state, it further includes:

[0011] If the window is closed and the matched control command is an open window command, then the stored generation method of the last control command is called and it is determined whether it is user input.

[0012] If the control command was generated by user input in the previous instance, then the window opening command will be stopped and the process will return to obtaining the real-time weather.

[0013] In one optional approach, the method for determining the generation mode of the control command is as follows: if the current control command is generated by executing the step of matching the control command in the current application scenario based on the real-time weather, then the generation mode of the control command is intelligent matching;

[0014] If the current control command is generated based on user voice, user remote transmission information, user action, or user key press information, then the control command is generated by user input. The user action includes actions marked as closing a window or actions that detect the mechanical structure of closing the window being pushed to a target flag position. The target flag position includes a closed window position and at least one open window position.

[0015] In one alternative approach, prior to the step of obtaining the real-time weather at the current window's location, the method further includes:

[0016] Establish a window account and at least one personal account corresponding to the window information. The personal account includes personal name, personal location information, personal location update time, and personal identity information. The window account includes window sequence, window status information, and real-time window location information.

[0017] In an optional approach, after the step of calling the stored method for generating the last control command and determining whether it was user input if the window is closed and the matched control command is an open window command, the method further includes:

[0018] If the control command was generated by user input in the previous instance, then the position detection method is initiated, and the position detection method is as follows:

[0019] At time N, obtain the personal location information of all the personal accounts and the real-time window location information of the window account;

[0020] Calculate the first distance value between the personal location information and the real-time window location information in sequence. When the first distance value is less than a preset distance value, store the distance value as the initial distance value.

[0021] At time N+1, the personal location information of the personal account corresponding to the initial distance value and the real-time window location information in the window account are obtained, and a second distance value between the personal location information and the real-time window location information is calculated. When the second distance value is less than a preset distance value, the second distance value is stored as a secondary distance value; N is greater than or equal to 1.

[0022] If the initial distance value is greater than or equal to the secondary distance value, the window opening command is executed and the window is controlled to open, and the generation method of the previous control command is stored as smart matching.

[0023] In one alternative approach, after the step of calculating the distance value between the personal location information and the real-time window location information and storing it as a second distance value, the method further includes:

[0024] If the initial distance value is less than the secondary distance value, then stop executing the window opening command and return to obtain the real-time weather.

[0025] In an optional approach, after the step of calling the stored method for generating the last control command and determining whether it was user input if the window is closed and the matched control command is an open window command, the method further includes:

[0026] If the control command was generated by user input in the previous instance, then the position detection method is initiated, and the position detection method is as follows:

[0027] At time N, obtain the personal location information of all the personal accounts and the real-time window location information of the window account;

[0028] Calculate the third distance value between the personal location information and the real-time window location information in sequence, and store the third distance value as the first personal distance value of the personal account;

[0029] At time N+1, the personal location information of the personal account corresponding to the initial distance value and the real-time window location information in the window account are obtained, and the fourth distance value between the personal location information and the real-time window location information is calculated. The fourth distance value is stored as the second personal distance value of the personal account; N is greater than or equal to 1.

[0030] If the first personal distance value of any of the aforementioned personal accounts is greater than or equal to the second personal distance value, and the second personal distance value is less than a preset distance value, then the window opening command is executed and the window is controlled to open, and the generation method of the last control command is stored as smart matching.

[0031] According to another aspect of the present invention, a control device for a smart window is provided, the control device for the smart window comprising:

[0032] The parameter acquisition module is used to obtain the real-time weather for the current window's location;

[0033] The calculation module is used to match control commands in the current application scenario based on the real-time weather, wherein the control commands are generated by intelligent matching.

[0034] The monitoring module is used to detect the current open / closed status of the window;

[0035] The processing module is configured to control the window to close when the window is open and the matched control command is a window closing command, and to store the generation method of the last control command as a smart match.

[0036] According to another aspect of the present invention, a control device for a smart window is provided, comprising:

[0037] The processor, memory, communication interface, and communication bus are provided, wherein the processor, memory, and communication interface communicate with each other via the communication bus.

[0038] The memory is used to store at least one executable instruction that causes the processor to perform the operation of the smart window control method as described above.

[0039] According to another aspect of the present invention, a storage medium is provided, wherein at least one executable instruction is stored therein, which, when executed on a control device / apparatus for a smart window, causes the control device / apparatus for the smart window to perform the operation of the control method for a smart window as described above.

[0040] This invention achieves the goal of intelligently closing windows based on real-time weather conditions, thereby solving the technical problem that existing window opening and closing methods cannot meet users' needs for smart homes. It obtains real-time weather information for the current window's location and matches control commands in the current application scenario based on the real-time weather. If the window is open and the matched control command is a window closing command, the window is closed, and the generation method of the last control command is stored as intelligent matching.

[0041] The above description is merely an overview of the technical solutions of the embodiments of the present invention. In order to better understand the technical means of the embodiments of the present invention and to implement them in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the embodiments of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

[0042] The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:

[0043] Figure 1 A flowchart illustrating a first embodiment of the intelligent window control method provided by the present invention is shown.

[0044] Figure 2 A flowchart illustrating a second embodiment of the intelligent window control method provided by the present invention is shown.

[0045] Figure 3 A flowchart illustrating a third embodiment of the intelligent window control method provided by the present invention is shown.

[0046] Figure 4 A flowchart illustrating a fourth embodiment of the intelligent window control method provided by the present invention is shown.

[0047] Figure 5 A schematic diagram of the structure of a first embodiment of the control device for a smart window provided by the present invention is shown.

[0048] Figure 6 A schematic diagram of an embodiment of the control device for the smart window provided by the present invention is shown. Detailed Implementation

[0049] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. Although exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention may be implemented in various forms and should not be limited to the embodiments set forth herein.

[0050] The following analysis, based on relevant technologies, examines existing solutions for smart windows.

[0051] Smart home technology remains one of the most popular fields. In the current field, by setting up motors and matching mechanical push-pull components, windows can be opened and closed directly by buttons to achieve electric window opening. However, the window opening and closing method used is merely a switch from manual to automatic button opening and closing. Compared with the control methods of other smart home appliances that can realize multiple application scenarios, the control method of smart windows is not smart enough and fails to meet the technical problems of users' needs for smart homes.

[0052] This application provides a smart window control method that comprehensively considers various factors affecting window closing and opening. It can acquire and analyze multiple factors, and match corresponding control commands based on the analysis results, thereby solving the technical problem that existing window opening and closing methods cannot meet users' needs for smart homes.

[0053] In one implementation scenario, refer to Figure 1 As shown, this solution is based on a user terminal, a window position detector, a window, and a window opening and closing control component.

[0054] The user terminal is used to obtain user account information, the cloud is used to output real-time weather information, the window position detector is used to detect the window opening and closing status, and the window opening and closing control component is used to control the window opening and closing action.

[0055] In one possible implementation scenario, the smart window control method of this solution can be applied to various window opening and closing control components.

[0056] Figure 1 A flowchart illustrating a first embodiment of the control method for a smart window according to the present invention is shown. This control method is executed by a control device, equipment, and storage medium device for the smart window. Figure 1 As shown, the method includes the following steps:

[0057] The method includes:

[0058] Step S1: Obtain the real-time weather for the current window's location;

[0059] Real-time weather is a physical quantity that includes parameters such as rainfall, wind speed, rainfall time, weather information update time, temperature, light intensity, sunrise and sunset times, and weather forecast location.

[0060] Step S2: Match control commands in the current application scenario based on the real-time weather, wherein the control commands are generated by intelligent matching.

[0061] In actual matching, the decision to match window opening / closing commands can be based on a comprehensive assessment of rainfall, wind speed, and rainfall duration. For example, when rainfall is zero and wind speed is 1-2, an open window command is triggered to allow for indoor ventilation. If there is a need to dry clothes, parameters such as temperature, light intensity, and sunrise / sunset time can be added to determine the ventilation time, i.e., how long after the open window command is executed will the close window command be triggered. Alternatively, when rainfall exceeds a certain threshold or wind speed exceeds a certain threshold, it is determined that the windows need to be closed to prevent water from entering and to ensure dryness. In this case, a close window command is triggered to close the windows. The parameters for triggering the relevant open / closing commands can be initially set. It should be noted that the matching of open / closing commands and the degree of window opening can also be set according to user perception. For example, if a user prefers to keep the windows open during light rain, the trigger rainfall for the close window command can be set to a higher threshold, or a smaller angle of window opening command can be matched for less rainfall.

[0062] Step S3: Detect the current window's open / closed status;

[0063] At this time, the window opening and closing status can be detected by detecting whether the relevant window switch is closed to determine whether the window is open, or by detecting the distance or angle between the window and the window frame, or by directly using various existing technologies for detecting the window opening and closing status.

[0064] Step S4: If the window is open and the matched control command is a window closing command, then control the window to close and store the generation method of the last control command as smart matching.

[0065] This invention achieves the goal of intelligently closing windows based on real-time weather conditions, thereby solving the technical problem that existing window opening and closing methods cannot meet users' needs for smart homes. It obtains real-time weather information for the current window's location and matches control commands in the current application scenario based on the real-time weather. If the window is open and the matched control command is a window closing command, the window is closed, and the generation method of the last control command is stored as intelligent matching.

[0066] In one embodiment, such as Figure 2 As shown, the control method for the smart window further includes:

[0067] Step S5: If the window is closed and the matched control command is an open window command, then call the stored generation method of the last control command and determine whether it is user input.

[0068] It should be noted that the window opening command at this time includes the command to control the window to open at any angle. In the initial process, the generation method of the last control command can be set according to the application of the window. For example, when the window is used at home, the generation method of the last control command can be set to smart matching. When it is used in a vehicle, for safety reasons, the generation method of the last control command can be set to user input, which can facilitate the next safety control.

[0069] Step S6: If the control command was generated by user input in the previous step, stop executing the window opening command and return to obtain the real-time weather.

[0070] Since the user may have been away when the window was last closed, if the window is opened for a short time, it may be fine, but if it is open for a long time, it may allow creatures such as rats and cockroaches to enter, and it is also easy for dust to accumulate. Therefore, detecting whether the last control command was entered by the user can effectively identify this situation and prevent the user from being away for a long time, especially if the weather is good. This can prevent the smart window from being opened for a long time when the user is not at home, thus avoiding dust accumulation and safety issues.

[0071] Furthermore, after executing the window opening command, the window opening time is accumulated, and after the window opening time reaches the preset ventilation duration, the window is controlled to close.

[0072] The above solutions can avoid prolonged window opening due to relatively stable weather. By accumulating the ventilation time, the possibility of rodents such as rats and cockroaches entering the room can be reduced, and dust accumulation due to prolonged window opening can also be avoided.

[0073] In an optional embodiment, the method for determining the generation mode of the control command is as follows: if the current control command is generated by executing the step of matching the control command in the current application scenario according to the real-time weather, then the generation mode of the control command is intelligent matching;

[0074] If the current control command is generated based on user voice, user remote transmission information, user action, or user key press information, then the control command is generated by user input. The user action includes actions marked as closing a window or actions that detect the mechanical structure of closing the window being pushed to a target flag position. The target flag position includes a closed window position and at least one open window position.

[0075] In the above implementation scheme, classifying the generation method by source can help the machine quickly determine whether the control command is subjectively controlled by the user when making the next execution judgment of the relevant thread. This facilitates the next intelligent control behavior, realizes more interaction between people and the window, and even when the user has not issued a specific command for the next step, it can predict the user's action based on whether the previous command was user input, and then determine whether the next intelligently matched control command needs to be executed.

[0076] In an optional embodiment, prior to the step of obtaining the real-time weather at the current window's location, the method further includes:

[0077] Establish a window account and at least one personal account corresponding to the window information. The personal account includes personal name, personal location information, personal location update time, and personal identity information. The window account includes window sequence, window status information, and real-time window location information.

[0078] In practical use, dedicated software or mini-programs are typically developed for window control. The creation of window accounts and at least one corresponding personal account is done at this stage. The window account includes window sequences that can be numbers, user-given names, or a combination of both. Window status information indicates the window's open / closed state, and in case of command execution problems, the window's open / closed state can be updated to a fault state and recorded. Real-time window location information is location information that is updated periodically, which is particularly important when windows are used in vehicles.

[0079] In an alternative embodiment, such as Figure 3As shown, after the step of calling the stored generation method of the last control command and determining whether it is user input if the window is closed and the matched control command is an open window command, the method further includes:

[0080] If the control command was generated by user input in the previous instance, then the position detection method is initiated, and the position detection method is as follows:

[0081] S71. At time N, obtain the personal location information of all the personal accounts and the real-time window location information in the window account;

[0082] At this point, a personal account can include accounts belonging to multiple family members, including parents and children. If the window is used in a vehicle, it needs to be updated in real time. If it is used in a residence, it can be updated periodically. The location can be determined by the GPS positioning module of the window. The personal location information of the individual account is obtained by the software installed on the user's terminal.

[0083] S72. Calculate the first distance value between the personal location information and the real-time window location information in sequence. When the first distance value is less than the preset distance value, store the distance value as the initial distance value.

[0084] The preset distance value can be set according to the application of the window. In a vehicle, opening the window too early might be unsafe, while in a residence, opening it too early also poses a safety risk, and opening it too late might result in insufficient ventilation time. Therefore, a preset distance value is needed to ensure both ventilation and safety. Additionally, the time required for the user to reach the window can be estimated based on personal information and past data records. This time is then compared to the required ventilation time; that is, the required ventilation time multiplied by the user's speed approximately equals the preset distance value. This ensures that the user's distance from the preset distance is just enough to meet the time needed to reach the window. Therefore, if the initial distance value is less than the preset distance value, it means the user can quickly approach the window.

[0085] S73. At time N+1, obtain the personal location information of the personal account corresponding to the initial distance value and the real-time window location information in the window account, and calculate the second distance value between the personal location information and the real-time window location information. When the second distance value is less than a preset distance value, store the second distance value as a secondary distance value; N is greater than or equal to 1.

[0086] At this point, by monitoring the distance of each account over a period of time, if the second distance value is less than the preset distance value, it means that the user can quickly approach the location of the window.

[0087] S74. If the initial distance value is greater than or equal to the secondary distance value, then execute the window opening command and control the window to open, and store the generation method of the previous control command as smart matching.

[0088] By comparing the initial distance value and the secondary distance value using the above method, if the initial distance value is greater than or equal to the secondary distance value, it indicates that the user is moving towards the window. Therefore, this judgment can accurately determine the movement of a single user relative to the window. This embodiment avoids situations where the user is away for extended periods and the weather is consistently good, thus preventing dust accumulation and safety issues caused by prolonged window opening due to the user's absence. Furthermore, it can issue a window-opening command in advance when the user returns home, ensuring ventilation before the user arrives or drives away.

[0089] Furthermore, in order to increase the accuracy of judging the user's movement direction, steps S71-S73 can be repeated. When the initial distance value is greater than or equal to the secondary distance value, an approach value is accumulated until the approach value meets a preset number of times. Then, the window opening command is executed and the window is controlled to open, and the generation method of the previous control command is stored as smart matching.

[0090] At this time, the proximity value satisfies a preset number of times, that is, the initial distance value is greater than or equal to the secondary distance value multiple times. In order to more accurately determine that the user has relative movement, the condition can also be set to the initial distance value being greater than the secondary distance value.

[0091] In an optional embodiment, after the step of calculating the distance value between the personal location information and the real-time window location information and storing it as a secondary distance value, the method further includes:

[0092] If the first distance value is less than the second distance value, then stop executing the window opening command and return to obtain the real-time weather.

[0093] If the initial distance value is less than the secondary distance value, it indicates that the user is moving away from the window and therefore needs to close the window to avoid intelligent window opening and achieve a more stable window closing operation.

[0094] In an alternative embodiment, reference Figure 4 As shown, after the step of calling the stored generation method of the last control command and determining whether it is user input if the window is closed and the matched control command is an open window command, the method further includes:

[0095] If the control command was generated by user input in the previous instance, then the position detection method is initiated, and the position detection method is as follows:

[0096] S81. At time N, obtain the personal location information of all the personal accounts and the real-time window location information in the window account;

[0097] At this point, a personal account can include accounts belonging to multiple family members, including parents and children. If the window is used in a vehicle, it needs to be updated in real time. If it is used in a residence, it can be updated periodically. The location can be determined by the GPS positioning module of the window. The personal location information of the individual account is obtained by the software installed on the user's terminal.

[0098] S82. Calculate the third distance value between the personal location information and the real-time window location information in sequence, and store the third distance value as the first personal distance value of the personal account;

[0099] S83. At time N+1, obtain the personal location information of the personal account corresponding to the initial distance value and the real-time window location information in the window account, and calculate the fourth distance value between the personal location information and the real-time window location information, and store the fourth distance value as the second personal distance value of the personal account; N is greater than or equal to 1;

[0100] S84. If the first personal distance value of any of the personal accounts is greater than or equal to the second personal distance value, and the second personal distance value is less than a preset distance value, then execute the window opening command and control the window to open, and store the generation method of the last control command as smart matching.

[0101] The preset distance value can be set according to the application of the window. In a vehicle, opening the window too early might be unsafe, while in a residence, opening it too early also poses a safety risk, and opening it too late might result in insufficient ventilation time. Therefore, a preset distance value is needed to ensure both ventilation and safety. Additionally, the time required for a user to reach the window can be estimated based on personal information and past data records. This time is then compared to the required ventilation time; that is, the required ventilation time multiplied by the user's speed approximately equals the preset distance value. This ensures that the user's distance from the preset distance is just enough to meet the time needed to reach the window. Therefore, if the second person's distance value is less than the preset distance value, it means the user can quickly approach the window.

[0102] The above method compares the distance values ​​of the first person and the second person. If the distance value of the first person is greater than or equal to the distance value of the second person, it indicates that the user is moving towards the window. Therefore, this judgment can accurately determine the movement of a single user relative to the window. This embodiment avoids situations where the user is away for a long time and the weather is consistently good, thus preventing dust accumulation and safety issues caused by prolonged window opening due to the user being away from home. It also allows for timely window opening commands to be issued in advance when the user returns home, ensuring ventilation before the user arrives or drives away.

[0103] Furthermore, in order to increase the accuracy of judging the user's movement direction, steps S81-S83 can be repeated. When the distance value of the first person is greater than or equal to the distance value of the second person, and the distance value of the second person is less than a preset distance value, a proximity value is accumulated once until the proximity value meets the preset number of times. Then, the window opening command is executed and the window is controlled to open, and the generation method of the previous control command is stored as smart matching.

[0104] At this time, the proximity value satisfies a preset number of times, that is, the first person's distance value is greater than or equal to the second person's distance value multiple times. In order to more accurately determine that the user has relative movement, the condition can also be set to the first person's distance value being greater than the second person's distance value.

[0105] In an optional embodiment, after the step of obtaining the personal location information of the personal account corresponding to the initial distance value and the real-time window location information in the window account at time N+1, calculating the fourth distance value between the personal location information and the real-time window location information, and storing the fourth distance value as the second personal distance value of the personal account, the method further includes:

[0106] If the first personal distance value of any of the aforementioned personal accounts is less than the second personal distance value, and the second personal distance value is less than a preset distance value, then the window opening command is stopped and the process returns to obtain the real-time weather.

[0107] If the distance value of the first person is less than the distance value of the second person, and the distance value of the second person is greater than the preset distance value, it indicates that the user is moving away from the location of the window, and therefore the window needs to be closed to avoid intelligent window opening and achieve a more stable window closing operation.

[0108] Figure 5 A schematic diagram of an embodiment of the control device for the smart window of the present invention is shown. Figure 5As shown, the control device 300 of the smart window includes: a parameter acquisition module 310, a calculation module 320, a detection module 330, and a processing module 340.

[0109] In one alternative approach, the parameter acquisition module 310 is used to acquire the real-time weather at the current location of the window;

[0110] The calculation module 320 is used to match control commands in the current application scenario based on the real-time weather, wherein the control commands are generated by intelligent matching.

[0111] Monitoring module 330 is used to detect the current open / closed state of the window;

[0112] The processing module 340 is used to control the window to close when the window is open and the matched control command is a window closing command, and to store the generation method of the last control command as intelligent matching.

[0113] In an alternative embodiment, the processing module 340 is further configured to, if the window is closed and the matching control command is an open window command, recall the stored generation method of the last control command and determine whether it is user input; if the generation method of the last control command was user input, stop executing the open window command and return to obtain the real-time weather.

[0114] In an optional manner, the processing module 340 is further configured to execute the method for determining the generation mode of the control command as follows: if the current control command is generated by executing the step of matching the control command in the current application scenario according to the real-time weather, then the generation mode of the control command is intelligent matching;

[0115] If the current control command is generated based on user voice, user remote transmission information, user action, or user key press information, then the control command is generated by user input. The user action includes actions that can be marked as closing a window or actions that detect the mechanical structure of closing the window being pushed to a target flag position. The target flag position includes a closed window position and at least one open window position.

[0116] In an alternative embodiment, the processing module 340 is further configured to establish a window account and at least one personal account corresponding to the window information. The personal account includes a personal name, personal location information, personal location update time, and personal identity information. The window account includes a window sequence, window status information, and real-time window location information.

[0117] In an alternative embodiment, the processing module 340 is further configured to initiate a position detection method if the previous generation of the control command was a user input, wherein the position detection method is as follows:

[0118] At time N, obtain the personal location information of all the personal accounts and the real-time window location information of the window account;

[0119] Calculate the first distance value between the personal location information and the real-time window location information in sequence. When the first distance value is less than a preset distance value, store the distance value as the initial distance value.

[0120] At time N+1, the personal location information of the personal account corresponding to the initial distance value and the real-time window location information in the window account are obtained, and a second distance value between the personal location information and the real-time window location information is calculated. When the second distance value is less than a preset distance value, the second distance value is stored as a secondary distance value; N is greater than or equal to 1.

[0121] If the initial distance value is greater than or equal to the secondary distance value, the window opening command is executed and the window is controlled to open, and the generation method of the previous control command is stored as smart matching.

[0122] In an alternative embodiment, the processing module 340 is further configured to stop executing the window opening command and return to obtain the real-time weather if the initial distance value is less than the secondary distance value.

[0123] In an alternative embodiment, the processing module 340 is further configured to initiate a position detection method if the previous generation of the control command was a user input, wherein the position detection method is as follows:

[0124] At time N, obtain the personal location information of all the personal accounts and the real-time window location information of the window account;

[0125] Calculate the third distance value between the personal location information and the real-time window location information in sequence, and store the third distance value as the first personal distance value of the personal account;

[0126] At time N+1, the personal location information of the personal account corresponding to the initial distance value and the real-time window location information in the window account are obtained, and the fourth distance value between the personal location information and the real-time window location information is calculated. The fourth distance value is stored as the second personal distance value of the personal account; N is greater than or equal to 1.

[0127] If the first personal distance value of any of the aforementioned personal accounts is greater than or equal to the second personal distance value, and the second personal distance value is less than a preset distance value, then the window opening command is executed and the window is controlled to open, and the generation method of the last control command is stored as smart matching.

[0128] This invention achieves the goal of intelligently closing windows based on real-time weather conditions, thereby solving the technical problem that existing window opening and closing methods cannot meet users' needs for smart homes. It obtains real-time weather information for the current window's location and matches control commands in the current application scenario based on the real-time weather. If the window is open and the matched control command is a window closing command, the window is closed, and the generation method of the last control command is stored as intelligent matching.

[0129] Figure 6 The diagram shows a structural schematic of an embodiment of the control device for the smart window of the present invention. The specific embodiments of the present invention do not limit the specific implementation of the control device for the smart window.

[0130] like Figure 6 As shown, the control device for the smart window may include: a processor 402, a communications interface 404, a memory 406, and a communications bus 408.

[0131] The processor 402, communication interface 404, and memory 406 communicate with each other via communication bus 408. Communication interface 404 is used to communicate with other network elements such as clients or other servers. The processor 402 executes program 410, specifically performing the relevant steps described in the embodiment of the control method for smart windows.

[0132] Specifically, program 410 may include program code, which includes computer-executable instructions.

[0133] Processor 402 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. The control device for the smart window includes one or more processors, which may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0134] Memory 406 is used to store program 410. Memory 406 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0135] Specifically, program 410 can be called by processor 402 to cause the control device of the smart window to perform the operation of the control method of the smart window as described above.

[0136] This invention provides a storage medium storing at least one executable instruction. When the executable instruction is executed on a smart window control device / app, the smart window control device / app executes the smart window control method in any of the above method embodiments.

[0137] The algorithms or displays provided herein are not inherently related to any particular computer, virtual system, or other device. Furthermore, the embodiments of this invention are not directed to any particular programming language.

[0138] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. Similarly, for the sake of brevity and to aid in understanding one or more aspects of the invention, in the description of exemplary embodiments of the invention above, various features of the embodiments are sometimes grouped together in a single embodiment, figure, or description thereof. The claims, which follow the detailed description, are hereby expressly incorporated into that detailed description, wherein each claim itself is a separate embodiment of the invention.

[0139] Those skilled in the art will understand that the modules in the device of the embodiment can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiment can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components, except that at least some of such features and / or processes or units are mutually exclusive.

[0140] It should be noted that the above embodiments are illustrative of the invention and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be construed as limiting the order of execution.

Claims

1. A control method for an intelligent window, characterized in that, The method includes: Get the real-time weather for the current window's location; The control commands in the current application scenario are matched based on the real-time weather, and the generation method of the control commands includes intelligent matching; Detect the current open / closed status of the window; If the window is open and the matched control command is a window closing command, then the window is closed and the generation method of the last control command is stored as smart matching. The method for generating the control commands also includes user input, and after the step of detecting the current window's open / closed state, it further includes: If the window is closed and the matched control command is an open window command, then the stored generation method of the last control command is called and it is determined whether it is user input. If the control command was generated by user input in the previous instance, then stop executing the window opening command and return to obtain the real-time weather; Before the step of obtaining the real-time weather of the current window's location, the method further includes: Establish a window account and at least one personal account corresponding to the window account. The personal account includes personal name, personal location information, personal location update time, and personal identity information. The window account includes window sequence, window status information, and real-time window location information. If the window is closed and the matched control command is an open window command, then after the step of calling the stored generation method of the last control command and determining whether it is user input, the method further includes: If the control command was generated by user input in the previous instance, then the position detection method is initiated, and the position detection method is as follows: At time N, obtain the personal location information of all the personal accounts and the real-time window location information of the window account; Calculate the first distance value between the personal location information and the real-time window location information in sequence. When the first distance value is less than a preset distance value, store the first distance value as the initial distance value. At time N+1, the personal location information of the personal account corresponding to the initial distance value and the real-time window location information in the window account are obtained, and a second distance value between the personal location information and the real-time window location information is calculated. When the second distance value is less than a preset distance value, the second distance value is stored as a secondary distance value; N is greater than or equal to 1. If the initial distance value is greater than or equal to the secondary distance value, the window opening command is executed and the window is controlled to open, and the generation method of the previous control command is stored as smart matching.

2. The control method for the intelligent window according to claim 1, characterized in that, The method for determining the generation mode of the control command is as follows: if the current control command is generated by executing the step of matching the control command in the current application scenario based on the real-time weather, then the generation mode of the control command is intelligent matching. If the current control command is generated based on user voice, user remote transmission information, user action, or user key press information, then the control command is generated by user input. The user action includes actions marked as closing a window or actions that detect the mechanical structure of closing the window being pushed to a target flag position. The target flag position includes a closed window position and at least one open window position.

3. The control method for the intelligent window according to claim 1, characterized in that, At time N+1, the personal location information of the personal account corresponding to the initial distance value and the real-time window location information in the window account are obtained, and a second distance value between the personal location information and the real-time window location information is calculated. When the second distance value is less than a preset distance value, the second distance value is stored as a secondary distance value. After the step where N is greater than or equal to 1, the following is further included: If the initial distance value is less than the secondary distance value, then stop executing the window opening command and return to obtain the real-time weather.

4. The control method for the intelligent window according to claim 1, characterized in that, If the window is closed and the matched control command is an open window command, then after the step of calling the stored generation method of the last control command and determining whether it is user input, the method further includes: If the control command was generated by user input in the previous instance, then the position detection method is initiated, and the position detection method is as follows: At time N, obtain the personal location information of all the personal accounts and the real-time window location information of the window account; Calculate the third distance value between the personal location information and the real-time window location information in sequence, and store the third distance value as the first personal distance value of the personal account; At time N+1, the personal location information of the personal account corresponding to the initial distance value and the real-time window location information in the window account are obtained, and a fourth distance value between the personal location information and the real-time window location information is calculated. The fourth distance value is stored as the second personal distance value of the personal account; N is greater than or equal to 1. If the distance value of the first person in any of the personal accounts is greater than or equal to the distance value of the second person, and the distance value of the second person is less than a preset distance value, then the window opening command is executed and the window is opened, and the generation method of the last control command is stored as smart matching.

5. A control device for an intelligent window, characterized in that, The control device for the smart window controls the execution of the control method for the smart window as described in any one of claims 1-4, wherein the control device for the smart window comprises: The parameter acquisition module is used to obtain the real-time weather for the current window's location; The calculation module is used to match control commands in the current application scenario based on the real-time weather, wherein the control commands are generated by intelligent matching. The monitoring module is used to detect the current open / closed status of the window; The processing module is configured to control the window to close when the window is open and the matched control command is a window closing command, and to store the generation method of the last control command as a smart match.

6. A control device for an intelligent window, characterized in that, include: The processor, memory, communication interface, and communication bus are provided, wherein the processor, memory, and communication interface communicate with each other via the communication bus. The memory is used to store at least one executable instruction that causes the processor to perform the operation of the smart window control method as described in any one of claims 1-4.

7. A storage medium, characterized in that, The storage medium stores at least one executable instruction, which, when executed on the control device / apparatus of the smart window, causes the control device / apparatus of the smart window to perform the operation of the control method of the smart window as described in any one of claims 1-4.

Citation Information

Patent Citations

  • Sunroof / window control method and system based on traffic conditions and weather, and onboard entertainment device

    CN107085965A