Control method and device of air purifier, electronic equipment and medium

The air purifier control method, which combines radar modules and environmental sensors, solves the problems of existing air purifiers being unable to accurately sense the user's location and relying on manual intervention. It enables real-time adjustment of purification mode and power based on people and the environment, reducing noise and improving purification efficiency.

CN121363793AActive Publication Date: 2026-01-20BEIJING SMARTMI TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202511751962.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-26
Publication Date
2026-01-20
Estimated Expiration
2045-11-26

AI Technical Summary

Technical Problem

Existing air purifiers cannot accurately sense the user's location, resulting in high noise levels when purifying at close range. They rely on manual intervention and cannot adjust power in real time. They are also insensitive to stationary users and are costly.

Method used

The system uses radar modules to detect the distance to people and combines this with environmental sensors to adjust the purification mode and power in real time, achieving dynamic adjustment through a hysteresis control mechanism.

Benefits of technology

It enables real-time adjustments based on personnel and environmental data, reducing noise and improving purification efficiency, and is suitable for various scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121363793A_ABST
    Figure CN121363793A_ABST
Patent Text Reader

Abstract

The invention provides a control method and device of an air purifier, electronic equipment and a medium. The phenomenon that an existing air purifier cannot achieve precise purification, power adjustment and noise treatment is effectively solved. The method comprises the steps that a radar module detects distance data, so that a control module selects a target person from multiple persons based on the distance data; determining a first target purification mode of the air purifier based on the target distance data and environment data detected in real time; the air purifier is controlled to conduct purification according to first target power corresponding to the first target purification mode, and real-time target distance data and real-time environment data of the target person in the purification process are detected in real time based on the radar module; and based on real-time target distance data and the real-time environment data, a first target purification mode is adjusted to a second target purification mode, and an air purifier is controlled to conduct purification according to second target power corresponding to the second target purification mode.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of device control, in particular to a control method and device of an air purifier, an electronic device and a medium. BACKGROUND

[0002] The indoor air quality is dynamically changing, which is affected by various factors such as personnel activities, outdoor pollution levels, time, etc. For example, when someone smokes or cooks indoors, the concentration of particulate matter and harmful gases will rapidly rise, at which time the power of the air purifier needs to be increased to speed up air circulation and filtration speed to efficiently reduce pollutant concentration. While at night or when there is no one indoors, the air quality is relatively stable, and the power can be reduced to operate, reducing energy consumption and noise while ensuring air quality.

[0003] The existing air purifier has various power adjustment technologies. One technology is to use multiple sensors such as PM2.5, VOC, CO2, etc. to monitor environmental quality, and adjust the fan power of the air purifier according to the environmental quality, but this technology cannot sense the user's location, resulting in high noise when purifying at close range. Another technology is to switch the purification mode by manual operation (such as remote control, APP) or voice command to adjust the power, but this technology relies on manual intervention and cannot respond to user location changes in real time and automatically. Users need to actively operate in night scenarios, resulting in inconsistent experience. There are also technologies that use infrared pyroelectric sensors (PIR) to detect human activity and some research attempts to use ultrasonic waves and ToF cameras to achieve distance sensing, thereby controlling the start and stop or purification mode of the air purifier. However, these two technologies also have various defects, such as the technology using infrared pyroelectric sensors cannot adjust the power of the air purifier according to the distance, and is not sensitive to stationary users (such as sitting at work). The technology using ultrasonic waves to achieve distance sensing has high cost. SUMMARY

[0004] Therefore, the purpose of the present application is to provide a control method and device of an air purifier, an electronic device and a medium, which effectively solves the problem that the existing air purifier cannot achieve accurate purification, power adjustment and noise processing.

[0005] In a first aspect, the embodiments of the present application provide a control method of an air purifier, applicable to a control system, the control system comprising a radar module, an environment detection module and a control module, and the method comprising: detecting, by the radar module, distance data corresponding to a plurality of persons in a purification range of the air purifier, so as to select a target person from the plurality of persons based on the distance data by the control module; determine a first target purification mode of the air purifier based on the target distance data of the target person and the environmental data detected by the environmental detection module in real time; control the air purifier to purify according to a first target power corresponding to the first target purification mode, and detect real-time target distance data of the target person and real-time environmental data during the purification process based on the radar module and the environmental detection module in real time, respectively; adjust the first target purification mode to a second target purification mode based on the real-time target distance data and the real-time environmental data, and control the air purifier to purify according to a second target power corresponding to the second target purification mode.

