Intelligent equipment control method and device, electronic equipment and readable storage medium

By introducing humidity sensors and microcontrollers into the cutting board sterilizer, the humidity is monitored in real time and the drying and sterilization strategies are automatically adjusted, the problem that existing equipment cannot be adjusted according to the humidity state is solved, and the operation efficiency and user experience of the equipment in a high-humidity environment is improved.

CN120406188AInactive Publication Date: 2025-08-01GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202510905689.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-02
Publication Date
2025-08-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing cutting board sterilizer has a single function, and it cannot automatically adjust the drying and sterilization functions according to the humidity status of kitchen utensils, and it cannot be continuously monitored and operated automatically in high humidity environments, resulting in inefficiency of the equipment.

Method used

By introducing humidity sensors and microcontrollers into smart devices, the humidity data is monitored in real time, and the sterilization and drying strategies and monitoring strategies are automatically adjusted based on preset thresholds, including controlling the blower speed, positive temperature coefficient heating circuit and ultraviolet lamp circuit breaking state, to achieve intelligent control.

Benefits of technology

It realizes the automatic adjustment of drying and sterilization functions according to the humidity status of kitchen utensils, and has the ability to continuously monitor and operate automatically in high humidity environments, improving the control efficiency and user experience of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120406188A_ABST
    Figure CN120406188A_ABST
Patent Text Reader

Abstract

The invention discloses a control method and device of intelligent equipment, electronic equipment and a readable storage medium, the method is applied to the technical field of intelligent home furnishing.The method comprises the steps that under the condition that it is detected that the working state of the intelligent equipment is a cruise mode, humidity data in the intelligent equipment is obtained; the humidity data is obtained through a humidity sensor in the intelligent equipment; and based on the humidity data and a preset threshold value, determining a target control strategy from the sterilization drying strategy and the monitoring strategy, and performing control processing on the intelligent equipment by using the target control strategy. The intelligent equipment can automatically adjust the drying and sterilizing functions according to the humidity state of the kitchen ware, has the functions of continuous monitoring and automatic operation in a high-humidity environment, and improves the control efficiency of the intelligent equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of smart home, and particularly relates to a control method, device, electronic device and readable storage medium for smart devices. Background Art

[0002] The chopping board sterilizer is used to sterilize the chopping board in the kitchen. Through the integrated ultraviolet lamp or other sterilization technologies, the chopping board sterilizer can kill bacteria, viruses and other microorganisms on the surface of the chopping board to ensure the hygienic safety of the chopping board.

[0003] Most of the existing chopping board sterilizers on the market have a single function and can only provide basic sterilization functions, and cannot be intelligently adjusted according to the specific needs of users.

[0004] The existing chopping board sterilizers are often lack of convenience during operation. Users need to manually start the sterilization program, and cannot automatically adjust the drying and sterilization functions according to the humidity state of the tableware and kitchen utensils, and do not have the function of continuously monitoring and automatically running in a high humidity environment. It cannot meet the dual needs of users for drying and sterilizing tableware and kitchen utensils, and reduces the control efficiency of smart devices. Summary of the Invention

[0005] The purpose of the embodiments of this application is to provide a control method, device, electronic device and readable storage medium for smart devices, which can solve the problems in the related technologies that the chopping board sterilizer has a single function, cannot automatically adjust the drying and sterilization functions according to the specific humidity state of the tableware and kitchen utensils, and does not have the function of continuously monitoring and automatically running in a high humidity environment.

[0006] In the first aspect, the embodiments of this application provide a control method for a smart device. The method is applied to a microcontroller, and the method includes: When it is detected that the working state of the smart device is the cruise mode, obtain the humidity data inside the smart device; the humidity data is obtained through a humidity sensor inside the smart device; Based on the humidity data and a preset threshold, determine a target control strategy from a sterilization and drying strategy and a monitoring strategy, and use the target control strategy to perform control processing on the smart device; Wherein, the microcontroller includes a relay, the relay includes a positive temperature coefficient heating circuit and an ultraviolet lamp circuit, the relay is arranged inside the smart device, the relay is connected to the positive temperature coefficient heating circuit and the ultraviolet lamp circuit, and using the target control strategy to perform control processing on the smart device includes: When the target control strategy is the sterilization and drying strategy, control the rotation speed of the fan to reduce the humidity inside the smart device; Control the working state of the relay to be on and perform disinfection treatment on the intelligent device; the relay is used to control the on / off states of the positive temperature coefficient heating circuit and the ultraviolet lamp circuit.

[0007] Optionally, determining a target control strategy from a disinfection and drying strategy and a monitoring strategy based on the humidity data and a preset threshold includes: When the humidity value corresponding to the humidity data is less than or equal to the preset threshold, determine that the target control strategy is the monitoring strategy; When the humidity value corresponding to the humidity data is greater than the preset threshold, determine that the target control strategy is the disinfection and drying strategy.

[0008] Optionally, the method further includes: When the humidity value corresponding to the humidity data is greater than a second threshold, turn on the disinfection and drying function of the intelligent device; When the humidity value corresponding to the humidity data is less than a first threshold, turn off the disinfection and drying function of the intelligent device; the first threshold is less than the second threshold; When the humidity value corresponding to the humidity data is greater than or equal to the first threshold and less than or equal to the second threshold, obtain the previous enabled state corresponding to the disinfection and drying function; Based on the previous enabled state, control the intelligent device to enter a hysteresis on / off stage and maintain the same as the previous enabled state corresponding to the disinfection and drying function.

[0009] Optionally, the method further includes: When the target control strategy is the monitoring strategy, continue to monitor the humidity data inside the intelligent device to obtain the humidity value corresponding to the updated humidity data; When the humidity value corresponding to the updated humidity data is less than or equal to the preset threshold, determine that the target control strategy is the monitoring strategy; When the humidity value corresponding to the updated humidity data is greater than the preset threshold, determine that the target control strategy is the disinfection and drying strategy; Perform disinfection and drying treatment on the intelligent device based on the disinfection and drying strategy.

[0010] Optionally, the method further includes: Determine a preset time threshold corresponding to the disinfection and drying strategy; the preset time threshold is the working time corresponding to the disinfection and drying strategy; When the target control strategy is the disinfection and drying strategy, control the intelligent device to perform disinfection treatment based on the preset time threshold.

[0011] Optionally, the method further includes: Detecting the working state of the intelligent device; When the working state is the automatic mode, performing a single sterilization and drying process on the intelligent device; When the working state is the sterilization mode, performing a single sterilization process on the intelligent device; When the working state is the cruise mode, turning on the humidity sensor.

[0012] Optionally, the method further includes: Initializing the inside of the chip of the microcontroller; the initialization includes configuring the working modes of the general input and output pins corresponding to the microcontroller, and the working modes of the timers corresponding to the microcontroller.

[0013] In a second aspect, an embodiment of the present invention discloses a control device for an intelligent device, the device includes: A detection module, configured to obtain humidity data inside the intelligent device when it is detected that the working state of the intelligent device is the cruise mode; the humidity data is obtained through a humidity sensor inside the intelligent device; A determination module, configured to determine a target control strategy from a sterilization and drying strategy and a monitoring strategy based on the humidity data and a preset threshold; A control module, configured to perform a control process on the intelligent device by using the target control strategy; Wherein, the control module includes: A control sub-module, configured to control the rotation speed of the fan to reduce the humidity inside the intelligent device when the target control strategy is the sterilization and drying strategy; control the working state of the relay to be on, and perform a sterilization process on the intelligent device; the relay is used to control the on-off states of the positive temperature coefficient heating circuit and the ultraviolet lamp circuit.

[0014] Optionally, the determination module includes: A first determination sub-module, configured to determine that the target control strategy is the monitoring strategy when the humidity value corresponding to the humidity data is less than or equal to the preset threshold; determine that the target control strategy is the sterilization and drying strategy when the humidity value corresponding to the humidity data is greater than the preset threshold.

[0015] Optionally, the device further includes: An activation module, configured to activate the sterilization and drying function of the intelligent device when the humidity value corresponding to the humidity data is greater than a second threshold; A shutdown module, configured to shut down the sterilization and drying function of the intelligent device when the humidity value corresponding to the humidity data is less than a first threshold; the first threshold is less than the second threshold; An acquisition module, configured to acquire the last enabled state corresponding to the sterilization and drying function when the humidity value corresponding to the humidity data is greater than or equal to the first threshold and less than or equal to the second threshold; A first control sub-module, configured to control the intelligent device to enter a hysteresis on-off stage based on the last enabled state; A maintenance module, configured to maintain consistency with the last enabled state corresponding to the sterilization and drying function.

