Automatic demisting control method and system for integrated bathroom cabinet system

By detecting the WiFi module's connection status, the system intelligently switches between online and offline operating modes and combines multi-dimensional data for defogging control. This solves the problems of insufficient intelligence and strong network dependence in bathroom mirror defogging solutions, achieving precise control and energy optimization.

CN120949658APending Publication Date: 2025-11-14HANGZHOU NAIJU TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511112139.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-08
Publication Date
2025-11-14

AI Technical Summary

Technical Problem

Existing bathroom mirror defogging solutions lack sufficient intelligence, cannot adapt to environmental changes, and are highly dependent on networks, resulting in poor defogging performance or energy waste.

Method used

The system intelligently switches between online and offline operating modes by detecting the WiFi module's connection status. In online mode, it performs precise defogging control by comprehensively analyzing data such as time, geographical location, weather conditions, and ambient humidity; in offline mode, it automatically starts and stops defogging based on the current time and humidity.

Benefits of technology

It achieves precise control and energy optimization of the defogging function, ensuring basic intelligent defogging function in the event of network interruption, thereby improving user experience and system performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120949658A_ABST
    Figure CN120949658A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic demisting control method and system for an integrated bathroom cabinet system, relates to the field of automatic demisting control, and is characterized in that an operation mode is intelligently switched according to a connection state of a Wi F i module. And when the Wi F i module is in a networking state, the system enters an online operation mode, and dynamically calculates and executes a defogging strategy through multi-dimensional data. And when the Wi F i module is not networked, the system is seamlessly switched to the off-line operation mode, and at the moment, the demisting function is automatically started and stopped only according to the current time and the environment humidity. In addition, the system reserves an instant start-stop function triggered by a user, and the operation flexibility is ensured. According to the hierarchical intelligent control strategy, the problems that an existing scheme is low in intelligent degree, poor in adaptability, high in network dependence and the like are effectively solved, and the overall performance and the user satisfaction degree of the integrated bathroom cabinet system are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of automatic defogging control, and more specifically, to an automatic defogging control method and system for an integrated bathroom cabinet system. Background Technology

[0002] In modern homes, integrated bathroom vanity systems are becoming increasingly popular due to their multifunctional design, significantly improving the utilization and aesthetics of bathroom space. However, the unique nature of the bathroom environment, especially the steam generated after showering, often causes bathroom mirrors to fog up rapidly, severely impacting the user's daily experience, such as grooming, applying makeup, or shaving. Traditional solutions often require manual wiping, which is both inconvenient and unhygienic. Even bathroom mirrors equipped with defogging functions are usually manually turned on or off, which is not only cumbersome and easily forgotten, but can also lead to prolonged operation of the defogging device, resulting in unnecessary energy waste. Therefore, achieving efficient and intelligent defogging of bathroom mirrors has become crucial for improving the user experience of integrated bathroom vanity systems.

[0003] Currently, bathroom mirror defogging solutions on the market are mainly divided into two types: manual control and simple automatic control. Manual control solutions typically require users to manually turn the defogging function on or off before or after each use. This is not only cumbersome and easily forgotten, but can also lead to the defogging device running for extended periods, resulting in unnecessary energy waste. Simple automatic control solutions, such as those based on fixed time periods or single humidity thresholds, achieve a degree of automation, but their intelligence is insufficient, failing to adapt to changes in the actual environment. This may lead to accidental activation when humidity is low, or failure to activate in time when humidity is high, thus affecting defogging effectiveness and energy efficiency. Furthermore, some intelligent defogging systems that rely on network connections will lose their intelligent functions if the network is interrupted, failing to provide stable service. This causes significant inconvenience and functional deficiencies in practical use.

[0004] Given the shortcomings of the existing technologies, the industry urgently needs a more intelligent, adaptive, and robust method for automatic defogging control of bathroom mirrors. Summary of the Invention

[0005] To address the technical bottlenecks of existing technologies, according to one aspect of this application, an automatic defogging control method for an integrated bathroom cabinet system is provided, comprising:

[0006] In response to a user-triggered defogging start command, the power supply to the PTC heating film is immediately turned on to perform defogging, and in response to a user-triggered defogging stop command, the power supply to the PTC heating film is immediately turned off to stop defogging.

[0007] Detect the connection status of the WiFi module;

[0008] If the WiFi module is not connected to the network, it enters the offline operation mode of the defogging function. The offline operation mode of the defogging function includes automatically turning the defogging function on or off based on the current time and ambient humidity.

[0009] In response to the WiFi module being connected to the network, the online operation mode of the defogging function is entered. The online operation mode of the defogging function includes automatically turning the defogging function on or off based on time information, geographical location, local weather conditions, the area of ​​the wet and dry areas of the bathroom, and the ambient humidity.

[0010] In the automatic defogging control method for an integrated bathroom cabinet system, in response to the WiFi module being offline, the defogging function enters an offline operation mode. This offline operation mode includes automatically turning the defogging function on or off based on the current time and ambient humidity, including: obtaining the current time from an internal clock; automatically turning on the defogging function when the current time is between 10:00 AM and 5:00 PM and the ambient humidity is greater than 80%; automatically turning off the defogging function when the current time is between 10:00 AM and 5:00 PM and the ambient humidity is less than 55%; automatically turning on the defogging function when the current time is between 5:00 PM and 10:00 AM the next day and the ambient humidity is greater than 85%; and automatically turning off the defogging function when the current time is between 5:00 PM and 10:00 AM the next day and the ambient humidity is less than 60%.

