Air conditioner control method and device for bathroom, electronic equipment and storage medium

By obtaining the distance between the user and the toilet and automatically adjusting the air outlet temperature of the air conditioner, the problem of excessive temperature difference when used in the toilet setting is solved, the user's comfort and energy-saving effect are improved, and more intelligent air conditioners are realized control.

CN119103692APending Publication Date: 2024-12-10GUANGDONG ZHONGGUANG HVAC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411484842.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-23
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

Existing wall-mounted air conditioners are difficult to directly apply to air conditioners set around toilets, resulting in too large temperature difference between the air outlet temperature and the ambient temperature, discomfort of the user, and lack of effective automatic control methods.

Method used

By obtaining the distance between the user and the toilet and real-time ambient temperature, the air conditioner work is automatically controlled, and the air outlet temperature is adjusted according to the temperature difference value, ensuring that the temperature difference is within the set range, and combining the adjustment strategy that distinguishes the cooling and heating modes, it is optimized Wind out speed.

Benefits of technology

It improves user comfort, reduces energy consumption, avoids energy waste caused by the air conditioner's constant working, realizes smarter and more user-friendly temperature regulation, and significantly improves the overall efficiency of the air conditioner system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119103692A_ABST
    Figure CN119103692A_ABST
Patent Text Reader

Abstract

The invention provides an air conditioner control method and device for a bathroom, electronic equipment and a storage medium, and belongs to the technical field of air conditioner control. The method is used for automatically controlling an air conditioner arranged around a closestool and comprises the following steps that the spacing distance between a user and the closestool is obtained; and controlling the toilet air conditioner to automatically work based on the spacing distance. After the air conditioner for the toilet works, the real-time environment temperature of the closestool is obtained. And adjusting the air outlet temperature of the air conditioner for the toilet according to the change of the real-time environment temperature. The air outlet temperature is adjusted through the real-time environment temperature, the problem that the temperature difference between the air outlet temperature and the environment temperature is too large is solved, discomfort caused by the air outlet temperature to a user can be reduced, and the beneficial effects of improving the user comfort and reducing energy consumption are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of air conditioning control, and in particular to a method, device, electronic device and storage medium for controlling an air conditioning for a bathroom. Background Art

[0002] Most of the existing bathroom air conditioners are hung on the bathroom, which is far away from the toilet. However, users' demand for bathroom air conditioners is mainly used when going to the toilet. In response to this problem, the applicant provides a bathroom air conditioner in patent application number CN202321343627.8, which is set around the toilet.

[0003] However, the existing automatic control methods for wall-mounted air conditioners are difficult to use directly on air conditioners installed around toilets. This is because the wall-mounted air conditioner is far away from the user and the temperature of the entire bathroom needs to be controlled. For example, the existing automatic control methods for wall-mounted air conditioners usually use a fixed air outlet temperature for temperature adjustment. In cooling mode, the evaporator of the air conditioner will be very cold because the refrigerant evaporates and absorbs heat here. Therefore, the temperature of the air outlet will be relatively low, usually around 10°C to 15°C; in heating mode, the condenser of the air conditioner will release heat, and the temperature of the air outlet will be relatively high, usually around 40°C to 50°C.

[0004] In contrast, the air conditioner installed around the toilet is close to the toilet, so there is no need to cool the entire bathroom. It only needs to form a corresponding cooling or heating wind field near the toilet to meet the user's needs. Therefore, directly applying the existing air conditioning control method to the air conditioner installed around the toilet will cause a large temperature difference between the air outlet temperature and the ambient temperature, which will cause users to feel uncomfortable.

[0005] There is currently no effective technical solution to the above problems. Summary of the invention

[0006] The purpose of this application is to provide an air conditioning control method, device, electronic device and storage medium for a bathroom, which has the advantages of being able to automatically control the operation of the air conditioner according to the distance between the user and the toilet, and adjust the air outlet temperature according to the real-time ambient temperature, thereby improving user comfort.

[0007] In a first aspect, the present application provides a method for controlling an air conditioner for a bathroom, which is used to automatically control an air conditioner arranged around a toilet, and the method comprises the following steps: Get the distance between the user and the toilet; Controlling the air conditioner for the bathroom to automatically operate based on the interval distance; After the toilet air conditioner is in operation, obtaining the real-time ambient temperature of the toilet; The air outlet temperature of the bathroom air conditioner is adjusted according to the change of the real-time ambient temperature.

[0008] The air conditioning control method for bathrooms provided in the present application obtains the distance between the user and the toilet, controls the air conditioning for the bathroom to automatically operate based on the distance, obtains the real-time ambient temperature of the toilet after the air conditioner is working, and adjusts the air outlet temperature of the air conditioner in real time according to the real-time ambient temperature, thereby realizing automatic control of the air conditioner according to the distance between the user and the toilet, and adjusting the air outlet temperature according to the real-time ambient temperature, avoiding the problem of excessive temperature difference between the air outlet temperature and the ambient temperature, and being able to reduce the discomfort caused to the user by the air outlet temperature, having the advantages of improving user comfort and reducing energy consumption.