[0016] Optionally, the device further includes: An obtaining module, configured to continue to monitor the humidity data inside the intelligent device and obtain the humidity value corresponding to the updated humidity data when the target control strategy is a monitoring strategy; A second determination sub-module, configured to determine that the target control strategy is the monitoring strategy when the humidity value corresponding to the updated humidity data is less than or equal to the preset threshold; and determine that the target control strategy is the sterilization and drying strategy when the humidity value corresponding to the updated humidity data is greater than the preset threshold; A second control sub-module, configured to perform sterilization and drying processing on the intelligent device based on the sterilization and drying strategy.

[0017] Optionally, the device further includes: A third determination sub-module, configured to determine a preset time threshold corresponding to the sterilization and drying strategy; the preset time threshold is the working time corresponding to the sterilization and drying strategy; A sterilization module, configured to control the intelligent device to perform sterilization processing based on the preset time threshold when the target control strategy is the sterilization and drying strategy.

[0018] Optionally, the device further includes: A detection sub-module, configured to detect the working state of the intelligent device; A sterilization and drying module, configured to perform a single sterilization and drying process on the intelligent device when the working state is the automatic mode; A sterilization module, configured to perform a single sterilization process on the intelligent device when the working state is the sterilization mode; An activation sub-module, configured to activate the humidity sensor when the working state is the cruise mode.

[0019] Optionally, the device further includes: An initialization module for initializing the interior of the chip of the microcontroller; the initialization includes configuring the working modes of the general input and output pins corresponding to the microcontroller, and the working modes of the timers corresponding to the microcontroller.

[0020] In a third aspect, an embodiment of the present invention also discloses an electronic device, which includes a processor, a memory, a communication interface, and a communication bus. The processor, the memory, and the communication interface complete communication with each other through the communication bus; the memory is used to store executable instructions, and the executable instructions cause the processor to execute the control method of the aforementioned intelligent device.

[0021] In a fourth aspect, an embodiment of the present invention also discloses a readable storage medium. When the instructions in the readable storage medium are executed by the processor of an electronic device, the electronic device can execute the control method of the aforementioned intelligent device.

[0022] In an embodiment of the present application, a control method for an intelligent device is provided, including: when it is detected that the working state of the intelligent device is the cruise mode, obtaining humidity data inside the intelligent device; the humidity data is obtained through a humidity sensor inside the intelligent device; based on the humidity data and a preset threshold, determining a target control strategy from a sterilization and drying strategy and a monitoring strategy, and using the target control strategy to perform control processing on the intelligent device; wherein, the microcontroller includes a relay, and the relay includes a positive temperature coefficient heating circuit and an ultraviolet lamp circuit. The relay is arranged inside the intelligent device, and the relay is connected to the positive temperature coefficient heating circuit and the ultraviolet lamp circuit. During the process of using the target control strategy to perform control processing on the intelligent device, when the target control strategy is the sterilization and drying strategy, controlling the rotation speed of the fan to reduce the humidity inside the intelligent device; controlling the working state of the relay to be on to perform sterilization processing on the intelligent device; the relay is used to control the on-off states of the positive temperature coefficient heating circuit and the ultraviolet lamp circuit. The present application can automatically adjust the drying and sterilization functions according to the humidity state of the tableware and kitchen utensils, and has the function of continuously monitoring and automatically operating in a high-humidity environment, improving the control efficiency of the intelligent device. Description of the Drawings

[0023] Figure 1 is the step flow of a control method for an intelligent device provided by an embodiment of the present application Figure 1 ; Figure 2 is a schematic diagram of the composition structure of a microcontroller provided by an embodiment of the present application; Figure 3 is a schematic diagram of the hardware connection of a control device for an intelligent device provided by an embodiment of the present application; Figure 4It is a schematic diagram of the control function of an intelligent device provided by an embodiment of the present application; Figure 5 It is the step flow of a control method for an intelligent device provided by an embodiment of the present application Figure 2 ; Figure 6 It is the step flow chart of a cruise mode function provided by an embodiment of the present application; Figure 7 It is a schematic diagram of a drying and sterilization hysteresis switch in cruise mode provided by an embodiment of the present application; Figure 8 It is the step flow of a control method for an intelligent device provided by an embodiment of the present application Figure 3 ; Figure 9 It is the logic block diagram of a control device for an intelligent device provided by an embodiment of the present application; Figure 10 It is the structural schematic diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners

[0024] Next, the technical solutions in the embodiments of the present application will be clearly described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, rather than all, of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope protected by the present application.

[0025] The terms "first", "second", etc. in the description and claims of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such data may be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in an order different from those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object may be one or more. In addition, "and / or" in the description and claims means at least one of the connected objects, and the character " / " generally means an "or" relationship between the associated objects before and after.

[0026] Method embodiments Next, the control method for an intelligent device provided by an embodiment of the present application will be described in detail in conjunction with the accompanying drawings through specific embodiments and their application scenarios.

[0027] Referring to Figure 1 , it shows the step flow of a control method for an intelligent device provided by an embodiment of the present application Figure 1 , as Figure 1 shown, the method specifically includes step S101 and step S102: Step S101: When it is detected that the working state of the smart device is the cruise mode, humidity data inside the smart device is obtained; the humidity data is obtained by a humidity sensor inside the smart device; Step S102: Based on the humidity data and the preset threshold, a target control strategy is determined from the sterilization and drying strategy and the monitoring strategy, and the target control strategy is used to control the smart device.

[0028] When it is detected that the working state of the smart device is the cruise mode, humidity data inside the smart device is obtained; the humidity data is obtained through a humidity sensor inside the smart device.

[0029] The operating state of a smart device refers to the current operating mode or functional state of the smart device. In the embodiment of the present application, the operating state of the smart device includes a cruise mode, in which the smart device performs a series of predefined tasks, such as regularly detecting internal environmental parameters (such as humidity) and adopting corresponding control strategies based on the detection results.

[0030] Cruise mode is used to ensure that smart devices can operate automatically without human intervention and maintain the stability of their internal environment, thereby extending the service life of the device and improving its operating efficiency.

[0031] Humidity data within smart devices provides real-time insights into humidity levels within them, providing crucial information for determining whether sterilization and drying measures are needed or whether monitoring frequency needs to be adjusted. By analyzing humidity data, the system can intelligently identify excessive or low humidity levels within the device, triggering appropriate control strategies to ensure a stable and healthy internal environment. Furthermore, this data can be used for preventive maintenance of smart devices. By comparing and analyzing historical data, potential failures can be predicted, allowing proactive action to prevent damage or performance degradation.

[0032] Humidity sensors within smart devices monitor humidity levels in real time and transmit this data to the microcontroller. The sensors are highly sensitive and precise, accurately reflecting humidity changes within the smart device. By continuously monitoring and analyzing this data, the control system can determine whether the smart device maintains an appropriate humidity environment and make timely adjustments to ensure proper operation and a stable internal environment.

[0033] Based on humidity data and preset thresholds, the target control strategy is determined from the sterilization and drying strategy and the monitoring strategy, and the target control strategy is used to control the smart device.

[0034] The preset threshold refers to the humidity range limit preset according to the characteristics and operating requirements of the intelligent device. These thresholds are used to determine whether the humidity level inside the intelligent device is in a suitable state. When the data collected by the humidity sensor exceeds or is lower than the preset humidity threshold, the control system will identify the unsuitability of the humidity environment inside the intelligent device and trigger corresponding control strategies for adjustment. The setting of the preset threshold is usually based on the material characteristics of the intelligent device, the requirements of the operating environment, and the specific needs of users, ensuring that the intelligent device can operate under the best humidity conditions, extend the device life, and improve the operating efficiency.

[0035] The sterilization and drying strategy is used to adjust the humidity environment inside the intelligent device. When the humidity inside the intelligent device is too high, which may cause problems such as mold growth or electronic components getting damp, the sterilization and drying strategy will be activated. This strategy raises the temperature inside the intelligent device by starting the built-in heating element or ventilation system to accelerate the evaporation of moisture, thereby reducing the humidity level. At the same time, some sterilization and drying strategies also incorporate functions such as ultraviolet sterilization or ozone disinfection to eliminate bacteria and molds bred due to high humidity, ensuring the hygiene and safety inside the intelligent device. The implementation of this strategy helps maintain the normal operating state of the intelligent device and extends the service life of the device.

[0036] The monitoring strategy is used to continuously monitor the humidity environment inside the intelligent device in real time. This strategy continuously collects the humidity data inside the intelligent device through a humidity sensor and compares and analyzes these data with the preset humidity threshold. Once abnormal humidity data is detected, that is, exceeding or being lower than the preset threshold range, the monitoring strategy will immediately trigger the microcontroller to respond. This real-time monitoring and response mechanism ensures the stability and suitability of the humidity environment inside the intelligent device, effectively preventing equipment failures or performance degradation caused by unsuitable humidity. The implementation of the monitoring strategy not only improves the reliability and durability of the intelligent device but also provides a safer and more comfortable user experience.

