Temperature and humidity adjusting method and device, electronic equipment and storage medium

Through real-time monitoring and intelligent adjustment of the temperature and humidity of the attic, the problem that the existing technology cannot control the temperature and humidity at the same time is solved, and efficient energy utilization and user experience are achieved.

CN120140896APending Publication Date: 2025-06-13SHENZHEN INKBIRD TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510284198.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-10
Publication Date
2025-06-13

AI Technical Summary

Technical Problem

The prior art cannot effectively control the temperature and humidity of the attic at the same time, resulting in waste of energy and the inability to meet the diverse needs of users.

Method used

By monitoring the temperature and humidity parameters of the target area in real time and generating adjustment plans based on preset thresholds, intelligent adjustment of temperature and humidity can be achieved. The method includes obtaining real-time environmental parameters, comparing with preset thresholds, determining an adjustment scheme, and performing adjustments.

Benefits of technology

Real-time monitoring, accurate comparison, intelligent adjustment and effective control of the temperature and humidity of the target area is achieved, which improves energy utilization, extends the service life of the equipment, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120140896A_ABST
    Figure CN120140896A_ABST
Patent Text Reader

Abstract

The invention provides a temperature and humidity adjusting method and device, electronic equipment and a storage medium. The method comprises the steps that real-time environment parameters of a target area are acquired; comparing the real-time environment parameter with a preset environment parameter threshold value to obtain a comparison result; based on the comparison result, determining a temperature and humidity adjustment scheme of the target area; and performing temperature and humidity adjustment on the target area based on the temperature and humidity adjustment scheme. According to the temperature and humidity adjusting scheme, the temperature and humidity of the target area are monitored in real time and intelligently adjusted, the temperature and humidity of the target area are adjusted at the same time, user operation is simplified, the energy utilization rate can be increased, and the service life of equipment is prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of intelligent home appliance control, and in particular, to a temperature and humidity adjustment method, device, electronic device, and storage medium. Background Art

[0002] In modern living and working environments, temperature and humidity control in attics is crucial for improving living comfort, protecting items, and maintaining air quality. However, in many attic environments, excessive temperature is a common problem. Hot air rises and accumulates in the attic. If it cannot be discharged in time, it will cause the air conditioner to be unable to reduce the indoor temperature for a long time, thus increasing power consumption. In addition, excessive humidity will also have a negative impact on the attic environment. High humidity will cause mold growth, affecting the storage of items and air quality. Mold reproduces by releasing spores, which float in the air and will have a negative impact on people's respiratory tracts.

[0003] Existing temperature and humidity control solutions are usually carried out separately, that is, by a single temperature controller to adjust the opening or closing of the exhaust fan, or by a single humidity controller to adjust the operation of the dehumidification device. Although the existing technology can reduce the temperature or control the humidity to a certain extent, humidity and temperature are two mutually influencing environmental parameters. The separate control method of temperature and humidity in the existing technology cannot achieve the linkage adjustment of the two. Users still need to set and monitor multiple controllers separately, which is inconvenient to operate and prone to errors. At the same time, due to the inability to consider temperature and humidity simultaneously, it may also lead to unnecessary energy waste and the inability to meet the diverse needs of users at different times.

[0004] The foregoing description is for the purpose of providing general background information and does not necessarily constitute prior art. Summary of the Invention

[0005] In view of the above technical problems, the present application provides a temperature and humidity adjustment method, device, electronic device, and storage medium. By real-time monitoring and intelligent adjustment of the temperature and humidity in the target area, it can not only adjust the temperature and humidity in the target area simultaneously, simplify the user operation, but also improve energy utilization efficiency and extend the service life of the equipment.

[0006] To solve the above technical problems, the present application provides a temperature and humidity adjustment method, including the following steps:

[0007] Obtain the real-time environmental parameters of the target area;

[0008] Compare the real-time environmental parameters with the preset environmental parameter thresholds to obtain a comparison result;

[0009] Based on the comparison result, determine the temperature and humidity adjustment plan for the target area;

[0010] Adjust the temperature and humidity of the target area based on the temperature and humidity adjustment plan.

[0011] Further, in some embodiments of the present application, obtaining the real-time environmental parameters of the target area includes:

[0012] Deploy temperature sensors and humidity sensors at monitoring nodes in the target area in advance;

[0013] Based on the temperature sensor and the humidity sensor, monitor the real-time temperature and real-time humidity of the target area in real time.

[0014] Further, in some embodiments of the present application, comparing the real-time environmental parameters with preset environmental parameter thresholds to obtain a comparison result includes:

[0015] If it is detected that both the real-time temperature and the real-time humidity exceed the preset environmental parameter thresholds, generate a first comparison result;

[0016] If it is detected that only the real-time temperature exceeds the preset environmental parameter thresholds, generate a second comparison result;

[0017] If it is detected that only the real-time humidity exceeds the preset environmental parameter thresholds, generate a third comparison result.

[0018] Further, in some embodiments of the present application, determining the temperature and humidity adjustment plan for the target area based on the comparison result includes:

[0019] Based on the first comparison result, generate a temperature and humidity adjustment plan for the target area;

[0020] Based on the second comparison result, generate a temperature adjustment plan for the target area;

[0021] Based on the third comparison result, generate a humidity adjustment plan for the target area.

[0022] Further, in some embodiments of the present application, adjusting the temperature and humidity of the target area based on the temperature and humidity adjustment plan includes:

[0023] Based on the temperature and humidity adjustment plan, the temperature adjustment plan or the humidity adjustment plan, generate an environmental adjustment instruction corresponding to the target area;

[0024] Through the control socket, according to the environmental adjustment instruction, control the corresponding target exhaust fan in the target area to start working, and monitor the real-time environmental parameters of the target area in real time;

[0025] After it is monitored that the real-time environmental parameters do not exceed the preset environmental parameter threshold, the target exhaust fan is controlled to turn off through the control socket.

[0026] Further, in some embodiments of the present application, after the control socket controls the corresponding target exhaust fan in the target area to start working according to the environmental adjustment instruction and monitors the real-time environmental parameters of the target area in real time, it further includes:

[0027] If the real-time humidity of the target area is monitored to exceed the preset environmental parameter threshold when the temperature of the target area is adjusted based on the temperature adjustment scheme, or, if the real-time temperature of the target area is monitored to exceed the preset environmental parameter threshold when the humidity of the target area is adjusted based on the humidity adjustment scheme, a working adjustment instruction for the target exhaust fan is generated;

[0028] The current working parameters of the target exhaust fan are adjusted through the control socket according to the working adjustment instruction;

[0029] The target area is adjusted for temperature and humidity by the adjusted target exhaust fan until both the real-time temperature and the real-time humidity in the target area do not exceed the preset environmental parameter threshold, and then the target exhaust fan is turned off.

[0030] Further, in some embodiments of the present application, the temperature and humidity adjustment of the target area based on the temperature and humidity adjustment scheme includes:

[0031] Control parameters corresponding to the temperature and humidity adjustment scheme are generated through a fuzzy logic control algorithm;

