Handle control method and device

By setting up multiple sub-monitoring areas near the window, using speed sensors and environmental data, input them into the window switch confirmation model, and generating control information to automatically control the window switch, the problem that traditional hand control cannot achieve window automation operation is solved, and the problem of traditional hand control is realized Intelligent and personalized window control.

CN118280093BActive Publication Date: 2024-12-03RUIAN OUZHILUN BUILDING HARDWARE
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410414978.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-08
Publication Date
2024-12-03
Estimated Expiration
2044-04-08

AI Technical Summary

Technical Problem

Traditional handheld control cannot achieve automatic operation of windows and lacks intelligent features. Users need to manually rotate or push and pull the handheld to control the window opening range.

Method used

By setting up multiple sub-monitoring areas near the window, using speed sensors to obtain user activity data, combining environmental data and user behavior patterns, input it into the window switch confirmation model, and generating control information to automatically control window switches.

Benefits of technology

It realizes automatic operation and intelligent control of windows, can identify user behavioral intentions, provide personalized window control, and improve user experience and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118280093B_ABST
    Figure CN118280093B_ABST
Patent Text Reader

Abstract

The present application is applicable to the field of handle technology, and in particular, to a handle control method and device, the method comprising: obtaining a first activity event of a user in a first monitoring area; in response to the first activity event, determining a target area where the first activity event is located from multiple sub-monitoring areas; obtaining speed data of users in the target area; inputting the object data, position data, and speed data of the first activity event into a window switch confirmation model to obtain first prediction information of the window switch confirmation model; determining whether the first activity event is a person preparing to control the window switch operation according to the first prediction information; generating first control information when it is determined that the first activity event is a person preparing to control the window switch operation; wherein the first control information is used to control the window switch. The handle control method provided by the present application can solve the problem that the automatic operation of the window cannot be realized and the intelligent characteristics are lacking.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of handle technology, and in particular, relates to a handle control method and device. Background Art

[0002] The handle is a device installed on the door and window sash that has the function of opening and tightening after closing. When closing the door and window, the handle and other accessories can be used to firmly lock the open door and window sash to the fixed frame to fix the relative position of the inner and outer frames.

[0003] Traditional handle controls usually require users to manually rotate or push and pull the handle to control the opening range of the window. This cannot achieve automated operation of the window and lacks intelligent features. Summary of the invention

[0004] The embodiments of the present application provide a handle control method and device, which can solve the problem that when a user manually rotates or pushes and pulls the handle to control the opening range of the window, the window cannot be operated automatically and lacks intelligent features.

[0005] In a first aspect, an embodiment of the present application provides a handle control method, which is applied to a handle, and the handle is applied to a window. The method includes:

[0006] Obtaining a first activity event of a user in a first monitoring area; wherein the first monitoring area is an area within n decimeters from the window where the handle is installed, the first monitoring area includes a plurality of sub-monitoring areas, and each of the sub-monitoring areas includes at least one speed sensor;

[0007] In response to the first activity event, determining a target area where the first activity event is located from the plurality of sub-monitoring areas;

[0008] Acquire speed data of users in the target area;

[0009] Inputting the object data, the position data and the speed data of the first activity event into the window switch confirmation model to obtain first prediction information of the window switch confirmation model; wherein the object data includes data of adults' activities in the first monitoring area, data of minors' activities in the first monitoring area and data of adults' cleaning activities in the first monitoring area; the position data is used to reflect the position coordinates of the user's activities in the first monitoring area;

[0010] determining, according to the first prediction information, whether the first activity event is a person preparing to control a window switch operation;

[0011] In the case where it is determined that the first activity event is that a person is preparing to control the window switch operation, first control information is generated; the first control information is used to control the window switch.

[0012] The above technical solutions in the embodiments of the present application have at least the following technical effects:

[0013] The handle control method provided in the present application, firstly, can provide real-time data of the user in front of the window by acquiring the first activity event of the user in the first monitoring area, thereby providing data support for the subsequent prediction of whether to control the window switch operation by the handle, which is helpful to realize the automatic operation of the window. Secondly, in response to the first activity event, the target area where the first activity event is located is determined from multiple sub-monitoring areas, and the target area where the first activity event is located can be accurately located, which helps to take quick action to deal with potential risks or problems, such as unauthorized window opening, and notify relevant personnel to make corresponding decisions. It can also provide data support for subsequent intelligent control strategies for windows, such as automated window opening and closing or intelligent safety measures. Then, the speed data of the user in the target area is obtained, and unusual activities or behavior patterns in the window area can be identified. For example, the speed of moving quickly toward the window indicates that the user wants to open the window, so as to better understand the actual needs of the user and provide data support for the subsequent intelligent control strategy of the window to improve the user's control experience. Then, the object data, position data, and speed data of the first activity event are input into the window switch confirmation model to obtain the first prediction information of the window switch confirmation model, which can make smarter decisions based on user behavior patterns, such as automatically starting the safety lock when the activity of minors is detected, and then more accurately predicting and confirming the need to open or close the window, thereby helping to realize the automatic operation of the window. Secondly, according to the first prediction information, it is determined whether the first activity event is for a person to control the window switch operation, and the user's behavioral intention can be intelligently determined, thereby more accurately identifying the window control operation and improving the level of intelligent decision-making. Finally, when it is determined that the first activity event is for a person to control the window switch operation, the first control information is generated, and personalized control information can be generated according to the actual needs and behavior patterns of the user, including opening or closing the window, enabling the automatic locking function, etc., thereby providing window control that is closer to the actual situation of the user.

[0014] In a possible implementation manner of the first aspect, before determining, in response to the first activity event, a target area where the first activity event is located from the plurality of sub-monitoring areas, the step includes:

[0015] Acquiring environmental data; wherein the environmental data is used to reflect the environmental conditions of the space where the handle is used;

[0016] Determine whether the first monitoring area is in a high temperature state; wherein the high temperature state indicates that the indoor temperature is at least greater than 20 degrees;

[0017] If the environmental data reflects a summer condition and the first monitoring area is in a high temperature state, responding to a first activity event;

[0018] If the environmental data reflects the rainy season situation and the first monitoring area is not in a high temperature state, then no response is made to the first activity event.

[0019] In a possible implementation of the first aspect, the first monitoring area includes a plurality of calculation areas, each of the calculation areas is sequentially arranged along a direction of window ventilation, each of the calculation areas corresponds to a critical value, and determining whether the first activity event is a person preparing to control a window switch operation according to the first prediction information includes:

[0020] If the first prediction information satisfies a preset condition, determining a target calculation area where the first activity event is located from the plurality of calculation areas; wherein the preset condition includes that the first activity event is a person preparing to control a window switch operation;

[0021] According to the speed data and the critical value of the target calculation area, it is determined whether the first activity event is a person preparing to control the window switch operation.

[0022] In a possible implementation of the first aspect, judging, according to the speed data and the critical value of the target calculation area, whether the first activity event is a person preparing to control a window switch operation includes:

[0023] If the user in the target area is an adult, determining whether the speed data is greater than or equal to the critical value;

[0024] If the speed data is greater than or equal to the critical value, determining that the first activity event is a person preparing to control a window switch operation;

[0025] If the speed data is less than the critical value, it is determined that the first activity event is not intended for a person to control a window switch operation.

[0026] In a possible implementation of the first aspect, judging, according to the speed data and the critical value of the target calculation area, whether the first activity event is a person preparing to control a window switch operation includes:

[0027] If the user in the target area is an adult, determine whether there is a static value in the speed data; wherein the static value is used to indicate that the user changes from a moving state to a static state at every time period when the adult performs cleaning activities in the target area, the moving state is used to indicate that the speed data is greater than zero, and the static state is used to indicate that the speed data is equal to zero;

[0028] If there is no static value in the speed data, determining that the first activity event is that the person is ready to control the window switch operation;

[0029] If there is a static value in the speed data, it is determined that the first activity event is not for a person to control a window switch operation.

[0030] In a possible implementation of the first aspect, the determining, based on the speed data and the critical value of the target calculation area, whether the first activity event is a person preparing to control a window switch operation further includes:

[0031] If there is a static value in the speed data, the user's body posture data is obtained; wherein the body posture data is used to indicate whether the user is carrying an object, whether there are obstacles blocking the user's movement, and / or whether the user has a limb function defect;

[0032] If the body posture data meets the first condition, it is determined that the first activity event is that the person is preparing to control the window switch operation; wherein the first condition is that the user is holding an object, there is an obstacle blocking the user's movement and / or the user has a limb function defect.

[0033] In a possible implementation of the first aspect, the determining, based on the speed data and the critical value of the target calculation area, whether the first activity event is a person preparing to control a window switch operation further includes:

[0034] If the user of the target area is a minor, adjusting the critical value of the target calculation area to a first sub-critical value;

[0035] If the speed data is greater than or equal to the first sub-threshold value, determining that the first activity event is not for a person to control a window switch operation;

[0036] If the speed data is less than the first sub-critical value, the first activity event is determined to be the first operation in which a person is preparing to control the window switch operation, and a first operation instruction is generated; wherein the first operation instruction is used to indicate that the range of the rotating window opening is less than 15 degrees, and / or to indicate that the translation range of the sliding window is less than 10 centimeters.

[0037] In a possible implementation manner of the first aspect, after generating the first operation instruction, the method further includes:

[0038] Sending the first operation instruction to a terminal device of the user;

[0039] Receiving feedback data sent by the terminal device; wherein the feedback data is used to reflect the authorization status of unlocking doors and windows for minors;

[0040] If the feedback data indicates that the minor has obtained authorization to unlock the doors and windows, executing the first operation instruction;

[0041] If the feedback data indicates that the minor is not authorized to unlock the doors and windows, the first operation instruction is not executed.

[0042] In a possible implementation manner of the first aspect, if the feedback data indicates that the minor has obtained authorization to unlock doors and windows, executing the first operation instruction includes:

[0043] Determining a time limit for executing the first operation instruction;

[0044] According to the current time and the time period limit, determining whether the first operation instruction is within the time period in which execution is allowed;

[0045] If the first operation instruction is executed within the time period in which the execution of the first operation instruction is allowed, the first operation instruction is executed;

[0046] If the first operation instruction is not executed within the time period in which the execution of the first operation instruction is allowed, the first operation instruction is not executed.

[0047] In a possible implementation manner of the first aspect, determining a time limit for executing the first operation instruction includes:

[0048] Receive the valid time period and invalid time period set by the user on the terminal device and sent by the terminal device; wherein the valid time period refers to the time period during which the first operation is allowed to be performed, and the invalid time period refers to the time period during which the first operation is not allowed to be performed.

[0049] In a possible implementation manner of the first aspect, the first monitoring area includes at least one first invalid area, and determining, according to the first prediction information, whether the first activity event is a person preparing to control a window switch operation includes:

[0050] If the first prediction information meets the preset condition, determining whether the first activity event is in the first invalid area; wherein the first invalid area is an area of ​​the window where no handle is installed;

[0051] If the first activity event is in the first invalid area, it is determined that the first activity event is not intended for a person to control a window switch operation.

[0052] In a possible implementation manner of the first aspect, the first monitoring area includes at least one second invalid area, and determining whether the first activity event is a handle-controlled window switch operation according to the first prediction information further includes:

[0053] If the first prediction information meets the preset condition, determining whether the first activity event is in the second invalid area; wherein the second invalid area is an outdoor area of ​​the window where the handle is installed;

[0054] If the first activity event is in the second invalid area, it is determined that the first activity event is not intended for a person to control a window switch operation.

[0055] In a second aspect, an embodiment of the present application provides a handle control system, including:

[0056] A first acquisition unit, configured to acquire a first activity event of a user in a first monitoring area; wherein the first monitoring area is an area within n decimeters from the window where the handle is installed, the first monitoring area includes a plurality of sub-monitoring areas, and each of the sub-monitoring areas includes at least one speed sensor;

[0057] a response unit, configured to determine, in response to the first activity event, a target area where the first activity event is located from the plurality of sub-monitoring areas;

[0058] A second acquisition unit, configured to acquire speed data of users in the target area;

[0059] a confirmation unit, configured to input the object data, the position data and the speed data of the first activity event into a window switch confirmation model to obtain first prediction information of the window switch confirmation model; wherein the object data includes data of adults' activities in the first monitoring area, data of minors' activities in the first monitoring area and data of adults' cleaning activities in the first monitoring area; and the position data is used to reflect the position coordinates of the user's activities in the first monitoring area;

[0060] A determination unit, configured to determine whether the first activity event is a person preparing to control a window switch operation according to the first prediction information;

[0061] A generating unit is used to generate first control information when it is determined that the first activity event is a person preparing to control a window switch operation; wherein the first control information is used to control the window switch.

[0062] In a third aspect, an embodiment of the present application provides a handle control device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the handle control method described in any one of the first aspects above when executing the computer program.

[0063] It can be understood that the beneficial effects of the second to third aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0065] Figure 1 It is a flowchart of a handle control method provided in an embodiment of the present application;

[0066] Figure 2 It is a schematic diagram of the implementation flow of step S200 in the handle control method provided in one embodiment of the present application;

[0067] Figure 3 It is a schematic diagram of the implementation flow of step S500 in the handle control method provided in one embodiment of the present application;

[0068] Figure 4 1 is a schematic diagram of the implementation flow of step S520 in the handle control method provided in one embodiment of the present application;

[0069] Figure 5 is a schematic diagram of the implementation flow of step S520 in the handle control method provided in another embodiment of the present application;

[0070] Figure 6 is a schematic diagram of the implementation flow of step S520 in the handle control method provided in yet another embodiment of the present application;

[0071] Figure 7 is a schematic diagram of the implementation flow of step S520 in the handle control method provided in another embodiment of the present application;

[0072] Figure 8 It is a schematic diagram of the implementation flow after step S5293 in the hand control method provided in one embodiment of the present application;

[0073] Fig. 9 It is a schematic diagram of the implementation flow of step S5295 in the handle control method provided in one embodiment of the present application;

[0074] Fig.10 is a schematic diagram of the implementation flow of step S500 in the handle control method provided in another embodiment of the present application;

[0075] Fig.11 is a schematic diagram of the implementation flow of step S500 in the handle control method provided in yet another embodiment of the present application;

[0076] Fig.12 This is a schematic diagram of the structure of the handle control system provided in the embodiment of the present application.

[0077] Fig.13 It is a structural schematic diagram of the handle control device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0078] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0079] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0080] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0081] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0082] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0083] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0084] The handle is a device installed on the door and window sash that has the function of opening and tightening after closing. When closing the door and window, the handle and other accessories can be used to firmly lock the open door and window sash to the fixed frame to fix the relative position of the inner and outer frames.