[0009] Furthermore, the present application also proposes that the step of adjusting the air outlet temperature of the bathroom air conditioner according to the change of the real-time ambient temperature includes: Calculating the temperature difference between the outlet air temperature and the real-time ambient temperature; The temperature difference is controlled within a set range.

[0010] The above technical solution uses real-time temperature difference calculation and control mechanism to ensure that the temperature difference will not be too large when adjusting the air outlet temperature, which will cause discomfort. At the same time, it avoids the problem of energy waste caused by the air conditioner in the bathroom always being in working state, ensuring the comfort and energy saving of the bathroom environment. Compared with the traditional constant temperature control method, this is more intelligent and humane, providing users with a more comfortable experience and significantly improving the overall efficiency of the air conditioning system.

[0011] Furthermore, the present application also proposes that when the air outlet temperature is a cooling temperature, the setting range includes a first setting negative value and a second setting negative value, and the first setting negative value is greater than the second setting negative value; The step of controlling the temperature difference within a set range comprises: When the air outlet temperature is the cooling temperature: when the temperature difference is greater than the first set negative value, the air conditioner for the bathroom turns on the cooling mode, and the air outlet temperature gradually decreases; When the air outlet temperature is the cooling temperature: when the air outlet temperature drops to a level where the temperature difference is less than the second set negative value, the bathroom air conditioner turns off the cooling mode.

[0012] The adoption of the above technical solution can not only ensure that users are in a comfortable temperature environment during the refrigeration process, but also achieve efficient energy-saving effects.

[0013] Furthermore, the present application also proposes that when the air outlet temperature is the heating temperature, the setting range includes a first setting positive value and a second setting positive value, and the first setting positive value is smaller than the second setting positive value; The step of controlling the temperature difference within a set range comprises: When the outlet air temperature is the heating temperature: when the temperature difference is less than the first set positive value, the bathroom air conditioner turns on the heating mode, and the outlet air temperature gradually increases; When the outlet air temperature is the heating temperature: when the outlet air temperature rises to a point where the temperature difference is greater than the second set positive value, the heating mode is turned off.

[0014] The adoption of the above technical solution can not only ensure that users are in a comfortable temperature environment during the heating process, but also achieve efficient energy saving effects.

[0015] Furthermore, the present application also proposes that the bathroom air conditioning control method further includes the following steps: When the air outlet temperature is the cooling temperature, the air outlet speed is adjusted according to the change of the real-time ambient temperature; When the outlet air temperature is the heating temperature, the outlet air speed is adjusted according to the change of the outlet air temperature.

[0016] By adopting the above technical solution, by distinguishing between the two working modes of cooling and heating, different adjustment strategies are adopted to adjust the air outlet speed of the air conditioner. In the cooling mode, the air outlet speed is adjusted according to the change of the real-time ambient temperature. In this way, the cooling intensity can be flexibly adjusted according to the actual changes in the ambient temperature, which can not only achieve a good cooling effect, but also avoid the discomfort caused by excessive temperature changes. In the heating mode, the air outlet speed is adjusted according to the change of the air outlet temperature. This method can adjust the heating intensity according to the change of the air outlet temperature of the air conditioner itself, which is conducive to maintaining a stable and comfortable indoor temperature. Through this differentiated adjustment strategy, the air conditioning system can control the air outlet speed more accurately in different working modes, thereby achieving better temperature regulation effect and user comfort. Compared with a single adjustment strategy, this method can better adapt to different temperature regulation needs and improve the intelligence level and user experience of the air conditioning system.

[0017] Furthermore, the present application also proposes that the step of controlling the automatic operation of the bathroom air conditioner based on the interval distance includes: When the interval distance is less than the set distance, the user's stay time is recorded; When the user stays in the bathroom for longer than a set time, the air conditioner in the bathroom is controlled to operate.

[0018] By adopting the above technical solution, by combining the distance between the user and the toilet and the stay time to determine whether the air conditioner needs to be started, it can prevent false triggering due to human passing or staying, thereby avoiding unnecessary energy consumption and improving user comfort and energy saving effects.

[0019] Furthermore, the present application also proposes that the bathroom air conditioning control method further includes the following steps: After the air conditioner in the bathroom is working, controlling the negative ion generator to operate for a preset time; After the negative ion generator stops running, the interval time of turning on the negative ion generator is detected, and when the interval time is greater than a predetermined time, the negative ion generator is controlled to run for a preset time.