[0032] During the process of controlling the target exhaust fan in the target area to work based on the control parameters, the working parameters of the target exhaust fan are adjusted through a PID control algorithm;

[0033] The target area is adjusted for temperature and humidity by the adjusted target exhaust fan until both the real-time temperature and the real-time humidity in the target area do not exceed the preset environmental parameter threshold, and then the target exhaust fan is turned off.

[0034] Correspondingly, the present application also provides a temperature and humidity adjustment device, including:

[0035] An acquisition module, configured to acquire the real-time environmental parameters of the target area;

[0036] A comparison module, configured to compare the real-time environmental parameters with a preset environmental parameter threshold to obtain a comparison result;

[0037] A determination module, configured to determine a temperature and humidity adjustment plan for the target area based on the comparison result;

[0038] An adjustment module, configured to adjust the temperature and humidity of the target area based on the temperature and humidity adjustment plan.

[0039] This application also provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the steps of the temperature and humidity adjustment method described above are implemented.

[0040] This application also provides a storage medium, storing a computer program that can be loaded and executed by a processor to implement the temperature and humidity adjustment method described above.

[0041] Implementing the embodiments of this application has the following beneficial effects:

[0042] As described above, a temperature and humidity adjustment method, device, electronic device, and storage medium provided by this application. The temperature and humidity adjustment method includes: obtaining real-time environmental parameters of a target area; comparing the real-time environmental parameters with preset environmental parameter thresholds to obtain a comparison result; determining a temperature and humidity adjustment plan for the target area based on the comparison result; and adjusting the temperature and humidity of the target area based on the temperature and humidity adjustment plan. The temperature and humidity control solution provided by this application compares the obtained real-time environmental parameters of the target area with preset environmental parameter thresholds, thereby generating a temperature and humidity adjustment plan according to the comparison result, and finally adjusting the temperature and humidity of the target area according to the temperature and humidity adjustment plan, realizing real-time monitoring, accurate comparison, intelligent adjustment, and effective control of the temperature and humidity of the target area. It can not only control temperature and humidity simultaneously, but also flexibly formulate adjustment plans according to different situations, effectively improving the efficiency and accuracy of temperature and humidity adjustment, and solving the problems of energy waste and inability to meet the diverse needs of users caused by the single control mode in the prior art. In addition, through the automatic adjustment of the temperature and humidity of the target area, there is no need for users to perform complex manual operations, improving the automation degree of temperature and humidity adjustment and enhancing the user experience. Description of the Drawings

[0043] The drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with this application, and are used together with the specification to explain the principles of this application. To more clearly illustrate the technical solutions of the embodiments of this application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0044] Figure 1 It is a schematic diagram of the application scenario of the temperature and humidity adjustment method provided by the embodiment of this application;

[0045] Figure 2 It is a schematic flowchart of the temperature and humidity adjustment method provided by an embodiment of the present application;

[0046] Figure 3 It is another schematic flowchart of the temperature and humidity adjustment method provided by an embodiment of the present application;

[0047] Figure 4 It is a schematic structural diagram of the temperature and humidity adjustment device provided by an embodiment of the present application;

[0048] Figure 5 It is a schematic structural diagram of the electronic device provided by an embodiment of the present application.

[0049] The realization of the purpose of the present application, functional features and advantages will be further described in conjunction with the embodiments with reference to the accompanying drawings. Through the above-mentioned accompanying drawings, the specific embodiments of the present application have been shown, and there will be more detailed descriptions hereinafter. These drawings and textual descriptions are not intended to limit the scope of the concept of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. Detailed Embodiments

[0050] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0051] It should be noted that in this article, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article or device including that element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanations in the specific embodiments or further in combination with the context in the specific embodiments.

[0052] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0053] In the following description, suffixes such as "module", "component", or "unit" used to represent components are only for the convenience of explaining the present application, and have no specific meaning in themselves. Therefore, "module", "component", or "unit" can be used interchangeably.

[0054] The present application provides a temperature and humidity adjustment method, device, electronic device, and storage medium.

[0055] Among them, the temperature and humidity adjustment device can be specifically integrated in an electronic device, and the electronic device can be a smart phone, a tablet computer, a notebook computer, or a desktop computer, but is not limited thereto. The electronic device can be directly or indirectly connected to the server through wired or wireless communication. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The present application does not make any restrictions here.

[0056] Please refer to Figure 1 , Figure 1 which is an application environment diagram of the temperature and humidity adjustment method in an embodiment. Referring to Figure 1 ,the temperature and humidity adjustment method can be applied to a temperature and humidity control system. Among them, the temperature and humidity control system can include a terminal 110 and a server 120. The terminal 110 and the server 120 are connected through a network. The terminal 110 can specifically be a desktop terminal or a mobile terminal, and the mobile terminal can specifically be at least one of a mobile phone, a tablet computer, a notebook computer, etc. The server 120 can be implemented by an independent server or a server cluster composed of multiple servers. The terminal 110 is used to obtain the real-time environmental parameters of the target area; compare the real-time environmental parameters with the preset environmental parameter thresholds to obtain a comparison result; determine the temperature and humidity adjustment plan for the target area based on the comparison result; and adjust the temperature and humidity of the target area based on the temperature and humidity adjustment plan.

[0057] The following will be described in detail respectively. It should be noted that the description order of the following embodiments does not limit the priority order of the embodiments.

[0058] The present application provides a temperature and humidity adjustment method, including: obtaining the real-time environmental parameters of the target area; comparing the real-time environmental parameters with the preset environmental parameter thresholds to obtain a comparison result; determining the temperature and humidity adjustment plan for the target area based on the comparison result; and adjusting the temperature and humidity of the target area based on the temperature and humidity adjustment plan.

[0059] Please refer to Figure 2 , Figure 2It is a schematic flowchart of the temperature and humidity adjustment method provided by an embodiment of the present application. The temperature and humidity adjustment method provided by this embodiment may specifically include the following steps:

[0060] S1. Obtain the real-time environmental parameters of the target area;

[0061] Specifically, for step S1, the temperature and humidity data of the area are monitored and obtained in real time through temperature sensors and humidity sensors pre-deployed in the target area (such as an attic). The deployed sensors detect the environmental parameters at a preset frequency (such as once a minute) and transmit the data to the control center or related devices (such as a control socket).

[0062] Among them, for the temperature sensor and humidity sensor, high-precision and high-sensitivity models can be used to ensure the accuracy and reliability of the obtained data. At the same time, in order to improve the stability and real-time performance of data transmission, this embodiment can also use wireless communication technologies (such as Wi-Fi, Bluetooth, or ZigBee) to connect the sensors to the control device. In addition, the user can also set the self-calibration function of the sensors so that the sensors are automatically calibrated regularly to ensure the measurement accuracy.

[0063] S2. Compare the real-time environmental parameters with the preset environmental parameter thresholds to obtain a comparison result;

[0064] Specifically, for step S2, the obtained real-time temperature and humidity data are compared with the temperature and humidity threshold ranges preset by the user. For example, the temperature threshold is set to 20°C - 30°C, and the humidity threshold is set to 40% - 60%. Through comparison, it is judged whether the real-time parameters exceed the threshold range, so as to determine whether the temperature and humidity status of the target area needs to be adjusted.