[0006] In combination with the first aspect, the embodiments of the present application provide a first possible implementation manner of the first aspect, and the first target purification mode is determined based on the distance data and the environmental data detected by the environmental detection module in real time, and the determination includes: preset purification modes corresponding to the distance data and the environmental data respectively, and set execution priorities of the respective purification modes; the execution priorities are dynamically adjustable; select the first target purification mode from the purification modes corresponding to the distance data and the environmental data respectively based on the execution priorities.

[0007] In combination with the first aspect, the embodiments of the present application provide a second possible implementation manner of the first aspect, and the first target purification mode is selected from the purification modes corresponding to the distance data and the environmental data respectively based on the execution priorities, and the selection includes: preset an environmental processing condition for an environment in which the air purifier is located, and determine whether the environmental data meets the environmental processing condition; if yes, the execution priority of the purification mode corresponding to the environmental data is higher than the execution priority of the purification mode corresponding to the distance data.

[0008] In combination with the first aspect, the embodiments of the present application provide a third possible implementation manner of the first aspect, and the first target purification mode is adjusted to the second target purification mode based on the real-time target distance data and the real-time environmental data, and the adjustment includes: extract parameter data of the real-time target distance data in a time dimension and a space dimension, and determine whether a corresponding threshold condition is met; if yes, trigger a hysteresis control mechanism, and adjust the first target purification mode to the second target purification mode based on the hysteresis control mechanism.

[0009] With reference to the first aspect, in a fourth possible implementation of the first aspect, the determining whether the threshold condition is met comprises: respectively determining whether the parameter data in the time dimension and the space dimension meets the corresponding threshold condition to obtain a dimension result corresponding to each dimension; fusing the dimension result corresponding to each dimension according to a preset fusion manner to obtain the judgment result.

[0010] With reference to the first aspect, in a fifth possible implementation of the first aspect, the control module selects the target person from the multiple persons based on the distance data, and the method comprises: The control module records the distance data corresponding to the multiple persons and counts the holding time of the distance data corresponding to the multiple persons; The multiple persons are screened based on the holding time and the distance data to obtain the target person.

[0011] With reference to the first aspect, in a sixth possible implementation of the first aspect, the control module controls the air purifier to purify according to the first target power corresponding to the first target purification mode, and the method comprises: The control module generates a fan control instruction based on the first target purification mode, and sends the fan control instruction to a fan assembly of the air purifier; The fan assembly purifies according to the first target purification mode in response to the fan control instruction.

[0012] In a second aspect, an embodiment of the present application provides a control device of an air purifier, which is suitable for a control system, and the control system comprises a radar module, an environment detection module and a control module, and the device comprises: The detection module is configured to detect distance data corresponding to multiple persons in a purification range of the air purifier by the radar module, so that the control module selects a target person from the multiple persons based on the distance data; The determination module is configured to determine a first target purification mode of the air purifier based on target distance data of the target person and the air purifier and environment data detected by the environment detection module in real time; The purification module is configured to control the air purifier to purify according to a first target power corresponding to the first target purification mode, and to detect real-time target distance data of the target person and real-time environment data in a purification process by the radar module and the environment detection module in real time, respectively; An adjusting module is configured to adjust the first target purification mode to a second target purification mode based on the real-time target distance data and the real-time environment data, and control the air purifier to purify at a second target power corresponding to the second target purification mode.

[0013] In a third aspect, an electronic device is provided, which includes a processor, a memory, and a bus. The memory stores machine readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory through the bus. The machine readable instructions are executed by the processor to perform the steps of any of the methods for controlling an air purifier.

[0014] In a fourth aspect, a computer readable storage medium is provided, which stores a computer program. When the computer program is run by a processor, the steps of any of the methods for controlling an air purifier are performed.

