Deodorizer control method and device and deodorizer

By receiving the door opening signal of the deodorizer and counting the door opening information, adjusting the working frequency of the deodorizer, the problem of waste resources and unsatisfactory results when the deodorization demand changes in the existing technology is solved, and matching with user needs is achieved, and deodorization is improved. The experience of using the taste instrument.

CN119247810APending Publication Date: 2025-01-03GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411348500.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

When the actual deodorization needs of existing deodorizers change, it is difficult to adjust the working frequency adaptively, resulting in the problem of small deodorization demands, wasted resources or large demands and poor results.

Method used

By receiving the door opening signal of the equipment where the deodorizer is located, the door opening information is counted, including the number of door openings and the door opening interval, and the working frequency of the deodorizer is adjusted to match the user's actual deodorization needs.

Benefits of technology

The deodorizer matches the actual needs of users, avoiding waste of resources and unsatisfactory results, and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119247810A_ABST
    Figure CN119247810A_ABST
Patent Text Reader

Abstract

The invention relates to a deodorizer control method and device, a deodorizer, computer equipment, a storage medium and a computer program product. The method comprises the steps that in the working process of the deodorizer, based on a received door opening signal of equipment where the deodorizer is located, door opening information in a target working duration is counted, and the door opening information comprises at least one of the door opening frequency and the door opening interval duration; based on the door opening information, whether the working frequency of the deodorizer is adjusted or not is determined; and if the working frequency of the deodorizer needs to be adjusted, updating the working frequency of the deodorizer based on the door opening information in the target working duration. By the adoption of the method, under the condition that the deodorization requirement of the user is considered, the situations that resources are wasted due to the small deodorization requirement and the deodorization effect is not ideal due to the large deodorization requirement are avoided, and the use experience of the deodorizer is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of household appliances, and in particular to a deodorizer control method, device, deodorizer, computer equipment, computer-readable storage medium, and computer program product. Background Art

[0002] As a small environmental purification product, deodorizers are widely used in places where odors are generated, such as wardrobes, shoe cabinets, and refrigerators. They can release an appropriate amount of ozone, which diffuses into the use environment. The oxidizing effect of ozone can oxidize volatile odor substances in the use environment, thereby achieving the purpose of removing odors and purifying.

[0003] Usually, due to cost and market competitiveness considerations, deodorizers generally use small-capacity battery solutions. Based on the limited battery capacity, the deodorizer operates at a fixed operating frequency.

[0004] However, for users, the deodorization demand is not static. Therefore, there may be a situation where the deodorization demand is small and resources are wasted, or a situation where the deodorization demand is large and the deodorization effect is not ideal. Therefore, it is very important to control the deodorizer to work based on the user's deodorization demand. Summary of the invention

[0005] Based on this, it is necessary to provide a deodorizer control method, device, deodorizer, computer equipment, computer-readable storage medium and computer program product to address the above-mentioned technical problems, which can take into account the user's deodorization needs and avoid the situation where the deodorization demand is small and resources are wasted, or the deodorization effect is unsatisfactory due to large deodorization demand.

[0006] In a first aspect, the present application provides a deodorizer control method. The method includes: during the operation of the deodorizer, based on the received door opening signal of the device where the deodorizer is located, counting the door opening information within the target working time, the door opening information including at least one of the number of door openings and the door opening interval; based on the door opening information, determining whether to adjust the working frequency of the deodorizer; if the working frequency of the deodorizer needs to be adjusted, updating the working frequency of the deodorizer based on the door opening information within the target working time.

[0007] In one embodiment, the target working time includes a first working time, and the door opening information includes the number of door openings; based on the door opening information, determining whether to adjust the working frequency of the deodorizer includes: when the first working time is greater than or equal to a first time threshold, determining whether to adjust the working frequency of the deodorizer based on a comparison result between the number of door openings and a preset number of door openings.

[0008] In one embodiment, the preset number of door opening times includes a preset high-frequency door opening time and a preset low-frequency door opening time; based on the comparison result between the door opening time and the preset door opening time, determine whether to adjust the working frequency of the deodorizer, including: when the door opening time is greater than the preset high-frequency door opening time, or the door opening time is less than the preset low-frequency door opening time, determine to adjust the working frequency of the deodorizer; when the door opening time is less than or equal to the preset high-frequency door opening time, and greater than or equal to the preset low-frequency door opening time, determine not to adjust the working frequency of the deodorizer.

[0009] In one embodiment, the operating frequency of the deodorizer is updated based on the door opening information within the target working time, including: when the number of door openings is greater than a preset high-frequency door opening number, increasing the operating frequency of the deodorizer; when the number of door openings is less than a preset low-frequency door opening number, reducing the operating frequency of the deodorizer.

[0010] In one embodiment, the method further includes: determining the difference between the number of door opening times and a preset high-frequency door opening number; based on a mapping relationship between the preset number difference and the frequency adjustment coefficient, determining the frequency adjustment coefficient that matches the determined number difference as a first frequency adjustment coefficient; based on the first frequency adjustment coefficient, increasing the operating frequency of the deodorizer to a first target frequency, the first target frequency being the product of the first frequency adjustment coefficient and the operating frequency of the deodorizer, and the sum of the first frequency adjustment coefficient and the operating frequency of the deodorizer.

[0011] In one embodiment, the method further includes: determining the difference between a preset low-frequency door opening number and the door opening number; based on a mapping relationship between the preset number difference and the frequency adjustment coefficient, determining the frequency adjustment coefficient that matches the determined number difference as a second frequency adjustment coefficient; based on the second frequency adjustment coefficient, reducing the operating frequency of the deodorizer to a second target frequency, the second target frequency being the product of the operating frequency of the deodorizer and the second frequency adjustment coefficient.

[0012] In one embodiment, the target working time also includes a second working time, the second working time includes multiple first working time, and the door opening information also includes a door opening interval time; the method also includes: when the second working time is greater than or equal to a second time threshold, adjusting the working frequency of the deodorizer based on the average of the door opening interval time.

[0013] In one embodiment, the target operating duration includes a third operating duration, and the door opening information includes a door opening interval duration; based on the door opening information, determining whether to adjust the operating frequency of the deodorizer includes: when the third operating duration is greater than a third duration threshold, determining to adjust the operating frequency of the deodorizer; based on the door opening information within the target operating duration, updating the operating frequency of the deodorizer includes: updating the operating frequency of the deodorizer based on the average of the door opening interval duration.

[0014] In one embodiment, the door opening information includes the number of door openings and the door opening interval duration; based on the door opening information, determining whether to adjust the working frequency of the deodorizer includes: determining a target number of door openings that matches the target working duration based on a mapping relationship between the working duration and the number of door openings; for the door opening interval duration within the target working duration, determining the number of door opening interval durations whose door opening interval duration is greater than or equal to an interval threshold; if the number of door openings within the target working duration is greater than the target number of door openings, and the determined number is greater than or equal to the number threshold, determining to adjust the working frequency of the deodorizer; if the number of door openings within the target working duration is less than or equal to the target number of door openings, and / or the determined number is less than the number threshold, determining not to adjust the working frequency of the deodorizer.

[0015] In one embodiment, based on the door opening information within the target working time, the working frequency of the deodorizer is updated, including: based on the mapping relationship between the preset number of differences and the frequency deviation value, the frequency deviation value that matches the number difference between the target door opening number and the number of door openings within the target working time is determined as a first frequency deviation value; based on the mapping relationship between the preset range and the frequency deviation value, the frequency deviation value corresponding to the preset range where the difference between the number threshold and the determined number of times is located is determined as a second frequency deviation value; the average of the first frequency deviation value and the second frequency deviation value and the sum of the working frequency of the deodorizer are determined as the updated working frequency of the deodorizer.

[0016] In a second aspect, the present application also provides a deodorizer control device. The device includes: an information acquisition module, which is used to count the door opening information within the target working time based on the detected door opening signal of the device where the deodorizer is located during the working process of the deodorizer, and the door opening information includes at least one of the number of door openings and the door opening interval time; a determination module, which is used to determine whether to adjust the working frequency of the deodorizer based on the door opening information; and a processing module, which is used to update the working frequency of the deodorizer based on the door opening information within the target working time if the working frequency of the deodorizer needs to be adjusted.

[0017] In a third aspect, the present application also provides a deodorizer, which includes a controller; the controller is used to execute the steps of the method described in the first aspect or any one of the first aspects based on a door opening signal received from the device where the deodorizer is located during the operation of the deodorizer.

[0018] In one embodiment, the deodorizer further includes a photosensitive device; and the controller is further configured to receive a door opening signal of the device where the deodorizer is located from the photosensitive device.