[0065] In addition, multiple threshold ranges can also be set to achieve more refined control. For example, in addition to the normal threshold range, a warning threshold range can also be set. When the real-time parameters are close to but have not exceeded the normal threshold, a warning signal is sent in advance to remind the user to pay attention or make pre-adjustments. The comparison process can use digital signal processing technologies to filter and denoise the real-time data to improve the accuracy of the comparison result, which is not specifically limited here.

[0066] S3. Determine the temperature and humidity adjustment plan for the target area based on the comparison result;

[0067] Specifically, for step S3, corresponding temperature and humidity adjustment schemes are formulated according to different situations of the comparison results. If both the real-time temperature and humidity exceed the threshold values, an adjustment scheme for both temperature and humidity is generated; if only the temperature exceeds the threshold value, an adjustment scheme only for temperature is generated; if only the humidity exceeds the threshold value, an adjustment scheme only for humidity is generated. For the adjustment scheme, it may specifically include at least one of parameter settings such as the opening and closing times of the exhaust fan and the wind speed.

[0068] During the process of formulating the adjustment scheme, intelligent algorithms can be introduced, such as fuzzy logic control algorithms or neural network algorithms, to automatically optimize the adjustment scheme according to historical data and real-time data, improving the accuracy and adaptability of control. At the same time, the influence of environmental factors (such as season, weather, etc.) on temperature and humidity can also be considered, and the threshold values and schemes can be dynamically adjusted to better meet the control requirements under different conditions.

[0069] S4. Adjust the temperature and humidity of the target area based on the temperature and humidity adjustment scheme;

[0070] Specifically, for step S4, according to the determined adjustment scheme, corresponding environmental adjustment instructions are generated, and the exhaust fan in the target area is controlled to start working according to the instructions through a control socket. For example, if the adjustment scheme requires reducing the temperature and humidity, the exhaust fan is controlled to start at an appropriate wind speed until it is monitored that the temperature and humidity drop within the threshold range, and then the exhaust fan is controlled to turn off. During the adjustment process, the temperature and humidity changes in the target area are monitored in real time to timely adjust the working state of the exhaust fan.

[0071] In a specific embodiment, a PID control algorithm can be used to adjust the working parameters (such as wind speed, rotation speed, etc.) of the exhaust fan in real time to achieve faster and smoother temperature and humidity adjustment. At the same time, to improve the reliability and safety of the system, a fault detection and alarm function can be set. When a fault or abnormality occurs in the exhaust fan, an alarm is issued in a timely manner and relevant operations are stopped to prevent damage to the equipment and the environment.

[0072] It can be seen that the temperature and humidity adjustment method provided in this embodiment can achieve real-time monitoring, accurate comparison, intelligent adjustment, and effective control of the temperature and humidity in the target area. It can not only control two parameters of temperature and humidity simultaneously, but also flexibly formulate adjustment schemes according to different situations, and improve the efficiency and accuracy of adjustment through intelligent control algorithms. It not only solves the problem in the prior art that the temperature and humidity in the attic cannot be effectively controlled simultaneously, but also improves the energy utilization efficiency, extends the service life of the equipment, and provides a more comfortable, healthy, and energy-saving environment for users.

[0073] It is possible to timely and accurately grasp the temperature and humidity conditions of the target area, providing a basis for subsequent adjustments, and avoiding problems of untimely or inaccurate temperature and humidity control caused by inaccurate or delayed data; quickly and accurately judge whether the temperature and humidity of the target area are in an ideal state, providing a decision-making basis for formulating a reasonable adjustment plan, and avoiding energy waste or environmental discomfort caused by blind adjustments; formulate targeted adjustment plans according to different situations, ensure the effectiveness and pertinence of temperature and humidity adjustments, improve the flexibility and intelligence level of the control system, and better meet the requirements of users for the temperature and humidity environment of the target area; through precise control of the operation of the exhaust fan, effectively adjust the temperature and humidity of the target area, and restore it to the preset comfortable range, providing good environmental conditions for users, and at the same time helping to reduce energy consumption and equipment wear.

[0074] Further, in some embodiments, step S1, "acquire real-time environmental parameters of the target area", may specifically include:

[0075] S11. Deploy temperature sensors and humidity sensors at monitoring nodes in the target area in advance;

[0076] S12. Based on the temperature sensors and humidity sensors, monitor the real-time temperature and real-time humidity of the target area in real time.

[0077] Specifically, before acquiring the real-time environmental parameters of the target area, install temperature sensors and humidity sensors at appropriate positions in the target area (such as an attic), and monitor the temperature and humidity of the target area in real time through the sensors, and transmit the data to the control center or related devices. During the deployment process, according to the size and structure of the target area, reasonably arrange multiple sensors to ensure that the entire area can be fully covered, and avoid control errors caused by inaccurate local data.

[0078] After the sensor deployment is completed, regularly collect the temperature and humidity data of the target area through the sensors, and transmit these data to the control center. The control center receives and processes these data for further analysis and control. For example, the collected data can be filtered, denoised, etc. at the control center to improve the accuracy and reliability of the data. Digital signal processing techniques, such as low-pass filters, can be used to remove high-frequency noise. Finally, the collected data is stored in a database for easy query and analysis of historical data. The time interval and storage period for data storage can be set, for example, store data every 10 minutes, and the storage period is 30 days.

[0079] In addition, in this embodiment, the real-time data and historical data are displayed to the user in the form of charts through a display screen or a mobile application, facilitating the user to intuitively understand the temperature and humidity change trends in the target area. Moreover, an abnormal alarm mechanism is set up to send an alarm in a timely manner when the real-time data exceeds the preset threshold, reminding the user to take measures. Multiple alarm methods can be set, such as sound alarms, text message notifications, email notifications, etc.

[0080] Through the deployment of high-precision sensors and real-time data monitoring in this embodiment, reliable data support can be provided for subsequent temperature and humidity adjustment, ensuring that the temperature and humidity in the target area are always in an ideal state. It not only improves the accuracy and reliability of environmental control, but also provides users with more intuitive and convenient monitoring and management means, significantly enhancing the overall performance and user experience of the system.

[0081] Furthermore, in some embodiments, step S2, "comparing the real-time environmental parameters with the preset environmental parameter thresholds to obtain a comparison result", may specifically include:

[0082] S21. If it is detected that both the real-time temperature and the real-time humidity exceed the preset environmental parameter thresholds, a first comparison result is generated;

[0083] S22. If it is detected that only the real-time temperature exceeds the preset environmental parameter thresholds, a second comparison result is generated;

[0084] S23. If it is detected that only the real-time humidity exceeds the preset environmental parameter thresholds, a third comparison result is generated.