[0037] The target control strategy is used to precisely control and adjust the intelligent device according to the current actual operating conditions of the intelligent device and the preset control rules. The target control strategy includes the sterilization and drying strategy and the monitoring strategy. By analyzing the working state and environmental conditions of the intelligent device in real time, the target control strategy can intelligently select and execute the most appropriate control operations to ensure the stable operation and optimal performance of the intelligent device. At the same time, the target control strategy can also continuously adjust and improve the control rules based on historical data and user feedback, thereby enhancing the control effect of the intelligent device.

[0038] Controlling and processing the intelligent device using the target control strategy includes: comprehensively monitoring and intelligently adjusting the intelligent device. With the target control strategy as the core, it dynamically adapts to various scenarios during the operation of the intelligent device. By deeply analyzing the humidity data collected by the internal sensors of the intelligent device, it flexibly adjusts the working mode of the device.

[0039] When the target control strategy is the sterilization and drying strategy, control the rotation speed of the fan to reduce the humidity inside the intelligent device.

[0040] Among them, it can be achieved by adjusting the motor voltage or current of the fan. When the humidity inside the intelligent device is high, increase the rotation speed of the fan to accelerate air flow, thereby improving the drying efficiency inside the intelligent device. At the same time, the adjustment of the fan rotation speed also needs to consider factors such as the energy consumption and noise of the intelligent device to achieve the best sterilization and drying effect.

[0041] In addition, during the process of reducing the humidity inside the intelligent device, a humidity sensor can be introduced to continuously monitor the humidity level inside the intelligent device. When the humidity sensor detects that the humidity exceeds the preset threshold, it automatically triggers the sterilization and drying strategy, further intelligently controlling the rotation speed of the fan to ensure that a suitable dry environment is maintained inside the intelligent device. At the same time, the intelligent device can also automatically adjust the parameters of the sterilization and drying strategy according to historical usage data and current environmental conditions to achieve a more accurate and efficient humidity control effect.

[0042] Exemplarily, the Microcontroller Unit (MCU) can control the rotation speed of the fan by outputting a Pulse Width Modulation (PWM) signal to achieve air circulation and help reduce humidity.

[0043] Control the working state of the relay to be on to perform sterilization treatment on the intelligent device; the relay is used to control the on-off states of the positive temperature coefficient heating circuit and the ultraviolet lamp circuit.

[0044] Among them, when the working state of the relay is on, the positive temperature coefficient heating circuit and the ultraviolet lamp circuit are activated to start heating and ultraviolet sterilization treatment inside the intelligent device. The positive temperature coefficient heating element can automatically increase the resistance as the temperature rises, thereby limiting the current and preventing overheating to ensure the stability and safety of the sterilization process. The ultraviolet lamp emits ultraviolet light of a specific wavelength, effectively destroying the deoxyribonucleic acid (DNA) structure of bacteria, viruses and other microorganisms to achieve a rapid sterilization effect.

[0045] Sterilization treatment refers to the process of cleaning and disinfecting the interior of intelligent devices. During this process, the positive temperature coefficient heating element and the ultraviolet lamp work together to eliminate bacteria, viruses, and other microorganisms that may exist inside the device.

[0046] Exemplarily, the positive temperature coefficient heating element through intelligent regulation ensures that the heating process is both effective and safe, avoiding damage to the device caused by overheating. The ultraviolet lamp utilizes its powerful sterilization ability to destroy the DNA structure of microorganisms, thereby achieving a fast and thorough sterilization effect. The entire sterilization treatment process has a high degree of automation, which can significantly improve the hygiene level of intelligent devices and the user experience.

[0047] The positive temperature coefficient heating circuit refers to a circuit composed of a positive temperature coefficient heating element, which can automatically adjust the resistance value according to the change of temperature. When the temperature rises, the resistance of the positive temperature coefficient heating element automatically increases, thereby limiting the current passing through the circuit and effectively preventing the occurrence of overheating. This circuit plays a key role in the sterilization treatment process of intelligent devices, ensuring that the heating process is both stable and safe without causing damage to the device. At the same time, the positive temperature coefficient heating circuit works together with the ultraviolet lamp to jointly improve the hygiene level of intelligent devices.

[0048] The ultraviolet lamp circuit is used to drive and control the ultraviolet lamp. This circuit has an efficient and stable power management function to ensure that the ultraviolet lamp can continuously and stably emit light during the sterilization treatment process. By precisely controlling the switch and brightness of the ultraviolet lamp, the ultraviolet lamp circuit can optimize the sterilization effect while reducing unnecessary energy consumption. In addition, the ultraviolet lamp circuit also has an overheat protection function. When the circuit temperature is too high, it can automatically cut off the power supply to prevent the device from being damaged, ensuring the safety and reliability of use.

[0049] In the embodiment of the present application, when the target control strategy is the sterilization and drying strategy, the intelligent device will start a preset sterilization and drying program. This program first activates the positive temperature coefficient heating element and the ultraviolet lamp circuit to ensure that the interior of the device reaches an appropriate sterilization temperature and simultaneously emits ultraviolet rays to kill bacteria and viruses. After the sterilization stage is completed, the intelligent device will automatically adjust the power of the heating element, gradually reduce the temperature and enter the drying mode to completely remove the moisture inside the device and prevent the growth of bacteria. The entire sterilization and drying process is independently controlled by the intelligent device without manual intervention, greatly improving the hygiene level and usability of the device.

[0050] In an embodiment of the present invention, the microcontroller can obtain the humidity data inside the intelligent device when detecting that the working state of the intelligent device is the cruise mode; the humidity data is obtained by a humidity sensor inside the intelligent device; based on the humidity data and a preset threshold, a target control strategy is determined from the sterilization and drying strategy and the monitoring strategy, and the intelligent device is controlled and processed by using the target control strategy. This application can automatically adjust the drying and sterilization functions according to the humidity state of the tableware and kitchen utensils, and has the function of continuously monitoring and automatically running in a high-humidity environment, improving the control efficiency of the intelligent device.

[0051] In an alternative embodiment of the present invention, the determining the target control strategy from the sterilization and drying strategy and the monitoring strategy based on the humidity data and the preset threshold may specifically include the following steps: Step S1021, when the humidity value corresponding to the humidity data is less than or equal to the preset threshold, determining that the target control strategy is the monitoring strategy; Step S1022, when the humidity value corresponding to the humidity data is greater than the preset threshold, determining that the target control strategy is the sterilization and drying strategy.

[0052] When the humidity value corresponding to the humidity data is less than or equal to the preset threshold, determine that the target control strategy is the monitoring strategy.

[0053] Among them, the humidity value corresponding to the humidity data refers to the current humidity level of the environment or the item to be processed, which is obtained by the humidity sensor in real time or at regular intervals and is used to evaluate the humidity degree of the current environment or the item to be processed. The preset threshold is a standard value set according to actual needs and is used to judge whether the current humidity meets specific conditions, so as to determine what control strategy to adopt. For example, in a scenario where a dry environment needs to be maintained, the preset threshold may be set relatively low to ensure that once the humidity exceeds this value, the sterilization and drying strategy is immediately activated to reduce the humidity.

[0054] When the humidity value corresponding to the humidity data is less than or equal to the preset threshold, determine that the target control strategy is the monitoring strategy. At this time, the intelligent device will enter the low-power monitoring mode, and the humidity of the environment or the item to be processed is monitored in real time or at regular intervals through the humidity sensor. Once the humidity changes and exceeds the preset threshold, the microcontroller controls the intelligent device to switch to the sterilization and drying strategy to ensure the dry state of the environment or the item to be processed and prevent bacteria from growing or other problems caused by too high humidity. This way of automatically adjusting the control strategy according to the humidity data not only improves the automation degree of the intelligent device, but also effectively improves the management efficiency of the environment or the item to be processed.

[0055] When the humidity value corresponding to the humidity data is greater than the preset threshold, determine that the target control strategy is the sterilization and drying strategy.

[0056] When the humidity value corresponding to the humidity data is greater than the preset threshold, it is determined that the target control strategy is the sterilization and drying strategy. At this time, the intelligent device will activate the built-in sterilization and drying module, which, through the combination of a heating element and a fan, blows the generated hot air towards the environment or the item to be processed to achieve the purpose of rapid drying and sterilization. At the same time, the intelligent device will also dynamically adjust the working intensity and duration of the sterilization and drying module according to the real-time monitored humidity data to ensure that while effectively removing humidity, it avoids damaging the item due to overheating or over-drying. This intelligent sterilization and drying strategy not only improves the practicality and flexibility of the intelligent device but also further enhances the hygiene quality of the environment or the item to be processed.