[0020] By adopting the above technical solution, by automatically running the negative ion generator after the air conditioner in the bathroom is working, and automatically running the negative ion generator according to the interval time, the negative ion generator can be automatically run after the air conditioner is working, so that negative ions can be generated in time, which helps to purify the air, eliminate odors, and improve air quality. By detecting the interval time when the negative ion generator is turned on, and automatically running when it exceeds the predetermined time, the continuous presence of negative ions can be ensured to maintain the air quality. These two technical features cooperate with each other to achieve the purpose of automatically and continuously improving the air quality during the operation of the air conditioner and when the device is turned off.

[0021] In a second aspect, the present application also provides a bathroom air conditioning control device for automatically controlling an air conditioner arranged around a toilet, the device comprising: A distance acquisition module is used to obtain the distance between the user and the toilet; A switch control module, used for controlling the bathroom air conditioner to automatically operate based on the interval distance; A temperature acquisition module, used to obtain the ambient temperature of the toilet after the air conditioner in the toilet is working; The temperature control module is used to adjust the air outlet temperature of the bathroom air conditioner according to the change of the real-time ambient temperature.

[0022] In a third aspect, the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the method provided in the first aspect are performed.

[0023] In a fourth aspect, the present application provides a storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps in the method provided in the first aspect are performed.

[0024] From the above, it can be seen that the bathroom air conditioning method provided by the present application obtains the distance between the user and the toilet, controls the bathroom air conditioning to automatically operate based on the distance, obtains the real-time ambient temperature of the toilet after the air conditioner is working, and adjusts the air outlet temperature of the air conditioner in real time according to the real-time ambient temperature, thereby realizing automatic control of the air conditioning operation according to the distance between the user and the toilet, and adjusting the air outlet temperature according to the real-time ambient temperature, avoiding the problem of excessive temperature difference between the air outlet temperature and the ambient temperature, and can reduce the discomfort caused to the user by the air outlet temperature, which has the advantages of improving user comfort and reducing energy consumption.

[0025] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the embodiments of the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A flow chart of a method for controlling an air conditioner for a bathroom provided in an embodiment of the present application.

[0027] Figure 2 A schematic diagram of the structure of an air conditioning control device for a bathroom provided in an embodiment of the present application.

[0028] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0029] Description of labels: 10. Distance acquisition module; 20. Switch control module; 30. Temperature acquisition module; 40. Temperature control module; 3. Electronic device; 301. Processor; 302. Memory; 303. Communication bus. DETAILED DESCRIPTION

[0030] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0031] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0032] As people's living standards improve, the requirements for the comfort of the bathroom environment are getting higher and higher. Traditional bathroom air conditioners are usually installed above the wall, far away from the toilet, and it is difficult to provide a good air conditioning experience for toilet users. To solve this problem, this application proposes a bathroom air conditioner control method set around the toilet, aiming to create a more comfortable toilet environment for users.

[0033] When designing this new air conditioning control method, the present application firstly considers the user's usage habits. Unlike traditional wall-mounted air conditioners, air conditioners set around toilets mainly serve toilet users, so a smarter and more accurate control method is needed.

[0034] Please refer to Figure 1 , Figure 1 The following is a flow chart of a method for controlling an air conditioner for a toilet in some embodiments of the present application. The air conditioner control method is used to automatically control an air conditioner arranged around a toilet, and the method comprises the following steps: S100: Obtain the distance between the user and the toilet.

[0035] S200, controlling the bathroom air conditioner to automatically operate based on the interval distance.

[0036] S300, after the air conditioner in the bathroom is turned on, obtain the real-time ambient temperature of the toilet.

[0037] S400: adjusting the air outlet temperature of the air conditioner for the bathroom according to the change of the real-time ambient temperature.

[0038] In step S100, an infrared sensor or an ultrasonic sensor may be used to measure the distance between the user and the toilet. Specifically, the infrared sensor or the ultrasonic sensor may be integrated on the bathroom air conditioner. Since the bathroom air conditioner is arranged around the toilet, the distance between the user and the toilet may be obtained by detecting the distance between the user and the bathroom air conditioner.

[0039] Among them, in this step S200, when it is detected that the user is approaching the toilet, the system will automatically start the air conditioner. This method is not only energy-saving and environmentally friendly, but also can provide timely services to users.

[0040] Among them, in step S300, after the bathroom air conditioner is working, the system will continuously monitor the ambient temperature around the toilet to obtain real-time ambient temperature data. This can be achieved by installing a temperature sensor on the bathroom air conditioner. The temperature sensor can be set at the air inlet of the bathroom air conditioner, and the ambient temperature of the toilet is obtained by detecting the temperature at the air inlet of the bathroom air conditioner. Compared with the traditional air conditioner that controls the temperature by obtaining the ambient temperature of the entire space, this embodiment can better meet the actual use needs of users by detecting the real-time ambient temperature around the toilet.