[0085] Specifically, for step S2, it mainly involves comparing the monitored real-time environmental parameters with the environmental parameter thresholds preset by the user, which can be divided into the following situations: When the real-time temperature and real-time humidity detected by the temperature sensor and humidity sensor in the target area both exceed the preset threshold range, a specific comparison result is generated and marked as "the first comparison result". For example, if the preset temperature threshold is 20°C - 30°C and the humidity threshold is 40% - 60%, and the real-time temperature is 31°C and the humidity is 61%, then the first comparison result is generated. When only the temperature sensor detects that the real-time temperature in the target area exceeds the preset threshold range while the humidity is within the normal range, a specific comparison result is generated and marked as "the second comparison result". For example, if the preset temperature threshold is 20°C - 30°C and the humidity threshold is 40% - 60%, and the real-time temperature is 31°C and the humidity is 50%, then the second comparison result is generated. When only the humidity sensor detects that the real-time humidity in the target area exceeds the preset threshold range while the temperature is within the normal range, a specific comparison result is generated and marked as "the third comparison result". For example, if the preset temperature threshold is 20°C - 30°C and the humidity threshold is 40% - 60%, and the real-time temperature is 25°C and the humidity is 61%, then the third comparison result is generated. Through high-precision threshold comparison, it can accurately identify whether the temperature and humidity exceed the normal range, and whether they exceed alone or simultaneously, so as to generate different adjustment schemes according to different comparison results, ensuring precise adjustment for specific situations and improving the pertinence and effectiveness of temperature and humidity adjustment.

[0086] In a specific embodiment, the preset environmental parameter thresholds can be set by the user according to specific needs, or can be automatically adjusted according to factors such as season and weather. For example, the temperature threshold can be appropriately increased in summer and decreased in winter. Before generating the comparison result, the real-time data is verified to ensure the accuracy and reliability of the data. For example, data redundancy technology can be used, such as multiple sensors measuring the same parameter simultaneously and taking the average value as the final data. If the sensor data is abnormal (such as sensor failure or data jump), the abnormal data is automatically identified and processed, such as switching to a backup sensor or sending an alarm to notify the user.

[0087] Through precise threshold comparison and classification processing in this embodiment, it can provide clear signals and precise adjustment schemes for subsequent temperature and humidity adjustment, ensuring that the temperature and humidity in the target area are always in an ideal state. It not only improves the accuracy and reliability of environmental control, but also provides users with more flexible and convenient monitoring and management means, significantly enhancing the user experience.

[0088] Furthermore, in some embodiments, step S3, "Based on the comparison result, determine the temperature and humidity adjustment scheme for the target area", can specifically include:

[0089] S31. Generate a temperature and humidity adjustment plan for the target area based on the first comparison result;

[0090] S32. Generate a temperature adjustment plan for the target area based on the second comparison result;

[0091] S33. Generate a humidity adjustment plan for the target area based on the third comparison result.

[0092] Specifically, for step S3, different temperature and humidity adjustment plans are formulated according to different comparison results. For example, when it is detected that both the real-time temperature and the real-time humidity exceed the preset environmental parameter thresholds, a comprehensive temperature and humidity adjustment plan is generated. This temperature and humidity adjustment plan will consider the adjustments of both temperature and humidity simultaneously to ensure that the temperature and humidity in the target area can return to the normal range. For example, when it is detected that only the real-time temperature exceeds the preset environmental parameter threshold, a temperature-specific adjustment plan is generated, which will only consider the adjustment of temperature to ensure that the temperature in the target area returns to the normal range. Another example is that when it is detected that only the real-time humidity exceeds the preset environmental parameter threshold, a humidity-specific adjustment plan is generated, which will only consider the adjustment of humidity to ensure that the humidity in the target area returns to the normal range.

[0093] In a specific embodiment, when formulating the adjustment plan, a fuzzy logic control algorithm can be adopted to dynamically generate the adjustment plan according to the degree to which the temperature and humidity exceed the thresholds. For example, if both the temperature and humidity exceed the thresholds significantly, the exhaust fan can be set to operate at a high speed; if the exceeding degree is small, a low speed can be set. Or, the priority of temperature or humidity can be set. When the temperature or humidity exceeds the threshold, the temperature adjustment or humidity adjustment is performed first, while monitoring the change of humidity or temperature. For example, the exhaust fan can be set to operate at a high speed to quickly reduce the temperature.

[0094] This embodiment can ensure that the temperature and humidity in the target area are always in an ideal state by generating targeted temperature and humidity adjustment plans, which not only improves the accuracy and reliability of environmental control, but also can quickly respond to environmental changes through precise adjustment and dynamic feedback, ensuring that the temperature and humidity in the target area are always within the comfortable range, providing a healthier and more comfortable environment for users.

[0095] Further, in some embodiments, step S4 "Perform temperature and humidity adjustment on the target area based on the temperature and humidity adjustment plan" can specifically include:

[0096] S41. Generate an environmental adjustment instruction for the target area based on the temperature and humidity adjustment plan, the temperature adjustment plan, or the humidity adjustment plan;

[0097] Specifically, for step S41, according to the generated temperature and humidity adjustment plan, temperature adjustment plan, or humidity adjustment plan, a specific environment adjustment instruction is generated. The environment adjustment instruction is used to control how the exhaust fan works, including turning on, turning off, and setting the wind speed, etc. The environment adjustment instruction can be generated by using intelligent algorithms (such as fuzzy logic control algorithm or PID control algorithm), and the working parameters of the exhaust fan are dynamically adjusted according to real-time data and preset thresholds. The environment adjustment instruction can include multiple parameters, such as wind speed, running time, interval time, etc. For example, the instruction can be "turn on the exhaust fan, set the wind speed to medium, run for 10 minutes, and have an interval of 5 minutes". Before sending the instruction, the instruction can also be verified to ensure its rationality and feasibility. For example, check whether the wind speed setting is within the allowable range of the exhaust fan and whether the running time is reasonable, etc.

[0098] S42. Through the control socket, according to the environment adjustment instruction, control the corresponding target exhaust fan in the target area to start working, and real-time monitor the real-time environment parameters of the target area;

[0099] Specifically, for step S42, the control socket receives the environment adjustment instruction and controls the exhaust fan in the target area to start working according to the instruction. At the same time, the system continues to real-time monitor the temperature and humidity of the target area to ensure the adjustment effect. The control socket has intelligent functions and can receive and execute the environment adjustment instruction. Wi-Fi or Bluetooth technology can be used to achieve wireless communication with the control center. During the working process of the exhaust fan, the temperature and humidity sensor continues to real-time monitor the temperature and humidity of the target area and transmits the data back to the control center. The control center can set the data transmission frequency, for example, transmit the data once a minute. Finally, according to the real-time monitoring data, the working parameters of the exhaust fan can be dynamically adjusted. For example, if the temperature or humidity drops too slowly, the wind speed can be increased; if the drop speed is too fast, the wind speed can be decreased.

[0100] S43. After monitoring that the real-time environment parameters do not exceed the preset environment parameter threshold, control the target exhaust fan to turn off through the control socket;

[0101] Specifically, for step S43, when the real-time monitored temperature and humidity data return to the preset normal range, turn off the exhaust fan through the control socket to stop the adjustment process. To avoid frequent start and stop of the exhaust fan, a threshold hysteresis can be set. For example, when the temperature or humidity drops below a certain range (such as 5%) of the preset threshold, then turn off the exhaust fan. After turning off the exhaust fan, it can continue to be monitored for a period of time to ensure that the temperature and humidity remain within the normal range. If the temperature and humidity exceed the threshold again, the exhaust fan can be restarted. Finally, record the on and off times of each exhaust fan, as well as the temperature and humidity data at that time, for subsequent analysis and maintenance.