[0015] The method for controlling an air purifier provided by the embodiments of the present application is suitable for a control system, which includes a radar module, an environment detection module, and a control module. The method first detects distance data corresponding to a plurality of persons in a purification range of the air purifier by the radar module, so that the control module selects a target person from the plurality of persons based on the distance data. Then, a first target purification mode of the air purifier is determined based on target distance data of the target person and the air purifier and environment data detected by the environment detection module in real time. The air purifier is controlled to purify at a first target power corresponding to the first target purification mode. Real-time target distance data of the target person and real-time environment data in the purification process are detected by the radar module and the environment detection module, respectively. Finally, the first target purification mode is adjusted to a second target purification mode based on the real-time target distance data and the real-time environment data, and the air purifier is controlled to purify at a second target power corresponding to the second target purification mode. Based on the above method, not only is the effect of precise purification achieved on the basis of processing noise generated by the air purifier, but also the purification mode and power of the air purifier are adjusted according to the distance between the person and the air purifier and the environment data. Thus, the phenomenon of precise purification, power adjustment, and noise processing existing in the existing air purifier is solved, and the purification efficiency of the air purifier is improved. BRIEF DESCRIPTION OF DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some of the embodiments of the present application, and therefore should not be regarded as limiting the scope, and for those skilled in the art, other related drawings can also be obtained without creative labor.

[0017] Figure 1 A flow chart of a control method of an air purifier is shown; Figure 2 A structural block diagram of a control system is shown; Figure 3 A flow chart of determining a first target purification mode of the air purifier is shown; Figure 4 A structural block diagram of a control device of an air purifier is shown; Figure 5 A structural block diagram of an electronic device is shown. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solutions and advantages of the embodiments of the present application more clear, the following will combine the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. It should be understood that the drawings in the present application only play the purpose of illustration and description, and are not used to limit the protection scope of the present application. In addition, it should be understood that the schematic drawings are not drawn according to the actual proportion. The flow chart shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow chart can not be implemented in sequence, and the steps without logical context relationship can be reversed in sequence or implemented simultaneously. In addition, one or more other operations can be added to the flow chart or removed from the flow chart by those skilled in the art under the guidance of the content of the present application.

[0019] In addition, the described embodiments are only some of the embodiments of the present application, not all the embodiments. The components of the embodiments of the present application described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.

[0020] It should be noted that the term "comprising" will be used in the embodiments of the present application to specify the presence of the features subsequently stated, but not to exclude the addition of further features.

[0021] The existing air purifiers have various power adjustment technologies, but cannot perceive the user's position, resulting in high noise during close-range purification; rely on manual intervention and cannot automatically respond to changes in the user's position in real time, requiring the user to actively operate at night, resulting in a discontinuous experience; can only determine the presence / absence of a person, cannot adjust the power according to the distance, are not sensitive to stationary users (such as sitting at a desk), and have high costs.

[0022] Based on this, the embodiments of the present application provide an air purifier control method and device, electronic equipment and medium, which are described below through embodiments.

[0023] Embodiment 1 To facilitate the understanding of the present embodiment, first, a kind of air purifier control method disclosed in the embodiments of the present application is introduced in detail. As shown in a kind of flow chart of the control method of the air purifier, the control method of the air purifier provided by the present application is suitable for a control system, the control system includes radar module, environmental detection module and control module, the method comprises: Figure 1 S101, detecting the distance data corresponding to a plurality of persons in the purification range of the air purifier by the radar module, so that the control module selects a target person from the plurality of persons based on the distance data; S102, determining a first target purification mode of the air purifier based on the target distance data of the target person and the air purifier and the environmental data detected by the environmental detection module in real time; S103, controlling the air purifier to purify according to the first target power corresponding to the first target purification mode, and detecting the real-time target distance data of the target person and the real-time environmental data in the purification process based on the radar module and the environmental detection module respectively; S104, adjusting the first target purification mode to the second target purification mode based on the real-time target distance data and the real-time environmental data, and controlling the air purifier to purify according to the second target power corresponding to the second target purification mode.