[0041] Specifically, when the infrared sensor or ultrasonic sensor detects that someone is sitting on the toilet, the air conditioner starts running immediately, and executes high wind for 5 seconds and then runs automatic wind. By running at high wind for 5 seconds, the ambient air of the toilet and the internal air of the bathroom air conditioner are quickly connected, so that the temperature sensor installed at the air inlet of the bathroom air conditioner can accurately obtain the air temperature near the toilet.

[0042] Among them, in this step S400, the air outlet temperature refers to the temperature of the air output by the bathroom air conditioner, and the ambient temperature around the toilet is adjusted by outputting an air outlet temperature higher or lower than the real-time ambient temperature. Compared with the conventional air conditioner ambient temperature adjustment method using a fixed air outlet temperature, the air outlet temperature of the present application is adjusted in a manner that follows the real-time ambient temperature changes.

[0043] For example, when the real-time ambient temperature is 30°C, when cooling is required, the outlet temperature can be adjusted to 4°C lower than the real-time ambient temperature, that is, the outlet temperature is 26°C. With the continuous output of the 26°C outlet temperature of the bathroom air conditioner, the real-time ambient temperature will drop to 29°C. At this time, the outlet temperature can drop to 25°C as the real-time ambient temperature drops. Conversely, when the real-time ambient temperature is 16°C, when heating is required, the outlet temperature can also be adjusted to 4°C higher than the real-time ambient temperature, that is, the outlet temperature is 20°C. With the continuous output of the 20°C outlet temperature of the bathroom air conditioner, the real-time ambient temperature will rise to 17°C. At this time, the outlet temperature can rise to 21°C as the real-time ambient temperature rises.

[0044] Compared with the traditional air conditioning control method, the method of the present application is more refined. The outlet air temperature is adjusted according to the change of the real-time ambient temperature until the real-time ambient temperature reaches the ideal temperature. The outlet air temperature and the real-time ambient temperature are always in the ideal temperature difference during this process, which can avoid the discomfort caused to the user by the sudden temperature change.

[0045] From the above, it can be seen that the bathroom air conditioning method provided by the present application obtains the distance between the user and the toilet, controls the bathroom air conditioning to automatically operate based on the distance, obtains the real-time ambient temperature of the toilet after the air conditioner is working, and adjusts the air outlet temperature of the air conditioner in real time according to the real-time ambient temperature, thereby realizing automatic control of the air conditioning operation according to the distance between the user and the toilet, and adjusting the air outlet temperature according to the real-time ambient temperature, avoiding the problem of excessive temperature difference between the air outlet temperature and the ambient temperature, and can reduce the discomfort caused to the user by the air outlet temperature, which has the advantages of improving user comfort and reducing energy consumption.

[0046] During the actual operation of bathroom air conditioners, the real-time ambient temperature is always changing. If the air outlet temperature is set to remain at a certain value consistent with the real-time ambient temperature, the bathroom air conditioner needs to be in working condition all the time, which obviously cannot achieve the requirement of reducing energy consumption.

[0047] To this end, in one embodiment, step S400 includes the following sub-steps: Calculate the temperature difference between the wind temperature and the real-time ambient temperature; Control the temperature difference within the set range.

[0048] For ease of understanding, this technical solution is first described in detail. When the user approaches the toilet, the system will first start the air conditioner and obtain the real-time ambient temperature around the toilet. Based on the acquired temperature data, the temperature difference between the outlet air temperature and the real-time ambient temperature is calculated through sensors and temperature control systems. This temperature difference is compared with the preset reasonable range. If the temperature difference is within the reasonable range, the system will continue to adjust the outlet air temperature according to the established strategy; if the temperature difference exceeds the reasonable range, the temperature adjustment of the air conditioner will be stopped.

[0049] The key step in this technical solution involves the accurate calculation and control of the temperature difference. The dynamic adjustment of the temperature difference is achieved through precise temperature control algorithms and sensing technology. For example, if the air conditioner is in cooling mode, the system will automatically adjust the outlet air temperature according to the real-time ambient temperature and gradually reduce the temperature until the temperature difference reaches the set range. If the temperature difference exceeds this range, the cooling mode will stop running. Similarly, in heating mode, the system will gradually increase the outlet air temperature until the temperature difference reaches the set range. If it exceeds this range, the heating function will stop working.

[0050] The above technical solution uses real-time temperature difference calculation and control mechanism to ensure that the temperature difference will not be too large when adjusting the air outlet temperature, which will cause discomfort. At the same time, it avoids the problem of energy waste caused by the air conditioner in the bathroom always being in working state, ensuring the comfort and energy saving of the bathroom environment. Compared with the traditional constant temperature control method, this is more intelligent and humane, providing users with a more comfortable experience and significantly improving the overall efficiency of the air conditioning system.