[0102] In this embodiment, by generating specific environment adjustment instructions, it is ensured that the exhaust fan can work according to a predetermined plan, improving the accuracy and reliability of control. During the operation of the exhaust fan, the temperature and humidity of the target area are monitored in real time, and the working parameters of the exhaust fan are dynamically adjusted according to the real-time data to ensure the rapidity and stability of the adjustment process. By promptly turning off the exhaust fan, unnecessary energy waste is avoided, and at the same time, the temperature and humidity of the target area are ensured to be kept within the normal range, improving the energy efficiency and reliability of the adjustment process.

[0103] Further, in some embodiments, after step S42 "controlling the target exhaust fan in the target area to start working according to the environment adjustment instruction through the control socket and monitoring the real-time environment parameters of the target area in real time", it may specifically further include:

[0104] If the temperature of the target area is adjusted based on the temperature adjustment plan and the monitored real-time humidity of the target area exceeds the preset environment parameter threshold, or if the humidity of the target area is adjusted based on the humidity adjustment plan and the monitored real-time temperature of the target area exceeds the preset environment parameter threshold, a working adjustment instruction for the target exhaust fan is generated;

[0105] Adjust the current working parameters of the target exhaust fan through the control socket according to the working adjustment instruction;

[0106] Perform temperature and humidity adjustment on the target area through the adjusted target exhaust fan until both the real-time temperature and real-time humidity in the target area do not exceed the preset environment parameter threshold, and then turn off the target exhaust fan.

[0107] Specifically, when implementing the temperature adjustment plan, if the monitored humidity exceeds the preset threshold, or when implementing the humidity adjustment plan, if the monitored temperature exceeds the preset threshold, a new working adjustment instruction will be generated to adjust the working parameters of the exhaust fan. When performing a single temperature or humidity adjustment, both the temperature and humidity are monitored simultaneously. Even if the current adjustment plan only targets one of the parameters, the change of the other parameter should be continuously monitored. An intelligent algorithm is used to generate the working adjustment instruction, and the working parameters of the exhaust fan, such as the wind speed, running time, and interval time, are dynamically adjusted according to the real-time data and the preset threshold. The threshold is dynamically adjusted according to the actual situation. For example, if the humidity often exceeds the threshold, the humidity threshold can be appropriately increased, or the temperature threshold can be adjusted to better balance the temperature and humidity.

[0108] The control socket receives the newly generated work adjustment instruction and adjusts the current working parameters of the exhaust fan according to the work adjustment instruction, such as wind speed, running time, and interval time. The control socket can receive and execute the work adjustment instruction. When adjusting the working parameters, ensure that the parameters are within the allowable range of the exhaust fan. For example, the wind speed should not exceed the maximum wind speed of the exhaust fan, and the running time should not be too long to avoid damaging the equipment. After the adjustment is completed, the control socket should feedback the adjustment result to the control center to ensure that the adjustment instruction has been correctly executed.

[0109] The adjusted exhaust fan continues to work until the temperature and humidity in the target area both return to the preset normal range. Once the temperature and humidity are both within the normal range, turn off the exhaust fan through the control socket. During the operation of the exhaust fan, continue to monitor the temperature and humidity in the target area in real time to ensure the adjustment effect. The data transmission frequency can be set, for example, once per minute. To avoid frequent start and stop of the exhaust fan, a threshold dead zone can be set. For example, when the temperature and humidity drop below a certain range (such as 5%) of the preset threshold, then turn off the exhaust fan. After turning off the exhaust fan, continue to monitor for a period of time to ensure that the temperature and humidity remain within the normal range. If the temperature and humidity exceed the threshold again, the exhaust fan can be restarted.

[0110] In this embodiment, when adjusting one parameter, another parameter is monitored simultaneously to ensure that adjusting one parameter will not cause the other parameter to exceed the normal range, improving the overall control effect and stability of the system. The work adjustment instruction is generated through an intelligent algorithm, and the working parameters of the exhaust fan are precisely adjusted through the intelligent socket to ensure the accuracy and reliability of the adjustment. After the adjustment is completed, the adjustment result is feedback to ensure that the instruction has been correctly executed.

[0111] Furthermore, in some embodiments, step S4 "Performing temperature and humidity adjustment on the target area based on the temperature and humidity adjustment scheme" may specifically further include:

[0112] Generating control parameters corresponding to the temperature and humidity adjustment scheme through a fuzzy logic control algorithm;

[0113] During the process of controlling the target exhaust fan in the target area based on the control parameters, adjusting the working parameters of the target exhaust fan through a PID control algorithm;

[0114] Performing temperature and humidity adjustment on the target area through the adjusted target exhaust fan until both the real-time temperature and real-time humidity in the target area do not exceed the preset environmental parameter threshold, and then turning off the target exhaust fan.

[0115] Specifically, during the process of adjusting the temperature and humidity of the target area based on the temperature and humidity adjustment plan, first, the fuzzy logic control algorithm generates specific control parameters, including the wind speed, running time, and interval time of the exhaust fan, etc., according to the real-time monitored temperature and humidity data and the preset thresholds, so as to achieve precise adjustment of the temperature and humidity in the target area. Fuzzy logic control is a control method based on fuzzy set theory and fuzzy inference, which is suitable for dealing with problems with strong uncertainty and ambiguity. By using fuzzy rules to describe the control strategy of the system, it can reason based on the fuzzy sets of input variables, and then output control signals. In temperature and humidity control, fuzzy logic control can handle the fuzziness of temperature and humidity, such as fuzzy concepts like "high temperature" and "high humidity", and dynamically adjust the operating parameters of the exhaust fan through fuzzy rules.

[0116] Define fuzzy sets. For example, for temperature, define fuzzy sets such as "low temperature", "medium temperature", and "high temperature". For humidity, define fuzzy sets such as "low humidity", "medium humidity", and "high humidity". For wind speed, define fuzzy sets such as "low speed", "medium speed", and "high speed". For running time, define fuzzy sets such as "short time", "medium time", and "long time".

[0117] Establish fuzzy rules. For example, Rule 1: If the temperature is "high temperature" and the humidity is "high humidity", then the wind speed is "high speed" and the running time is "long time". Rule 2: If the temperature is "medium temperature" and the humidity is "high humidity", then the wind speed is "medium speed" and the running time is "medium time". Rule 3: If the temperature is "high temperature" and the humidity is "medium humidity", then the wind speed is "medium speed" and the running time is "medium time". Rule 4: If the temperature is "medium temperature" and the humidity is "medium humidity", then the wind speed is "low speed" and the running time is "short time". Rule 5: If the temperature is "low temperature" and the humidity is "low humidity", then the wind speed is "low speed" and the running time is "short time".