[0057] In an embodiment of the present invention, based on the humidity data and the preset threshold, the target control strategy is determined from the sterilization and drying strategy and the monitoring strategy. When the humidity value corresponding to the humidity data is lower than the preset threshold, it is determined that the target control strategy is the monitoring strategy. At this time, the intelligent device will activate the built-in humidity sensor to continuously monitor the humidity of the environment or the item to be processed. If the humidity data continuously remains at a low level, the intelligent device will automatically enter the energy-saving mode, reducing the working power and energy consumption while maintaining the monitoring of the environment or the item to be processed. Once the humidity data changes significantly, the intelligent device will immediately exit the energy-saving mode and re-determine the target control strategy according to the new humidity data. This intelligent monitoring strategy not only improves the energy efficiency ratio of the intelligent device but also ensures that the environment or the item to be processed is properly managed under stable conditions.

[0058] In an alternative embodiment of the present invention, the control method of the intelligent device may specifically further include the following steps: Step S103: When the humidity value corresponding to the humidity data is greater than the second threshold, turn on the sterilization and drying function of the intelligent device; Step S104: When the humidity value corresponding to the humidity data is less than the first threshold, turn off the sterilization and drying function of the intelligent device; the first threshold is less than the second threshold; Step S105: When the humidity value corresponding to the humidity data is greater than or equal to the first threshold and less than or equal to the second threshold, obtain the previous enabled state corresponding to the sterilization and drying function; Step S106: Based on the previous enabled state, control the intelligent device to enter the hysteresis on-off stage and maintain the same as the previous enabled state corresponding to the sterilization and drying function.

[0059] When the humidity value corresponding to the humidity data is greater than the second threshold, turn on the sterilization and drying function of the intelligent device.

[0060] Wherein, the second threshold is the maximum value of the humidity value corresponding to the hysteresis on-off interval and is also the humidity threshold for enabling the sterilization and drying state.

[0061] When the humidity value corresponding to the humidity data is greater than the second threshold, the sterilization and drying function of the smart device is turned on. Specifically, the specific operations for turning on the sterilization and drying function may include: the fan inside the smart device starts to operate, sucking air into the device interior and heating it through a heating element to achieve the effects of sterilization and drying. Meanwhile, the smart device can also continuously monitor the temperature and humidity through built-in sensors to ensure the normal operation and effectiveness of the sterilization and drying function.

[0062] When the humidity value corresponding to the humidity data is less than the first threshold, the sterilization and drying function of the smart device is turned off; the first threshold is less than the second threshold.

[0063] Wherein, the first threshold is the minimum value of the humidity value corresponding to the hysteresis cut-off interval and is also the humidity threshold for turning off the sterilization and drying state. Through such a setting, it can be ensured that when the humidity value of the smart device is within a certain range, the state of the sterilization and drying function will not frequently switch, thereby improving the stability and service life of the device. At the same time, users can also flexibly adjust the settings of the first threshold and the second threshold according to actual needs to meet different usage scenarios and requirements.

[0064] When the humidity value corresponding to the humidity data is greater than or equal to the first threshold and less than or equal to the second threshold, obtain the previous enabled state of the sterilization and drying function.

[0065] Wherein, the previous enabled state of the sterilization and drying function refers to the state when the sterilization and drying function was last activated or turned off.

[0066] Based on the previous enabled state, control the smart device to enter the hysteresis cut-off stage and maintain the same as the previous enabled state corresponding to the sterilization and drying function.

[0067] Wherein, the hysteresis cut-off stage means that when the humidity data is between the first threshold and the second threshold, the smart device will not immediately change the state of the sterilization and drying function due to small fluctuations in humidity. Specifically, when the humidity value is between the first threshold and the second threshold, the smart device will maintain the previous enabled state of the sterilization and drying function, whether it is on or off, until the humidity value exceeds this range. Such a design aims to avoid frequent state switches, protect the device from unnecessary wear, and ensure that under stable humidity conditions, the operating state of the device is consistent with the user's expectations. The existence of the hysteresis cut-off stage reflects the refinement of the control strategy of the smart device.

[0068] Exemplarily, if the previous enabled state is on, when the current humidity value is between the first threshold and the second threshold, the smart device will maintain the enabled state of the sterilization and drying function; if the previous enabled state is off, when the current humidity value is within this range, the smart device will keep the sterilization and drying function in the off state. This can avoid unnecessary function switching, ensure that the smart device can make intelligent decisions based on historical status and current environmental conditions, and thus provide more stable and efficient services.

[0069] In an embodiment of the present application, the microcontroller can turn on or off the sterilization and drying function according to the humidity value corresponding to the humidity data, the first threshold, and the second threshold. At the same time, after the smart device enters the hysteresis on-off stage, the microcontroller will record the current state of the sterilization and drying function and maintain this state unchanged according to the preset strategy. When the humidity value breaks through the first threshold or the second threshold, the microcontroller will re-evaluate the current humidity conditions and make corresponding operation decisions. This flexible control method not only improves the response speed of the smart device to humidity changes but also ensures the stable operation of the device in different humidity environments. Through such a design, the smart device can better adapt to various complex usage scenarios and provide a more intelligent and convenient service experience for users.

[0070] Refer to Figure 2 , which shows a schematic structural diagram of a microcontroller provided by an embodiment of the present application. As Figure 2 shown, the microcontroller includes a relay, and the relay includes a positive temperature coefficient heating circuit and an ultraviolet lamp circuit. The relay is arranged inside the smart device, and the relay is connected to the positive temperature coefficient heating circuit and the ultraviolet lamp circuit.

[0071] In an alternative embodiment of the present invention, the control process of the smart device using the target control strategy may specifically include the following steps: In an alternative embodiment of the present invention, the control method of the smart device may specifically further include the following steps: Step S107: When the target control strategy is the monitoring strategy, continue to monitor the humidity data inside the smart device to obtain the humidity value corresponding to the updated humidity data; Step S108: When the humidity value corresponding to the updated humidity data is less than or equal to the preset threshold, determine that the target control strategy is the monitoring strategy; Step S109: When the humidity value corresponding to the updated humidity data is greater than the preset threshold, determine that the target control strategy is the sterilization and drying strategy; Step S110: Control the smart device based on the target control strategy.

[0072] When the target control strategy is the monitoring strategy, the humidity data in the smart device is continuously monitored to obtain a humidity value corresponding to the updated humidity data. When the humidity value corresponding to the updated humidity data is less than or equal to a preset threshold, the target control strategy is determined to be the monitoring strategy.

[0073] The updated humidity data corresponds to the latest humidity reading obtained during real-time monitoring within the smart device. This humidity value is compared with a preset threshold to determine the smart device's next control strategy. When the updated humidity value is less than or equal to the preset threshold, it indicates that the humidity within the smart device has reached a safe or ideal level. The device can continue monitoring without initiating the sterilization and drying process.

[0074] When the humidity value corresponding to the updated humidity data is greater than a preset threshold, the target control strategy is determined to be a sterilization and drying strategy.

[0075] Among them, when the updated humidity value is greater than the preset threshold, it indicates that the humidity inside the smart device is too high, and there may be a risk of bacteria breeding or items getting damp. At this time, the device should automatically switch to the sterilization and drying strategy to reduce the humidity and improve the hygiene level inside the device.

[0076] Smart devices are sterilized and dried based on the sterilization and drying strategy.

[0077] Sterilization and drying refers to a process that effectively reduces humidity and kills bacteria within smart devices through heating and ultraviolet radiation. This process ensures a dry and hygienic environment within smart devices, preventing bacterial growth and moisture from excessive humidity. Sterilization and drying typically initiates automatically based on the humidity within the smart device and a pre-set control strategy, and automatically terminates when the desired sterilization and drying effect is achieved, thus enabling intelligent management of the smart device's internal environment.

[0078] In an embodiment of the present invention, after the sterilization and drying strategy is executed, the MCU returns to the temperature and humidity monitoring state and continuously detects the ambient humidity to ensure that the internal environment of the smart device remains dry and hygienic. After re-entering the humidity monitoring state, the MCU periodically collects humidity data inside the smart device and updates the humidity value in real time. Once it detects that the humidity value exceeds the preset threshold again, the MCU will immediately trigger a new round of sterilization and drying strategies, thereby forming a closed-loop intelligent control process. This design not only improves the automation level of smart devices, but also effectively ensures the hygienic conditions inside the device and extends the service life of the device.

[0079] In an optional embodiment of the present invention, the control method of the smart device may further include the following steps: Step S111: Determine the preset time threshold corresponding to the sterilization and drying strategy; the preset time threshold is the working time corresponding to the sterilization and drying strategy. Step S112: When the target control strategy is the sterilization and drying strategy, control the intelligent device to perform sterilization treatment based on the preset time threshold.