[0051] In one embodiment, when the air outlet temperature is the cooling temperature, the setting range includes a first setting negative value and a second setting negative value, and the first setting negative value is greater than the second setting negative value; The steps to control the temperature difference within the set range include: When the air outlet temperature is the cooling temperature: when the temperature difference is greater than the first set negative value, the air conditioner in the bathroom turns on the cooling mode, and the air outlet temperature gradually decreases; When the air outlet temperature is the cooling temperature: when the air outlet temperature drops to a temperature difference that is less than the second set negative value, the bathroom air conditioner turns off the cooling mode.

[0052] It is worth noting that the air outlet temperature is the cooling temperature, which means that the air outlet temperature is lower than the real-time ambient temperature, and the air outlet temperature is used to cool the real-time environment.

[0053] Exemplarily, the first set negative value may be -1°C, and the second set negative value may be -5°C. When the real-time ambient temperature is 30°C and the outlet air temperature is 29°C, the temperature difference reaches the critical value of -1°C. As the real-time ambient temperature continues to drop, the temperature difference will be greater than -1°C. At this time, the cooling effect of the bathroom air conditioner is in a decaying state. The bathroom air conditioner turns on the cooling mode, and the outlet air temperature gradually decreases as the cooling mode is turned on until the outlet air temperature drops to 25°C. At this time, the temperature difference reaches the critical value of -5°C. As the outlet air temperature continues to drop, the temperature difference will be less than -5°C. At this time, the bathroom air conditioner turns off the cooling mode.

[0054] The adoption of the above technical solution can not only ensure that users are in a comfortable temperature environment during the refrigeration process, but also achieve efficient energy-saving effects.

[0055] Specifically, the complete steps for cooling the bathroom air conditioner are as follows: When the bathroom air conditioner is turned on, if the real-time ambient temperature is greater than 26°C, it is determined that it is summer. When the temperature difference is greater than -1°C, the cooling mode of the bathroom air conditioner is operated. When the temperature difference is less than -5°C, the cooling mode of the bathroom air conditioner is turned off and only the fan of the bathroom air conditioner is operated. When the real-time ambient temperature drops to 26℃-23℃, only the fan of the bathroom air conditioner will be run; at this time, although the cooling mode of the bathroom air conditioner is turned off, the air outlet temperature of the bathroom air conditioner fan is still lower than the real-time ambient temperature. Turning off the cooling mode of the bathroom air conditioner in advance can ensure that excessive cooling does not occur, causing the real-time ambient temperature to be too low.

[0056] When the real-time ambient temperature drops below 23°C, the bathroom air conditioner stops working.

[0057] In one embodiment, when the air outlet temperature is the heating temperature, the setting range includes a first setting positive value and a second setting positive value, and the first setting positive value is smaller than the second setting positive value; The steps to control the temperature difference within the set range include: When the outlet air temperature is the heating temperature: when the temperature difference is less than the first set positive value, the bathroom air conditioner turns on the heating mode, and the outlet air temperature gradually increases; When the outlet air temperature is the heating temperature: when the outlet air temperature rises to a temperature difference greater than a second set positive value, the heating mode is turned off.

[0058] It is worth noting that the air outlet temperature is the heating temperature, which means that the air outlet temperature is greater than the real-time ambient temperature, and the air outlet temperature is used to heat the real-time environment.

[0059] Exemplarily, the first set positive value may be 1°C, and the second set positive value may be 5°C. When the real-time ambient temperature is 16°C and the outlet air temperature is 17°C, when the outlet air temperature is less than 16°C, as the real-time ambient temperature continues to rise, the temperature difference reaches a value less than 1°C. At this time, the heating effect of the bathroom air conditioner is in a decaying state. The bathroom air conditioner turns on the heating mode, and the outlet air temperature gradually increases as the heating mode is turned on until the outlet air temperature rises to 20°C. At this time, the temperature difference reaches a critical value of 5°C. As the outlet air temperature continues to rise, the temperature difference will be greater than 5°C. At this time, the bathroom air conditioner turns off the heating mode.

[0060] The adoption of the above technical solution can not only ensure that users are in a comfortable temperature environment during the heating process, but also achieve efficient energy saving effects.

[0061] Specifically, the complete steps for heating the bathroom air conditioner are as follows: When the bathroom air conditioner is turned on, if the real-time ambient temperature is less than 22°C, it is determined that it is winter. When the temperature difference is less than 1°C, the bathroom air conditioner is operated in heating mode. When the temperature difference is greater than 5°C, the bathroom air conditioner is turned off in heating mode and only the bathroom air conditioner fan is operated. When the real-time ambient temperature rises to greater than 34°C, only the fan of the bathroom air conditioner will run; at this time, although the heating mode of the bathroom air conditioner is turned off, the air outlet temperature of the bathroom air conditioner fan is still greater than the real-time ambient temperature. Turning off the heating mode of the bathroom air conditioner in advance can ensure that excessive heating does not occur, causing the real-time ambient temperature to be too high.