[0118] Convert the actually measured temperature and humidity values into the membership degrees of fuzzy sets. For example, when the temperature is 32°C and the humidity is 70%, through the fuzzification process, the membership degree of the temperature belonging to "high temperature" is 0.8, and the membership degree of the humidity belonging to "high humidity" is 0.7. According to the fuzzy rules and membership degrees, conduct fuzzy inference. For example, according to Rule 1, if the temperature is "high temperature" and the humidity is "high humidity", then the wind speed is "high speed" and the running time is "long time". Through fuzzy inference, calculate the fuzzy outputs of the wind speed and running time. Convert the fuzzy outputs into specific control parameters. For example, convert the fuzzy output "high speed" of the wind speed into a specific wind speed value, such as 1000 rpm; convert the fuzzy output "long time" of the running time into a specific running time, such as 30 minutes.

[0119] Then, during the operation of the exhaust fan according to the control parameters generated by the fuzzy logic control algorithm, the PID control algorithm is further used to finely adjust the operating parameters of the exhaust fan. The PID control algorithm dynamically adjusts the wind speed, running time, and interval time according to the real-time monitored temperature and humidity data to achieve rapid and stable temperature and humidity adjustment.

[0120] Define the control variables. Among them, define the temperature error as e T (t) = T set - T(t), and define the humidity error as e H (t) = H set - H(t); where T set and H set are the preset values of temperature and humidity respectively, and T(t) and H(t) are the actually measured temperature and humidity respectively.

[0121] Determine the temperature control signal and humidity control signal respectively through the PID control formula. Among them,

[0122] The calculation formula of the temperature control signal is as follows:

[0123]

[0124] The calculation formula of the humidity control signal is as follows:

[0125]

[0126] Among them, K pT , Ki T , K dT are the proportional, integral, and differential coefficients of temperature control respectively; K pH , K iH , Kd H are the proportional, integral, and differential coefficients of humidity control respectively.

[0127] Dynamically adjust the PID (Proportional-Integral-Derivative) control parameters according to the real-time monitored temperature and humidity data. Adjust the proportional coefficient P to adjust the amplitude of the control signal. Increasing the proportional coefficient can speed up the response speed, but too large a value will cause the system to be unstable. Adjust the integral coefficient I to eliminate the steady-state error and make the error of the system zero at steady state, but too large a value will cause system overshoot and oscillation. Adjust the differential coefficient D to predict the change trend of the error, adjust the control signal in advance, and reduce overshoot, but too large a value will be sensitive to noise.

[0128] Finally, according to the calculated control signals u T (t) and u H (t), adjust the wind speed and running time of the exhaust fan. For example, if u T (t) is larger, increase the wind speed; if u H(t) is relatively large, extending the running time.

[0129] The adjusted exhaust fan continues to operate until both the temperature and humidity in the target area return to the preset normal range. Once both the temperature and humidity are within the normal range, the system turns off the exhaust fan by controlling the socket. During the operation of the exhaust fan, the temperature and humidity in the target area are continuously monitored in real time to ensure the adjustment effect. The data transmission frequency can be set, for example, once per minute. To avoid frequent start-stop of the exhaust fan, a threshold dead zone can be set. For example, when the temperature and humidity drop below a certain range (such as 5%) of the preset threshold, the exhaust fan is turned off. After turning off the exhaust fan, the system can continue to monitor for a period of time to ensure that the temperature and humidity remain within the normal range. If the temperature and humidity exceed the threshold again, the exhaust fan can be restarted.

[0130] In this embodiment, flexible and adaptable control parameters are generated through a fuzzy logic control algorithm to ensure that optimal adjustment schemes can be generated according to different temperature and humidity combinations, improving the accuracy and stability of control. During the operation of the exhaust fan, the working parameters are fine-tuned in real time through a PID control algorithm to ensure the rapidity and smoothness of the temperature and humidity adjustment process, and improve the response speed and control accuracy of the adjustment process. Through continuous monitoring and threshold dead zone setting, it is ensured that the exhaust fan is turned off after the temperature and humidity are both normal, avoiding frequent start-stop and improving the energy efficiency and reliability of temperature and humidity adjustment.

[0131] To facilitate understanding of the temperature and humidity adjustment method provided in this application, as Figure 3 shown, this embodiment also provides a specific implementation manner of the temperature and humidity adjustment method, and the specific process is as follows:

[0132] First, set the control ranges of temperature and humidity. In this example, the temperature range is set to 30 - 35 °C, and the humidity range is set to 60 - 65%. The temperature and humidity in the target area are monitored in real time.

[0133] If the current temperature is 37 °C and the humidity is 67%, compare whether any parameter exceeds the range. It can be seen that both the temperature and humidity exceed the range, turn on the exhaust fan, and keep it running until both parameters return to the preset range, then turn off the exhaust fan.

[0134] If the current temperature is 32 °C and the humidity is 67%, it is determined that only the humidity exceeds the range and the temperature does not exceed. Turn on the exhaust fan and keep it running until the humidity returns to the preset range;

[0135] If the current temperature is 37 °C and the humidity is 62%, it is determined that only the temperature exceeds the range and the humidity does not exceed. Turn on the exhaust fan and keep it running until the temperature returns to the preset range.

[0136] In addition, this embodiment also provides two control modes: constant mode and timing mode. In the constant mode, the temperature and humidity can be continuously maintained within a certain range. In the timing mode, the temperature and humidity can be maintained within a certain range within a certain period of time. Up to 12 time periods can be set, and the temperature and humidity ranges for each time period can be set separately.

[0137] It should be noted that the temperature adjustment method provided in this embodiment can be executed on a control socket. The temperature and humidity sensor is connected to the display screen of the control socket. The display screen can be powered by a battery or a data cable. After the display screen collects the temperature and humidity data, the data is transmitted to the socket via RF. The terminal device (exhaust fan) is plugged into the socket. The user can connect to the socket via Wi-Fi and set the control mode of the temperature and humidity.

[0138] In summary, this embodiment provides a temperature and humidity adjustment method. First, obtain the real-time environmental parameters of the target area; then, compare the real-time environmental parameters with the preset environmental parameter thresholds to obtain a comparison result; next, based on the comparison result, determine the temperature and humidity adjustment plan for the target area; finally, adjust the temperature and humidity of the target area based on the temperature and humidity adjustment plan. The temperature and humidity control solution provided in this embodiment compares the obtained real-time environmental parameters of the target area with the preset environmental parameter thresholds, thereby generating a temperature and humidity adjustment plan according to the comparison result. Finally, the temperature and humidity of the target area are adjusted according to the temperature and humidity adjustment plan, realizing real-time monitoring, accurate comparison, intelligent adjustment and effective control of the temperature and humidity in the target area. It can not only control the temperature and humidity simultaneously, but also flexibly formulate adjustment plans according to different situations, effectively improving the efficiency and accuracy of temperature and humidity adjustment, and solving the problems of energy waste and inability to meet the diverse needs of users caused by the single control mode in the prior art; in addition, through the automatic adjustment of the temperature and humidity in the target area, there is no need for users to perform complex manual operations, improving the automation degree of temperature and humidity adjustment and enhancing the user experience.