[0085] Traditional handle controls usually require users to manually rotate or push and pull the handle to control the opening range of the window. This cannot achieve automated operation of the window and lacks intelligent features.

[0086] In order to solve the above problems, the embodiments of the present application provide a handle control method and device.

[0087] In this method, firstly, by acquiring the first activity event of the user in the first monitoring area, real-time data of the user in front of the window can be provided, thereby providing data support for the subsequent prediction of whether to control the window switch operation by the handle, which is helpful to realize the automatic operation of the window. Secondly, in response to the first activity event, the target area where the first activity event is located is determined from multiple sub-monitoring areas, and the target area where the first activity event is located can be accurately located, which helps to take quick action to deal with potential risks or problems, such as unauthorized window opening, and notify relevant personnel to make corresponding decisions. It can also provide data support for subsequent intelligent control strategies for windows, such as automated window opening and closing or intelligent safety measures. Then, by acquiring the speed data of the user in the target area, unusual activities or behavior patterns in the window area can be identified, such as the speed of moving quickly toward the window indicates that the user wants to open the window, so as to better understand the actual needs of the user and provide data support for the subsequent intelligent control strategy of the window to improve the user's control experience. Then, the object data, position data, and speed data of the first activity event are input into the window switch confirmation model to obtain the first prediction information of the window switch confirmation model, which can make smarter decisions based on user behavior patterns, such as automatically starting the safety lock when the activity of minors is detected, and then more accurately predicting and confirming the need to open or close the window, thereby helping to realize the automatic operation of the window. Secondly, according to the first prediction information, it is determined whether the first activity event is for a person to control the window switch operation, and the user's behavioral intention can be intelligently determined, thereby more accurately identifying the window control operation and improving the level of intelligent decision-making. Finally, when it is determined that the first activity event is for a person to control the window switch operation, the first control information is generated, and personalized control information can be generated according to the actual needs and behavior patterns of the user, including opening or closing the window, enabling the automatic locking function, etc., thereby providing window control that is closer to the actual situation of the user.

[0088] The handle control method provided in the embodiment of the present application can be applied to a handle control device. In this case, the handle control device is the execution subject of the handle control method provided in the embodiment of the present application. The embodiment of the present application does not impose any restrictions on the specific type of the handle control device. The handle control device can be applied to a handle, which can be an intelligent handle. The handle can be applied to a window to control the opening and closing of the window, etc.