[0011] In the automatic defogging control method for an integrated bathroom cabinet system, in response to the WiFi module being connected to the network, the defogging function enters an online operation mode. This online operation mode automatically turns the defogging function on or off based on time information, geographical location, local weather conditions, the area of ​​the wet and dry areas of the bathroom, and ambient humidity. Specifically, this includes: obtaining seasonal and time information from the time information; obtaining humidity activation and deactivation thresholds based on the seasonal information, time information, geographical location, local weather conditions, and the area of ​​the wet and dry areas of the bathroom; automatically activating the defogging function in response to ambient humidity exceeding the humidity activation threshold; and automatically deactivating the defogging function in response to ambient humidity exceeding the humidity deactivation threshold.

[0012] In the automatic defogging control method for an integrated bathroom cabinet system, in response to the WiFi module being connected to the network, the defogging function enters an online operation mode. The online operation mode includes automatically turning the defogging function on or off based on time information, geographical location, local weather conditions, the area of ​​the wet and dry areas of the bathroom, and ambient humidity. It also includes obtaining the maximum startup time based on seasonal information, time information, geographical location, local weather conditions, and the area of ​​the wet and dry areas of the bathroom; and automatically turning off the defogging function if the duration of the defogging function exceeds the maximum startup time.

[0013] In the automatic defogging control method for integrated bathroom cabinet systems, humidity activation thresholds and humidity deactivation thresholds are obtained based on seasonal information, time information, geographical location, local weather conditions, and the area of ​​the dry and wet areas of the bathroom. This includes: extracting the humidity activation thresholds and humidity deactivation thresholds from a predefined rule table based on seasonal information, time information, geographical location, local weather conditions, and the area of ​​the dry and wet areas of the bathroom.

[0014] According to another aspect of this application, an automatic defogging control system for an integrated bathroom cabinet system is provided, comprising:

[0015] The user command triggering module is used to respond to the user-triggered defogging start command by immediately turning on the power supply of the PTC heating film to perform defogging, and to respond to the user-triggered defogging stop command by immediately turning off the power supply of the PTC heating film to stop defogging.

[0016] The WiFi module connection detection module is used to detect the connection status of the WiFi module.

[0017] The offline status processing module is used to respond to the fact that the WiFi module is offline, and then enter the offline operation mode of the defogging function. The offline operation mode of the defogging function includes automatically turning the defogging function on or off based on the current time and ambient humidity.

[0018] The network status processing module is used to respond to the WiFi module's connection status as being connected to the network, and then enter the online operation mode of the defogging function. The online operation mode of the defogging function includes automatically turning the defogging function on or off based on time information, geographical location, local weather conditions, the area of ​​the dry and wet areas of the bathroom, and the ambient humidity.

[0019] Compared with existing technologies, this application provides an automatic defogging control method and system for integrated bathroom cabinet systems. Its core lies in intelligently switching operating modes based on the connection status of the WiFi module. When the WiFi module is connected to the network, the system enters online operation mode, dynamically calculating and executing defogging strategies by comprehensively analyzing multi-dimensional data such as time information, geographical location, local weather conditions, the area of ​​the wet and dry areas of the bathroom, and ambient humidity. This solves the shortcomings of existing solutions, such as insufficient intelligence and inability to adapt to complex environments, achieving precise control and energy optimization of the defogging function. When the WiFi module is not connected to the network, the system seamlessly switches to offline operation mode, automatically starting and stopping the defogging function only based on the current time and ambient humidity. This ensures basic intelligent defogging functionality even in the event of a network interruption, avoiding complete system failure due to network dependence. Furthermore, the system retains the user-triggered instant start / stop function, ensuring operational flexibility. This hierarchical intelligent control strategy effectively solves the pain points of existing solutions, such as low intelligence, poor adaptability, and strong network dependence, significantly improving the overall performance and user satisfaction of integrated bathroom cabinet systems. Attached Figure Description

[0020] The above and other objects, features, and advantages of this application will become more apparent from the more detailed description of the embodiments of this application in conjunction with the accompanying drawings. The drawings are provided to further illustrate the embodiments of this application and form part of the specification. They are used together with the embodiments of this application to explain this application and do not constitute a limitation thereof. In the drawings, the same reference numerals generally represent the same components or steps.

[0021] Figure 1 This is a flowchart of an automatic defogging control method for an integrated bathroom cabinet system according to an embodiment of this application.

[0022] Figure 2 This is a data flow diagram of step S3 in the automatic defogging control method for an integrated bathroom cabinet system according to an embodiment of this application.

[0023] Figure 3 This is a flowchart of step S4 in the automatic defogging control method for an integrated bathroom cabinet system according to an embodiment of this application.

[0024] Figure 4 This is a block diagram of an automatic defogging control system for an integrated bathroom cabinet system according to an embodiment of this application. Detailed Implementation

[0025] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0026] As can be understood, an integrated bathroom vanity system is a multifunctional and intelligent system. Its core components include: a central controller module, which serves as the control hub and integrates various sensor modules, such as temperature and humidity sensors for real-time monitoring of the bathroom environment, microwave distance sensors for detecting human proximity, and light sensors; touch buttons for user interaction, integrated into the bathroom mirror; a load controller module responsible for driving various actuators, managing key loads such as the PTC heating film used for mirror defogging; and WiFi and Bluetooth modules for remote control and data interaction. In addition, the system also includes a power strip and the bathroom vanity mirror, which serves as the primary functional component.