[0024] ​In the present application, the radar module in the control system uses millimeter wave radar (24 / 60GHz) instead of traditional sensors, which has the advantages of high-precision ranging (±20cm), penetration of non-metallic barriers (such as curtains), and no privacy leakage risk (non-optical perception). Its effective detection range is set to 0.5m to 8m. The control module includes a main control board connected to a radar module, a WiFi module, a key display module, a power board, a fan assembly, and an environmental detection module, as shown in Figure 2 The power board is used to power the radar module, WiFi module, key display module, and fan assembly. The WiFi module provides network services for the control module. The fan assembly is the fan assembly of the air purifier, which is controlled by the control module.

[0025] In step S101, the present application detects the distance data of multiple persons in the purification range of the air purifier by the radar module. The radar module is installed on the air purifier, and the effective distance D_effe is set to the maximum distance. When the number of persons in the purification range of the air purifier is not unique, the person is directly selected as the target person, and the distance data of the target person is transmitted to the control module. When the number is not unique, the distance data of multiple persons detected by the radar module is transmitted to the control module. A communication link is established between the radar module and the control module. The control module selects a target person from multiple persons based on the distance data after receiving the distance data of multiple persons. The closest distance to the air purifier is selected as the target person. The air purifier is pre-configured for noise reduction, including hardware configuration such as special fan blade design and optimized air duct design, and noise reduction structure. The special fan blade design can be a fan blade with a sawtooth edge designed to mimic the wing of a hawk, which can reduce noise.

[0026] In the specific implementation process of step S101, there is an embodiment that the control module selects a target person from multiple persons based on the distance data, including: S1011, the control module records the distance data of multiple persons and counts the holding time of the distance data of multiple persons; S1012, based on the holding time and the distance data, the target person is selected from multiple persons.

[0027] In steps S1011-S1012, the control module records the distance data corresponding to the plurality of persons after receiving the distance data corresponding to the plurality of persons detected by the radar module, and counts the holding time of the distance data corresponding to the plurality of persons. The plurality of persons are screened based on the holding time and the distance data, that is, in the case of screening based on the distance as the screening standard, the application also sets the holding time as the screening standard. The two screening standards are used to screen the target person, which ensures the accuracy of the screening and avoids the phenomenon that the air purifier frequently switches the purification mode due to the frequent movement of the person with a short holding time, which affects the purification effect of the air purifier. The purification resources are concentrated to serve the person with long-term needs, rather than being disturbed by the person who appears for a short time. The high-power purification triggered by the person who passes by for a short time is avoided, which causes energy consumption and noise waste.

[0028] In step S102, the control module can determine the corresponding purification mode according to the target distance data D of the target person and the air purifier after selecting the target person. The purification mode set by the application for the distance includes the silent mode, the two-speed mode, the three-speed mode, and the favorite mode. The distance range corresponding to the silent mode is D<1m, the distance range corresponding to the two-speed mode is 1m<D<3m, the distance range corresponding to the three-speed mode is 3m<D<5m, and the distance range corresponding to the favorite mode is 5m<D<8m. While the radar module detects the target distance data D, the application also sets an environment detection module to detect the environment data in real time. The environment detection module can be a PM2.5 sensor or a CO2 data. The application takes the PM2.5 sensor as an example. The detected environment data is the concentration data of PM2.5. The corresponding purification mode is set for the environment data, such as the strong mode. Different distance data and environment data correspond to different purification modes, that is, a mapping relationship is established between the distance data, the environment data, and the purification mode in advance. The corresponding purification mode can be determined by querying the mapping relationship. Different purification modes correspond to different powers. The application sets the power of the purification mode corresponding to the distance data to be lower than the power of the purification mode corresponding to the environment data. When the concentration of PM2.5 is low, a low-power purification mode is selected. When the concentration of PM2.5 is high, a high-power purification mode is switched to, so as to provide sufficient power source for the air purifier, that is, to ensure the purification effect and take into account energy saving and noise reduction. The first target purification mode of the air purifier of the application is determined based on the distance data and the environment data, which takes into account the purification efficiency and the purification effect.