[0089] For example, the handle control device may include a temperature sensor (which can detect environmental conditions such as temperature, humidity, light, etc.), a tilt sensor (window status such as open, closed, half-open, etc.), a monitoring device (such as a camera that can detect the user's behavior pattern in front of the window), and a control device. The handle may include a window actuator and a window locker, etc. The control device is electrically connected to the temperature sensor, the tilt sensor, the monitoring device, the window actuator, and the window locker, respectively. The control device analyzes the first activity event to control the window actuator to push the window to open or close, and can also control the window locker to lock the window. At the same time, the user can program the opening and closing time of the window according to his own needs, and send the programmed window opening and closing time to the control device to achieve timing control and adjustment.

[0090] In order to better understand the handle control method provided in the embodiment of the present application, the specific implementation process of the handle control method provided in the embodiment of the present application is exemplarily introduced below.

[0091] Figure 1 A schematic flow chart of a handle control method provided in an embodiment of the present application is shown, and the handle control method includes:

[0092] S100, obtaining a first activity event of a user in a first monitoring area, wherein the first monitoring area is an area within n decimeters from the window where the handle is installed, and the first monitoring area includes a plurality of sub-monitoring areas, each of which includes at least one speed sensor.

[0093] For example, the activity speed of the user in the first monitoring area can be monitored by a speed sensor. The speed sensor can detect the speed of the user approaching, moving away, and moving. For example, when the user approaches a window, the measured speed data will change. These data will be transmitted to the control device for analysis. By real-time monitoring and analysis of the speed data, the first activity event, such as the user's behavior of approaching the window, can be identified and determined.

[0094] With such a setting, by obtaining the first activity event of the user in the first monitoring area, real-time data of the user in front of the window can be provided, thereby providing data support for subsequent predictions of whether to control the window switch operation by handle, which helps to realize the automatic operation of the window.

[0095] S200: In response to a first activity event, determine a target area where the first activity event is located from a plurality of sub-monitoring areas.

[0096] For example, the control device may determine the target area according to the distance between the sensor that triggers the first activity event and the window handle, and the area with the closest distance is considered to be the source of the first activity event. For example, if activity events are detected in areas A and B at the same time, and the distance between the sensor in area A and the window handle is closer, the first activity event will be attributed to area A.

[0097] For example, different sensors may have different priorities, and the control device may determine the target area according to the priority of the sensor. For example, area A may be equipped with higher-precision sensors, so the sensor data of these areas may be given priority, and then the target area where the first activity event is located is determined to be area A. Alternatively, the activity detected in area A is an object collision, while the activity detected in area B is human motion, and the control device will determine area B as the target area.

[0098] In this way, in response to the first activity event, the target area where the first activity event is located is determined from multiple sub-monitoring areas, and the target area where the first activity event is located can be accurately located, which helps to quickly take action to deal with potential risks or problems, such as unauthorized window opening, and notify relevant personnel to make corresponding decisions. It can also provide data support for subsequent intelligent control strategies for windows, such as automated window opening and closing or intelligent safety measures.

[0099] In one possible implementation, see Figure 2 S200, in response to a first activity event, determining a target area where the first activity event is located from a plurality of sub-monitoring areas, including:

[0100] S210, obtaining environmental data, wherein the environmental data is used to reflect the environmental conditions of the space where the handle is used.

[0101] For example, various sensor technologies can be used to collect environmental data. These sensors may include temperature sensors, humidity sensors, light sensors, air quality sensors, sound sensors, etc. These sensors can be installed at various locations indoors to capture environmental data at different locations. It is also possible to connect IoT devices to obtain environmental data. By connecting smart home devices, smart building systems or other IoT devices, environmental data can be monitored and obtained in real time. These devices can communicate with the control device via a wireless network or wired connection and transmit environmental data in real time.

[0102] Such a setting, by acquiring environmental data, can provide data support for the subsequent intelligent adjustment of the opening and closing status of the windows to adapt to environmental changes such as indoor and outdoor temperature and humidity, and provide a more comfortable indoor environment.

[0103] S220, determining whether the first monitoring area is in a high temperature state, wherein the high temperature state indicates that the indoor temperature is at least greater than 20 degrees.

[0104] For example, a temperature sensor can be installed in the first monitoring area to ensure that the sensor can accurately measure the indoor temperature. A threshold value, such as 20 degrees Celsius, can be set as a standard for judging a high temperature state, and this threshold value can be adjusted according to actual needs. For example, in some areas, people may be more accustomed to higher indoor temperatures, so it may be more appropriate to set the threshold value at 22 degrees Celsius or higher. On the contrary, in some areas with cooler climates, people may think that 20 degrees Celsius is already a fairly comfortable temperature, so 20 degrees Celsius is a suitable threshold value.

[0105] With such a setting, by determining whether the first monitoring area is in a high temperature state, data support can be provided for the subsequent automatic adjustment of windows to keep the indoor temperature within a comfortable range, thereby improving the user's comfort experience, reducing the user's operating burden, and improving the convenience of life.

[0106] S230: If the environmental data reflects a summer condition and the first monitoring area is in a high temperature state, respond to a first activity event.

[0107] It can be understood that when the environmental data reflects summer conditions and the temperature sensor detects that the indoor temperature is too high, it means that the user is willing to open the window to promote ventilation and help lower the indoor temperature, and the handle control device responds to the first activity event.

[0108] With this arrangement, if the environmental data reflects summer conditions and the first monitoring area is in a high temperature state, then in response to the first activity event, the environmental data can be responded to intelligently, and the indoor temperature can be effectively adjusted in the high temperature season to improve the user's indoor comfort.

[0109] S240: If the environmental data reflects the rainy season and the first monitoring area is not in a high temperature state, then do not respond to the first activity event.

[0110] It can be understood that when the environmental data reflects the rainy season and the temperature sensor detects that the indoor temperature is not at a high temperature, it means that the user has no intention to open the window, and the handle control device does not respond to the first activity event.

[0111] With this setting, if the environmental data reflects the rainy season and the first monitoring area is not in a high temperature state, the first activity event will not be responded to. The environmental data can be responded to intelligently, and the indoor temperature can be effectively adjusted in the high temperature season to improve the user's indoor comfort.

[0112] S300: Obtain speed data of users in a target area.

[0113] For example, the user's moving speed can be monitored by a speed sensor in the target area and the data can be recorded in real time. The target area can also be photographed by a camera, and the user's movement can be analyzed in real time and speed data can be obtained through computer vision technology.

[0114] With this setting, by obtaining the speed data of users in the target area, unusual activities or behavior patterns in the window area can be identified. For example, a fast movement toward the window indicates that the user wants to open the window. This can better understand the user's actual needs and provide data support for subsequent intelligent window control strategies to improve the user's control experience.

[0115] S400, inputting the object data, position data and speed data of the first activity event into the window switch confirmation model to obtain first prediction information of the window switch confirmation model. The object data includes data of adults' activities in the first monitoring area, data of minors' activities in the first monitoring area, and data of adults' cleaning activities in the first monitoring area. The position data is used to reflect the position coordinates of the user's activities in the first monitoring area.

[0116] Exemplarily, first, the model can be trained with object data samples, position data samples, speed data samples, and corresponding types of activities, such as opening a window, closing a window, or other activities, so that the trained window switch confirmation model can predict the user's state of the window switch based on the input data, such as determining whether the window needs to be closed or opened. Secondly, the camera can capture images of whether the user is an adult or a minor, and people performing cleaning activities, the infrared sensor can detect their positions, and the speed data can be calculated by tracking their positions at different time points through the speed sensor. For example, the camera captures an adult moving near the window, and the infrared sensor detects his position coordinates as (x1, y1), and records his speed as 1 meter / second. Finally, the object data, position data, and speed data of the first activity event are input into the window switch confirmation model to obtain the first prediction information of the window switch confirmation model.

[0117] In this way, the object data, position data and speed data of the first activity event are input into the window switch confirmation model to obtain the first prediction information of the window switch confirmation model. More intelligent decisions can be made based on user behavior patterns, such as automatically initiating a safety lock when the activities of minors are detected, thereby more accurately predicting and confirming the need to open or close the window, thereby helping to achieve automated operation of the window.

[0118] S500: Determine, based on the first prediction information, whether the first activity event is a person preparing to control a window switch operation.

[0119] Exemplarily, it is possible to check whether the time and location information in the first activity event matches the normal window operation time and location. For example, if the first activity event occurs within the time and location range where the user usually opens and closes the window, then the possibility of window control operation is higher. The type and pattern of the first activity event can also be analyzed to determine whether it conforms to human window operation activities. For example, through light sensor data analysis, confirm whether someone is approaching the window and preparing to operate. Alternatively, analyze whether the user is moving toward the window switch or looking for the switch control device (such as the user staying near the window and looking at the window, detecting the user approaching the window and extending his arm, or the sound recognition sensor next to the window detecting the user speaking and mentioning the window) to determine whether the first activity event is a person preparing to control the window switch operation.

[0120] With such a configuration, whether the first activity event is a person preparing to control a window switch operation can be determined based on the first prediction information, so that the user's behavioral intention can be intelligently determined, thereby more accurately identifying the window control operation and improving the level of intelligent decision-making.

[0121] In one possible implementation, see Figure 3 The first monitoring area includes a plurality of calculation areas, each of which is arranged in sequence along the direction of window ventilation, and each of which corresponds to a critical value. S500, determining whether the first activity event is a person preparing to control the window switch operation according to the first prediction information, includes:

[0122] S510, if the first prediction information meets a preset condition, determine a target calculation area where the first activity event is located from multiple calculation areas. The preset condition includes that the first activity event is a person preparing to control a window switch operation.

[0123] It can be understood that whether the preset conditions are met can be determined based on the first prediction information. If the first prediction information indicates that there is a situation where a hand is used to control the window switch, then the first active event is confirmed as a person preparing to control the window switch operation. Among multiple calculation areas, the critical value of each calculation area is checked one by one in the order of arrangement along the ventilation direction of the window, and a calculation area that meets the critical value condition is found, which is the target calculation area. Assume that there are three calculation areas, A, B, and C in order. If the window switch state of calculation area A changes and meets the preset conditions, it is the target calculation area. If calculation area A does not meet the preset conditions, continue to check calculation area B. If the window switch state of calculation area B changes and meets the preset conditions, calculation area B is the target calculation area.

[0124] In this way, if the first prediction information meets the preset conditions, the target calculation area where the first activity event is located is determined from multiple calculation areas, which can provide data support for closing windows in time according to actual conditions to prevent indoor heat loss or external pollutants from entering.

[0125] S520: Determine whether the first activity event is a person preparing to control a window switch operation based on the speed data and the critical value of the target calculation area.

[0126] Exemplarily, first, sensors or other devices can be used to collect speed data within the target calculation area, which may include the speed of the monitored personnel moving in the area. Then, a critical value of the speed is set according to the actual situation. This critical value can be a threshold that can distinguish between normal human movement and movement of other objects. Secondly, the collected speed data is processed and compared with the set critical value. If the speed data within a certain time period exceeds the critical value, it means that humans are moving in the area. If an object is detected to be moving and the speed exceeds the critical value, it is necessary to further confirm whether it is a human. Video surveillance can be combined to further confirm the identity of the moving object. Once it is confirmed that the moving object is a human, its operating intention can be further analyzed. If the moving object moves toward the window position and raises its hand and moves towards the handle when approaching the window, it can be judged that it is preparing to use the handle to control the window switch.

[0127] With such a setting, based on the speed data and the critical value of the target calculation area, it is judged whether the first activity event is a person preparing to control the window switch operation, which can meet people's needs for intelligent control handles and intelligently determine the user's behavioral intention, thereby more accurately identifying the window control operation and improving the level of intelligent decision-making.

[0128] In one possible implementation, see Figure 4 S520, judging whether the first activity event is a person preparing to control a window switch operation according to the speed data and the critical value of the target calculation area, including:

[0129] S521: If the user in the target area is an adult, determine whether the speed data is greater than or equal to a critical value.

[0130] For example, face recognition technology can be used to identify the age of users in the target area. For example, facial features, physiological features, or other available information can be used to determine whether the user is an adult. Speed ​​data of users in the target area can be obtained through a speed sensor. A critical value can be set according to actual needs and application scenarios to determine whether the speed is greater than or equal to the value.

[0131] With this setting, if the user in the target area is an adult, determining whether the speed data is greater than or equal to the critical value can provide data support for subsequently adjusting the window opening degree according to the user's needs and environmental conditions to obtain a more comfortable indoor ventilation effect.

[0132] S522: If the speed data is greater than or equal to the critical value, it is determined that the first activity event is that the person is ready to control the window switch operation.

[0133] For example, when it is detected that the speed data is greater than or equal to the critical value, the corresponding response program can be triggered to analyze the data to determine the user's operation intention and confirm that the user's behavior is to control the opening and closing operation of the window. For example, when a family member quickly approaches the window and is ready to open or close it, the speed data may be greater than or equal to the critical value. In this case, it can be judged that the family member is ready to control the window opening and closing operation. In an office, an employee may quickly walk to the window and intend to adjust the curtains or close the window. If the speed data exceeds the critical value, it can be inferred that the employee is ready to perform the window opening and closing operation.

[0134] When a customer quickly walks to a dining area window to adjust the window to change ventilation or sunlight exposure, the speed data may reach a critical value, in which case it can be inferred that the customer is about to hold the window switch operation.

[0135] With this setting, if the speed data is greater than or equal to the critical value, the first active event is determined to be a person preparing to control the window opening and closing operation. The window can be opened and closed at any time as needed to better understand the user's actual needs and provide data support for subsequent intelligent window control strategies to improve the user's control experience.

[0136] S523, if the speed data is less than the critical value, it is determined that the first activity event is not intended for a human to control a window switch operation.

[0137] It can be understood that if the speed data shows that the user is stationary in the first monitoring area, that is, the speed is close to zero, then it can be inferred that the user is not ready to control the window opening and closing operation. If the speed data shows that the user is in a sleeping state and the speed is zero, then it can be determined that the user will not perform the window opening and closing operation. If the speed data shows that the user is performing a static activity, such as sitting and reading or working, and the speed is very small, then the possibility that the user is ready to control the window opening and closing can be ruled out.

[0138] With this setting, if the speed data is less than the critical value, it is determined that the first activity event is not for human control of window opening and closing operations, and the windows can be opened and closed at any time as needed to better understand the user's actual needs and provide data support for subsequent intelligent window control strategies to improve the user's control experience.

[0139] In one possible implementation, see Figure 5 S520, judging whether the first activity event is a person preparing to control a window switch operation according to the speed data and the critical value of the target calculation area, including:

[0140] S524: If the user in the target area is an adult, determine whether there is a static value in the speed data. The static value is used to indicate that the user changes from a moving state to a static state every time period when the adult performs cleaning activities in the target area. The moving state is used to indicate that the speed data is greater than zero, and the static state is used to indicate that the speed data is equal to zero.

[0141] It is understood that the static value may appear in a periodic manner, corresponding to the frequency of the cleaning activities performed by the adult. For example, at regular intervals, a static value may appear in the speed data for a period of time, which may correspond to a pause in the cleaning activities of the adult. The static value may be short-lived, with a short duration, which represents a brief pause in the cleaning activities of the adult, such as stopping to organize items, or stopping to sweep up garbage on the floor.

[0142] With this setting, if the user in the target area is an adult, determining whether there is a static value in the speed data can more accurately analyze the behavior pattern of the adult when performing cleaning activities in the target area. For example, identifying the pause points of the cleaning activity, understanding the duration and frequency of the cleaning activity, etc., can make more intelligent decisions based on the user's behavior pattern in the future, thereby helping to realize the automatic operation of the window.

[0143] S525: If there is no static value in the speed data, it is determined that the first activity event is that a person is ready to control a window switch operation.

[0144] It can be understood that if the speed data shows that the person is moving close to the window without a noticeable pause, this can mean that the person is preparing to perform a window switch operation. Continuous hand movement patterns, such as rapid swings or continuous hand movements, are observed in the speed data, which can indicate that the person is preparing to control the window switch operation. If the speed data shows that there is no noticeable pause after the person's cleaning activity, and the next activity is carried out close to the window, and the user's eyes are focused on the handle switch, it can be inferred that it is a sign that the person is preparing to control the window switch operation.

[0145] With such a setting, if there is no static value in the speed data, it is determined that the first active event is a person preparing to control the window switch operation, which can provide a more convenient and intuitive user experience. The user does not need to manually open the handle switch with effort, thereby improving the comfort and convenience of use.

[0146] S526: If there is a static value in the speed data, it is determined that the first activity event is not for human preparation to control the window switch operation.

[0147] It is understood that if the velocity data shows a continuous static state without obvious hand or other activity patterns, it indicates that the person is not ready to perform a window switch operation. For example, the person is resting near the window or waiting for something else. If the velocity data shows other activities unrelated to the window switch operation, such as making a phone call, browsing documents, or cooking, the first activity event is unrelated to the window switch.

[0148] With such a setting, if there is a static value in the speed data, it is determined that the first activity event is not intended for human control of the window switch operation, which can provide a more convenient and intuitive user experience. The user does not need to manually open the handle switch with effort, thereby improving the comfort and convenience of use.

[0149] In one possible implementation, see Figure 6 S520, judging whether the first activity event is a person preparing to control a window switch operation according to the speed data and the critical value of the target calculation area, including:

[0150] S527: If there is a static value in the speed data, the user's body posture data is obtained, wherein the body posture data is used to indicate whether the user is carrying an object, whether there are obstacles blocking the user's movement, and / or whether the user has a limb function defect.

[0151] For example, a visual sensor such as a camera or a depth camera can be used to capture images or videos of the user. Through computer vision technology and human posture estimation algorithms, the user's body posture information can be analyzed, such as whether the hands are holding objects, whether there are obstacles blocking the action, and whether there are limb function defects.

[0152] In this way, if there is a static value in the speed data, obtaining the user's posture data can provide a more convenient operation method, especially for users with limited limb function or mobility impairment. Through hand movements or postures, it is easy to control the device or perform specific tasks without relying on other complex interaction methods.

[0153] S528, if the posture data meets the first condition, then determine that the first activity event is that the user is ready to control the window switch operation. The first condition is that the user has something in his hand, there is an obstacle blocking the user's action and / or the user has a limb function defect.

[0154] For example, assuming that the user is holding a book in their hands, the system will detect the additional load on the hand or arm. The user may need to use one hand to carry the item and use the other hand to operate the window. In this case, the first activity event is determined to be the person preparing to control the window switch operation. If the user is standing in front of the window, but there is a table around that blocks their arm's reach, in this case, the first activity event is determined to be the person preparing to control the window switch operation without the user having to bend or stretch too much. Assuming that the user suffers from hand muscular atrophy, which causes the hand muscles to be unable to move normally, the system can identify abnormal hand postures based on the user's body shape data and adjust the operation of the window switch accordingly, such as using head movements or spoken commands instead of hand movements to determine that the first activity event is the person preparing to control the window switch operation.

[0155] With this arrangement, if the body posture data meets the first condition, the first activity event is determined to be a person preparing to control the window switch operation, which can avoid the inconvenience or danger of the user operating the window due to carrying objects, obstacles around or limb defects, thereby improving the user's safety.

[0156] In one possible implementation, see Figure 7 S520, judging whether the first activity event is a person preparing to control a window switch operation according to the speed data and the critical value of the target calculation area, further comprising:

[0157] S5291: If the user in the target area is a minor, the critical value of the target calculation area is adjusted to the first sub-critical value.

[0158] It is understandable that for smaller children (such as toddlers), their height may be shorter, so the threshold value of the target calculation area needs to be adjusted lower to ensure that their presence can be detected in time.

[0159] For older children (such as preschoolers or elementary school students), the critical value of the target calculation area can be appropriately increased.

[0160] With this setting, if the user in the target area is a minor, the critical value of the target calculation area is adjusted to the first sub-critical value. The physical characteristics and behavioral habits of minors can be taken into consideration, and the critical value can be adjusted to make it easier for them to operate the window switch, thereby improving the user experience.

[0161] S5292: If the speed data is greater than or equal to the first sub-critical value, it is determined that the first activity event is not intended for a person to control a window switch operation.

[0162] It is understood that the first sub-threshold value can be set to a specific speed threshold value for determining whether someone is preparing to operate the window switch. For example, when children are chasing and playing in the room, the speed data will be greater than or equal to the first sub-threshold value, and it is determined that the first activity event is not for someone to control the window switch operation.

[0163] In this way, if the speed data is greater than or equal to the first sub-critical value, it is determined that the first activity event is not for human control of window opening and closing operations, and the windows can be opened and closed at any time as needed to better understand the user's actual needs and provide data support for subsequent intelligent window control strategies to improve the user's control experience.

[0164] S5293, if the speed data is less than the first sub-threshold value, determine that the first activity event is a first operation in which a person is ready to control a window switch operation, and generate a first operation instruction. The first operation instruction is used to indicate that the range of the opening of the rotating window is less than 15 degrees, and / or indicate that the translation range of the sliding window is less than 10 centimeters.

[0165] It can be understood that when the speed data is detected to be less than the first sub-threshold value, the corresponding response program is triggered, the data is analyzed to determine the user's operation intention, and it is confirmed that the user's behavior is to control the opening and closing operation of the window. For example, if a child walks towards the window and focuses his eyes on the window, then the first activity event is determined to be the first operation of the person preparing to control the opening and closing operation of the window, and a first operation instruction is generated, which can be sent to the user's terminal device.

[0166] In this way, if the speed data is less than the first sub-threshold value, it is determined that the first activity event is the first operation in which a person is preparing to control the window switch operation. By limiting the opening range of a rotating window to less than 15 degrees or the translation range of a sliding window to less than 10 centimeters, the occurrence of accidents can be reduced. This can prevent the window from being opened too far or too wide, reducing the risk of falling or other safety risks.

[0167] In one possible implementation, see Figure 8 In step S5293, if the speed data is less than the first sub-threshold value, it is determined that the first activity event is the first operation in the window switch operation in which the person is ready to control the window, and after generating the first operation instruction, it also includes:

[0168] S5294, sending a first operation instruction to the user's terminal device.

[0169] It can be understood that the user's terminal device can be communicatively connected with the control device of the handle control device to send the first operation instruction to the user's terminal device.

[0170] With such a configuration, by sending a first operation instruction to the user's terminal device, the window switch status can be obtained on the user's terminal device, for example, whether the window is currently open or closed. If the window status is found to be abnormal or the operation fails, a corresponding alarm can be triggered or other preventive measures can be taken.

[0171] S5295: receiving feedback data sent by the terminal device, wherein the feedback data is used to reflect the authorization status of the minor to unlock the doors and windows.

[0172] It is understood that a communication connection between the user terminal device and the handle control system can be established. This can be achieved through wireless communication technology (such as Wi-Fi, Bluetooth) or wired connection (such as USB) to receive feedback data sent by the user's terminal device in real time.

[0173] With such a setting, by receiving feedback data sent by the user's terminal device, the user's control over the window can be obtained, and fine-tuning can be performed according to user needs to meet personalized needs.

[0174] S5296: If the feedback data indicates that the minor has obtained authorization to unlock the doors and windows, execute the first operation instruction.

[0175] It is understandable that if the feedback data confirms that the minor has obtained authorization to unlock the doors and windows, the relevant authorization status needs to be updated in the handle control system, the corresponding window identifier needs to be associated with the identity of the minor, and it needs to be marked as authorized, and the first operation instruction needs to be executed.

[0176] With such a configuration, if the feedback data indicates that the minor has obtained authorization to unlock the doors and windows, the first operation is performed, which can provide precise window operation, and the user can easily control the degree of opening and closing of the doors and windows to meet their needs.

[0177] In one possible implementation, see Fig. 9 , S5295, if the feedback data indicates that the minor has obtained authorization to unlock the doors and windows, execute the first operation instruction.

[0178] S531, determining a time period limit for executing the first operation instruction.

[0179] It is understandable that the time period limit for executing the first operation instruction can be determined by the monitoring system in real time when feedback data is received indicating that a minor has obtained authorization to unlock doors and windows.

[0180] By setting in this way, by determining the time period limit for executing the first operation instruction, a certain degree of flexibility can be provided according to possible changes and special circumstances of the user.

[0181] In a possible implementation, S531, determining a time limit for performing the first operation includes:

[0182] S5311, receiving a valid time period and an invalid time period set by a user on the terminal device, wherein the valid time period refers to a time period during which the first operation instruction is allowed to be executed, and the invalid time period refers to a time period during which the first operation instruction is not allowed to be executed.

[0183] It can be understood that a user interface is created on the terminal device so that the user can conveniently set the time period. A graphical user interface (GUI) or a command line interface (CLI) can be used to select a suitable interface form according to the user's needs and device support. An input field or option is provided in the interface to allow the user to enter the start and end time of the valid time period and the invalid time period. The user can set it by keyboard input or by selecting the date and time. The start and end time of the valid time period and the invalid time period entered by the user are stored in the storage medium of the device, such as a local file, a database or a configuration file. Ensure that the storage method can retain the settings after the device is restarted or powered off. When it is necessary to determine whether it is within the time period in which the first operation instruction is allowed to be executed, the stored time period setting is read and compared with the current time. Determine whether the operation is performed within the valid time period based on the comparison result.

[0184] With this setting, the valid time period and invalid time period set by the user on the terminal device sent by the receiving terminal device can provide data support for subsequent intelligent window control strategies, help to more accurately identify window control operations, and improve the level of intelligent decision-making.

[0185] S532: Determine, based on the current time and time period restriction, whether the first operation instruction is within the time period allowed to be executed.

[0186] It can be understood that the current time is obtained and whether the current time is within the allowed time period is checked. If the current time is within the allowed time period, the first operation instruction is allowed to be executed; otherwise, the execution is prohibited.

[0187] With such a setting, whether the first operation instruction is within the time period allowed to be executed can be determined based on the current time and time period restrictions, and specific operations can be restricted to be executed within a specific time period, so that window switches can be managed more effectively and intelligently.

[0188] S533: If the first operation instruction is within the time period in which execution of the first operation instruction is allowed, execute the first operation instruction.

[0189] It can be understood that if the current time is within the time period in which the first operation instruction is allowed to be executed, the first operation instruction is executed. For example, if the time period in which the first operation instruction is allowed to be executed is 7:00-8:00 and the current time is 7:15, the first operation instruction is executed.

[0190] With such a configuration, if the first operation instruction is executed within the time period during which the first operation instruction is allowed to be executed, a specific operation can be restricted to be executed within a specific time period, and the window switch can be managed more effectively and intelligently.

[0191] S534: If the time period during which the first operation instruction is allowed to be executed is not within the time period, the first operation instruction is not executed.

[0192] It can be understood that if the current time is not within the time period allowed for the execution of the first operation instruction, the first operation instruction will not be executed. For example, if the time period allowed for the execution of the first operation instruction is 7:00-8:00 and the current time is 8:15, the first operation instruction will not be executed.

[0193] With such a configuration, if the first operation instruction is not executed within the time period in which the execution of the first operation instruction is allowed, the specific operation can be restricted to be executed within a specific time period, and the window switches can be managed more efficiently and intelligently.

[0194] S5297: If the feedback data indicates that the minor is not authorized to unlock the doors and windows, the first operation instruction is not executed.

[0195] It is understandable that if the feedback data confirms that the minor is not authorized to unlock the doors and windows, the relevant authorization status needs to be updated in the handle control system, the corresponding window identifier needs to be associated with the identity of the minor, and it needs to be marked as unauthorized, and the first operation instruction will not be executed.

[0196] With this arrangement, if the feedback data indicates that the minor is not authorized to unlock the doors and windows, the first operation instruction will not be executed, and precise window operation can be provided, so that the user can easily control the degree of opening and closing of the doors and windows to meet their needs.

[0197] In one possible implementation, see Fig.10 The first monitoring area includes at least one first invalid area. S500, determining whether the first activity event is for a person to control a window switch operation according to the first prediction information, including:

[0198] S540: If the first prediction information meets a preset condition, determine whether the first activity event is in a first invalid area, wherein the first invalid area is an area of ​​the window where a handle is not installed.

[0199] It can be understood that whether the first prediction information meets the condition is determined according to the preset condition. If the condition is met, whether the first activity event is in the first invalid area. The first invalid area can use positioning technology (such as GPS) or a camera to determine the position of the window and whether the window is equipped with a handle.

[0200] In this way, if the first prediction information meets the preset conditions and it is determined whether the first activity event is in the first invalid area, the window status and event location can be monitored. For example, when a user is active in an area where windows with handles are not installed, it can be determined that the first activity event is not intended for a person to control the window switch operation, which can effectively save energy and reduce energy waste.

[0201] S550: If the first activity event is in the first invalid area, it is determined that the first activity event is not intended for a person to control a window switch operation.

[0202] It can be understood that if the first activity event is in the first invalid area (ie, the window area where no handle is installed), it is determined that the first activity event is not intended for a person to control the window switch operation.

[0203] With this arrangement, if the first activity event is in the first invalid area, it is determined that the first activity event is not for a person to control a window switch operation, which can effectively determine whether the first activity event is for a person to control a window switch operation, thereby ensuring that the system can respond accurately.

[0204] In one possible implementation, see Fig.11 The first monitoring area includes at least one second invalid area, S500, determining whether the first activity event is for a person to control a window switch operation according to the first prediction information, and further comprising:

[0205] S560: If the first prediction information meets the preset condition, determine whether the first activity event is in a second invalid area, wherein the second invalid area is an outdoor area of ​​the window where the handle is installed.

[0206] It can be understood that whether the first prediction information meets the condition is determined according to the preset condition. If the condition is met, whether the first activity event is in the second invalid area. The second invalid area can use positioning technology (such as GPS) or a camera to determine the location of the window and whether the window is equipped with a handle.

[0207] With such a configuration, if the first prediction information meets the preset conditions and determines whether the first activity event is in the second invalid area, the window status and event location can be monitored. For example, when a user is active in the outdoor area where a window handle is installed, it can be determined that the first activity event is not intended for a user to control the window switch operation, which can effectively save energy and reduce energy waste.

[0208] S570: If the first activity event is in the second invalid area, it is determined that the first activity event is not intended for a person to control a window switch operation.

[0209] It can be understood that if the first activity event is in the first invalid area (i.e., the outdoor area of ​​the window where the handle is installed), it is determined that the first activity event is not intended for a person to control the window switch operation.

[0210] With this arrangement, if the first activity event is in the second invalid area, it is determined that the first activity event is not for a person to control a window switch operation, which can effectively determine whether the first activity event is for a person to control a window switch operation, thereby ensuring that the system can respond accurately.

[0211] S600: When it is determined that the first activity event is that a person is preparing to control a window switch operation, generate first control information, wherein the first control information is used to control the window switch.

[0212] It is understood that the first activity event can be analyzed, that is, whether the user wants to open the window, close the window, or perform other operations. And collect information about the current state of the window, such as the position of the window (open / closed), whether the automatic control system of the window is available, etc. According to the confirmed operation intention and the current state of the window, a corresponding control instruction is generated. For example, if the user's intention is to open the window and the window is currently in a closed state, an instruction to open the window is generated; if the window is already in an open state, no operation needs to be performed.

[0213] With such a configuration, when it is determined that the first activity event is a person preparing to control the window switch operation, the first control information is generated. Personalized control information can be generated based on the user's actual needs and behavior patterns, including window opening or closing, activation of the automatic locking function, etc., thereby providing window control that is closer to the user's actual situation.

[0214] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0215] Corresponding to the handle control method described in the above embodiment, the embodiment of the present application further provides a handle control system, and each unit of the system can implement each step of the handle control method. Fig.11 A structural block diagram of a handle control system provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.