[0062] It is worth noting that when the bathroom air conditioner is turned on, when the real-time ambient temperature is between 22℃ and 26℃, it is judged that the weather is comfortable. The bathroom air conditioner only executes air supply, and does not execute cooling mode or heating mode.

[0063] In one embodiment, the bathroom air conditioning control method further includes the following steps: When the air outlet temperature is the cooling temperature, the air outlet speed is adjusted based on the change of the real-time ambient temperature; When the outlet air temperature is the heating temperature, the outlet air speed is adjusted based on the change of the outlet air temperature.

[0064] When in cooling mode, the air outlet speed can be adjusted by real-time monitoring of ambient temperature changes. For example, when the ambient temperature rises rapidly, the air outlet speed can be increased to speed up the cooling effect; when the ambient temperature changes slowly or approaches the set temperature, the air outlet speed can be appropriately reduced to maintain comfort. The specific implementation can adopt the temperature change rate threshold method, and the air outlet speed adjustment is triggered when the temperature change rate exceeds the preset threshold.

[0065] Exemplarily, when the real-time ambient temperature is below 24°C, a low wind is executed; when it is between 24°C and 28°C, a medium wind is executed; and when it is above 28°C, a high wind is executed.

[0066] In heating mode, the air outlet speed can be adjusted by the change of the real-time air outlet temperature. For example, when the air outlet temperature is low, it means that the real-time ambient temperature is also low. At this time, the air outlet speed is low to reduce the discomfort caused to the user by the air outlet when the real-time ambient temperature is too low; when the air outlet temperature is high, the air outlet speed is increased to avoid the discomfort caused to the user by the air outlet temperature being too high. Here, the temperature gradient control strategy can also be used to dynamically adjust the air outlet speed according to the difference between the air outlet temperature and the target temperature.

[0067] Exemplarily, the air supply is stopped when the outlet air temperature is less than 26°C, low wind is implemented when the outlet air temperature is 26°C-29°C, and high wind is implemented when the outlet air temperature is greater than 32°C.

[0068] By adopting the above technical solution, by distinguishing between the two working modes of cooling and heating, different adjustment strategies are adopted to adjust the air outlet speed of the air conditioner. In the cooling mode, the air outlet speed is adjusted according to the change of the real-time ambient temperature. In this way, the cooling intensity can be flexibly adjusted according to the actual changes in the ambient temperature, which can not only achieve a good cooling effect, but also avoid the discomfort caused by excessive temperature changes. In the heating mode, the air outlet speed is adjusted according to the change of the air outlet temperature. This method can adjust the heating intensity according to the change of the air outlet temperature of the air conditioner itself, which is conducive to maintaining a stable and comfortable indoor temperature. Through this differentiated adjustment strategy, the air conditioning system can control the air outlet speed more accurately in different working modes, thereby achieving better temperature regulation effect and user comfort. Compared with a single adjustment strategy, this method can better adapt to different temperature regulation needs and improve the intelligence level and user experience of the air conditioning system.

[0069] In one embodiment, step S200 includes the following sub-steps: When the interval distance is less than the set distance, the user's stay time is recorded; When the user stays for longer than the set time, the bathroom air conditioner is controlled to work.

[0070] This application ensures that the air conditioner only works when necessary by starting the air conditioner after the user approaches the toilet and stays there for a certain period of time, avoiding unnecessary energy waste and ensuring that the user has a comfortable environment when using the toilet. This solution not only improves the intelligence of bathroom air conditioners, but also has significant advantages in energy saving and user experience.

[0071] In this specific implementation, the distance between the user and the toilet is detected by using a device such as an infrared sensor or an ultrasonic sensor. When the user approaches the toilet and the distance is less than a set value, the user's stay time begins to be recorded. Once the user's stay time exceeds a preset threshold, the control system will start the air conditioner for the bathroom, thereby achieving automatic control. This technical design is not only compatible with multiple types of sensors in hardware, but also adapts to different space layouts and user habits.

[0072] To record the user's stay time, a timer or timer module can be used. The timer starts when the user approaches the toilet and stops and resets when the user leaves the set distance. In this way, it can ensure that the air conditioner is only started when the user actually uses the toilet, further improving the energy saving effect.

[0073] For example, the set distance may be 0.2 m and the set time may be 3 s. When the infrared sensor or ultrasonic sensor detects that the user enters the range of 0.2 m, the user's stay time recording is started. When the user's stay time exceeds 3 s, the bathroom air conditioner is controlled to work.

[0074] By adopting the above technical solution, by combining the distance between the user and the toilet and the stay time to determine whether the air conditioner needs to be started, it can prevent false triggering due to human passing or staying, thereby avoiding unnecessary energy consumption and improving user comfort and energy saving effects.