[0080] Determine the preset time threshold corresponding to the sterilization and drying strategy; the preset time threshold is the working time corresponding to the sterilization and drying strategy.

[0081] Among them, the preset time threshold can be set to 30 minutes or 1 hour, and the specific duration can be adjusted according to the actual situation of the intelligent device and the actual needs of the user. By setting the preset time threshold, the MCU can accurately control the execution duration of the sterilization and drying strategy, ensuring the sterilization and drying effect while also avoiding energy waste and equipment loss caused by over-treatment.

[0082] The working time corresponding to the sterilization and drying strategy refers to the total duration required during the execution of the sterilization and drying strategy, that is, the time period from the start of the sterilization and drying program to the end of the program. The length of this time period may be affected by various factors, including but not limited to the initial humidity level inside the intelligent device, the target humidity value, the sterilization and drying efficiency, and the performance parameters of the device itself. By reasonably setting the preset time threshold, it can be ensured that the sterilization and drying strategy can not only achieve the expected sanitation guarantee effect but also will not cause unnecessary loss to the device due to over-treatment.

[0083] When the target control strategy is the sterilization and drying strategy, control the intelligent device to perform sterilization treatment based on the preset time threshold.

[0084] In the embodiment of the present invention, during the execution of the sterilization and drying strategy, the intelligent device can also continuously monitor key parameters such as the current humidity level and temperature in real time, and compare and analyze these data with the preset ideal values. Once it is found that the actual parameters deviate from the preset values, the intelligent device will automatically adjust the relevant parameters of the sterilization and drying strategy to ensure that the entire processing process is always in the optimal state. This intelligent self-adjustment mechanism not only improves the efficiency and effect of sterilization and drying but also makes the operation of the intelligent device more stable and reliable.

[0085] In an alternative embodiment of the present invention, the control method of the intelligent device may specifically further include the following steps: Step S113: Detect the working state of the intelligent device; Step S114: When the working state is the automatic mode, perform a single sterilization and drying treatment on the intelligent device; Step S115: When the working state is the sterilization mode, perform a single sterilization treatment on the intelligent device; Step S116: When the working state is the cruise mode, turn on the humidity sensor.

[0086] Detect the working state of the intelligent device.

[0087] Herein, the working state of the intelligent device refers to the operating mode or operation state in which the intelligent device is currently located, including but not limited to the automatic mode, the sterilization mode, and the cruise mode. In the automatic mode, the intelligent device will perform automatic processing according to the preset sterilization and drying strategy; in the sterilization mode, the intelligent device will focus on performing the sterilization operation; while in the cruise mode, the intelligent device will start the humidity sensor to monitor the humidity of the environment in real time. The switching and determination of these working states are aimed at intelligently adjusting the working mode of the device according to different user needs or different environmental conditions to achieve the best sterilization and drying effect.

[0088] When the working state is the automatic mode, perform a single sterilization and drying process on the intelligent device.

[0089] The specific process of the single sterilization and drying process includes: First, the intelligent device will automatically adjust the intensity and time of sterilization and drying according to the preset sterilization and drying strategy to ensure the comprehensiveness of the process; Second, the sensors inside the device will monitor key parameters such as temperature and humidity during the process in real time to ensure the safety and effectiveness of the process; Finally, when the process is completed, the intelligent device will automatically turn off the sterilization and drying function and return to the standby state, waiting for the next instruction.

[0090] When the working state is the sterilization mode, perform a single sterilization process on the intelligent device.

[0091] The specific process of the single sterilization process includes: The intelligent device first starts the sterilization module and uses ultraviolet light, ozone or other high-efficiency sterilization technologies to comprehensively sterilize the inside and surrounding environment of the device; Subsequently, the sensors inside the device will monitor key parameters during the sterilization process, such as sterilization intensity, duration, and the initial and final colony counts of the environment, to ensure that the sterilization effect meets the preset standards; Finally, when the sterilization is completed, the intelligent device will automatically turn off the sterilization module, emit a prompt sound or display the information that the sterilization is completed, and at the same time return to the standby state, waiting for the next instruction.

[0092] When the working state is the cruise mode, turn on the humidity sensor.

[0093] Among them, the humidity sensor in the cruise mode is mainly responsible for monitoring the humidity change of the surrounding environment of the device. When the humidity exceeds the preset threshold, the intelligent device will automatically activate the dehumidification function, and effectively reduce the environmental humidity by means of the built-in dehumidification module or connecting an external dehumidification device, so as to prevent device failures or performance degradation caused by excessive humidity. At the same time, the intelligent device will also intelligently adjust the dehumidification intensity and time according to the real-time monitoring data of the humidity sensor to achieve the best dehumidification effect. In the cruise mode, the intelligent device will continuously monitor the environmental humidity and make dynamic adjustments according to the actual situation to ensure that the device is always in the best working state.

[0094] Exemplarily, in the case where the working state is the automatic mode or the sterilization mode, it only runs once, and the humidity sensor does not work during this period; in the case where the working state is the cruise mode, the humidity sensor will be activated, detect relevant data, and automatically perform sterilization and drying processing according to the humidity information.

[0095] In the embodiment of the present invention, in the automatic mode or the sterilization mode, the intelligent device focuses on completing a single sterilization task, so the humidity sensor will not be activated to save energy and avoid unnecessary interference. This design ensures the efficient operation of the intelligent device under specific tasks, simplifies the operation process at the same time, and enables users to more intuitively understand the working state of the device. In the cruise mode, the activation of the humidity sensor not only monitors the environmental humidity, but also intelligently triggers the sterilization and drying processing according to the real-time data. This intelligent linkage mechanism not only improves the automation degree of the device, but also effectively prevents device failures caused by humidity problems, thereby extending the service life of the device and improving the overall performance.

[0096] In an alternative embodiment of the present invention, the control method of the intelligent device may specifically further include the following steps: Step S117: Initialize the inside of the microcontroller chip; the initialization includes configuring the working modes of the general input and output pins corresponding to the microcontroller, and the working modes of the timers corresponding to the microcontroller.

[0097] Initialize the inside of the microcontroller chip; the initialization includes configuring the working modes of the general input and output pins corresponding to the microcontroller, and the working modes of the timers corresponding to the microcontroller.

[0098] Among them, the inside of the microcontroller chip refers to the core components of the microcontroller, including the processor unit, memory unit, and various peripheral interfaces. The initialization process is to configure these internal components to ensure that they can work in a predetermined manner. For general-purpose input and output pins, the initialization stage will set the corresponding working modes, such as input, output, or specific function modes, to meet the various needs of the intelligent device during the control process. The initialization of the timer is to configure its counting method, trigger condition, and output mode, so as to generate an accurate time reference or control signal when needed. This process is crucial for the stable operation of the intelligent device.

[0099] Initialization refers to the process of initially configuring each component inside the microcontroller chip. This process ensures that the processor unit, memory unit, and various peripheral interfaces of the microcontroller can work in a predetermined manner after the intelligent device is started. Initialization not only involves setting the working modes of general-purpose input and output pins to adapt to different control requirements, but also includes configuring the working parameters of the timer to provide an accurate time reference or control signal. Through initialization, the microcontroller can enter a preparatory state, laying a solid foundation for the normal operation of the intelligent device.

[0100] Configuring the working modes of the general-purpose input and output pins corresponding to the microcontroller means setting the general-purpose input and output pins as input mode, output mode, or specific function modes respectively according to the functional requirements of the intelligent device. The input mode is used to receive external signals, such as sensor data or user instructions; the output mode is used to send control signals to external devices, such as driving a motor or lighting an LED. Specific function modes may include analog signal acquisition, PWM signal output, etc., to meet the diverse needs of the intelligent device in complex control scenarios. By reasonably configuring the working modes of the pins, it can be ensured that the intelligent device can accurately respond to external signals and issue correct control instructions after startup.

[0101] The working mode of the timer corresponding to the microcontroller refers to the working state and configuration of the internal timer of the microcontroller, which determines how the timer counts, triggers an interrupt, or generates a timing signal. Common timer working modes include free-running mode, periodic mode, single-trigger mode, etc. In the free-running mode, the timer will continuously count until it reaches its maximum value and then overflows and may trigger an interrupt. The periodic mode causes the timer to automatically reset and start a new round of counting after reaching the preset value, thus generating a periodic timing signal. The single-trigger mode is used to trigger an interrupt once when the timer reaches the preset value and then stop counting. By configuring the working mode of the timer, developers can precisely control the time reference in the intelligent device, such as the execution interval of timing tasks, the frequency of PWM signals, etc., to meet the requirements of the intelligent device in precise control and time management.