[0216] Reference Fig.12 , the handle control system includes:

[0217] The first acquisition unit is used to acquire a first activity event of a user in a first monitoring area. The first monitoring area is an area within n decimeters from the window where the handle is installed, and the first monitoring area includes multiple sub-monitoring areas, each of which includes at least one speed sensor.

[0218] The response unit is used to determine, in response to the first activity event, a target area where the first activity event is located from a plurality of sub-monitoring areas.

[0219] The second acquisition unit is used to acquire speed data of users in the target area.

[0220] The confirmation unit is used to input the object data, position data and speed data of the first activity event into the window switch confirmation model to obtain first prediction information of the window switch confirmation model. The object data includes data of adults' activities in the first monitoring area, data of minors' activities in the first monitoring area, and data of adults' cleaning activities in the first monitoring area. The position data is used to reflect the position coordinates of the user's activities in the first monitoring area.

[0221] The judgment unit is used to determine whether the first activity event is a person preparing to control the window switch operation according to the first prediction information.

[0222] The generating unit is used to generate first control information when it is determined that the first activity event is that a person is ready to control the window switch operation. The first control information is used to control the window switch.

[0223] It should be noted that the information interaction, execution process, etc. between the above-mentioned systems / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0224] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units is used as an example for illustration. In practical applications, the above-mentioned functions can be assigned to different functional units as needed, that is, the internal structure of the system can be divided into different functional units to complete all or part of the functions described above. The functional units in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0225] The present application also provides a handle control device, Fig.13 This is a schematic diagram of the structure of a handle control device provided in one embodiment of the present application. Fig.13 As shown, the handle control device 6 of this embodiment includes: at least one processor 60 ( Fig.13 Only one is shown), at least one memory 61 ( Fig.13 Only one is shown in the figure) and a computer program 62 stored in the at least one memory 61 and executable on the at least one processor 60. When the processor 60 executes the computer program 62, the handle control device 6 implements the steps in any of the above-mentioned hand control method embodiments, or implements the functions of the units in the above-mentioned device embodiments.