[0027] The large amount of water vapor generated during bathing can easily cause bathroom mirrors to fog up rapidly, which seriously hinders users' daily activities such as washing, applying makeup, or shaving, thus affecting the user experience. Therefore, based on the limitations of the aforementioned background technology, this application proposes an automatic defogging control method for integrated bathroom cabinet systems. Figure 1 This is a flowchart of an automatic defogging control method for an integrated bathroom cabinet system according to an embodiment of this application. Figure 1 As shown, the automatic defogging control method for an integrated bathroom cabinet system according to an embodiment of this application includes: S1, responding to a user-triggered defogging start command, immediately turning on the power supply of the PTC heating film to perform defogging, and responding to a user-triggered defogging stop command, immediately turning off the power supply of the PTC heating film to stop defogging; S2, detecting the connection status of the WiFi module; S3, responding to the WiFi module's connection status being offline, entering the offline operation mode of the defogging function, the offline operation mode of the defogging function including automatically turning the defogging function on or off based on the current time and ambient humidity; S4, responding to the WiFi module's connection status being online, entering the online operation mode of the defogging function, the online operation mode of the defogging function including automatically turning the defogging function on or off based on time information, geographical location, local weather conditions, the area of ​​the dry and wet areas of the bathroom, and ambient humidity.

[0028] In step S1, in response to a user-triggered defogging start command, the power supply to the PTC heating film is immediately switched on to initiate defogging; and in response to a user-triggered defogging stop command, the power supply to the PTC heating film is immediately switched off to stop defogging. It is understandable that users may have an immediate need for defogging, for example, when the automatic mode has not yet started or its judgment logic does not meet the user's current expectations. Manual operation can provide an immediate response, avoiding waiting. Secondly, manual control gives users direct control over the defogging function, satisfying some users' preferences for equipment operation and enhancing their confidence in using it. Furthermore, in extreme or abnormal situations, if the automatic mode deviates, manual intervention can serve as a reliable emergency measure to ensure the availability of the defogging function. This design balances the convenience of intelligent operation with the personalized and immediate operational needs of users, improving the flexibility and robustness of the solution.

[0029] Specifically, in one embodiment, step S1 is processed as follows: When the user needs to start or stop the defogging function, they issue a command by touching the defogging function button icon on the integrated bathroom cabinet mirror. This touch action generates an electrical signal, which is received by the central controller module. After receiving the start command triggered by the user, the central controller module immediately generates a control command to activate the defogging function. This command is then transmitted to the load controller module via Bluetooth communication protocol. Upon receiving this command, the load controller module's integrated thyristor, or similar power electronic switching element, immediately conducts, thereby connecting the 220V power supply to the 50W PTC heating film. The PTC heating film then begins to heat up, achieving mirror defogging.

[0030] Meanwhile, to provide intuitive user feedback, the central controller module updates the status of the defogging function button icon, causing the underline icon below it to start breathing and flashing, indicating that the defogging function is running.

[0031] When the user touches the defogging function button icon again to issue a stop command, the central controller module receives the signal, generates a control command to turn off the defogging function, and transmits it to the load controller module via Bluetooth. Upon receiving the command, the load controller module's SCR immediately shuts off, cutting off the power to the PTC heating film and stopping defogging. At this time, the underlined icon on the defogging function button will turn off, indicating that the defogging function is off. Even after manual activation, if the user forgets to turn it off, the central controller will still automatically shut off the heating film according to preset automatic defogging logic, such as a maximum single-use time of 4 hours, or when the ambient humidity is lower than a set value, to achieve energy saving.

[0032] In step S2, the connection status of the WiFi module is detected. It's worth noting that in modern smart home environments, network connection stability is not always guaranteed. If the defogging function relies entirely on network data (such as weather and location), the system will be unable to obtain this crucial information once the WiFi module is offline, causing the intelligent defogging function to fail, degenerating into simple manual control or becoming completely unusable. This severely impacts user experience and reduces the product's intelligence level. Therefore, this application, by detecting the WiFi module's connection status in real time, allows the system to intelligently switch between online and offline operating modes. In online mode, the system can utilize rich network data to implement a more accurate and energy-efficient defogging strategy; while in offline mode, even without a network, the system can provide basic automatic defogging functionality based on local data (such as current time and ambient humidity), ensuring the continuity and stability of the defogging service. This effectively solves the pain points of strong network dependence and lack of offline functionality in existing technologies.

[0033] Specifically, in one particular embodiment, step S2 is processed as follows: First, the central controller module of the integrated bathroom cabinet continuously monitors the built-in WiFi module. This monitoring includes, but is not limited to, periodically querying the internal status register of the WiFi module to obtain its current connection status, such as whether it has connected to a wireless router, whether it has successfully obtained an IP address, and attempting to communicate with a preset cloud platform or network service to verify network connectivity.

[0034] Then, the central controller module sets a predefined signal loss duration threshold. This value is preset and optimized based on the tolerance for network fluctuations in actual usage scenarios and the need to ensure the continuity of the defogging function, through empirical testing and user feedback. For example, this threshold can be set to 5 minutes. During this monitoring process, if the WiFi module continuously reports a disconnected state, or fails to successfully establish or maintain communication with the external network for 5 consecutive minutes—for example, failing to receive a response from the router or being unable to access internet resources—the central controller module will determine that the WiFi module's connection status is offline. Specifically, as an auxiliary indication, when the WiFi module is offline, the central controller module will also drive the WiFi icon on the display screen to flash, visually indicating the network connection abnormality to the user. Conversely, if the WiFi module can successfully connect to the wireless network and maintain continuous communication with the external network, and the preset signal loss duration threshold is not reached, the central controller module will determine that the WiFi module's connection status is online.