[0102] In an embodiment of the present invention, the initialization is mainly for the internal initialization of the MCU chip, including the initialization of peripherals such as input / output (IO) ports, timers, related variables and flag bits, as well as the configuration of necessary clock sources and interrupt priorities. The initialization of the IO port involves setting its working mode (such as input, output, multiplexing function, etc.), the configuration of pull-up and pull-down resistors, and the initial level state. The initialization of the timer covers the selection of the working mode, the setting of the initial count value, the preload value, and the interrupt trigger condition. The initialization of related variables and flag bits ensures that the program has a clear starting state at startup, avoiding undefined behavior. The configuration of the clock source affects the working frequency of the MCU, thereby affecting the counting speed of the timer and the performance of the entire system. The setting of the interrupt priority is used to manage the response order of different interrupt sources to ensure that critical tasks can be processed in a timely manner. Through a comprehensive and detailed initialization process, the intelligent device can quickly enter a stable working state after startup.

[0103] In order to solve the problem that in the prior art of existing chopping board sterilizers, the cruise mode is all time-based cruise and the cruise time is fixed. If the timing is too long, the tableware and kitchen utensils cannot be dried and sterilized in time. If the timing is too short, it is easy to cause energy waste due to repeated operation and cannot better adapt to environmental changes, the present invention proposes an intelligent control scheme based on a temperature and humidity sensor. By real-time monitoring the temperature and humidity status inside the device, the drying and sterilization functions are automatically started according to the actual humidity situation in the cruise mode. This design can not only more efficiently cope with high humidity environments (such as the rainy season or the humid weather in Guangdong), but also greatly improve the user experience, ensure the dryness and hygiene of tableware and kitchen utensils, and effectively guarantee the health of users.

[0104] Refer to Figure 3 , which shows a schematic diagram of the hardware connection of a control device for an intelligent device provided by an embodiment of the present application. As Figure 3 shown, the MCU is connected to buttons, a temperature and humidity sensor, a display, a buzzer, and a load driver. The load driver includes a fan, a positive temperature coefficient thermistor (PTC), and a UV lamp. The power supply provides stable electrical energy for the control device of the entire intelligent device to ensure that all components can work normally. This power supply design has overvoltage protection, overcurrent protection, and short-circuit protection functions, effectively preventing equipment damage or safety accidents caused by abnormal power.

[0105] Refer to Figure 4 , which shows a schematic diagram of the control function of an intelligent device provided by an embodiment of the present application. As Figure 4 shown, the intelligent device includes an automatic function, a sterilization function, and a cruise function.

[0106] Reference Figure 5 shows the step flow of a control method for an intelligent device provided by an embodiment of the present application Figure 2 , as Figure 5 shown, after power-on initialization, select the corresponding operating mode according to the button and run. This method specifically includes step S201 and step S209: Step S201, system initialization.

[0107] System initialization is mainly for the initialization inside the MCU chip, including the initialization of peripherals such as IO ports, timers, relevant variables, and flag bits.

[0108] Step S202, detect button press.

[0109] If satisfied, execute step S203; if not satisfied, execute step S202.

[0110] Step S203, determine the function according to the key value.

[0111] Step S204, automatic mode.

[0112] In the case where the key value is the automatic mode, execute the sterilization and drying function. In the automatic mode, it will both dry and sterilize, mainly to meet the user's drying and sterilization needs after a meal. Both the automatic mode and the sterilization mode are only executed once, and the temperature and humidity sensor does not work during this period.

[0113] Step S205, sterilization mode.

[0114] In the case where the key value is the sterilization mode, execute the sterilization function. The sterilization mode only performs sterilization once, mainly to meet the user's pre-meal sterilization needs, and the temperature and humidity sensor does not work during this period.

[0115] Step S206, cruise mode.

[0116] In the case where the key value is the cruise mode, obtain the humidity data in real time, and determine the target control strategy from the sterilization and drying strategy and the monitoring strategy according to the humidity data and the preset threshold, and use the target control strategy to perform control processing on the intelligent device. That is, in the cruise mode, the humidity sensor will be activated, detect relevant data, and automatically perform drying and sterilization processing according to the humidity information.

[0117] Step S207, end of operation.

[0118] Step S208, power-off.

[0119] Judge whether to power off. If satisfied, execute step S209; if not satisfied, execute step S202.

[0120] Step S209, end.

[0121] Refer to Figure 6 , which shows the step flowchart of a cruise mode function provided by an embodiment of the present application. As Figure 6 shown, it mainly includes three parts: temperature and humidity detection, threshold judgment, and execution of drying and sterilization. Preset value 1 refers to the temperature and humidity value for turning on drying and sterilization; preset value 2 refers to the temperature and humidity value for turning off drying and sterilization, and preset value 1 is greater than preset value 2; preset value 3 refers to the time maintained for each activation of drying and sterilization. The method specifically includes step S301 and step S309: Step S301: Enter the cruise mode.

[0122] Step S302: Turn on temperature and humidity detection.

[0123] Step S303: Obtain humidity data.

[0124] Step S304: Determine whether the humidity value is greater than preset value 1.

[0125] Determine whether the humidity value is greater than preset value 1. If it is satisfied, execute step S305; if not, execute step S303.

[0126] Step S305: Keep drying on.

[0127] Step S306: Delay for the time of preset value 3.

[0128] Step S307: Obtain temperature and humidity data.

[0129] Step S308: Determine whether the humidity value is less than preset value 2.

[0130] Determine whether the humidity value is less than preset value 2. If it is satisfied, execute step S309; if not, execute step S305.

[0131] Step S309: Turn off drying and sterilization.

[0132] Refer to Figure 7 , which shows a schematic diagram of a drying and sterilization hysteresis switch during the cruise mode provided by an embodiment of the present application. As Figure 7 shown, the abscissa is the temperature and humidity value. When the humidity value increases to preset value 1, the device starts to automatically run drying and sterilization. When the humidity drops and the humidity value drops to preset value 2, the device turns off drying and sterilization.

[0133] Refer to Figure 8 , which shows the step flow of a control method for an intelligent device provided by an embodiment of the present application Figure 3 , as Figure 8 shown. The method specifically includes step S401 and step S406: Step S401: Data acquisition.

[0134] The temperature and humidity sensor real - time monitoring device monitors the internal temperature and humidity.

[0135] Step S402, Data transmission.

[0136] The sensor transmits the collected temperature and humidity data to the micro - controller (MCU) through the single - wire communication protocol.

[0137] Step S403, Data analysis and decision - making.

[0138] After receiving the temperature and humidity data, the MCU compares it with the preset humidity threshold; if the current humidity is lower than or equal to the threshold, the MCU maintains the current state and continues to monitor; if the current humidity is higher than the threshold, the MCU will trigger the subsequent drying and sterilization procedures.

[0139] Step S404, Execute actions.

[0140] The MCU controls the speed of the fan by outputting a PWM signal to achieve air circulation and help reduce humidity. At the same time, by controlling the on - off state of the relay, the PTC heating circuit and the UV lamp circuit are made to work, further accelerating the drying process and performing sterilization treatment.

[0141] Step S405, Timing control.

[0142] The drying and sterilization functions operate according to a predetermined time period. After this time period ends, the MCU stops these functions.

[0143] Step S406, Return to the monitoring state.

[0144] After the function is executed, the MCU returns to the temperature and humidity monitoring state and continuously detects the environmental humidity.

[0145] The present invention is an improvement based on existing chopping board sterilizers, and proposes an intelligent control method, which is mainly applied to the drying and sterilization functions of tableware and kitchen utensils. In addition to being applied to chopping board sterilizers, this control method can also be applied to other kitchen appliances, such as tableware disinfectors, kitchen racks, etc., and is especially suitable for scenarios in high - humidity environments, such as the plum rain season or the period of returning south in southern regions.

[0146] Existing chopping board sterilizers use a fixed - time cruise mode in the cruise mode. The cruise time is fixed and cannot be adjusted according to the actual environmental humidity change, resulting in the inability to start the drying and sterilization functions in a timely manner in a high - humidity environment, and easy to run repeatedly in a low - humidity environment, causing energy waste. To solve this problem, the present invention proposes an intelligent control scheme based on temperature and humidity sensors.

[0147] Exemplarily, the intelligent cruise control method includes the following steps: Step A: Real-time monitor the temperature and humidity status inside the device. Function: Collect the temperature and humidity data inside the device in real time through temperature and humidity sensors, providing a basis for subsequent intelligent control.

[0148] Step B: Determine whether the humidity reaches the set threshold 1. Function: Compare the collected humidity data with the preset humidity threshold to decide whether to activate the drying and sterilization functions.

[0149] Step C: Activate the drying and sterilization functions. Function: When the humidity reaches the set threshold, automatically activate the drying and sterilization functions to ensure the dryness and hygiene of tableware and kitchen utensils.

[0150] Step D: Stop after running for a fixed time. Function: Automatically stop after the drying and sterilization functions run for a fixed time to avoid over-running.

