The invention provides an intelligent door and window control method and
system, and the method comprises the steps: S1, obtaining multi-source environment data; s2, inputting the multi-source environment data into a fuzzification module, and converting the multi-source environment data into a fuzzy variable through a preset
ambiguity function; s3, dynamically generating an environment parameter weight vector according to the real-time scene parameters; s4, inputting the fuzzy variable and the environmental parameter weight vector into a
fuzzy inference engine, executing logical operation of a
fuzzy rule base, and outputting comprehensive evaluation values of
window opening suitability, window closing urgency and shading demand; and S5, generating a final control instruction through a
defuzzification strategy, and executing the final control instruction. According to the method, the problem of frequent invalid operation caused by fluctuation of the environmental parameters near the boundary value is solved, the environmental parameter weight vector is dynamically generated based on the time parameters, the user preset mode and the meteorological data
confidence factor,
adaptation to seasons, time periods, user states and other scenes is achieved, and decision logic can be flexibly adjusted according to actual requirements; and a contradictory decision under a traditional fixed rule is avoided.