[0226] Exemplarily, the computer program 62 may be divided into one or more units, which are stored in the memory 61 and executed by the processor 60 to complete the present application. The one or more units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 62 in the handle control device 6.

[0227] For example, the handle control device 6 may include a temperature sensor (which can detect environmental conditions such as temperature, humidity, and light), a tilt sensor (window status such as open, closed, half-open, etc.), a monitoring device (such as a camera that can detect the user's behavior pattern in front of the window), and a control device. The handle may include a window actuator and a window lock, etc. The control device is electrically connected to the temperature sensor, the tilt sensor, the monitoring device, the window actuator, and the window lock, respectively. The control device analyzes the first active event to control the window actuator to push the window to open or close, and can also control the window lock to lock the window. At the same time, the user can program the opening and closing time of the window according to his or her needs, and send the programmed window opening and closing time to the control device to achieve timing control and adjustment. The handle control device 6 may include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art will understand that, Fig.13 It is only an example of the handle control device 6 and does not constitute a limitation of the handle control device 6. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, buses, etc.

[0228] The processor 60 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0229] In some embodiments, the memory 61 may be an internal storage unit of the handle control device 6, such as a hard disk or memory of the handle control device 6. In other embodiments, the memory 61 may also be an external storage device of the handle control device 6, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the handle control device 6. Further, the memory 61 may also include both the internal storage unit of the ** device / terminal device 6 and an external storage device. The memory 61 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program, etc. The memory 61 may also be used to temporarily store data that has been output or is to be output.