[0029] In the specific implementation process of step S102, there is an embodiment as follows: Figure 3As shown, the first target purification mode of the air purifier is determined based on the distance data and the environment data detected by the environment detection module in real time, including: S1021, set the purification mode corresponding to the distance data and the environment data in advance, and set the execution priority of each purification mode; the execution priority is dynamically adjustable; S1022, based on the execution priority, filter out the first target purification mode from the purification mode corresponding to the distance data and the environment data.

[0030] In steps S1021-S1022, the distance data and the environment data are converted into quantifiable hierarchical indicators to avoid fuzzy judgment. Therefore, the purification mode corresponding to the distance data and the environment data is set in advance to realize the scientificity of the purification mode setting, and the execution priority of each purification mode is set. The execution priority is dynamically adjustable according to the importance and urgency of the influence of the target person on the environment where the air purifier is located. If the importance and urgency of the influence of the target person on the environment where the air purifier is located are high, the execution priority of the purification mode corresponding to the environment data is higher than that of the purification mode corresponding to the distance data. If the importance and urgency of the influence of the target person on the environment where the air purifier is located remain stable, the execution priority of the purification mode corresponding to the distance data is higher than that of the purification mode corresponding to the environment data. In the actual purification process, based on the execution priority and the actual use, it is checked whether the current real-time distance data and environment data meet the trigger condition of the priority one by one, and the first target purification mode is filtered out from the purification mode corresponding to the distance data and the environment data. Subsequent low-priority modes are no longer involved in the screening to perform purification.

[0031] In the specific implementation process of step S1022, there is an embodiment that the first target purification mode is filtered out from the purification mode corresponding to the distance data and the environment data based on the execution priority, including: S10221, set the environment processing condition for the environment where the air purifier is located, and judge whether the environment data meets the environment processing condition; S10222, if it is met, the execution priority of the purification mode corresponding to the environment data is higher than that of the purification mode corresponding to the distance data.

[0032] In steps S10221-S10222, the application sets an environmental treatment condition in advance for the environment where the air purifier is located. The data of the environmental treatment condition is also set according to the air quality standard, that is, the environmental treatment condition is set according to the air quality standard and the specific environment, so as to ensure the accuracy and effectiveness of the environmental treatment condition of the execution priority switching, and to judge the real-time acquired environmental data and the environmental treatment condition. The application sets the environmental treatment condition as the concentration data of PM2.5>56μg / m³. When the environmental data meets this environmental treatment condition, the execution priority of the purification mode corresponding to the environmental data is higher than that of the purification mode corresponding to the distance data, then the purification mode corresponding to the environmental data is preferentially executed, otherwise the purification mode corresponding to the distance data is preferentially executed, so as to ensure the purification effect on the target person.

[0033] In step S103, the control module controls the air purifier to purify according to the first target power corresponding to the first target purification mode after obtaining the first target purification mode. That is, a mapping relationship between the purification mode and the power is also established in advance. Generally, the purification ability of the air purifier is usually related to the wind speed of the fan assembly, and different wind speed gears correspond to different powers. The first target power can be obtained by querying the mapping relationship based on the first target purification mode, and the corresponding control instruction is generated based on the first target power according to the instruction generation mode set by the control module in advance, and the fan assembly of the air purifier executes the control instruction. The real-time target distance data and real-time environmental data of the target person in the purification process are detected based on the radar module and the environmental detection module, so as to realize the monitoring in the purification process and ensure the purification effect.

[0034] In the specific implementation process of step S103, there is an embodiment that the control of the air purifier to purify according to the first target power corresponding to the first target purification mode comprises: S1031, based on the first target purification mode, the control module generates a fan control instruction and delivers the fan control instruction to the fan assembly of the air purifier; S1032, in response to the fan control instruction, the fan assembly purifies according to the first target purification mode.

[0035] In steps S1031-S1032, the control module first parses the specific parameters of the first target purification mode, such as the CADR value (clean air output rate), wind speed level, running time, pollutant detection threshold, etc. The control module uses a PID control algorithm or a fuzzy logic algorithm to calculate the specific parameters required by the fan assembly. The control module generates fan control instructions, which are sent to the fan assembly through a standardized communication protocol (such as UART, I2C, or CAN bus). The fan control instructions usually include the following fields: wind speed level, running time, direction control, and abnormal state feedback mechanism. In response to the fan control instructions, the fan assembly parses the fan control instructions through a motor drive chip and adjusts the motor operating state to purify according to the first target purification mode, resulting in a purification effect corresponding to the first target purification mode.