[0019] In one embodiment, the deodorizer further includes an infrared sensor; and the controller is further configured to receive a door opening signal of the device where the deodorizer is located from the infrared sensor.

[0020] In one embodiment, the controller is further used to receive a door opening signal of the device where the deodorizer is located from a displacement sensor, and the displacement sensor is arranged in the door body of the device where the deodorizer is located.

[0021] In a fourth aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program: during the operation of the deodorizer, based on the received door opening signal of the device where the deodorizer is located, counting the door opening information within the target working time, the door opening information including at least one of the number of door openings and the door opening interval; based on the door opening information, determining whether to adjust the working frequency of the deodorizer; if the working frequency of the deodorizer needs to be adjusted, updating the working frequency of the deodorizer based on the door opening information within the target working time.

[0022] In a fifth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented: during the operation of the deodorizer, based on the received door opening signal of the device where the deodorizer is located, counting the door opening information within the target working time, the door opening information including at least one of the number of door openings and the door opening interval; based on the door opening information, determining whether to adjust the working frequency of the deodorizer; if the working frequency of the deodorizer needs to be adjusted, updating the working frequency of the deodorizer based on the door opening information within the target working time.

[0023] In a sixth aspect, the present application also provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented: during the operation of the deodorizer, based on the received door opening signal of the device where the deodorizer is located, counting the door opening information within the target working time, the door opening information including at least one of the number of door openings and the door opening interval; based on the door opening information, determining whether to adjust the working frequency of the deodorizer; if the working frequency of the deodorizer needs to be adjusted, updating the working frequency of the deodorizer based on the door opening information within the target working time.

[0024] The above-mentioned deodorizer control method, device, deodorizer, computer equipment, computer-readable storage medium and computer program product, during the operation of the deodorizer, based on the door opening signal received from the device where the deodorizer is located, counts the door opening information within the target working time, the door opening information includes at least one of the number of door openings and the door opening interval duration, and determines whether to adjust the working frequency of the deodorizer based on the door opening information. Therefore, it is possible to determine whether the current working frequency of the deodorizer matches the actual deodorization demand of the user based on the door opening information within the target working time. If the working frequency of the deodorizer needs to be adjusted, it means that when the deodorizer continues to work at a fixed working frequency, it will not be able to match the actual deodorization demand of the user. Therefore, by updating the working frequency of the deodorizer based on the door opening information within the target working time, the deodorizer can achieve the purpose of matching the actual deodorization demand of the user when working at the updated working frequency. At the same time, it can avoid the situation where the deodorizer has a small deodorization demand and wastes resources, or has a large deodorization demand and an unsatisfactory deodorization effect, and can improve the user experience of the deodorizer. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] FIG1 is an application environment diagram of a deodorizer control method according to an embodiment;

[0026] FIG2 is a schematic diagram of the structure of a deodorizer in one embodiment;

[0027] FIG3 is a schematic flow chart of a deodorizer control method according to an embodiment;

[0028] FIG4 is a flow chart of determining whether to adjust the operating frequency of the deodorizer based on a comparison result between the door opening number and a preset door opening number in one embodiment;

[0029] FIG5 is a flow chart of updating the working frequency of the deodorizer based on the door opening information within the target working time in one embodiment;

[0030] FIG6 is a schematic flow chart of a deodorizer control method in another embodiment;

[0031] FIG7 is a schematic diagram showing the relationship between the first working time and the second working time in one embodiment;

[0032] FIG8 is a schematic flow chart of a deodorizer control method in another embodiment;

[0033] FIG9 is a block diagram of a deodorizer control device according to an embodiment;

[0034] FIG10 is a diagram showing the internal structure of a computer device in one embodiment;

[0035] FIG. 11 is a diagram showing the internal structure of a computer device in another embodiment. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0037] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations; and the acquisition, storage, processing, transmission, etc. of data must comply with relevant laws and regulations.

[0038] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0039] The deodorizer control method provided in the present application can be applied to a controller in a deodorizer. The controller is used to count the door opening information within a target working time based on the door opening signal received from the device where the deodorizer is located during the operation of the deodorizer. The door opening information includes at least one of the number of door openings and the door opening interval duration. Based on the door opening information, it is determined whether to adjust the working frequency of the deodorizer. When the working frequency of the deodorizer needs to be adjusted, the working frequency of the deodorizer is updated based on the door opening information within the target working time.

[0040] Among them, the door opening signal of the device where the deodorizer is located can be obtained through various possible methods, and several possible implementation methods are exemplified below.

[0041] In one implementation, as shown in FIG. 1 , the deodorizer 100 may include a photosensitive device 102, and the controller 104 is further used to receive a door opening signal of the device where the deodorizer is located from the photosensitive device. Specifically, when the door of the device where the deodorizer is located is closed, the interior of the device where the deodorizer is located is in a closed dark state, and the light intensity is relatively weak. After the door of the device where the deodorizer is located is opened, the light from the external environment enters the device where the deodorizer is located, and the light intensity is relatively strong. Therefore, the photosensitive device 102 can determine the door opening condition of the door of the device where the deodorizer is located by the change of the light intensity, and then, when it is determined that the door of the device where the deodorizer is located is opened, a door opening signal of the device where the deodorizer is located is generated, and the door opening signal is sent to the controller. Among them, the photosensitive device 102 may include at least one of a photosensor or a sensor for detecting light.

[0042] In another implementation, the deodorizer may also include an infrared sensor, and the controller is further used to receive a door opening signal of the device where the deodorizer is located from the infrared sensor. Specifically, the infrared sensor includes a transmitter and a receiver, and the transmitter transmits an infrared signal to the door body of the device where the deodorizer is located. The infrared signal emitted by the transmitter is reflected after encountering an obstacle, and the reflected infrared signal is received by the receiver. Therefore, the door opening condition of the door body of the device where the deodorizer is located can be determined based on the time between the time when the transmitter emits the infrared signal and the time when the receiver receives the signal. Then, when it is determined that the door body of the device where the deodorizer is located is opened, the infrared sensor generates a door opening signal of the device where the deodorizer is located, and sends the door opening signal to the controller. Among them, the time corresponding to the closing of the door body of the device where the deodorizer is located is less than the time corresponding to the opening of the door body of the device where the deodorizer is located.

[0043] In another implementation, the controller is further configured to receive a door opening signal of the device where the deodorizer is located from a displacement sensor, and the displacement sensor is disposed in the door body of the device where the deodorizer is located. Specifically, when the door body of the device where the deodorizer is located is closed, the displacement detected by the displacement sensor is determined as a preset displacement; if the detected displacement is greater than the preset displacement, the displacement sensor can determine that the door body of the device where the deodorizer is located is in an open state, thereby generating a door opening signal of the device where the deodorizer is located, and sending the door opening signal to the controller.

[0044] The communication methods of the photosensitive device, infrared sensor and displacement sensor with the controller may be the same or different. In some cases, the controller can be communicated with through wireless communication, which may include: Wi-Fi, Bluetooth, Zigbee, Z-Wave, etc. Among them, Zigbee is a low-power, short-range wireless communication technology based on the IEEE 802.15.4 standard, which has the characteristics of low power consumption, stable and reliable data transmission, etc.; Z-Wave has the characteristics of narrow bandwidth, low frequency and long transmission distance. In some cases, the controller can be communicated with through power line communication (PLC).

[0045] The deodorizer can be started and shut down in various possible ways, and several possible implementation methods are exemplified below.

[0046] In some embodiments, the deodorizer may include a voice collection device. When the voice collection device collects voice representing the start-up of the deodorizer, the deodorizer is controlled to start working; when the voice collection device collects voice representing the shutdown of the deodorizer, the deodorizer is controlled to shut down.

[0047] The deodorizer may include different working modes, such as a quick deodorization mode, a cycle deodorization mode, a deodorization and sterilization mode, etc. When the voice collection device collects a control voice matching the working mode, the controller may control the deodorizer to run the working mode matching the control voice, so that the deodorizer can quickly enter the working mode. Furthermore, the working mode can be switched based on the voice collection device.

[0048] In view of the different working modes of the deodorizer, the deodorizer may further include indicator lights that match the different working modes. The user may understand the current working mode of the deodorizer through the indicator lights.

[0049] In some embodiments, the deodorizer may include a start button and a shutdown button. When a trigger operation is received for the start button, the deodorizer can be controlled to start working; when a trigger operation is received for the shutdown button, the deodorizer can be controlled to start working.