[0035] In step S3, in response to the WiFi module's connection status being offline, the defogging function enters an offline operation mode. This offline operation mode automatically turns the defogging function on or off based on the current time and ambient humidity. It should be understood that while network connectivity brings rich functional expansion in a smart home environment, its stability is not absolute. Once the WiFi module is offline, advanced data such as time information, geographical location, and weather conditions obtained through the network will be unavailable, causing the intelligent defogging strategy in online operation mode to fail. To avoid the defogging function completely degrading to manual operation due to network interruption, or even failing to provide any automated service, this application introduces an offline operation mode. This mode relies solely on locally available current time and ambient humidity data, providing a preset, experience-based defogging logic, thereby ensuring the continuity and robustness of the defogging service. Even in a network-free environment, it can provide users with a certain degree of intelligent convenience, effectively solving the problem mentioned in the background art where intelligent functions fail and stable service cannot be provided once the network is interrupted.

[0036] In particular, in one specific embodiment, Figure 2 This is a data flow diagram of step S3 in the automatic defogging control method for an integrated bathroom cabinet system according to an embodiment of this application. Figure 2 As shown, in step S3, in response to the WiFi module being offline, the defogging function enters an offline operation mode. This offline operation mode automatically turns the defogging function on or off based on the current time and ambient humidity, including: obtaining the current time from the internal clock; automatically turning on the defogging function when the current time is between 10:00 AM and 5:00 PM and the ambient humidity is greater than 80%; automatically turning off the defogging function when the current time is between 10:00 AM and 5:00 PM and the ambient humidity is less than 55%; automatically turning on the defogging function when the current time is between 5:00 PM and 10:00 AM the next day and the ambient humidity is greater than 85%; and automatically turning off the defogging function when the current time is between 5:00 PM and 10:00 AM the next day and the ambient humidity is less than 60%.

[0037] In practice, the central controller module first obtains the precise time information from its built-in internal clock. Simultaneously, the temperature and humidity sensor continuously monitors the ambient humidity in the bathroom and transmits the real-time humidity data to the central controller module. The central controller module has a pre-set set of rule logic based on time periods and humidity thresholds. This rule logic is empirically set based on extensive experimental data and user habits, aiming to balance defogging effectiveness with energy consumption. For example, between 10 AM and 5 PM, if the ambient humidity is greater than 80%, the central controller module will determine that the defogging function needs to be activated and immediately send a command to the load controller module to turn on the power to the PTC heating film and begin defogging. If the ambient humidity is less than 55% during this period, it is determined that defogging is not needed or that the defogging effect has been achieved, and the central controller module will instruct the load controller module to turn off the power to the PTC heating film and stop defogging.

[0038] Between 5 PM and 10 AM the following morning, which is typically peak bathing time or a period of accumulated humidity overnight, the humidity threshold for defogging will be adjusted. If the ambient humidity is greater than 85%, the defogging function will automatically turn on; if the ambient humidity is less than 60%, the defogging function will automatically turn off.

[0039] It's worth noting that to prevent the defogger from running unnecessarily for extended periods, this control method includes a maximum usage time limit even in offline mode. For example, the maximum usage time for a single defogging function is set to 4 hours. If the defogging function runs continuously for 4 hours after activation, even if the ambient humidity remains above the activation threshold, the central controller module will forcibly shut off the power to the PTC heating film to avoid overheating or energy waste. At this time, the defogging function icon will flash on the display to remind the user, and then the icon will turn off. If the ambient humidity drops below the shutdown threshold within 4 hours, the defogging function will shut down prematurely, and the icon will turn off.

[0040] In step S4, in response to the WiFi module being connected to the network, the defogging function enters an online operation mode. This online operation mode automatically turns the defogging function on or off based on time information, geographical location, local weather conditions, the area of ​​the wet and dry areas in the bathroom, and ambient humidity. It is understood that traditional automatic defogging solutions often rely solely on fixed times or single humidity thresholds, failing to accurately respond to diverse factors such as season, region, weather, and bathroom size, resulting in poor defogging performance or energy waste. Therefore, this application, by entering an online operation mode while the WiFi module is connected to the network, allows the integrated bathroom cabinet to acquire and comprehensively analyze multi-dimensional external information, such as time information, geographical location, local weather conditions, and the user-defined wet and dry area area in the bathroom. This rich data enables the control method to dynamically adjust the defogging start and stop thresholds, achieving more refined, personalized, and energy-efficient defogging control. This not only significantly improves defogging efficiency and user experience but also effectively solves the problem mentioned in the background art of insufficient intelligence and the inability to adaptively adjust to actual environmental changes, making the defogging function truly intelligent and adaptive.