[0036] In step S104, the first target purification mode is adjusted to the second target purification mode based on the real-time target distance data and the real-time environment data, i.e., the real-time generated purification effect is adjusted in real time. During the adjustment process, the adjustment is based on a hysteresis control mechanism, and the air purifier is controlled to purify according to the second target power corresponding to the second target purification mode. This step is repeated until the purification is completed or the environment data does not meet the environmental treatment conditions or the real-time target distance data no longer changes. The present application solves the pain point of traditional purifiers that cannot balance noise and purification efficiency by high-precision ranging and dynamic power adjustment, automatically reduces power to reduce noise when the user is close, and increases power to enhance purification capacity when the user is far away. At the same time, through hysteresis control and multi-sensor fusion, the system stability is ensured, and it is suitable for various scenes such as home and office.

[0037] In the specific implementation process of step S104, there is an embodiment that the first target purification mode is adjusted to the second target purification mode based on the real-time target distance data and the real-time environment data, including: S1041, extracting the parameter data of the real-time target distance data in the time dimension and the space dimension, and determining whether the corresponding threshold condition is met; S1042, if yes, triggering a hysteresis control mechanism, and adjusting the first target purification mode to the second target purification mode based on the hysteresis control mechanism.

[0038] In steps S1041-S1042, the application detects real-time target distance data of the target personnel based on the radar module in real time. If it is detected that the real-time target distance data of the target personnel changes or the target personnel changes, parameter data of the real-time target distance data in the time dimension and the space dimension is extracted. The parameter data in the time dimension is the parameter data of the length of time when the real-time target distance changes, and the parameter data in the space dimension is the parameter data of the size of the real-time target distance when the real-time target distance changes. The application sets corresponding threshold conditions for the time dimension and the space dimension in advance, and respectively judges whether the parameter data in the time dimension and the parameter data in the space dimension satisfy the corresponding threshold conditions. If yes, the hysteresis control mechanism is triggered, and the first target purification mode is adjusted to the second target purification mode based on the hysteresis control mechanism. The power of the corresponding fan assembly is also adjusted accordingly. Otherwise, the purification mode cannot be switched based on the hysteresis control mechanism.

[0039] In the specific implementation process of step S1042, there is an embodiment that the judgment of whether the corresponding threshold condition is satisfied includes: S10421, respectively judging whether the parameter data in the time dimension and the space dimension satisfies the corresponding threshold condition to obtain a dimension result corresponding to each dimension; S10422, fusing the dimension result corresponding to each dimension according to a pre-set fusion mode to obtain a judgment result.

[0040] In steps S10421-S10422, after obtaining the parameter data in the time dimension and the space dimension, the control module respectively judges whether the parameter data in the time dimension and the space dimension satisfies the corresponding threshold condition to obtain a dimension result corresponding to each dimension. The threshold condition in the time dimension is whether the length of time when the change occurs is greater than or equal to a pre-set time threshold, such as 10s. The threshold condition in the space dimension is whether the size of the change between the real-time target distance data min and the effective distance value D-effe exceeds a pre-set buffer threshold, such as ±0.3m. The dimension result corresponding to each dimension includes satisfaction and non-satisfaction. If any one of the time dimension and the space dimension does not satisfy the corresponding threshold condition, a judgment result of no is obtained according to a pre-set fusion mode, and the hysteresis control mechanism cannot be triggered. If any one of the time dimension and the space dimension does not satisfy the corresponding threshold condition, a judgment result of yes is obtained according to a pre-set fusion mode, and the hysteresis control mechanism can be triggered, so that the purification mode of the air purifier is switched to the second target purification mode.