[0050] Taking the deodorizer as a shoe cabinet deodorizer, the photosensitive device includes a photosensor as an example, as shown in Figure 1, a schematic diagram of the structure of the deodorizer is provided. In Figure 2, the deodorizer 100 includes a controller and a purification component (not shown in Figure 2), a photosensor 202, a fan 204, an air inlet 206, an air outlet 208, a button 210, a first indicator light 212, a second indicator light 214, a third indicator light 216, and a charging port 218.

[0051] During the operation of the deodorizer, photosensor 202 detects the door opening condition of the door of the device where the deodorizer is located, generates a door opening signal, and sends the door opening signal to the controller, so that the controller determines whether to update the operating frequency of deodorizer 100 based on the received door opening signal of the device where the deodorizer is located; if the operating frequency of deodorizer 100 needs to be updated, then when the operating frequency of deodorizer 100 is updated, deodorizer 100 is controlled to work based on the updated operating frequency, specifically, fan 204 is controlled to rotate so that the air to be purified in the use environment of deodorizer 100 is sucked into deodorizer 100 from air inlet 206, and the air to be purified is purified by the purification component in deodorizer 100 and then sent out from air outlet 208. At the same time, the purification component will release an appropriate amount of ozone into the use environment of the deodorizer to achieve the purpose of deodorization and purification.

[0052] In some cases, the deodorizer 100 can be turned on and the working mode of the deodorizer 100 can be controlled based on the button 210. When the deodorizer 100 is turned on by pressing the button 210, the working mode of the deodorizer 100 can be adjusted by pressing the button 210 again. For example, after pressing the button 210 again, the deodorizer 100 runs a working mode, and after pressing the button 210 again, the deodorizer 100 jumps from one working mode to another working mode, and so on. When the button 210 is pressed again on the basis of the last working mode, the deodorizer 100 can be controlled to shut down.

[0053] The working modes of the deodorizer 100 may include a quick deodorization mode, a cycle deodorization mode, a deodorization and sterilization mode, etc. In different working modes, different indicator lights are lit. For example, when the deodorizer operates in the quick deodorization mode, the controller may control the first indicator light 212 to light up; when the deodorizer operates in the cycle deodorization mode, the controller may control the second indicator light 214 to light up; when the deodorizer operates in the deodorization and sterilization mode, the controller may control the third indicator light 216.

[0054] In one case, the deodorizer 100 can be turned on and off based on the button 210, and the deodorizer can be controlled to run different working modes through the mode function button (not shown in Figure 2). In different working modes, the indicator lights that light up are different.

[0055] In some cases, when the power of the deodorizer 100 is insufficient, the controller may also control a fourth indicator light (not shown in FIG. 2 ) to light up to remind the user to charge the deodorizer 100 via the charging port 218 .

[0056] In one embodiment, as shown in FIG3 , a deodorizer control method is provided, and the method is applied to a controller in a deodorizer as an example for explanation, including the following steps:

[0057] S302, during the operation of the deodorizer, based on the door opening signal received from the device where the deodorizer is located, counting the door opening information within the target working time, the door opening information including at least one of the number of door openings and the door opening interval duration.

[0058] Among them, the number of door opening times refers to the number of times the door of the device where the deodorizer is located is opened, and the door opening interval time refers to the time when the door of the device where the deodorizer is located is opened and the time between the last time the door was opened.

[0059] The target working time refers to the time taken into account when the working frequency of the deodorizer is adaptively adjusted. It is a cycle time. When the current target working time ends, the start time of the next target working time is the end time of the current target working time. For example, if the target working time is 2 hours and the current target working time refers to the time between 2pm and 4pm, then the next target working time refers to the time between 4pm and 6pm.

[0060] In some embodiments, the controller may match the time of receiving the door opening signal of the device where the deodorizer is located with the start time and the end time of the target working time to determine the door opening signal received within the target working time; and determine the number of door opening signals received within the target working time as the number of door openings within the target working time. That is, when the door of the device where the deodorizer is located is opened, the controller may receive the door opening signal, and therefore, the controller may determine the number of door openings based on the number of door opening signals received.

[0061] Furthermore, for the door opening signals received within the target working time, the time between the receiving times of the adjacent door opening signals can be determined based on the time of the received door opening signals to obtain the door opening interval time. In some cases, the number of door opening interval time is at least one, that is, within the target working time, the door of the device where the deodorizer is located is opened at least once.

[0062] S304: Determine whether to adjust the operating frequency of the deodorizer based on the door opening information.

[0063] When the contents of the door opening information are different, the implementation method of determining whether to adjust the working frequency of the deodorizer is also different.

[0064] In some embodiments, the door opening information includes the number of door openings. Based on the mapping relationship between the working time and the number of door openings, a target number of door openings matching the target working time is determined; when the number of door openings within the target working time is less than or equal to the target number of door openings, it is determined that the working frequency of the deodorizer is not adjusted; when the number of door openings within the target working time is greater than the target number of door openings, it is determined that the working frequency of the deodorizer is adjusted.

[0065] Among them, in the mapping relationship between working hours and door opening times, the number of door openings of the deodorizer within each working hour is matched with the purpose of balancing the deodorization efficiency and endurance of the deodorizer, that is, when the actual number of door openings of the deodorizer within each working hour is less than or equal to the number of door openings corresponding to the mapping relationship, the current working frequency of the deodorizer is not adjusted, thereby achieving the purpose of avoiding the situation where the deodorization demand is small and the purification resources are wasted, and the deodorization demand is large and the deodorization effect is unsatisfactory.

[0066] In some embodiments, the door opening information includes the door opening interval duration. When the number of door opening interval durations within the target working duration is one, it indicates that the user's deodorization demand is not great, and it is determined that the working frequency of the deodorizer is not adjusted; when the number of door opening interval durations within the target working duration is two or more, the number of door opening interval durations whose door opening interval durations are greater than or equal to the interval threshold is determined from the two or more door opening interval durations; when the determined number of times is greater than or equal to the number threshold, it is determined that the working frequency of the deodorizer is adjusted, and when the determined number of times is less than the number threshold, it is determined that the working frequency of the deodorizer is not adjusted.

[0067] It should be understood that when the number of door opening interval durations within the target working time is one, it can be explained that the door body of the equipment where the deodorizer is located is opened once within the target working time, that is, the last time the door body was opened is within the previous target working time. Combined with the last time the door body was opened and the time when the door body was opened within the current target working time, it is determined that the number of door opening interval durations within the current target working time is one.

[0068] In some embodiments, the door opening signal includes the number of door openings and the door opening interval duration. Based on the mapping relationship between the working duration and the number of door openings, a target number of door openings matching the target working duration is determined; for the door opening interval duration within the target working duration, the number of door opening interval durations whose door opening interval duration is greater than or equal to the interval threshold is determined; when the number of door openings within the target working duration is greater than the target number of door openings, and the determined number is greater than or equal to the number threshold, it is determined that the working frequency of the deodorizer is adjusted. When the number of door openings within the target working duration is less than or equal to the target number of door openings, and / or the determined number is less than the number threshold, it is determined that the working frequency of the deodorizer is not adjusted.

[0069] S306: If the operating frequency of the deodorizer needs to be adjusted, the operating frequency of the deodorizer is updated based on the door opening information within the target operating time.

[0070] Among them, the door opening information within the current target working time is used to determine whether to update the working frequency of the deodorizer when the next target working time arrives. When the content contained in the door opening information is different, the way to update the working frequency of the deodorizer is also different. The working frequency of the deodorizer is used to characterize the interval at which the deodorizer starts the deodorization process. For example, if the working frequency is 6 hours / time, it means that the deodorizer starts the deodorization process every 6 hours, such as releasing ozone, starting the fan and other devices in the deodorizer, etc.

[0071] In one embodiment, in combination with S304, the door opening information includes the number of door openings, and the operating frequency of the deodorizer can be updated based on the number of door openings within the target operating time. Specifically, the number difference between the target number of door openings and the number of door openings within the target operating time is determined; based on the mapping relationship between the preset number difference and the frequency deviation value, the sum of the frequency deviation value corresponding to the determined number difference and the operating frequency of the deodorizer is determined as the updated operating frequency of the deodorizer.

[0072] In one embodiment, in combination with S304, the door opening information includes the door opening interval duration, and the operating frequency of the deodorizer can be updated based on the door opening interval duration within the target operating duration. Specifically, from multiple preset ranges, a preset range in which the difference between the number threshold and the determined number of times is located is determined; based on the mapping relationship between the preset range and the frequency deviation value, the sum of the frequency deviation value corresponding to the determined preset range and the operating frequency of the deodorizer is determined as the updated operating frequency of the deodorizer. Among them, the determined number of times refers to the number of door opening interval durations within the target operating duration where the door opening interval duration is greater than or equal to the interval threshold.