[0075] In one embodiment, the bathroom air conditioning control method further includes the following steps: After the air conditioner in the bathroom is working, the negative ion generator is controlled to run for a preset time; After the negative ion generator stops running, the interval time of the negative ion generator being turned on is detected, and when the interval time is greater than a preset time, the negative ion generator is controlled to run for a preset time.

[0076] In the present application, the automatic operation of the negative ion generator can integrate a negative ion generator control module into the air-conditioning control system. When the air-conditioning is started, the control module automatically sends a start signal to the negative ion generator.

[0077] For detecting the interval time of the negative ion generator, a timer or timestamp recording method can be used. For example, after each negative ion generator runs, the current time is recorded and compared with the next start time to calculate the interval time. The scheduled time can be set according to actual needs, such as 30 minutes, 1 hour or 2 hours.

[0078] Exemplarily, the interval is 60 minutes. When the user sits on the toilet, the negative ion generator remains on while the air conditioner is running. When the negative ion generator is turned on for more than 60 minutes after the user leaves the toilet, the negative ion generator automatically runs for 5 minutes to clean the air around the toilet, thereby ensuring that the air near the toilet is always in a clean state.

[0079] By adopting the above technical solution, by automatically running the negative ion generator after the air conditioner in the bathroom is working, and automatically running the negative ion generator according to the interval time, the negative ion generator can be automatically run after the air conditioner is working, so that negative ions can be generated in time, which helps to purify the air, eliminate odors, and improve air quality. By detecting the interval time when the negative ion generator is turned on, and automatically running when it exceeds the predetermined time, the continuous presence of negative ions can be ensured to maintain air quality. These two technical features cooperate with each other to achieve the purpose of automatically and continuously improving air quality during the operation of the air conditioner and when the device is turned off.

[0080] Please refer to Figure 2 , Figure 2 It is a bathroom air conditioning control device in some embodiments of the present application, which is used to automatically control the air conditioning set around the toilet. The bathroom air conditioning control device is integrated into the back-end control device of the bathroom air conditioning group in the form of a computer program. The bathroom air conditioning control device includes: A distance acquisition module 10 is used to acquire the distance between the user and the toilet; A switch control module 20, used to control the automatic operation of the air conditioner for the bathroom based on the interval distance; The temperature acquisition module 30 is used to obtain the ambient temperature of the toilet after the air conditioner in the bathroom is working; The temperature control module 40 is used to adjust the air outlet temperature of the bathroom air conditioner according to the change of the real-time ambient temperature.

[0081] From the above, it can be seen that the air conditioning control device for the bathroom provided in the embodiment of the present application obtains the distance between the user and the toilet, controls the automatic operation of the air conditioner for the bathroom based on the distance, obtains the real-time ambient temperature of the toilet after the air conditioner is working, and adjusts the air outlet temperature of the air conditioner in real time according to the real-time ambient temperature, thereby realizing automatic control of the air conditioner according to the distance between the user and the toilet, and adjusting the air outlet temperature according to the real-time ambient temperature, avoiding the problem of excessive temperature difference between the air outlet temperature and the ambient temperature, and can reduce the discomfort caused to the user by the air outlet temperature, which has the advantages of improving user comfort and reducing energy consumption.

[0082] In one embodiment, the air conditioning control device for bathroom further comprises: The wind speed adjustment module is used to adjust the wind speed based on the change of the real-time ambient temperature when the wind outlet temperature is the cooling temperature; and to adjust the wind speed based on the change of the wind outlet temperature when the wind outlet temperature is the heating temperature.

[0083] In one embodiment, the air conditioning control device for bathroom further comprises: The negative ion control module is used to control the negative ion generator to run for a preset time after the bathroom air conditioner is working; and to detect the interval time of the negative ion generator being turned on after the negative ion generator stops running. When the interval time is greater than the preset time, the negative ion generator is controlled to run for a preset time.

[0084] Please refer to Figure 3 , Figure 3 The present application provides a structural schematic diagram of an electronic device provided in an embodiment of the present application. The present application provides an electronic device 3, including: a processor 301 and a memory 302. The processor 301 and the memory 302 are interconnected and communicate with each other through a communication bus 303 and / or other forms of connection mechanisms (not shown). The memory 302 stores a computer program executable by the processor 301. When the computing device is running, the processor 301 executes the computer program to execute the method in any optional implementation of the above embodiment to achieve the following functions: by obtaining the interval distance between the user and the toilet, the air conditioner for the bathroom is controlled to automatically work based on the interval distance, and the real-time ambient temperature of the toilet is obtained after the air conditioner works, and the air outlet temperature of the air conditioner is adjusted in real time according to the real-time ambient temperature, thereby realizing automatic control of the air conditioner according to the distance between the user and the toilet, and adjusting the air outlet temperature according to the real-time ambient temperature, avoiding the problem of excessive temperature difference between the air outlet temperature and the ambient temperature, and reducing the discomfort caused by the air outlet temperature to the user, which has the advantages of improving user comfort and reducing energy consumption.