[0041] Embodiment 2 The application also provides a control device of an air purifier, such as Figure 4A block diagram of a control device of an air purifier is shown, and the functions implemented by the control device correspond to the steps of the above-mentioned method of controlling an air purifier performed on a terminal device. The device can be understood as a component of a server including a processor. The control device of an air purifier described in the present application is suitable for a control system, which includes a radar module, an environment detection module, and a control module. The device includes: A detection module 401 is configured to detect distance data of a plurality of persons in a purification range of an air purifier by a radar module, so that the control module selects a target person from the plurality of persons based on the distance data. A determination module 402 is configured to determine a first target purification mode of the air purifier based on target distance data of the target person and the air purifier and environment data detected in real time by the environment detection module. A purification module 403 is configured to control the air purifier to purify according to a first target power corresponding to the first target purification mode, and to detect real-time target distance data of the target person and real-time environment data during the purification process based on the radar module and the environment detection module, respectively. An adjustment module 404 is configured to adjust the first target purification mode to a second target purification mode based on the real-time target distance data and the real-time environment data, and to control the air purifier to purify according to a second target power corresponding to the second target purification mode.

[0042] In a possible implementation, the determination module includes: A setting module is configured to pre-set purification modes corresponding to the distance data and the environment data, respectively, and to set execution priorities of the respective purification modes; the execution priorities are dynamically adjustable. A first screening module is configured to screen a first target purification mode from the purification modes corresponding to the distance data and the environment data, respectively, based on the execution priorities.

[0043] In a possible implementation, the determination module further includes: A first judgment module is configured to pre-set an environment processing condition for an environment in which the air purifier is located, and to judge whether the environment data satisfies the environment processing condition. A satisfaction module is configured to, if the environment data satisfies the environment processing condition, set an execution priority of a purification mode corresponding to the environment data to be higher than an execution priority of a purification mode corresponding to the distance data.

[0044] In a possible implementation, the adjustment module includes: extracting a parameter data of the real-time target distance data in a time dimension and a space dimension, and judging whether a corresponding threshold condition is satisfied; triggering a hysteresis control mechanism if the corresponding threshold condition is satisfied, and adjusting the first target purification mode to a second target purification mode based on the hysteresis control mechanism.

[0045] In an implementation, the adjusting module further comprises: a second judging module configured to judge whether the parameter data in the time dimension and the space dimension satisfies a corresponding threshold condition to obtain a dimension result corresponding to each dimension, respectively; a fusion module configured to fuse the dimension result corresponding to each dimension to obtain a judgment result according to a pre-set fusion manner.

[0046] In an implementation, the detecting module comprises: a statistical module configured to record distance data corresponding to a plurality of persons by the control module, and to count a holding time of the distance data corresponding to the plurality of persons; a second screening module configured to screen the plurality of persons based on the holding time and the distance data to obtain the target person.

[0047] In an implementation, the purifying module comprises: an issuing module configured to generate a fan control instruction by the control module based on the first target purification mode, and to issue the fan control instruction to a fan assembly of the air purifier; a responding module configured to purify the fan assembly according to the first target purification mode in response to the fan control instruction.

[0048] Embodiment 3 The present application also provides an electronic device, such as Figure 5 as shown, comprising a processor 501, a memory 502 and a bus 503, the memory 502 stores machine readable instructions executable by the processor 501, when the electronic device is running, the processor 501 and the memory 502 communicate through the bus 503, the machine readable instructions are executed by the processor 501 to execute the steps of any one of the air purifier control methods.

[0049] Embodiment 4 The present application also provides a computer readable storage medium, the computer readable storage medium stores a computer program, the computer program is executed by the processor to execute the steps of any one of the air purifier control methods.

[0050] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the system and the device described above can refer to the corresponding process in the method embodiment, and will not be repeated in the present application. In the several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented by other means. The above-described device embodiments are only schematic, for example, the division of the modules is only a logical function division, and the actual implementation can have another division manner, for example, a plurality of modules or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the shown or discussed mutual elements can be indirect coupling or communication connection through some communication interface, device or module, which can be electrical, mechanical or other forms.

[0051] The modules described as separate components can or can not be physically separated, and the components shown as modules can or can not be physical units, i.e. can be located in one place or distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0052] In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit.