[0073] In some embodiments, in combination with S304, the door opening signal includes the number of door openings and the door opening interval duration, and the working frequency of the deodorizer can be updated based on the number of door openings and the door opening interval duration within the target working duration. Specifically, based on the mapping relationship between the preset number difference and the frequency deviation value, the frequency deviation value that matches the number difference between the target number of door openings and the number of door openings within the target working duration is determined as the first frequency deviation value; based on the mapping relationship between the preset range and the frequency deviation value, the frequency deviation value corresponding to the preset range where the difference between the number threshold and the determined number of times is located is determined as the second frequency deviation value; the sum of the average of the first frequency deviation value and the second frequency deviation value and the working frequency of the deodorizer is determined as the updated working frequency of the deodorizer. Among them, the determined number of times refers to the number of door opening interval durations within the target working duration where the door opening interval duration is greater than or equal to the interval threshold.

[0074] It should be understood that when the operating frequency is adaptively adjusted based on the door opening information within the current target operating duration, the duration for which the deodorizer operates at the updated operating frequency is included in the next target operating duration.

[0075] In some cases, the deodorizer can continue to work at the updated operating frequency within the next target operating duration. In some cases, the deodorizer can enter a dormant state after working at the updated operating frequency for a period of time within the next target operating duration.

[0076] Based on the contents shown in the embodiment of FIG3 , during the operation of the deodorizer, based on the door opening signal received from the device where the deodorizer is located, the door opening information within the target working time is counted, the door opening information includes at least one of the number of door openings and the door opening interval duration, and based on the door opening information, it is determined whether to adjust the working frequency of the deodorizer. Thus, based on the door opening information within the target working time, it is possible to determine whether the current working frequency of the deodorizer matches the actual deodorization demand of the user. If the working frequency of the deodorizer needs to be adjusted, it means that when the deodorizer continues to work at a fixed working frequency, it will not be able to match the actual deodorization demand of the user. Thus, by updating the working frequency of the deodorizer based on the door opening information within the target working time, the deodorizer can achieve the purpose of matching the actual deodorization demand of the user when working at the updated working frequency. At the same time, it can avoid the situation where the deodorizer has a small deodorization demand and wastes resources, or has a large deodorization demand but unsatisfactory deodorization effect, and can improve the user experience of the deodorizer.

[0077] Based on the contents shown in the embodiment of FIG. 3 , it can be known that based on the number of door openings and / or the door opening interval duration within the target working time, it can be determined whether to adjust the working frequency of the deodorizer. In some cases, the number of door openings and / or the door opening interval duration within the target working time can be stored in a memory. When the next target working time arrives, the number of door openings and / or the door opening interval duration within the next target working time can be recorded in the memory by clearing the information recorded in the memory. Thus, while ensuring that the number of door openings and / or the door opening interval duration recorded in the memory are consistent with the target working time at the current moment, the accuracy of determining whether to adjust the working frequency of the deodorizer can be further improved.

[0078] In one embodiment, the target working time includes the first working time, the door opening information includes the number of door openings, and determining whether to adjust the working frequency of the deodorizer based on the door opening information includes: when the first working time is greater than or equal to the first time threshold, determining whether to adjust the working frequency of the deodorizer based on the comparison result between the number of door openings and the preset number of door openings. Thus, by comparing the number of door openings within the first working time with the preset number of door openings, the actual deodorization demand of the user can be determined, and then when determining whether to adjust the working frequency of the deodorizer based on the actual deodorization demand of the user, the working frequency of the deodorizer can be accurately controlled while meeting the deodorization demand of the user, thereby improving the control accuracy of the deodorization of the deodorizer.

[0079] In some embodiments, when the number of door opening times is greater than the preset number of door opening times, it is determined that the operating frequency of the deodorizer needs to be adjusted, indicating that the user's actual deodorization demand is relatively large. Therefore, the operating frequency of the deodorizer is adjusted to match the user's actual deodorization demand; when the number of door opening times is less than the preset number of door opening times, it is determined that the operating frequency of the deodorizer does not need to be adjusted, indicating that the user's actual deodorization demand is relatively small. Therefore, the user's deodorization demand can be met without adjusting the operating frequency of the deodorizer.

[0080] The first duration threshold is greater than or equal to the first preset duration, and less than or equal to the second preset duration. In this embodiment, the first preset duration may be 2 hours, and the second preset duration may be 4 hours, and the first duration threshold is any value in [2 hours, 4 hours]. The specific values ​​of the first preset duration and the second preset duration may be set based on actual application scenarios, and are not specifically limited in this embodiment.

[0081] In one embodiment, the preset door opening times include a preset high frequency door opening times and a preset low frequency door opening times. Based on the comparison result between the door opening times and the preset door opening times, the implementation method of determining whether to adjust the working frequency of the deodorizer may be as shown in FIG. 4 and include the following steps:

[0082] S402, when the number of door openings is greater than the preset high-frequency door opening number, or the number of door openings is less than the preset low-frequency door opening number, determine to adjust the working frequency of the deodorizer.

[0083] Among them, when the number of door openings is greater than the preset high-frequency door opening number, it means that the user frequently opens the door, which further means that the user's deodorization demand is relatively large, so the deodorizer's working frequency is adjusted to meet the user's large deodorization demand. When the number of door openings is less than the preset low-frequency door opening number, it means that the user's deodorization demand is relatively small. If the deodorizer continues to work at the current working frequency, the power consumption of the deodorizer will increase. Therefore, by adjusting the deodorizer's working frequency, the power consumption of the deodorizer can be reduced and the user's small deodorization demand can be met.

[0084] S404: When the number of door openings is less than or equal to the preset high-frequency door opening number and greater than or equal to the preset low-frequency door opening number, it is determined that the operating frequency of the deodorizer is not adjusted.

[0085] The deodorization interval duration represented by the working frequency of the deodorizer may be a target preset duration, which is greater than or equal to the first target duration and less than or equal to the second target duration. In this embodiment, the first target duration may be 6 hours, and the second target duration may be 8 hours. The target preset duration is any value in [6 hours, 8 hours]. The specific values ​​of the first target duration and the second target duration may be set based on actual application scenarios, and are not specifically limited in this embodiment.

[0086] Combining S402 and S404, it can be known that the preset high-frequency door opening times and the preset low-frequency door opening times can constitute a preset door opening times range. By determining whether the door opening times within the target working time are within the preset door opening times range, it can be determined whether to adjust the working frequency of the deodorizer. Specifically, when the door opening times are within the preset door opening times range, it is determined that the working frequency of the deodorizer is not adjusted; when the door opening times are outside the preset door opening times range, it is determined that the working frequency of the deodorizer is adjusted.

[0087] The preset high-frequency door opening times are greater than or equal to the first preset times and less than or equal to the second preset times. In this embodiment, the first preset times can be 3 times and the second preset times can be 10 times, and the preset high-frequency door opening times are any value in [3 times, 10 times]. The preset low-frequency door opening times are greater than or equal to the third preset times and less than or equal to the fourth preset times. In this embodiment, the third preset times can be 1 time and the fourth preset times can be 3 times, and the preset low-frequency door opening times are any value in [1 time, 3 times]. The specific values ​​of the first preset times, the second preset times, the third preset times and the fourth preset times can be set based on the actual application scenario, and are not specifically limited in this embodiment.

[0088] Based on the contents shown in the embodiment of FIG4 , by comparing the number of door opening times with the preset high-frequency door opening times and the preset low-frequency door opening times, the user's actual deodorization needs can be adaptively determined, and then based on the user's actual deodorization needs, it is determined whether to adjust the operating frequency of the deodorizer, so as to achieve the purpose of matching the operating frequency of the deodorizer with the user's actual deodorization needs.

[0089] Further, in one embodiment, the implementation method of updating the working frequency of the deodorizer based on the door opening information within the target working time may be as shown in FIG5 , including the following steps:

[0090] S502, when the number of door openings is greater than the preset high-frequency door opening number, the operating frequency of the deodorizer is increased.

[0091] Among them, when the number of door opening times is greater than the preset high-frequency door opening times, it means that the user opens the door frequently. Each time the door is opened, the content of air to be purified in the use environment of the deodorizer will increase, which increases the user's actual deodorization demand. If the working frequency of the deodorizer is not increased, the deodorization process of the deodorizer cannot match the user's actual deodorization demand. Therefore, it is necessary to increase the working frequency of the deodorizer.