[0230] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.

[0231] An embodiment of the present application provides a computer program product. When the computer program product runs on a handle control device, the handle control device implements the steps in any of the above-mentioned method embodiments.

[0232] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the handle control device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, USB flash drive, mobile hard disk, disk or optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0233] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0234] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0235] In the embodiments provided in the present application, it should be understood that the disclosed handle control device and handle control method can be implemented in other ways. For example, the handle control device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0236] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0237] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A handle control method, characterized in that: Applied to a handle, the handle is applied to a window, and the method comprises: Acquire a first activity event of a user in a first monitoring area; wherein the first monitoring area is an area within n decimeters from the window where the handle is installed, the first monitoring area includes a plurality of sub-monitoring areas, and each of the sub-monitoring areas includes at least one speed sensor; In response to the first activity event, determining a target area where the first activity event is located from the plurality of sub-monitoring areas; Acquire speed data of users in the target area; Inputting the object data, the position data and the speed data of the first activity event into the window switch confirmation model to obtain first prediction information of the window switch confirmation model; wherein the object data includes data of adults' activities in the first monitoring area, data of minors' activities in the first monitoring area and data of adults' cleaning activities in the first monitoring area; the position data is used to reflect the position coordinates of the user's activities in the first monitoring area; determining, according to the first prediction information, whether the first activity event is a person preparing to control a window switch operation; In the case where it is determined that the first activity event is that a person is preparing to control the window switch operation, generating first control information; wherein the first control information is used to control the window switch; Wherein, the first monitoring area includes a plurality of calculation areas, each of which is arranged in sequence along the direction of window ventilation, and each of which corresponds to a critical value, and the determining, based on the first prediction information, whether the first activity event is a person preparing to control the window switch operation includes: If the first prediction information satisfies a preset condition, determining a target calculation area where the first activity event is located from the plurality of calculation areas; wherein the preset condition includes that the first activity event is a person preparing to control a window switch operation; According to the speed data and the critical value of the target calculation area, it is determined whether the first activity event is a person preparing to control the window switch operation.