[0041] In particular, in one specific embodiment, Figure 3 This is a flowchart of step S4 in the automatic defogging control method for an integrated bathroom cabinet system according to an embodiment of this application. Figure 3 As shown, in step S4, in response to the WiFi module being connected to the network, the online operation mode of the defogging function is entered. The online operation mode of the defogging function includes automatically turning the defogging function on or off based on time information, geographical location, local weather conditions, the area of ​​the wet and dry areas of the bathroom, and the ambient humidity. This includes: S41, obtaining seasonal information and time information from the time information; S42, obtaining a humidity start threshold and a humidity stop threshold based on the seasonal information, time information, geographical location, local weather conditions, and the area of ​​the wet and dry areas of the bathroom; S43, automatically starting the defogging function in response to the ambient humidity being greater than the humidity start threshold; and S44, automatically turning off the defogging function in response to the ambient humidity being greater than the humidity stop threshold.

[0042] It's understandable that the humidity levels in the bathroom environment and users' demand for defogging are significantly time-dependent. The climate characteristics vary greatly across seasons; for example, summer is typically humid, while winter can be drier, directly affecting the probability and extent of mirror fogging. Similarly, the frequency of bathroom use and the amount of steam generated differ throughout the day, such as peak morning washing times or evening rest periods. Using a uniform defogging strategy without considering season and time of day could lead to unnecessary activation during dry seasons or off-peak hours, resulting in energy waste; while during humid seasons or peak hours, inappropriate thresholds might prevent timely and effective defogging. Therefore, obtaining accurate seasonal and time-specific information provides the foundation for dynamically adjusting the defogging strategy, ensuring the defogging function can more accurately adapt to environmental changes and user habits, improving its intelligence and energy efficiency.

[0043] Specifically, in one particular embodiment, step S41 processes as follows: In network-connected mode, the central controller module first acquires multi-dimensional information via network connection. This includes obtaining the current precise time from a network time server and parsing seasonal information, such as spring, summer, autumn, and winter, and time information, such as 10:00 AM to 5:00 PM, or 5:00 PM to 10:00 AM the next day. Simultaneously, it obtains the geographical location of the integrated bathroom cabinet, such as north or south, through network services, such as IP geolocation or geographical information entered by the user during initial setup, and obtains the local weather conditions, such as sunny or rainy, by accessing an online weather service interface. Furthermore, the information regarding the area of ​​the wet and dry areas of the bathroom is entered by the user during the initial installation of the integrated bathroom cabinet or user setup and stored in the non-volatile memory of the central controller module, for example, <10㎡ or >10㎡. Temperature and humidity sensors continuously monitor the real-time ambient humidity in the bathroom and transmit the data to the central controller module.

[0044] Correspondingly, the season, the specific time of day, the climate characteristics of the geographical location, the weather conditions of the day, and the size of the bathroom itself (the area of ​​the wet and dry zones) all collectively determine the rate of water vapor generation, condensation, and dissipation. For example, on a humid, rainy day in the south, mirrors may fog up more easily even if the ambient humidity is not high; while on a dry, sunny day in the north, higher humidity is required to trigger fogging. If the defogging function relies solely on a single or fixed humidity threshold, it will be unable to adapt to these changing environmental conditions, potentially leading to accidental activation when defogging is not needed, resulting in energy waste; or failure to respond promptly when defogging is urgently needed, affecting the user experience. Therefore, by comprehensively analyzing this multi-dimensional information to dynamically acquire and adjust the humidity activation and deactivation thresholds, the defogging function can become more adaptive, ensuring optimal operation in different scenarios, thereby improving defogging effectiveness and optimizing energy consumption.

[0045] Specifically, in one embodiment, step S42 processes the following: based on seasonal information, time information, geographical location, local weather conditions, and the area of ​​the wet and dry areas of the bathroom, the humidity activation threshold and humidity deactivation threshold are obtained, including: extracting the humidity activation threshold and humidity deactivation threshold from a predefined rule table based on seasonal information, time information, geographical location, local weather conditions, and the area of ​​the wet and dry areas of the bathroom. In specific implementation, the central controller module uses these multi-dimensional data as input and queries its internally stored predefined rule table, as shown in Table 1, to dynamically obtain the humidity activation threshold and humidity deactivation threshold under the current conditions. This rule table is a multi-dimensional lookup table, and its internal parameters are pre-set and optimized based on a large amount of environmental data collection, user behavior analysis, and defogging effect experimental data. For example, if the current time is 11:00 AM in spring, which falls between 10:00 AM and 5:00 PM, the geographical location is in the north, the local weather is sunny, and the bathroom area is <10㎡, the central controller module will query the rule table, find the corresponding entry, such as the first entry in Table 1, and thus extract the corresponding humidity activation threshold of 65% and humidity deactivation threshold of 40%.

[0046] Understandably, once the precise humidity threshold for potential or existing fogging of the mirror is obtained through multi-dimensional environmental information, the defogging function can be activated immediately and automatically. This eliminates the burden of manual judgment and operation for the user, preventing the mirror from becoming blurry and affecting usability due to forgetting to turn it on, or delaying the defogging opportunity due to inaccurate judgment. Therefore, this application uses precise threshold triggering to allow the defogging function to intervene at the most appropriate time, ensuring the clarity of the mirror while avoiding unnecessary premature activation, thereby optimizing the defogging effect and energy efficiency, and directly solving the problems of inconvenient manual operation and insufficient intelligence in the prior art.

[0047] Here, in order to ensure the universality of the predefined rules, only seasonal and temporal information is usually considered, while other factors such as geographical location, local weather conditions, and the area of ​​the wet and dry areas of the bathroom cannot be taken into account. Therefore, there is still room for optimization in the rule-based definition of the humidity activation threshold and the humidity deactivation threshold.