[0151] Step E: Determine whether the humidity reaches the set value 2. Function: Its hysteresis effect avoids frequent start and stop of the device due to humidity jitter at the threshold.

[0152] Step F: If the humidity is greater than the set value 2, repeat Steps C to E. Function: Ensure that the humidity drops to a sufficient range.

[0153] Step G: If the humidity is less than the set value 2, enter the loop mode. Function: Repeat Steps A to E to continuously monitor the humidity status inside the device, ensuring that the drying and sterilization functions can be activated in a high-humidity environment in a timely manner. Compared with the prior art, the present invention can more efficiently cope with a high-humidity environment, reduce energy waste, and improve the user experience by real-time monitoring the humidity status and automatically adjusting the cruise mode according to the actual situation.

[0154] More specifically, Step B includes specific sub-steps: Sub-step B1: Collect humidity data. Function: Precisely collect the humidity data inside the device through temperature and humidity sensors.

[0155] Sub-step B2: Compare with the preset humidity threshold. Function: Compare the collected humidity data with the preset humidity threshold to determine whether to activate the drying and sterilization functions.

[0156] Sub-step B3: Trigger the drying and sterilization functions. Function: When the humidity data exceeds the preset threshold, trigger the drying and sterilization functions to ensure the dryness and hygiene of tableware and kitchen utensils.

[0157] The method further includes: a loop operation mode Step F: Loop operation mode. Function: After the humidity is less than the set value 2, it re-enters the humidity monitoring state, continuously monitors the humidity change inside the device, and ensures that the drying and sterilization functions can be started in a timely manner in a high-humidity environment.

[0158] This circuit is a temperature and humidity sensor control circuit. Compared with the prior art, the main improvement lies in the introduction of a temperature and humidity sensor and the realization of intelligent control through an MCU (microcontroller).

[0159] Temperature and humidity sensor, specifically including: DHT22 temperature and humidity sensor, whose parameters are: temperature measurement range -40°C to 80°C, humidity measurement range 0%RH to 99.9%RH, and communication with the MCU is single-bus communication. Function: Real-time collection of temperature and humidity data inside the device; MCU (microcontroller), specifically including: STM32 series microcontroller, whose parameters are: operating voltage 3.3V, main frequency 72MHz. Function: Receive data from the temperature and humidity sensor and control the start and stop of the drying and sterilization functions according to the preset humidity threshold.

[0160] Fan circuit, specifically including: DC motor drive module, whose parameters are: operating voltage 12V, maximum current 2A, and connection method is PWM control. Function: When the drying function is started, drive the fan to run and accelerate the drying process of tableware and kitchenware; PTC heating circuit, specifically including: PTC heating element, whose parameters are: rated voltage 220V, power 500W, and connection method is relay control. Function: When the drying function is started, provide hot air to further accelerate the drying process of tableware and kitchenware; UV lamp circuit, specifically including: UV-C ultraviolet lamp tube, whose parameters are: wavelength 275nm, power 15W, and connection method is relay control. Function: When the sterilization function is started, emit ultraviolet light to kill bacteria and viruses on the surface of tableware and kitchenware.

[0161] The complete working process of the above circuit is as follows: The temperature and humidity sensor continuously collects the temperature and humidity data inside the device, and uses the IO port to transmit the data to the MCU through the single-bus communication protocol. The MCU judges whether to start the drying and sterilization functions according to the preset humidity threshold. When the humidity exceeds the threshold, the MCU drives the fan circuit through a PWM signal, and at the same time controls the operation of the PTC heating circuit and the UV lamp circuit through a relay. After the drying and sterilization functions operate for a fixed time, the MCU enters the temperature and humidity monitoring state again, continuously monitors the humidity change inside the device, and ensures that the drying and sterilization functions can be started in a timely manner in a high-humidity environment.

[0162] The cruise mode of the present invention is completely intelligently controlled based on the humidity state inside the device without manual intervention by the user. When the device is in the cruise mode, the temperature and humidity sensor monitors the humidity change inside the device in real time. Once the humidity reaches the preset threshold, the device will automatically start the drying and sterilization functions and stop after running for a fixed time. If the humidity does not reach the threshold, the device will remain in the standby state to avoid unnecessary energy consumption. This design can not only better adapt to the change of environmental humidity, but also significantly improve the energy saving and intelligence level of the device.

[0163] In summary, the embodiment of the present invention provides a control method for an intelligent device, and the method includes: when detecting that the working state of the intelligent device is the cruise mode, obtaining the humidity data inside the intelligent device; the humidity data is obtained through the humidity sensor inside the intelligent device; based on the humidity data and the preset threshold, determining the target control strategy from the sterilization and drying strategy and the monitoring strategy, and using the target control strategy to perform control processing on the intelligent device. The present application can automatically adjust the drying and sterilization functions according to the humidity state of the tableware and kitchen utensils, and has the function of continuously monitoring and automatically running in a high humidity environment, improving the control efficiency of the intelligent device.

[0164] It should be noted that for the method embodiment, for the sake of simple description, it is all expressed as a series of action combinations. However, those skilled in the art should know that the embodiment of the present invention is not limited by the described action sequence, because according to the embodiment of the present invention, certain steps can be in other sequences or performed simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily essential for the embodiment of the present invention.

[0165] Device embodiment As Figure 9 shown, Figure 9 The logic block diagram of a control device for an intelligent device provided by an embodiment of the present application is shown. The device includes: A detection module 901, configured to obtain the humidity data inside the intelligent device when detecting that the working state of the intelligent device is the cruise mode; the humidity data is obtained through the humidity sensor inside the intelligent device; A determination module 902, configured to determine a target control strategy from the sterilization and drying strategy and the monitoring strategy based on the humidity data and the preset threshold; A control module 903, configured to perform control processing on the intelligent device by using the target control strategy; Wherein, the control module includes: A control sub-module, configured to control the rotation speed of a blower to reduce the humidity inside the intelligent device when the target control strategy is a sterilization and drying strategy; control the working state of the relay to be on to perform sterilization treatment on the intelligent device; the relay is used to control the on-off states of the positive temperature coefficient heating circuit and the ultraviolet lamp circuit.

[0166] Optionally, the determining module includes: A first determining sub-module, configured to determine that the target control strategy is the monitoring strategy when the humidity value corresponding to the humidity data is less than or equal to the preset threshold; determine that the target control strategy is the sterilization and drying strategy when the humidity value corresponding to the humidity data is greater than the preset threshold.

[0167] Optionally, the device further includes: An enabling module, configured to enable the sterilization and drying function of the intelligent device when the humidity value corresponding to the humidity data is greater than a second threshold; A disabling module, configured to disable the sterilization and drying function of the intelligent device when the humidity value corresponding to the humidity data is less than a first threshold; the first threshold is less than the second threshold; An obtaining module, configured to obtain the last enabled state corresponding to the sterilization and drying function when the humidity value corresponding to the humidity data is greater than or equal to the first threshold and less than or equal to the second threshold; A first control sub-module, configured to control the intelligent device to enter a hysteresis on-off stage based on the last enabled state; A maintaining module, configured to maintain the same as the last enabled state corresponding to the sterilization and drying function.

[0168] Optionally, the device further includes: An acquiring module, configured to continue monitoring the humidity data inside the intelligent device and obtain the humidity value corresponding to the updated humidity data when the target control strategy is the monitoring strategy; A second determining sub-module, configured to determine that the target control strategy is the monitoring strategy when the humidity value corresponding to the updated humidity data is less than or equal to the preset threshold; determine that the target control strategy is the sterilization and drying strategy when the humidity value corresponding to the updated humidity data is greater than the preset threshold; A second control sub-module, configured to perform sterilization and drying treatment on the intelligent device based on the sterilization and drying strategy.

[0169] Optionally, the device further includes: A third determination sub-module, configured to determine a preset time threshold corresponding to the sterilization and drying strategy; the preset time threshold is the working time corresponding to the sterilization and drying strategy. A sterilization module, configured to, when the target control strategy is the sterilization and drying strategy, control the intelligent device to perform sterilization treatment based on the preset time threshold.

[0170] Optionally, the apparatus further includes: A detection sub-module, configured to detect the working state of the intelligent device. A sterilization and drying module, configured to perform a single sterilization and drying treatment on the intelligent device when the working state is the automatic mode. A sterilization module, configured to perform a single sterilization treatment on the intelligent device when the working state is the sterilization mode. An activation sub-module, configured to activate the humidity sensor when the working state is the cruise mode.

[0171] Optionally, the apparatus further includes: An initialization module, configured to initialize the inside of the chip of the microcontroller; the initialization includes configuring the working modes of the general input and output pins corresponding to the microcontroller and the working mode of the timer corresponding to the microcontroller. ]>