[0092] In some embodiments, the difference between the number of door opening times and the preset high-frequency door opening times is determined; based on the mapping relationship between the preset number difference and the frequency adjustment coefficient, the frequency adjustment coefficient that matches the determined number difference is determined as the first frequency adjustment coefficient; based on the first frequency adjustment coefficient, the operating frequency of the deodorizer is increased to a first target frequency, and the first target frequency is the sum of the product of the first frequency adjustment coefficient and the operating frequency of the deodorizer and the operating frequency of the deodorizer.

[0093] In some embodiments, when the number of door opening times is greater than a preset high-frequency door opening time, the operating frequency of the deodorizer is increased to a third target frequency, and the third target frequency is the sum of the operating frequency of the deodorizer and the preset frequency.

[0094] S504, when the number of door opening times is less than the preset low-frequency door opening times, the operating frequency of the deodorizer is reduced.

[0095] Among them, when the number of door opening times is less than the preset low-frequency door opening times, it means that the user's deodorization demand is relatively small. If the working frequency of the deodorizer is not reduced, the power consumption of the deodorizer will increase. Therefore, by reducing the working frequency of the deodorizer, the user's actual deodorization demand can be met while saving the power consumption of the deodorizer.

[0096] In some embodiments, the difference between a preset low-frequency door opening number and the door opening number is determined; based on a mapping relationship between the preset number difference and the frequency adjustment coefficient, the frequency adjustment coefficient that matches the determined number difference is determined as a second frequency adjustment coefficient; based on the second frequency adjustment coefficient, the operating frequency of the deodorizer is reduced to a second target frequency, and the second target frequency is the product of the operating frequency of the deodorizer and the second frequency adjustment coefficient.

[0097] In some embodiments, when the number of door opening times is less than a preset low-frequency number of door opening times, the operating frequency of the deodorizer is reduced to a fourth target frequency, and the fourth target frequency is the difference between the operating frequency of the deodorizer and the preset frequency.

[0098] Based on the contents shown in the embodiment of FIG5 , by comparing the number of door openings with the preset high-frequency door openings and the preset low-frequency door openings, the operating frequency of the deodorizer can be adaptively adjusted, thereby meeting the actual deodorization needs of the user while controlling the power consumption of the deodorizer, thereby improving the user experience of the deodorizer.

[0099] In combination with the above, in one embodiment, the target working time also includes a second working time, the second working time is greater than the first working time and may include multiple first working time, and the door opening information also includes a door opening interval time. The method further includes: when the second working time is greater than or equal to the second time threshold, the working frequency of the deodorizer is adjusted based on the mean of the door opening interval time. Specifically, when the second working time is greater than or equal to the second time threshold, the mean of the door opening interval time is determined as the deodorization interval time of the deodorizer, that is, the deodorizer starts the deodorization process every time the mean of the door opening interval time is reached.

[0100] In combination with S502 and S504, in some cases, the deodorization interval duration represented by the reduced working frequency is less than the average of the door opening interval durations, and the average of the door opening interval durations is less than the deodorization interval duration represented by the increased working frequency.

[0101] The second duration threshold is greater than or equal to the third preset duration, and less than or equal to the fourth preset duration. In this embodiment, the third preset duration may be 24 hours, and the fourth preset duration may be 72 hours. The second duration threshold is any value in [24 hours, 72 hours]. The specific values ​​of the third preset duration and the fourth preset duration may be set based on actual application scenarios, and are not specifically limited in this embodiment.

[0102] For example, the second working time is 24 hours, and the door of the deodorizer is opened 3 times within 24 hours, with the door opening intervals of 12h, 8h, and 4h, respectively. The average door opening interval is 8 hours, that is, (12+8+4) / 3=8 hours, and the deodorization interval of the deodorizer's working frequency is adjusted to 8 hours.

[0103] It should be understood that the second working duration includes multiple first working durations, that is, when multiple first working durations are recorded, the second working duration can be obtained by counting multiple first working durations. Therefore, when determining whether to adjust the working frequency of the deodorizer based on the number of door openings within the first working duration, if the current counted duration reaches the second working duration, the working frequency of the deodorizer is adjusted again based on the average of the door opening interval durations within the second working duration. That is, when the working frequency of the deodorizer is adjusted based on the average of the door opening interval durations within the second working duration, the adjusted working frequency is the working frequency adjusted or not adjusted based on the number of door openings within the first working duration. Therefore, the second working duration can include multiple first working durations. In other words, the controller can determine whether to adjust the working frequency of the deodorizer based on the number of door openings within the small duration, and further adjust the working frequency of the deodorizer again based on the average of the door opening interval durations within the large duration.

[0104] It should be noted that the deodorizing process can be started after the deodorizer is turned on, or the deodorizer can start the deodorizing process after it is turned on and the user selects a working mode. During the deodorizing process, the processing logic of adjusting or not adjusting the working frequency of the deodorizer based on the number of door openings within the first working duration can be executed. Furthermore, the processing logic of adjusting the working frequency of the deodorizer again based on the door opening interval within the second working duration can be executed. When the deodorizer's shutdown signal is received, the relevant processing logic can be stopped. Once the deodorizer is restarted, the deodorizing process will be restarted.

[0105] In one embodiment, the target working time includes the third working time, and the door opening information includes the door opening interval time. The third working time refers to the time considered when adjusting the working frequency of the deodorizer, which is a cycle time. When the current third working time ends, the starting time of the next third working time is the end time of the current third working time.

[0106] As shown in FIG6 , a flow chart of a deodorizer control method is provided, and an exemplary description is given by taking the method applied to a controller in a deodorizer as an example, and the method includes the following steps:

[0107] S602: When the third operating duration is greater than a third duration threshold, determine to adjust the operating frequency of the deodorizer.

[0108] The third working time may be the same as the second working time, or may be greater than the second working time.

[0109] S604: Update the operating frequency of the deodorizer based on the average of the door opening interval durations.

[0110] Among them, the implementation method of updating the working frequency of the deodorizer based on the average of the door opening interval duration can be adapted to the description in the aforementioned content and will not be repeated here.

[0111] Based on the embodiment shown in FIG6 , it can be seen that by updating the operating frequency of the deodorizer based on the average of the door opening interval duration within the third operating duration when the third operating duration is greater than the third duration threshold, it is possible to avoid frequent adjustments to the operating frequency of the deodorizer that affect the deodorizing capacity of the deodorizer, thereby improving the deodorizing quality of the deodorizer.

[0112] Based on the contents shown in the embodiment of FIG6 , it can be known that when the working frequency of the deodorizer is updated based on the door opening interval duration within the third working duration, in some cases, the door opening interval duration within the third working duration can be stored in the memory. When the next third working duration arrives, the door opening interval duration within the next third working duration can be recorded in the memory by clearing the information recorded in the memory. Thus, while ensuring that the door opening interval duration recorded in the memory is consistent with the third working duration at the current moment, the accuracy of updating the working frequency of the deodorizer can be further improved, and the deodorization quality for the actual deodorization needs of the user can be further improved.

[0113] In combination with the above, in one embodiment, as shown in FIG7, a schematic diagram of the relationship between the first working time and the second working time is provided, wherein the second working time includes multiple first working time, and for the number of door openings within each working time, the controller can determine whether to adjust the working frequency of the deodorizer based on the number of door openings, and if adjustment is required, the working frequency of the deodorizer can be updated based on the door opening information. Furthermore, when the total duration determined based on the recorded multiple first working time reaches the second working time, the controller can adjust the working frequency of the deodorizer again based on the door opening interval duration within the second working time.

[0114] On the basis of FIG. 7 , taking the deodorizer as a shoe cabinet deodorizer as an example, as shown in FIG. 8 , a deodorizer control method is provided, and the method is applied to a controller in the deodorizer as an example for explanation, including the following steps:

[0115] S802, during the operation of the shoe cabinet deodorizer, based on the shoe cabinet door opening signal sent by the photosensor, counting the number of door openings within the first operating time.

[0116] S804: Determine whether the first working duration is greater than or equal to a first duration threshold.

[0117] If the first working duration is greater than or equal to the first duration threshold, execute S806, otherwise execute S808.

[0118] S806, determining whether the number of door openings within the first working time is greater than a preset high frequency door opening number.

[0119] If the number of door openings within the first working time is greater than the preset high-frequency door opening number, S810 is executed, otherwise S812 is executed.

[0120] S808, control the working frequency of the shoe cabinet deodorizer to remain unchanged, and then execute S816.

[0121] S810, increasing the operating frequency of the shoe cabinet deodorizer, and then executing S816.

[0122] S812, determining whether the number of door openings within the first working duration is less than a preset low-frequency door opening number.

[0123] If the number of door openings within the first working time is less than the preset low-frequency door opening number, execute S814, otherwise execute S808.

[0124] S814, reduce the operating frequency of the shoe cabinet deodorizer, and then execute S816.