[0139] To facilitate better implementation of the temperature and humidity adjustment method of the embodiments of the present application, the embodiments of the present application also provide a temperature and humidity adjustment device. The meanings of the terms are the same as those in the above temperature and humidity adjustment method, and the specific implementation details can be referred to the description in the method embodiments.

[0140] Please refer to Figure 4 , Figure 4 which is a schematic structural diagram of the temperature and humidity adjustment device provided in the embodiments of the present application. The temperature and humidity adjustment device may specifically include an acquisition module 201, a comparison module 202, a determination module 203, and an adjustment module 204, which are specifically as follows:

[0141] The acquisition module 201 is used to acquire the real-time environmental parameters of the target area;

[0142] A comparison module 202, configured to compare real-time environmental parameters with preset environmental parameter thresholds to obtain a comparison result;

[0143] A determination module 203, configured to determine a temperature and humidity adjustment plan for the target area based on the comparison result;

[0144] An adjustment module 204, configured to adjust the temperature and humidity of the target area based on the temperature and humidity adjustment plan.

[0145] Further, in some embodiments, the acquisition module 201 may specifically include:

[0146] A deployment unit, configured to pre-deploy temperature sensors and humidity sensors at monitoring nodes in the target area;

[0147] A monitoring unit, configured to monitor the real-time temperature and real-time humidity of the target area in real time based on the temperature sensors and humidity sensors.

[0148] Further, in some embodiments, the comparison module 202 is specifically configured to:

[0149] If it is detected that both the real-time temperature and the real-time humidity exceed the preset environmental parameter thresholds, generate a first comparison result;

[0150] If it is detected that only the real-time temperature exceeds the preset environmental parameter threshold, generate a second comparison result;

[0151] If it is detected that only the real-time humidity exceeds the preset environmental parameter threshold, generate a third comparison result.

[0152] Further, in some embodiments, the determination module 203 is specifically configured to:

[0153] Generate a temperature and humidity adjustment plan for the target area based on the first comparison result;

[0154] Generate a temperature adjustment plan for the target area based on the second comparison result;

[0155] Generate a humidity adjustment plan for the target area based on the third comparison result.

[0156] Further, in some embodiments, the adjustment module 204 is specifically configured to:

[0157] Generate an environmental adjustment instruction for the target area corresponding to based on the temperature and humidity adjustment plan, the temperature adjustment plan, or the humidity adjustment plan;

[0158] Control the corresponding target exhaust fan in the target area to start working according to the environmental adjustment instruction through a control socket, and monitor the real-time environmental parameters of the target area in real time;

[0159] After detecting that the real-time environmental parameters do not exceed the preset environmental parameter thresholds, control the target exhaust fan to turn off through the control socket.

[0160] Further, in some embodiments, the adjustment module 204 is further specifically configured to:

[0161] If the temperature of the target area is adjusted based on the temperature adjustment scheme and it is detected that the real-time humidity of the target area exceeds the preset environmental parameter thresholds, or, if the humidity of the target area is adjusted based on the humidity adjustment scheme and it is detected that the real-time temperature of the target area exceeds the preset environmental parameter thresholds, generate a working adjustment instruction for the target exhaust fan;

[0162] According to the working adjustment instruction through the control socket, adjust the current working parameters of the target exhaust fan;

[0163] Use the adjusted target exhaust fan to adjust the temperature and humidity of the target area until both the real-time temperature and the real-time humidity in the target area do not exceed the preset environmental parameter thresholds, and then turn off the target exhaust fan.

[0164] Further, in some embodiments, the adjustment module 204 is further specifically configured to:

[0165] Generate control parameters corresponding to the temperature and humidity adjustment scheme through a fuzzy logic control algorithm;

[0166] During the process of controlling the target exhaust fan in the target area to work based on the control parameters, adjust the working parameters of the target exhaust fan through a PID control algorithm;

[0167] Use the adjusted target exhaust fan to adjust the temperature and humidity of the target area until both the real-time temperature and the real-time humidity in the target area do not exceed the preset environmental parameter thresholds, and then turn off the target exhaust fan.

[0168] In summary, the temperature and humidity adjustment device provided in this embodiment obtains the real-time environmental parameters of the target area through the acquisition module 201; compares the real-time environmental parameters with the preset environmental parameter thresholds through the comparison module 202 to obtain a comparison result; determines the temperature and humidity adjustment plan for the target area based on the comparison result through the determination module 203; and adjusts the temperature and humidity of the target area based on the temperature and humidity adjustment plan through the adjustment module 204. It can be seen that the temperature and humidity adjustment device provided in this embodiment compares the obtained real-time environmental parameters of the target area with the preset environmental parameter thresholds, thereby generating a temperature and humidity adjustment plan according to the comparison result, and finally adjusting the temperature and humidity of the target area according to the temperature and humidity adjustment plan, realizing real-time monitoring, accurate comparison, intelligent adjustment and effective control of the temperature and humidity of the target area. It can not only control the temperature and humidity simultaneously, but also flexibly formulate adjustment plans according to different situations, effectively improving the efficiency and accuracy of temperature and humidity adjustment, and solving the problems of energy waste and inability to meet the diverse needs of users caused by the single control mode in the prior art; in addition, through the automatic adjustment of the temperature and humidity of the target area, there is no need for users to perform complex manual operations, improving the automation degree of temperature and humidity adjustment and enhancing the user experience.

[0169] In addition, an embodiment of the present application also provides an electronic device, as Figure 5 shown, which shows a schematic structural diagram of the electronic device involved in the embodiment of the present application. Specifically: The electronic device may include a processor 301 with one or more processing cores, a memory 302 with one or more computer-readable storage media, a power supply 303, an input unit 304 and other components. Those skilled in the art can understand that Figure 5 the structure of the electronic device shown in does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Among them:

[0170] The processor 301 is the control center of the electronic device, connecting various parts of the entire electronic device through various interfaces and lines, and executing various functions of the electronic device and processing data by running or executing software programs and / or modules stored in the memory 302, as well as calling data stored in the memory 302, thereby monitoring the electronic device as a whole. Optionally, the processor 301 may include one or more processing cores; preferably, the processor 301 may integrate an application processor and a modulation and demodulation processor. Among them, the application processor mainly processes the operating system, user interface and application programs, etc., and the modulation and demodulation processor mainly processes wireless communication. It can be understood that the above modulation and demodulation processor may not be integrated into the processor 301.

[0171] The memory 302 can be used to store software programs and modules. The processor 301 executes various functional applications and the temperature and humidity adjustment method by running the software programs and modules stored in the memory 302. The memory 302 mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the electronic device. In addition, the memory 302 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices. Correspondingly, the memory 302 can also include a memory controller to provide the processor 301 with access to the memory 302.

[0172] The electronic device further includes a power supply 303 for supplying power to each component. Preferably, the power supply 303 can be logically connected to the processor 301 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 303 can also include any components such as one or more DC or AC power supplies, a recharge system, a power failure detection circuit, a power converter or inverter, and a power status indicator.

[0173] The electronic device may further include an input unit 304, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.

