This application relates to the field of intelligent door and window technology, and provides a method and
system for real-time protection and linkage control of intelligent
doors and windows. The method includes: when the window sash is closed, after detecting that the current current of the motor driving the window sash exceeds a first preset
current threshold, determining that the window sash has encountered a physical obstacle, and acquiring rotation data generated by the window sash's tentative contact with the physical obstacle; determining the type of obstacle based on the rotation data; acquiring environmental parameter information of the room where the window sash is located; determining the
risk level of the room based on the environmental parameter information; and determining and executing protective actions based on the
risk level and obstacle type. This method can improve the efficiency of door and window control.