[0125] S816, determining whether the second working duration is greater than or equal to a second duration threshold.

[0126] If the second working duration is greater than or equal to the second duration threshold, execute S818, otherwise execute S802.

[0127] S818: Adjust the operating frequency of the shoe cabinet deodorizer based on the average of the door opening interval duration within the second operating duration.

[0128] S820, determining whether a shutdown signal is received.

[0129] If a shutdown signal is received, the process ends, and then after the shoe cabinet deodorizer is restarted, S802 is executed; otherwise, S802 is executed.

[0130] Among them, the specific content of S802-S820 can be adapted to the description of the aforementioned content and will not be repeated here.

[0131] Based on the embodiment shown in Figure 8, it can be known that by utilizing the principle of photosensors sensing changes in light intensity to sense whether the user has opened the shoe cabinet door, the user's deodorization needs can be analyzed and the operating frequency of the shoe cabinet deodorizer can be adaptively adjusted accordingly to ensure deodorization efficiency while having lower power consumption, further solving the problem of low matching between the deodorization operating frequency and the user's actual deodorization needs, and can bring about the effect of improving the balance between the deodorization efficiency and battery life of the working frequency of the shoe cabinet deodorizer, while ensuring the deodorization efficiency and controlling the sleep time to improve the battery life, wherein the lower the operating frequency of the shoe cabinet deodorizer and the shorter the working time, the longer the sleep time.

[0132] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0133] Based on the same inventive concept, the embodiment of the present application also provides a deodorizer control device for implementing the deodorizer control method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more deodorizer control device embodiments provided below can refer to the limitations of the deodorizer control method above, and will not be repeated here.

[0134] In one embodiment, as shown in FIG. 9 , a deodorizer control device is provided, including: an information acquisition module 902, a determination module 904, and a processing module 906, wherein:

[0135] An information acquisition module 902 is used to count the door opening information within a target working time based on the detected door opening signal of the device where the deodorizer is located during the working process of the deodorizer, and the door opening information includes at least one of the number of door openings and the door opening interval duration; a determination module 904 is used to determine whether to adjust the working frequency of the deodorizer based on the door opening information; and a processing module 906 is used to update the working frequency of the deodorizer based on the door opening information within the target working time if the working frequency of the deodorizer needs to be adjusted.

[0136] In one embodiment, the target working time includes a first working time, and the door opening information includes the number of door openings; the determination module 904 is also used to determine whether to adjust the working frequency of the deodorizer based on a comparison result between the number of door openings and a preset number of door openings when the first working time is greater than or equal to a first time threshold.

[0137] In one embodiment, the preset number of door opening times includes a preset high-frequency door opening time and a preset low-frequency door opening time; the determination module 904 is also used to determine that the working frequency of the deodorizer is adjusted when the door opening time is greater than the preset high-frequency door opening time, or the door opening time is less than the preset low-frequency door opening time; when the door opening time is less than or equal to the preset high-frequency door opening time, and greater than or equal to the preset low-frequency door opening time, determine that the working frequency of the deodorizer is not adjusted.

[0138] In one embodiment, the processing module 906 is further used to: when the number of door openings is greater than a preset high-frequency number of door openings, increase the operating frequency of the deodorizer; when the number of door openings is less than a preset low-frequency number of door openings, reduce the operating frequency of the deodorizer.

[0139] In one embodiment, processing module 906 is further used to: determine the difference between the number of door openings and the preset high-frequency number of door openings; based on a mapping relationship between the preset number difference and the frequency adjustment coefficient, determine the frequency adjustment coefficient that matches the determined number difference as a first frequency adjustment coefficient; based on the first frequency adjustment coefficient, increase the operating frequency of the deodorizer to a first target frequency, the first target frequency being the product of the first frequency adjustment coefficient and the operating frequency of the deodorizer and the sum of the operating frequency of the deodorizer.

[0140] In one embodiment, the processing module 906 is further used to: determine the difference between the preset low-frequency door opening times and the door opening times; based on the mapping relationship between the preset number of differences and the frequency adjustment coefficient, determine the frequency adjustment coefficient that matches the determined number of differences as the second frequency adjustment coefficient; based on the second frequency adjustment coefficient, reduce the operating frequency of the deodorizer to a second target frequency, the second target frequency being the product of the operating frequency of the deodorizer and the second frequency adjustment coefficient.

[0141] In one embodiment, the target working time also includes a second working time, the second working time includes multiple first working time, and the door opening information also includes a door opening interval time; the processing module 906 is also used to: when the second working time is greater than or equal to a second time threshold, adjust the working frequency of the deodorizer based on the average of the door opening interval time.

[0142] In one embodiment, the target working time includes a third working time, and the door opening information includes a door opening interval time; the determination module 904 is further used to determine whether to adjust the working frequency of the deodorizer when the third working time is greater than a third time threshold; the processing module 906 is further used to update the working frequency of the deodorizer based on the average of the door opening interval time.

[0143] In one embodiment, the door opening information includes the number of door openings and the door opening interval duration; the determination module 904 is also used to determine a target number of door openings that matches the target working duration based on a mapping relationship between the working duration and the number of door openings; for the door opening interval duration within the target working duration, determine the number of door opening interval durations whose door opening interval duration is greater than or equal to an interval threshold; if the number of door openings within the target working duration is greater than the target number of door openings, and the determined number is greater than or equal to a number threshold, determine to adjust the working frequency of the deodorizer; if the number of door openings within the target working duration is less than or equal to the target number of door openings, and / or the determined number is less than the number threshold, determine not to adjust the working frequency of the deodorizer.

[0144] In one embodiment, the processing module 906 is also used to: determine the frequency deviation value that matches the difference between the target door opening number and the door opening number within the target working time as a first frequency deviation value based on the mapping relationship between the preset number of times difference and the frequency deviation value; determine the frequency deviation value corresponding to the preset range within which the difference between the number threshold and the determined number of times is located as a second frequency deviation value based on the mapping relationship between the preset range and the frequency deviation value; determine the average of the first frequency deviation value and the second frequency deviation value and the sum of the working frequency of the deodorizer as the updated working frequency of the deodorizer.

[0145] Each module in the deodorizer control device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0146] In one embodiment, a computer device is provided, which may be a controller, and its internal structure diagram may be shown in FIG10. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as the door opening signal of the device where the deodorizer is located. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a deodorizer control method is implemented.

[0147] In one embodiment, a computer device is provided, which may be a deodorizer, and its internal structure diagram may be shown in FIG11. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a deodorizer control method is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0148] Those skilled in the art will understand that the structure shown in FIG. 10 or FIG. 11 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0149] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: during the operation of the deodorizer, based on the detected door opening signal of the device where the deodorizer is located, counting the door opening information within a target working time, the door opening information including at least one of the number of door openings and the door opening interval duration; based on the door opening information, determining whether to adjust the working frequency of the deodorizer; if the working frequency of the deodorizer needs to be adjusted, updating the working frequency of the deodorizer based on the door opening information within the target working time.

[0150] In one embodiment, the target working time includes a first working time, and the door opening information includes the number of door openings; when the processor executes the computer program, the following steps are also implemented: when the first working time is greater than or equal to a first time threshold, based on the comparison result between the number of door openings and the preset number of door openings, determine whether to adjust the working frequency of the deodorizer.

[0151] In one embodiment, the preset number of door opening times includes a preset high-frequency door opening time and a preset low-frequency door opening time; when the processor executes the computer program, the following steps are also implemented: when the number of door opening times is greater than the preset high-frequency door opening time, or the number of door opening times is less than the preset low-frequency door opening time, it is determined that the operating frequency of the deodorizer is adjusted; when the number of door opening times is less than or equal to the preset high-frequency door opening time, and greater than or equal to the preset low-frequency door opening time, it is determined that the operating frequency of the deodorizer is not adjusted.

[0152] In one embodiment, when the processor executes the computer program, the following steps are also implemented: when the number of door openings is greater than a preset high-frequency door opening number, the operating frequency of the deodorizer is increased; when the number of door openings is less than a preset low-frequency door opening number, the operating frequency of the deodorizer is reduced.

[0153] In one embodiment, the processor also implements the following steps when executing the computer program: determining the difference between the number of door opening times and the preset high-frequency door opening times; based on the mapping relationship between the preset number difference and the frequency adjustment coefficient, determining the frequency adjustment coefficient that matches the determined number difference as the first frequency adjustment coefficient; based on the first frequency adjustment coefficient, increasing the operating frequency of the deodorizer to a first target frequency, the first target frequency being the product of the first frequency adjustment coefficient and the operating frequency of the deodorizer, and the sum of the operating frequency of the deodorizer.