[0174] Although not shown, the electronic device may further include a display unit, etc., which will not be elaborated here. Specifically, in this embodiment, the processor 301 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 302 according to the following instructions, and the processor 301 will run the application programs stored in the memory 302 to implement various functions as follows:

[0175] Obtain the real-time environmental parameters of the target area; compare the real-time environmental parameters with the preset environmental parameter thresholds to obtain a comparison result; based on the comparison result, determine the temperature and humidity adjustment scheme for the target area; adjust the temperature and humidity of the target area based on the temperature and humidity adjustment scheme.

[0176] For the specific implementation of the above operations, reference can be made to the previous embodiments, which will not be elaborated here.

[0177] In the embodiment of the present application, the real-time environmental parameters of the target area are obtained and compared with the preset environmental parameter thresholds, so as to generate a temperature and humidity adjustment plan according to the comparison result. Finally, the temperature and humidity of the target area are adjusted according to the temperature and humidity adjustment plan, realizing real-time monitoring, accurate comparison, intelligent adjustment and effective control of the temperature and humidity of the target area. It can not only control the temperature and humidity at the same time, but also flexibly formulate adjustment plans according to different situations, effectively improving the efficiency and accuracy of temperature and humidity adjustment, and solving the problems of energy waste and inability to meet the diverse needs of users caused by the single control mode in the prior art. In addition, through the automatic adjustment of the temperature and humidity of the target area, there is no need for users to perform complex manual operations, improving the automation degree of temperature and humidity adjustment and enhancing the user experience.

[0178] Those of ordinary skill in the art can understand that all or part of the steps in the above-mentioned various methods can be completed by instructions or by controlling relevant hardware through instructions. The instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0179] Therefore, the embodiment of the present application provides a storage medium, which stores multiple instructions that can be loaded by a processor to execute the steps in any one of the temperature and humidity adjustment methods provided by the embodiment of the present application. For example, the instructions can perform the following steps:

[0180] Obtain the real-time environmental parameters of the target area; compare the real-time environmental parameters with the preset environmental parameter thresholds to obtain a comparison result; determine the temperature and humidity adjustment plan for the target area based on the comparison result; adjust the temperature and humidity of the target area based on the temperature and humidity adjustment plan.

[0181] For the specific implementation of each of the above operations, reference can be made to the previous embodiments, which will not be elaborated here.

[0182] Among them, the storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc. Since the instructions stored in the storage medium can execute the steps in any one of the temperature and humidity adjustment methods provided by the embodiment of the present application, the beneficial effects that can be achieved by any one of the temperature and humidity adjustment methods provided by the embodiment of the present application can be realized. For details, refer to the previous embodiments, which will not be elaborated here.

[0183] The above has introduced in detail a temperature and humidity adjustment method, device, electronic device and storage medium provided by the embodiments of the present application. Specific examples are used in this article to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application.

Claims

1. A method for adjusting temperature and humidity, characterized in that: The steps include: Obtain real-time environmental parameters of the target area; Compare the real-time environmental parameter with a preset environmental parameter threshold to obtain a comparison result; Based on the comparison result, determining a temperature and humidity adjustment plan for the target area; The temperature and humidity of the target area are adjusted based on the temperature and humidity adjustment scheme.

2. The temperature and humidity adjustment method according to claim 1, characterized in that: The step of obtaining the real-time environmental parameters of the target area includes: Deploy temperature sensors and humidity sensors in advance at monitoring nodes in the target area; The real-time temperature and the real-time humidity of the target area are monitored in real time based on the temperature sensor and the humidity sensor.

3. The temperature and humidity adjustment method according to claim 2, characterized in that: The comparing the real-time environmental parameter with a preset environmental parameter threshold to obtain a comparison result includes: If it is detected that both the real-time temperature and the real-time humidity exceed the preset environmental parameter threshold, a first comparison result is generated; If it is detected that only the real-time temperature exceeds the preset environmental parameter threshold, generating a second comparison result; If it is detected that only the real-time humidity exceeds the preset environmental parameter threshold, a third comparison result is generated.

4. The temperature and humidity adjustment method according to claim 3, characterized in that: Determining the temperature and humidity adjustment scheme of the target area based on the comparison result includes: Based on the first comparison result, generating a temperature and humidity adjustment plan for the target area; generating a temperature adjustment scheme for the target area based on the second comparison result; Based on the third comparison result, a humidity adjustment plan for the target area is generated.

5. The temperature and humidity adjustment method according to claim 4, characterized in that: The step of adjusting the temperature and humidity of the target area based on the temperature and humidity adjustment scheme includes: Based on the temperature and humidity adjustment scheme, the temperature adjustment scheme or the humidity adjustment scheme, generating an environment adjustment instruction corresponding to the target area; By controlling the socket according to the environmental adjustment instruction, the corresponding target exhaust fan in the target area is controlled to start working, and the real-time environmental parameters of the target area are monitored in real time; After monitoring that the real-time environmental parameter does not exceed the preset environmental parameter threshold, the target exhaust fan is controlled to be turned off through the control socket.

6. The temperature and humidity adjustment method according to claim 5, characterized in that: After the control socket is used to control the corresponding target exhaust fan in the target area to start working according to the environment adjustment instruction, and the real-time environmental parameters of the target area are monitored in real time, the method further includes: If the temperature of the target area is adjusted based on the temperature adjustment scheme, when it is monitored that the real-time humidity of the target area exceeds the preset environmental parameter threshold, or if the humidity of the target area is adjusted based on the humidity adjustment scheme, when it is monitored that the real-time temperature of the target area exceeds the preset environmental parameter threshold, a work adjustment instruction for the target exhaust fan is generated; adjusting the current working parameters of the target exhaust fan according to the working adjustment instruction through the control socket; The temperature and humidity of the target area are adjusted by the adjusted target exhaust fan until the real-time temperature and real-time humidity in the target area do not exceed the preset environmental parameter threshold, and then the target exhaust fan is turned off.

7. The temperature and humidity adjustment method according to claim 4, characterized in that: The step of adjusting the temperature and humidity of the target area based on the temperature and humidity adjustment scheme includes: Generate control parameters corresponding to the temperature and humidity adjustment scheme through a fuzzy logic control algorithm; In the process of controlling the target exhaust fan in the target area to operate based on the control parameter, adjusting the operating parameters of the target exhaust fan by using a PID control algorithm; The temperature and humidity of the target area are adjusted by the adjusted target exhaust fan until the real-time temperature and real-time humidity in the target area do not exceed the preset environmental parameter threshold, and then the target exhaust fan is turned off.

8. A temperature and humidity adjustment device, characterized in that: include: An acquisition module is used to obtain real-time environmental parameters of the target area; A comparison module, used to compare the real-time environmental parameter with a preset environmental parameter threshold to obtain a comparison result; A determination module, configured to determine a temperature and humidity adjustment plan for the target area based on the comparison result; An adjustment module is used to adjust the temperature and humidity of the target area based on the temperature and humidity adjustment scheme.

9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the temperature and humidity adjustment method according to any one of claims 1 to 7 are implemented.

10. A storage medium, characterized in that: A computer program is stored which can be loaded by a processor and executes the temperature and humidity adjustment method according to any one of claims 1 to 7.