[0085] The embodiment of the present application provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method in any optional implementation of the above embodiment is executed to achieve the following functions: by obtaining the interval distance between the user and the toilet, the air conditioner for the bathroom is controlled to automatically operate based on the interval distance, and the real-time ambient temperature of the toilet is obtained after the air conditioner is working, and the air outlet temperature of the air conditioner is adjusted in real time according to the real-time ambient temperature, thereby realizing automatic control of the air conditioner according to the distance between the user and the toilet, and adjusting the air outlet temperature according to the real-time ambient temperature, avoiding the problem of excessive temperature difference between the air outlet temperature and the ambient temperature, and being able to reduce the discomfort caused to the user by the air outlet temperature, which has the advantages of improving user comfort and reducing energy consumption. Among them, the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable red-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0086] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, 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 through some communication interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0087] In addition, 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.

[0088] Furthermore, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0089] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0090] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for controlling an air conditioner for a bathroom, for automatically controlling an air conditioner arranged around a toilet, characterized in that: The method comprises the following steps: Get the distance between the user and the toilet; Based on the interval distance, the air conditioner for the bathroom is controlled to automatically operate; After the air conditioner in the toilet is in operation, obtaining the real-time ambient temperature of the toilet; The air outlet temperature of the bathroom air conditioner is adjusted according to the change of the real-time ambient temperature.

2. The bathroom air conditioning control method according to claim 1, characterized in that: The step of adjusting the air outlet temperature of the bathroom air conditioner according to the change of the real-time ambient temperature includes: Calculating the temperature difference between the outlet air temperature and the real-time ambient temperature; The temperature difference is controlled within a set range.

3. The bathroom air conditioning control method according to claim 2, characterized in that: When the air outlet temperature is the cooling temperature, the setting range includes a first setting negative value and a second setting negative value, and the first setting negative value is greater than the second setting negative value; The step of controlling the temperature difference within a set range comprises: When the air outlet temperature is the cooling temperature: when the temperature difference is greater than the first set negative value, the air conditioner for the bathroom turns on the cooling mode, and the air outlet temperature gradually decreases; When the air outlet temperature is the cooling temperature: when the air outlet temperature drops to a level where the temperature difference is less than the second set negative value, the bathroom air conditioner turns off the cooling mode.

4. The bathroom air conditioning control method according to claim 2, characterized in that: When the air outlet temperature is the heating temperature, the setting range includes a first setting positive value and a second setting positive value, and the first setting positive value is smaller than the second setting positive value; The step of controlling the temperature difference within a set range comprises: When the outlet air temperature is the heating temperature: when the temperature difference is less than the first set positive value, the bathroom air conditioner turns on the heating mode, and the outlet air temperature gradually increases; When the outlet air temperature is the heating temperature: when the outlet air temperature rises to a point where the temperature difference is greater than the second set positive value, the heating mode is turned off.

5. The bathroom air conditioning control method according to claim 1, characterized in that: The toilet air conditioning control method further comprises the following steps: When the air outlet temperature is the cooling temperature, the air outlet speed is adjusted according to the change of the real-time ambient temperature; When the outlet air temperature is the heating temperature, the outlet air speed is adjusted according to the change of the outlet air temperature.

6. The bathroom air conditioning control method according to claim 1, characterized in that: The step of controlling the bathroom air conditioner to automatically operate based on the interval distance comprises: When the interval distance is less than the set distance, the user's stay time is recorded; When the user stays for more than a set time, the bathroom air conditioner is controlled to operate.

7. The bathroom air conditioning control method according to claim 1, characterized in that: The toilet air conditioning control method further comprises the following steps: After the air conditioner in the bathroom is working, controlling the negative ion generator to operate for a preset time; After the negative ion generator stops running, the interval time of turning on the negative ion generator is detected, and when the interval time is greater than a predetermined time, the negative ion generator is controlled to run for a preset time.

8. An air conditioning control device for a bathroom, used to automatically control the air conditioning arranged around the toilet, characterized in that: The device comprises: A distance acquisition module is used to obtain the distance between the user and the toilet; A switch control module, used for controlling the bathroom air conditioner to automatically operate based on the interval distance; A temperature acquisition module, used to obtain the ambient temperature of the toilet after the air conditioner in the toilet is working; The temperature control module is used to adjust the air outlet temperature of the bathroom air conditioner according to the change of the real-time ambient temperature.

9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps in the method according to any one of claims 1 to 7 are executed.

10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are executed.