[0048] Here, since the humidity start-up threshold and the humidity stop-down threshold are inversely proportional, and the humidity stop-down threshold is directly proportional to the longest start-up time, and thus the humidity start-up threshold and the longest start-up time are also inversely proportional, and since the longest start-up time can be easily obtained through experience, the above relationships can be used to modify the rule-based definition through the inverse-proportional correlation based on the invariance of duration. That is, in a preferred embodiment, the humidity start-up threshold and the humidity stop-down threshold are modified based on the inverse-proportional correlation based on the invariance of duration to obtain the modified humidity start-up threshold and the modified humidity stop-down threshold.

[0049] Specifically, the humidity activation threshold and the humidity deactivation threshold are corrected based on the inverse-proportional relationship of time invariance to obtain corrected humidity activation thresholds and corrected humidity deactivation thresholds. This includes: first, determining the inverse-proportional parameter between the humidity activation threshold and the humidity deactivation threshold, and the direct-proportional parameter between the longest activation time and the humidity deactivation threshold, that is, assuming the humidity activation threshold is T. on The humidity shut-off threshold is T. off And the longest startup time is t ref Then define an inverse proportional parameter k and a direct proportional parameter l such that:

[0050]

[0051] T off =l×t ref

[0052] Where k represents the inverse proportionality parameter, l represents the direct proportionality parameter, and T on Indicates the humidity threshold, T off Indicates the humidity shut-off threshold, t ref This indicates the longest startup time.

[0053] Furthermore, a rule space is introduced through a threshold difference, specifically by calculating the threshold difference ΔT = T between the humidity activation threshold and the humidity deactivation threshold. off -T on The inverse proportional parameter, the direct proportional parameter, and the threshold difference are normalized using the same proportionality rule to obtain normalized inverse proportional parameters, normalized direct proportional parameters, and normalized threshold differences, i.e.:

[0054] k' = sigmoid(k)

[0055] l' = sigmoid(l)

[0056] ΔT' = sigmoid(ΔT)

[0057] Where sigmoid represents the sigmoid function, k' represents the normalized inverse proportional parameter, l' represents the normalized direct proportional parameter, ΔT represents the threshold difference, and ΔT' represents the normalized threshold difference.

[0058] This is to create an association grid based on the humidity start threshold and temperature stop threshold in a rule space representation based on the rule definition, given that there are only non-aligned proportional association parameters k and l for the humidity start threshold, the temperature stop threshold, and the maximum defogging time. This association grid can strengthen the alignment association strength under different proportional associations through a unified encoding form, thereby representing the association mapping between the humidity threshold setting and the defogging time in an aligned form.

[0059] Then, the Pearson correlation coefficient ρ between the normalized proportional parameter l' and the normalized inverse proportional parameter k' is calculated. pearson In order to drive the distribution between positive and negative proportional correlations:

[0060]

[0061] Where, ρ pearson This represents the Pearson correlation coefficient.

[0062] Based on the normalized threshold difference and Pearson correlation coefficient, the normalized inverse proportional parameter and the normalized direct proportional parameter are then corrected to obtain the corrected inverse proportional parameter and the corrected direct proportional parameter. This is expressed as -log2(ΔT') to represent the importance strength of time attribute information based on duration invariance, thus obtaining:

[0063] l”=l'×ρ pearson ×[-log2(ΔT')]

[0064] k”=k'×ρ pearson ×[-log2(ΔT')]

[0065] Where l” represents the corrected proportional parameter and k” represents the corrected inverse proportional parameter.

[0066] And according to the longest startup time t ref By utilizing the time invariance, the corrected humidity activation threshold and humidity deactivation threshold are obtained. Thus, based on the associated grid, a positive and negative proportional association mechanism for expressing time attribute information is implemented. That is, the associated grid alignment mapping is used as a representation of operable association rules to enable dynamic positive and negative proportional associations and strengthen the dependence of positive and negative proportional time attribute information, thereby obtaining rule mapping optimization based on time invariance.

[0067] Specifically, in one embodiment, step S43 processes as follows: The central controller module compares the real-time acquired ambient humidity with the humidity activation and deactivation thresholds extracted from a predefined rule table. In response to the current ambient humidity being greater than the humidity activation threshold (e.g., the current humidity is 75%, greater than 65%), the central controller module determines that the defogging function needs to be activated. It immediately sends a command to the load controller module to power on the PTC heating film and begin defogging. Conversely, in response to the current ambient humidity being lower than the humidity deactivation threshold (e.g., the current humidity is 35%, less than 40%), the central controller module determines that defogging is unnecessary or that the defogging effect has been achieved. It immediately instructs the load controller module to power off the PTC heating film and stop defogging.

[0068] It's worth noting that even in intelligent online operation mode, an additional safety mechanism is needed to prevent the defogging function from running unnecessarily for extended periods. While humidity threshold control aims for precise start-up and shutdown, in certain extreme or abnormal situations, such as persistently high humidity in the bathroom, temporary malfunctions or reading deviations of the temperature and humidity sensors, or when the user forgets to turn off the manually activated defogging function, relying solely on humidity judgment may cause the PTC heating film to operate for extended periods. This not only results in significant energy waste and increased electricity bills for users but may also shorten the lifespan of the heating film and even pose safety hazards. Therefore, setting and dynamically acquiring the maximum start-up time, and using this as the condition for forced shutdown, provides a robust upper limit protection for the defogging function, ensuring the device's economy, safety, and reliability, and effectively compensating for the potential limitations of relying solely on humidity judgment.