[0172] In summary, a control apparatus for an intelligent device provided in an embodiment of the present application, when detecting that the working state of the intelligent device is the cruise mode, obtains humidity data inside the intelligent device; the humidity data is obtained through a humidity sensor inside the intelligent device; based on the humidity data and a preset threshold, determines a target control strategy from a sterilization and drying strategy and a monitoring strategy, and uses the target control strategy to perform a control process on the intelligent device. The present application can automatically adjust the drying and sterilization functions according to the humidity state of tableware and kitchen utensils, and has the function of continuously monitoring and automatically operating in a high-humidity environment, improving the control efficiency of the intelligent device.

[0173] For the apparatus embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for the related parts, refer to the partial description of the method embodiment.

[0174] Each embodiment in this specification is described in a progressive manner, and the key points of each embodiment are the differences from other embodiments. For the same and similar parts among the embodiments, refer to each other.

[0175] Regarding the processor in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated here.

[0176] Refer toFigure 10 , which is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. As Figure 10 shown, the electronic device includes: a processor, a memory, a communication interface, and a communication bus. The processor, the memory, and the communication interface complete communication with each other through the communication bus; the memory is used to store executable instructions, and the executable instructions cause the processor to execute the control method of the intelligent device in the foregoing embodiment.

[0177] The processor may be a CPU, a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable devices, transistor logic devices, hardware components, or any combination thereof. The processor may also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0178] The communication bus may include a path for transmitting information between the memory and the communication interface. The communication bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For the sake of simplicity of representation, Figure 10 only one line is shown in the figure, but it does not mean that there is only one bus or one type of bus.

[0179] The memory may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM), or other types of dynamic storage devices that can store information and instructions. It may also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage devices, etc.

[0180] An embodiment of the present invention further provides a non-transitory computer-readable storage medium. When instructions in the storage medium are executed by a processor of an electronic device (server or terminal), the processor is enabled to execute Figure 1 the control method of the intelligent device shown.

[0181] Each embodiment in this specification is described in a progressive manner. Each embodiment focuses on the differences from other embodiments. For the same or similar parts among the embodiments, reference can be made to each other.

[0182] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a device, or a computer program product. Therefore, the embodiments of the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the embodiments of the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0183] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams can be implemented by computer program instructions, and the combination of processes and / or blocks in the flowcharts and / or block diagrams can also be implemented. These computer program instructions can be provided to the processors of general-purpose computers, special-purpose computers, embedded processors, or other programmable data processing terminal devices to generate a machine, so that the instructions executed by the processors of the computer or other programmable data processing terminal devices generate a device for implementing the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0184] These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing terminal device to work in a predictive manner, so that the instructions stored in the computer-readable memory generate a manufactured product including an instruction device, and the instruction device implements the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0185] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device, so that a series of operation steps are executed on the computer or other programmable terminal device to generate a computer-implemented process. Thus, the instructions executed on the computer or other programmable terminal device provide for implementing the functions specified in Figure 1 one process or multiple processes and / or blocksFigure 1 Steps of functions specified in one or more boxes.

[0186] Although the preferred embodiments of the embodiments of the present invention have been described, those skilled in the art can make additional changes and modifications to these embodiments once they learn the basic creative concept. Therefore, the appended claims are intended to be construed to include the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.

[0187] Finally, it should also be noted that in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or terminal device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or terminal device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the existence of additional identical elements in the process, method, article or terminal device comprising the element.

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

Claims

1. A control method for an intelligent device, characterized in that The method is applied to a microcontroller, and the method includes: When it is detected that the working state of the intelligent device is the cruise mode, obtain the humidity data inside the intelligent device; the humidity data is obtained by a humidity sensor inside the intelligent device; Based on the humidity data and a preset threshold, determine a target control strategy from a sterilization and drying strategy and a monitoring strategy, and use the target control strategy to perform control processing on the intelligent device; Wherein, the microcontroller includes a relay, the relay includes a positive temperature coefficient heating circuit and an ultraviolet lamp circuit, the relay is arranged inside the intelligent device, the relay is connected to the positive temperature coefficient heating circuit and the ultraviolet lamp circuit, and using the target control strategy to perform control processing on the intelligent device includes: When the target control strategy is the sterilization and drying strategy, control the rotation speed of the fan to reduce the humidity inside the intelligent device; Control the working state of the relay to be on to perform sterilization processing on the intelligent device; the relay is used to control the on-off states of the positive temperature coefficient heating circuit and the ultraviolet lamp circuit.

2. The method according to claim 1, wherein The determining the target control strategy from the sterilization and drying strategy and the monitoring strategy based on the humidity data and the preset threshold includes: When the humidity value corresponding to the humidity data is less than or equal to the preset threshold, determine that the target control strategy is the monitoring strategy; When the humidity value corresponding to the humidity data is greater than the preset threshold, determine that the target control strategy is the sterilization and drying strategy.

3. The method according to claim 1, wherein The method further includes: When the humidity value corresponding to the humidity data is greater than a second threshold, turn on the sterilization and drying function of the intelligent device; When the humidity value corresponding to the humidity data is less than a first threshold, turn off the sterilization and drying function of the intelligent device; the first threshold is less than the second threshold; When the humidity value corresponding to the humidity data is greater than or equal to the first threshold and less than or equal to the second threshold, obtain the previous enabled state corresponding to the sterilization and drying function; Based on the previous enabled state, control the intelligent device to enter a hysteresis on-off stage and maintain the same as the previous enabled state corresponding to the sterilization and drying function.

4. The method according to claim 1, wherein The method further includes: When the target control strategy is the monitoring strategy, continue to monitor the humidity data inside the intelligent device to obtain the humidity value corresponding to the updated humidity data; When the humidity value corresponding to the updated humidity data is less than or equal to the preset threshold, determine that the target control strategy is the monitoring strategy; When the humidity value corresponding to the updated humidity data is greater than the preset threshold, determine that the target control strategy is the sterilization and drying strategy; Perform sterilization and drying processing on the intelligent device based on the sterilization and drying strategy.

5. The method according to claim 1, wherein The method further includes: Determine a preset time threshold corresponding to the sterilization and drying strategy; the preset time threshold is the working time corresponding to the sterilization and drying strategy. When the target control strategy is the sterilization and drying strategy, the intelligent device is controlled to perform sterilization treatment based on the preset time threshold.

6. The method according to claim 1, characterized in that The method further includes: Detecting the working state of the intelligent device; When the working state is the automatic mode, performing a single sterilization and drying treatment on the intelligent device; When the working state is the sterilization mode, performing a single sterilization treatment on the intelligent device; When the working state is the cruise mode, turning on the humidity sensor.

7. The method according to claim 1, characterized in that, The method further includes: Initializing the inside of the chip of the microcontroller; the initialization includes configuring the working modes of the general input and output pins corresponding to the microcontroller and the working modes of the timers corresponding to the microcontroller.

8. A control device for an intelligent device, characterized in that, The device includes: A detection module, configured to obtain humidity data inside the intelligent device when it is detected that the working state of the intelligent device is the cruise mode; the humidity data is obtained through a humidity sensor inside the intelligent device; A determination module, configured to determine a target control strategy from the sterilization and drying strategy and the monitoring strategy based on the humidity data and a preset threshold; A control module, configured to perform a control process on the intelligent device by using the target control strategy; Wherein, the control module includes: A control sub-module, configured to, when the target control strategy is the sterilization and drying strategy, control the rotation speed of the fan to reduce the humidity inside the intelligent device; control the working state of the relay to be on to perform sterilization treatment on the intelligent device; the relay is used to control the on-off states of the positive temperature coefficient heating circuit and the ultraviolet lamp circuit.

9. The device according to claim 8, characterized in that, The determination module includes: A determination sub-module, configured to determine that the target control strategy is the monitoring strategy when the humidity value corresponding to the humidity data is less than or equal to the preset threshold; and determine that the target control strategy is the sterilization and drying strategy when the humidity value corresponding to the humidity data is greater than the preset threshold.

10. An electronic device, characterized in that, The electronic device includes a processor, a memory, a communication interface, and a communication bus. The processor, the memory, and the communication interface complete communication with each other through the communication bus; the memory is used to store executable instructions, and the executable instructions cause the processor to execute the control method of the intelligent device according to any one of claims 1 to 7.

11. A readable storage medium, characterized in that, When the instructions in the readable storage medium are executed by the processor of the electronic device, the processor is enabled to execute the control method of the intelligent device according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Search result display method and apparatus of intelligent equipment

    CN108490797A

  • Disinfection knife rest and disinfection knife rest system

    CN108937659A

  • Disinfection control method of steam cooking equipment and steam cooking equipment

    CN112353959A

  • Drying method and device of washing equipment and washing equipment

    CN114795057A

  • Disinfection control method and disinfection machine

    CN115715816A