2. The handle control method according to claim 1, characterized in that: Before determining the target area where the first activity event is located from the plurality of sub-monitoring areas in response to the first activity event, the method includes: Acquiring environmental data; wherein the environmental data is used to reflect the environmental conditions of the space where the handle is used; Determine whether the first monitoring area is in a high temperature state; wherein the high temperature state indicates that the indoor temperature is at least greater than 20 degrees; If the environmental data reflects a summer condition and the first monitoring area is in a high temperature state, responding to a first activity event; If the environmental data reflects the rainy season situation and the first monitoring area is not in a high temperature state, then no response is made to the first activity event.

3. The handle control method according to claim 1, characterized in that: The step of judging whether the first activity event is a person preparing to control a window switch operation according to the speed data and the critical value of the target calculation area includes: If the user in the target area is an adult, determining whether the speed data is greater than or equal to the critical value; If the speed data is greater than or equal to the critical value, determining that the first activity event is a person preparing to control a window switch operation; If the speed data is less than the critical value, it is determined that the first activity event is not intended for a person to control a window switch operation.

4. The handle control method according to claim 1, characterized in that: The step of judging whether the first activity event is a person preparing to control a window switch operation according to the speed data and the critical value of the target calculation area includes: If the user in the target area is an adult, determine whether there is a static value in the speed data; wherein the static value is used to indicate that the user changes from a moving state to a static state at every time period when the adult performs cleaning activities in the target area, the moving state is used to indicate that the speed data is greater than zero, and the static state is used to indicate that the speed data is equal to zero; If there is no static value in the speed data, determining that the first activity event is that the person is ready to control the window switch operation; If there is a static value in the speed data, it is determined that the first activity event is not intended for a person to control a window switch operation.

5. The handle control method according to claim 4, characterized in that: The method of judging whether the first activity event is a person preparing to control a window switch operation according to the speed data and the critical value of the target calculation area further includes: If there is a static value in the speed data, the user's body posture data is obtained; wherein the body posture data is used to indicate whether the user is carrying an object, whether there are obstacles blocking the user's movement, and / or whether the user has a limb function defect; If the body posture data meets the first condition, it is determined that the first activity event is that the person is preparing to control the window switch operation; wherein the first condition is that the user is holding an object, there is an obstacle blocking the user's movement and / or the user has a limb function defect.

6. The handle control method according to claim 5, characterized in that: The method of judging whether the first activity event is a person preparing to control a window switch operation according to the speed data and the critical value of the target calculation area further includes: If the user of the target area is a minor, adjusting the critical value of the target calculation area to a first sub-critical value; If the speed data is greater than or equal to the first sub-threshold value, determining that the first activity event is not for a person to control a window switch operation; If the speed data is less than the first sub-critical value, it is determined that the first activity event is a person preparing to control the window switch operation, and a first operation instruction is generated; wherein, the first operation instruction is used to indicate that the range of the rotating window opening is less than 15 degrees, and / or indicate that the translation range of the sliding window is less than 10 centimeters.

7. The handle control method according to claim 6, characterized in that: After the first operation instruction is generated, the method further includes: Sending the first operation instruction to a terminal device of the user; Receiving feedback data sent by the terminal device; wherein the feedback data is used to reflect the authorization status of unlocking doors and windows for minors; If the feedback data indicates that the minor has obtained authorization to unlock the doors and windows, executing the first operation instruction; If the feedback data indicates that the minor is not authorized to unlock the doors and windows, the first operation instruction is not executed.

8. The handle control method according to claim 7, characterized in that: If the feedback data indicates that the minor has obtained authorization to unlock the doors and windows, executing the first operation instruction includes: Determining a time limit for executing the first operation instruction; According to the current time and the time period limit, determining whether the first operation instruction is within the time period in which execution is allowed; If the first operation instruction is executed within the time period in which the execution of the first operation instruction is allowed, the first operation instruction is executed; If the time period for allowing the execution of the first operation instruction is not within the time period, not executing the first operation instruction; The step of determining the time limit for executing the first operation instruction includes: Receive the valid time period and invalid time period set by the user on the terminal device, wherein the valid time period refers to the time period during which the first operation instruction is allowed to be executed, and the invalid time period refers to the time period during which the first operation instruction is not allowed to be executed.

9. A handle control device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 8 when executing the computer program.

Citation Information

Patent Citations

  • Window control method and device, equipment and storage medium

    CN112145020A

  • Equipment control method and device, monitoring equipment and medium

    CN114326490A