[0069] Specifically, in one particular embodiment, in step S4, in response to the WiFi module being connected to the network, the online operation mode of the defogging function is entered. The online operation mode of the defogging function includes automatically turning the defogging function on or off based on time information, geographical location, local weather conditions, the area of ​​the wet and dry areas of the bathroom, and ambient humidity. It also includes obtaining the longest startup time based on seasonal information, time information, geographical location, local weather conditions, and the area of ​​the wet and dry areas of the bathroom; and automatically turning off the defogging function in response to the defogging function lasting longer than the longest startup time.

[0070] In other words, the online operation mode also introduces a maximum startup time limit, which is also obtained from a predefined rule table, as shown in Table 1, for example, 3 hours in the above example. If the defogging function continues to run for longer than this maximum startup time, even if the ambient humidity is still higher than the shutdown threshold, the central controller module will forcibly shut down the PTC heating film to avoid unnecessary energy consumption and equipment overload. That is, once the defogging function is started, whether automatically started by the humidity threshold or manually started by the user, the timer inside the central controller module begins to record the continuous running time of the defogging function. The central controller module will continuously monitor this running time and compare it with the maximum startup time obtained from the predefined rule table in real time. In response to the defogging function lasting longer than the obtained maximum startup time, the central controller module will immediately determine that the defogging function has been running for too long, even if the ambient humidity may still be higher than the shutdown threshold, or the temperature and humidity sensor readings are abnormal, the central controller module will forcibly execute the shutdown operation. It will immediately send a command to the load controller module to turn off the power to the PTC heating film, thereby stopping the defogging function. This forced shutdown mechanism, based on the longest start-up time, serves as a safety and energy-saving safeguard in online operation mode. It aims to prevent the defogging function from unnecessarily running for extended periods under specific abnormal or extreme conditions. It effectively avoids energy waste caused by sensor malfunctions, persistently high ambient humidity, or user forgetting to turn it off, extends the lifespan of the PTC heating film, and improves the overall operational safety and reliability of the equipment. In other words, even in the most intelligent online mode, it ensures that the defogging function automatically stops after reaching the preset maximum operating time, thus achieving more refined energy management and equipment protection.

[0071] Table 1 Predefined Rules Table

[0072]

[0073]

[0074]

[0075] In summary, the automatic defogging control method for an integrated bathroom cabinet system based on the embodiments of this application has been clarified. Its core lies in intelligently switching operating modes according to the connection status of the WiFi module. When the WiFi module is connected to the network, the system enters online operation mode, dynamically calculating and executing defogging strategies by comprehensively analyzing multi-dimensional data such as time information, geographical location, local weather conditions, the area of ​​the wet and dry areas of the bathroom, and ambient humidity. This solves the shortcomings of existing solutions, such as insufficient intelligence and inability to adapt to complex environments, achieving precise control and energy optimization of the defogging function. When the WiFi module is not connected to the network, the system seamlessly switches to offline operation mode. In this mode, the automatic start and stop of the defogging function is based solely on the current time and ambient humidity, ensuring basic intelligent defogging functionality even in the event of a network interruption, and avoiding complete system failure due to network dependence. Furthermore, the system retains the user-triggered instant start / stop function, ensuring operational flexibility. This hierarchical intelligent control strategy effectively solves the pain points of existing solutions, such as low intelligence, poor adaptability, and strong network dependence, significantly improving the overall performance and user satisfaction of the integrated bathroom cabinet system.

[0076] Figure 4 This is a block diagram of an automatic defogging control system for an integrated bathroom cabinet system according to an embodiment of this application. Figure 4 As shown, the automatic defogging control system 100 for an integrated bathroom cabinet system according to an embodiment of this application includes: a user command triggering module 110, used to immediately turn on the power supply of the PTC heating film to perform defogging in response to a user-triggered defogging start command and to immediately turn off the power supply of the PTC heating film to stop defogging in response to a user-triggered defogging stop command; a WiFi module connection detection module 120, used to detect the connection status of the WiFi module; an offline status processing module 130, used to enter the offline operation mode of the defogging function in response to the WiFi module being offline, the offline operation mode of the defogging function including automatically turning the defogging function on or off based on the current time and ambient humidity; and a network status processing module 140, used to enter the online operation mode of the defogging function in response to the WiFi module being online, the online operation mode of the defogging function including automatically turning the defogging function on or off based on time information, geographical location, local weather conditions, the area of ​​the dry and wet areas of the bathroom, and ambient humidity.

[0077] Here, those skilled in the art will understand that the specific operations of each step in the above-described automatic defogging control system for integrated bathroom cabinet systems have been referenced above. Figures 1 to 3 The automatic defogging control method for integrated bathroom cabinet systems is described in detail therein, and therefore its repeated description will be omitted.

[0078] As described above, the automatic defogging control system 100 for an integrated bathroom cabinet system according to embodiments of this disclosure can be implemented in various wireless terminals, such as servers with automatic defogging control algorithms for integrated bathroom cabinet systems. In one possible implementation, the automatic defogging control system 100 for an integrated bathroom cabinet system according to embodiments of this disclosure can be integrated into the wireless terminal as a software module and / or a hardware module. For example, the automatic defogging control system 100 for an integrated bathroom cabinet system can be a software module in the operating system of the wireless terminal, or it can be an application developed for the wireless terminal; of course, the automatic defogging control system 100 for an integrated bathroom cabinet system can also be one of many hardware modules of the wireless terminal.