[0154] In one embodiment, when the processor executes the computer program, the following steps are also implemented: determining the difference between a preset low-frequency door opening number and the door opening number; based on the mapping relationship between the preset number difference and the frequency adjustment coefficient, determining the frequency adjustment coefficient that matches the determined number difference as the second frequency adjustment coefficient; based on the second frequency adjustment coefficient, reducing the operating frequency of the deodorizer to a second target frequency, the second target frequency being the product of the operating frequency of the deodorizer and the second frequency adjustment coefficient.

[0155] In one embodiment, the target working time also includes a second working time, the second working time includes multiple first working time, and the door opening information also includes a door opening interval time; when the processor executes the computer program, the following steps are also implemented: when the second working time is greater than or equal to the second time threshold, the working frequency of the deodorizer is adjusted based on the average of the door opening interval time.

[0156] In one embodiment, the target working time includes a third working time, and the door opening information includes a door opening interval time; when the processor executes the computer program, the following steps are also implemented: when the third working time is greater than a third time threshold, it is determined to adjust the working frequency of the deodorizer; based on the average of the door opening interval time, the working frequency of the deodorizer is updated.

[0157] In one embodiment, the door opening information includes the number of door openings and the door opening interval duration; when the processor executes the computer program, the following steps are also implemented: based on the mapping relationship between the working time and the number of door openings, a target number of door openings matching the target working time is determined; for the door opening interval duration within the target working time, the number of door opening interval durations whose door opening interval duration is greater than or equal to the interval threshold is determined; if the number of door openings within the target working time is greater than the target number of door openings, and the determined number is greater than or equal to the number threshold, it is determined that the working frequency of the deodorizer is adjusted; if the number of door openings within the target working time is less than or equal to the target number of door openings, and / or the determined number is less than the number threshold, it is determined that the working frequency of the deodorizer is not adjusted.

[0158] In one embodiment, when the processor executes the computer program, the following steps are also implemented: based on the mapping relationship between the preset number of differences and the frequency deviation value, the frequency deviation value that matches the number difference between the target door opening number and the number of door openings within the target working time is determined as the first frequency deviation value; based on the mapping relationship between the preset range and the frequency deviation value, the frequency deviation value corresponding to the preset range where the difference between the number threshold and the determined number of times is located is determined as the second frequency deviation value; the average of the first frequency deviation value and the second frequency deviation value and the sum of the working frequency of the deodorizer are determined as the updated working frequency of the deodorizer.

[0159] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: during the operation of the deodorizer, based on the detected door opening signal of the device where the deodorizer is located, counting the door opening information within the target working time, the door opening information including at least one of the number of door openings and the door opening interval duration; based on the door opening information, determining whether to adjust the working frequency of the deodorizer; if the working frequency of the deodorizer needs to be adjusted, updating the working frequency of the deodorizer based on the door opening information within the target working time.

[0160] In one embodiment, the target working time includes a first working time, and the door opening information includes the number of door openings; when the computer program is executed by the processor, the following steps are also implemented: when the first working time is greater than or equal to a first time threshold, based on the comparison result between the number of door openings and the preset number of door openings, determine whether to adjust the working frequency of the deodorizer.

[0161] In one embodiment, the preset number of door opening times includes a preset high-frequency door opening time and a preset low-frequency door opening time; when the computer program is executed by the processor, the following steps are also implemented: when the number of door opening times is greater than the preset high-frequency door opening time, or the number of door opening times is less than the preset low-frequency door opening time, it is determined that the operating frequency of the deodorizer is adjusted; when the number of door opening times is less than or equal to the preset high-frequency door opening time, and greater than or equal to the preset low-frequency door opening time, it is determined that the operating frequency of the deodorizer is not adjusted.

[0162] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when the number of door openings is greater than the preset high-frequency door opening number, the operating frequency of the deodorizer is increased; when the number of door openings is less than the preset low-frequency door opening number, the operating frequency of the deodorizer is reduced.

[0163] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the difference between the number of door opening times and the preset high-frequency door opening times; based on the mapping relationship between the preset number difference and the frequency adjustment coefficient, determining the frequency adjustment coefficient that matches the determined number difference as the first frequency adjustment coefficient; based on the first frequency adjustment coefficient, increasing the operating frequency of the deodorizer to a first target frequency, the first target frequency being the product of the first frequency adjustment coefficient and the operating frequency of the deodorizer, and the sum of the operating frequency of the deodorizer.

[0164] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the difference between a preset low-frequency door opening number and the door opening number; based on the mapping relationship between the preset number difference and the frequency adjustment coefficient, determining the frequency adjustment coefficient that matches the determined number difference as the second frequency adjustment coefficient; based on the second frequency adjustment coefficient, reducing the operating frequency of the deodorizer to a second target frequency, the second target frequency being the product of the operating frequency of the deodorizer and the second frequency adjustment coefficient.

[0165] In one embodiment, the target working time also includes a second working time, the second working time includes multiple first working time, and the door opening information also includes a door opening interval time; when the computer program is executed by the processor, the following steps are also implemented: when the second working time is greater than or equal to the second time threshold, the working frequency of the deodorizer is adjusted based on the average of the door opening interval time.

[0166] In one embodiment, the target working time includes a third working time, and the door opening information includes a door opening interval time; when the computer program is executed by the processor, the following steps are also implemented: when the third working time is greater than a third time threshold, determining to adjust the working frequency of the deodorizer; and updating the working frequency of the deodorizer based on the average of the door opening interval time.

[0167] In one embodiment, the door opening information includes the number of door openings and the door opening interval duration; when the computer program is executed by the processor, the following steps are also implemented: based on the mapping relationship between the working time and the number of door openings, a target number of door openings matching the target working time is determined; for the door opening interval duration within the target working time, the number of door opening interval durations whose door opening interval duration is greater than or equal to an interval threshold is determined; if the number of door openings within the target working time is greater than the target number of door openings, and the determined number is greater than or equal to the number threshold, it is determined that the working frequency of the deodorizer is adjusted; if the number of door openings within the target working time is less than or equal to the target number of door openings, and / or the determined number is less than the number threshold, it is determined that the working frequency of the deodorizer is not adjusted.

[0168] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: based on the mapping relationship between the preset number of differences and the frequency deviation value, the frequency deviation value that matches the number difference between the target door opening number and the number of door openings within the target working time is determined as the first frequency deviation value; based on the mapping relationship between the preset range and the frequency deviation value, the frequency deviation value corresponding to the preset range where the difference between the number threshold and the determined number of times is located is determined as the second frequency deviation value; the average of the first frequency deviation value and the second frequency deviation value and the sum of the working frequency of the deodorizer are determined as the updated working frequency of the deodorizer.

[0169] In one embodiment, a computer program product is provided, including a computer program, which implements the following steps when executed by a processor: during the operation of the deodorizer, based on the detected door opening signal of the device where the deodorizer is located, counting the door opening information within a target working time, the door opening information including at least one of the number of door openings and the door opening interval duration; based on the door opening information, determining whether to adjust the working frequency of the deodorizer; if the working frequency of the deodorizer needs to be adjusted, updating the working frequency of the deodorizer based on the door opening information within the target working time.

[0170] In one embodiment, the target working time includes a first working time, and the door opening information includes the number of door openings; when the computer program is executed by the processor, the following steps are also implemented: when the first working time is greater than or equal to a first time threshold, based on the comparison result between the number of door openings and the preset number of door openings, determine whether to adjust the working frequency of the deodorizer.

[0171] In one embodiment, the preset number of door opening times includes a preset high-frequency door opening time and a preset low-frequency door opening time; when the computer program is executed by the processor, the following steps are also implemented: when the number of door opening times is greater than the preset high-frequency door opening time, or the number of door opening times is less than the preset low-frequency door opening time, it is determined that the operating frequency of the deodorizer is adjusted; when the number of door opening times is less than or equal to the preset high-frequency door opening time, and greater than or equal to the preset low-frequency door opening time, it is determined that the operating frequency of the deodorizer is not adjusted.

[0172] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when the number of door openings is greater than the preset high-frequency door opening number, the operating frequency of the deodorizer is increased; when the number of door openings is less than the preset low-frequency door opening number, the operating frequency of the deodorizer is reduced.

[0173] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the difference between the number of door opening times and the preset high-frequency door opening times; based on the mapping relationship between the preset number difference and the frequency adjustment coefficient, determining the frequency adjustment coefficient that matches the determined number difference as the first frequency adjustment coefficient; based on the first frequency adjustment coefficient, increasing the operating frequency of the deodorizer to a first target frequency, the first target frequency being the product of the first frequency adjustment coefficient and the operating frequency of the deodorizer, and the sum of the operating frequency of the deodorizer.