[0053] If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solutions of the present application essentially or the parts of the prior art or the parts of the technical solutions can be embodied in the form of software products, and the computer software products are stored in a storage medium, including a plurality of instructions for causing a computer device (which can be a personal computer, a platform server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The foregoing storage medium includes: U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk and various program code storage media.

[0054] The above is only a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical range disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A control method of an air cleaner, characterized by, The method is suitable for a control system comprising a radar module, an environment detection module and a control module, and comprises the following steps: detecting distance data of a plurality of persons in a purification range of an air purifier by the radar module, so that the control module selects a target person from the plurality of persons based on the distance data; determining a first target purification mode of the air purifier based on target distance data of the target person and the air purifier and environment data detected by the environment detection module in real time; controlling the air purifier to purify according to a first target power corresponding to the first target purification mode, and detecting real-time target distance data of the target person and real-time environment data in the purifying process by the radar module and the environment detection module in real time; adjusting the first target purification mode to a second target purification mode based on the real-time target distance data and the real-time environment data, and controlling the air purifier to purify according to a second target power corresponding to the second target purification mode.

2. The method of claim 1, wherein, The method comprises the following steps: previously setting purification modes corresponding to the distance data and the environment data respectively, and setting execution priorities of the respective purification modes; the execution priorities are dynamically adjustable; selecting the first target purification mode from the purification modes corresponding to the distance data and the environment data respectively based on the execution priorities.

3. The method of claim 2, wherein, The method comprises the following steps: previously setting environment processing conditions for an environment where the air purifier is located, and determining whether the environment data meets the environment processing conditions; if yes, the execution priority of the purification mode corresponding to the environment data is higher than that of the purification mode corresponding to the distance data.

4. The method of claim 1, wherein, The method comprises the following steps: extracting parameter data of the real-time target distance data in time and space dimensions, and determining whether corresponding threshold conditions are met; if yes, triggering a hysteresis control mechanism, and adjusting the first target purification mode to the second target purification mode based on the hysteresis control mechanism.

5. The method of claim 4, wherein, The method comprises the following steps: respectively determining whether the parameter data in the time and space dimensions meets corresponding threshold conditions to obtain a dimension result corresponding to each dimension; fusing the dimension result corresponding to each dimension according to a previously set fusion mode to obtain a determination result.

6. The method of claim 1, wherein, The method comprises the following steps: The control module records distance data of the plurality of persons, and counts a holding time of the distance data of the plurality of persons; based on the holding time and the distance data, the plurality of persons are screened to obtain the target person.

7. The method of claim 1, wherein, The control module controls the air purifier to purify according to a first target power corresponding to the first target purification mode, including: Based on the first target purification mode, the control module generates a fan control instruction and delivers the fan control instruction to the fan assembly of the air purifier; In response to the fan control instruction, the fan assembly purifies according to the first target purification mode.

8. A control device of an air cleaner, characterized by comprising: The device is suitable for a control system including a radar module, an environment detection module, and a control module, and includes: The detection module detects distance data of a plurality of persons in the purification range of the air purifier through the radar module, so that the control module selects a target person from the plurality of persons based on the distance data; The determination module determines a first target purification mode of the air purifier based on target distance data of the target person and the air purifier and environment data detected by the environment detection module in real time; The purification module controls the air purifier to purify according to a first target power corresponding to the first target purification mode, and detects real-time target distance data of the target person and real-time environment data during the purification process based on the radar module and the environment detection module, respectively; The adjustment module adjusts the first target purification mode to a second target purification mode based on the real-time target distance data and the real-time environment data, and controls the air purifier to purify according to a second target power corresponding to the second target purification mode.

9. An electronic device, comprising: It includes: A processor, a memory, and a bus, the memory stores machine readable instructions executable by the processor, when the electronic device is running, the processor and the memory communicate through the bus, the machine readable instructions are executed by the processor to execute the steps of the air purifier control method in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, which is executed by the processor to execute the steps of the air purifier control method in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Intelligent control method and control device for purification mode of air conditioner and air conditioner

    CN116839180A

  • Air purifier control method and system, electronic equipment and storage medium

    CN117663414A

  • Control method and apparatus for environmental purification device, and environmental purification device

    WO2022228589A1