[0079] Alternatively, in another example, the automatic defogging control system 100 for the integrated bathroom cabinet system and the wireless terminal can also be separate devices, and the automatic defogging control system 100 for the integrated bathroom cabinet system can be connected to the wireless terminal via wired and / or wireless networks, and transmit interactive information in accordance with an agreed data format.

Claims

1. An automatic defogging control method for an integrated bathroom cabinet system, characterized in that, include: In response to a user-triggered defogging start command, the power supply to the PTC heating film is immediately turned on to perform defogging, and in response to a user-triggered defogging stop command, the power supply to the PTC heating film is immediately turned off to stop defogging. Detect the connection status of the WiFi module; If the WiFi module is not connected to the network, it enters the offline operation mode of the defogging function. The offline operation mode of the defogging function includes automatically turning the defogging function on or off based on the current time and ambient humidity. In response to the WiFi module being connected to the network, the online operation mode of the defogging function is entered. The online operation mode of the defogging function includes automatically turning the defogging function on or off based on time information, geographical location, local weather conditions, the area of ​​the wet and dry areas of the bathroom, and the ambient humidity.

2. The automatic defogging control method for an integrated bathroom cabinet system according to claim 1, characterized in that, In response to the WiFi module's connection status being offline, the defogging function enters an offline operation mode. This offline operation mode includes automatically turning the defogging function on or off based on the current time and ambient humidity, including: Get the current time from the internal clock; The defogging function will be automatically activated if the current time is between 10:00 AM and 5:00 PM and the ambient humidity is greater than 80%. The defogging function will automatically turn off if the current time is between 10:00 AM and 5:00 PM and the ambient humidity is less than 55%. The defogging function will be automatically activated when the current time is between 5 p.m. and 10 a.m. the next day and the ambient humidity is greater than 85%. The defogging function will automatically turn off when the current time is between 5 p.m. and 10 a.m. the next day and the ambient humidity is less than 60%.

3. The automatic defogging control method for an integrated bathroom cabinet system according to claim 1, characterized in that, In response to the WiFi module's connection status being "connected to the network," the defogging function enters online operation mode. This online operation mode automatically turns the defogging function on or off based on time information, geographical location, local weather conditions, the area of ​​the wet and dry zones in the bathroom, and ambient humidity. Extract seasonal and time information from time information; Based on seasonal information, time information, geographical location, local weather conditions, and the area of ​​the wet and dry areas of the bathroom, obtain the humidity activation threshold and humidity deactivation threshold; The defogging function is automatically activated when the ambient humidity exceeds the humidity threshold. The defogging function is automatically turned off when the ambient humidity exceeds the humidity shutdown threshold.

4. The automatic defogging control method for an integrated bathroom cabinet system according to claim 3, characterized in that, In response to the WiFi module's connection status being "connected to the network," the defogging function enters an online operation mode. This online operation mode includes automatically turning the defogging function on or off based on time information, geographical location, local weather conditions, the area of ​​the wet and dry areas in the bathroom, and ambient humidity. It also includes: The longest startup time is determined based on seasonal information, time information, geographical location, local weather conditions, and the area of ​​the wet and dry areas of the bathroom. If the duration of the defogging function exceeds the maximum start time, the defogging function will be automatically turned off.

5. The automatic defogging control method for an integrated bathroom cabinet system according to claim 4, characterized in that, Based on seasonal information, time information, geographical location, local weather conditions, and the area of ​​the wet and dry areas of the bathroom, the humidity activation threshold and humidity deactivation threshold are obtained, including: extracting the humidity activation threshold and humidity deactivation threshold from a predefined rule table based on seasonal information, time information, geographical location, local weather conditions, and the area of ​​the wet and dry areas of the bathroom.

6. An automatic defogging control system for an integrated bathroom cabinet system, characterized in that, include: The user command triggering module is used to respond to the user-triggered defogging start command by immediately turning on the power supply of the PTC heating film to perform defogging, and to respond to the user-triggered defogging stop command by immediately turning off the power supply of the PTC heating film to stop defogging. The WiFi module connection detection module is used to detect the connection status of the WiFi module. The offline status processing module is used to respond to the fact that the WiFi module is offline, and then enter the offline operation mode of the defogging function. The offline operation mode of the defogging function includes automatically turning the defogging function on or off based on the current time and ambient humidity. The network status processing module is used to respond to the WiFi module's connection status as being connected to the network, and then enter the online operation mode of the defogging function. The online operation mode of the defogging function includes automatically turning the defogging function on or off based on time information, geographical location, local weather conditions, the area of ​​the dry and wet areas of the bathroom, and the ambient humidity.

7. The automatic defogging control system for an integrated bathroom cabinet system according to claim 6, characterized in that, The offline status processing module is used for: Get the current time from the internal clock; The defogging function will be automatically activated if the current time is between 10:00 AM and 5:00 PM and the ambient humidity is greater than 70%. The defogging function will automatically turn off if the current time is between 10:00 AM and 5:00 PM and the ambient humidity is less than 45%. The defogging function will be automatically activated when the current time is between 5 p.m. and 10 a.m. the next day and the ambient humidity is greater than 80%. The defogging function will automatically turn off when the current time is between 5 p.m. and 10 a.m. the next day and the ambient humidity is less than 50%.