[0174] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the difference between a preset low-frequency door opening number and the door opening number; based on the mapping relationship between the preset number difference and the frequency adjustment coefficient, determining the frequency adjustment coefficient that matches the determined number difference as the second frequency adjustment coefficient; based on the second frequency adjustment coefficient, reducing the operating frequency of the deodorizer to a second target frequency, the second target frequency being the product of the operating frequency of the deodorizer and the second frequency adjustment coefficient.

[0175] In one embodiment, the target working time also includes a second working time, the second working time includes multiple first working time, and the door opening information also includes a door opening interval time; when the computer program is executed by the processor, the following steps are also implemented: when the second working time is greater than or equal to the second time threshold, the working frequency of the deodorizer is adjusted based on the average of the door opening interval time.

[0176] In one embodiment, the target working time includes a third working time, and the door opening information includes a door opening interval time; when the computer program is executed by the processor, the following steps are also implemented: when the third working time is greater than a third time threshold, determining to adjust the working frequency of the deodorizer; and updating the working frequency of the deodorizer based on the average of the door opening interval time.

[0177] In one embodiment, the door opening information includes the number of door openings and the door opening interval duration; when the computer program is executed by the processor, the following steps are also implemented: based on the mapping relationship between the working time and the number of door openings, a target number of door openings matching the target working time is determined; for the door opening interval duration within the target working time, the number of door opening interval durations whose door opening interval duration is greater than or equal to an interval threshold is determined; if the number of door openings within the target working time is greater than the target number of door openings, and the determined number is greater than or equal to the number threshold, it is determined that the working frequency of the deodorizer is adjusted; if the number of door openings within the target working time is less than or equal to the target number of door openings, and / or the determined number is less than the number threshold, it is determined that the working frequency of the deodorizer is not adjusted.

[0178] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: based on the mapping relationship between the preset number of differences and the frequency deviation value, the frequency deviation value that matches the number difference between the target door opening number and the number of door openings within the target working time is determined as the first frequency deviation value; based on the mapping relationship between the preset range and the frequency deviation value, the frequency deviation value corresponding to the preset range where the difference between the number threshold and the determined number of times is located is determined as the second frequency deviation value; the average of the first frequency deviation value and the second frequency deviation value and the sum of the working frequency of the deodorizer are determined as the updated working frequency of the deodorizer.

[0179] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0180] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0181] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A deodorizer control method, characterized in that: The method comprises: During the operation of the deodorizer, based on the received door opening signal of the device where the deodorizer is located, counting the door opening information within the target working time, wherein the door opening information includes at least one of the number of door openings and the door opening interval duration; Based on the door opening information, determining whether to adjust the operating frequency of the deodorizer; If the operating frequency of the deodorizer needs to be adjusted, the operating frequency of the deodorizer is updated based on the door opening information within the target operating time.

2. The method according to claim 1, characterized in that The target working time includes the first working time, and the door opening information includes the number of door openings; The determining whether to adjust the operating frequency of the deodorizer based on the door opening information includes: When the first operating duration is greater than or equal to a first duration threshold, it is determined whether to adjust the operating frequency of the deodorizer based on a comparison result between the door opening times and a preset door opening times.

3. The method according to claim 2, characterized in that The preset door opening times include a preset high-frequency door opening times and a preset low-frequency door opening times; and determining whether to adjust the working frequency of the deodorizer based on a comparison result between the door opening times and the preset door opening times includes: When the number of door openings is greater than the preset high-frequency number of door openings, or the number of door openings is less than the preset low-frequency number of door openings, determining to adjust the operating frequency of the deodorizer; When the door opening number is less than or equal to the preset high-frequency door opening number, and greater than or equal to the preset low-frequency door opening number, it is determined that the operating frequency of the deodorizer is not adjusted.

4. The method according to claim 3, characterized in that The updating of the working frequency of the deodorizer based on the door opening information within the target working time includes: When the door opening frequency is greater than the preset high frequency door opening frequency, increasing the operating frequency of the deodorizer; When the door opening frequency is less than the preset low-frequency door opening frequency, the operating frequency of the deodorizer is reduced.

5. The method according to claim 3, characterized in that: The method further comprises: Determine the difference between the number of door openings and the preset high frequency number of door openings; Based on a mapping relationship between a preset number of times difference and a frequency adjustment coefficient, determining a frequency adjustment coefficient matching the determined number of times difference as a first frequency adjustment coefficient; Based on the first frequency adjustment coefficient, the operating frequency of the deodorizer is increased to a first target frequency, where the first target frequency is the sum of the product of the first frequency adjustment coefficient and the operating frequency of the deodorizer and the operating frequency of the deodorizer.

6. The method according to claim 3, characterized in that The method further comprises: Determine the difference between the preset low-frequency door opening times and the door opening times; Based on a mapping relationship between a preset number of times difference and a frequency adjustment coefficient, determining a frequency adjustment coefficient matching the determined number of times difference as a second frequency adjustment coefficient; Based on the second frequency adjustment coefficient, the operating frequency of the deodorizer is reduced to a second target frequency, where the second target frequency is the product of the operating frequency of the deodorizer and the second frequency adjustment coefficient.

7. The method according to any one of claims 2 to 6, characterized in that: The target working time also includes a second working time, the second working time includes a plurality of first working times, and the door opening information also includes a door opening interval time; the method further includes: When the second operating duration is greater than or equal to a second duration threshold, the operating frequency of the deodorizer is adjusted based on the average of the door opening interval durations.

8. The method according to claim 1, characterized in that The target working time includes a third working time, and the door opening information includes a door opening interval time; The determining whether to adjust the operating frequency of the deodorizer based on the door opening information includes: when the third operating time is greater than a third time threshold, determining to adjust the operating frequency of the deodorizer; The updating of the operating frequency of the deodorizer based on the door opening information within the target operating duration includes: updating the operating frequency of the deodorizer based on the average of the door opening interval durations.

9. The method according to claim 1, characterized in that: The door opening information includes the number of door openings and the door opening interval duration; and determining whether to adjust the operating frequency of the deodorizer based on the door opening information includes: Based on the mapping relationship between the working time and the number of door openings, determining a target number of door openings matching the target working time; For the door opening interval duration within the target working duration, determine the number of door opening interval durations that are greater than or equal to the interval threshold; If the number of door openings within the target working time is greater than the target door opening number, and the determined number is greater than or equal to the number threshold, determining to adjust the working frequency of the deodorizer; If the number of door openings within the target working time is less than or equal to the target door opening number, and / or the determined number is less than the number threshold, it is determined that the working frequency of the deodorizer will not be adjusted.

10. The method according to claim 9, characterized in that The updating of the operating frequency of the deodorizer based on the door opening information within the target operating time includes: Based on the mapping relationship between the preset number difference and the frequency deviation value, the frequency deviation value matching the number difference between the target door opening number and the number of door openings within the target working time is determined as the first frequency deviation value; Based on the mapping relationship between the preset range and the frequency deviation value, the frequency deviation value corresponding to the preset range where the difference between the number threshold and the determined number of times lies is determined as the second frequency deviation value; The sum of the average of the first frequency deviation value and the second frequency deviation value and the operating frequency of the deodorizer is determined as the updated operating frequency of the deodorizer.

11. A deodorizer control device, characterized in that: The device comprises: An information acquisition module, used for collecting door opening information within a target working time based on a detected door opening signal of a device where the deodorizer is located during the working process of the deodorizer, wherein the door opening information includes at least one of the number of door openings and the door opening interval duration; a determination module, configured to determine whether to adjust the operating frequency of the deodorizer based on the door opening information; A processing module is used to update the operating frequency of the deodorizer based on the door opening information within the target working time if the operating frequency of the deodorizer needs to be adjusted.

12. A deodorizer, characterized in that: The deodorizer includes a controller; The controller is used to execute the steps of any one of the methods of claims 1 to 10 based on a door opening signal received from the device where the deodorizer is located during operation of the deodorizer.

13. The deodorizer according to claim 12, characterized in that: The deodorizer also includes a photosensitive device; the controller is also used to receive a door opening signal of the device where the deodorizer is located from the photosensitive device.

14. The deodorizer according to claim 12, characterized in that: The deodorizer also includes an infrared sensor; the controller is also used to receive a door opening signal of the device where the deodorizer is located from the infrared sensor.

15. The deodorizer according to claim 12, characterized in that: The controller is also used to receive a door opening signal of the device where the deodorizer is located from a displacement sensor, and the displacement sensor is arranged in the door body of the device where the deodorizer is located.

16. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 10 are implemented.

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

18. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.