Control method, device and equipment of aerosol generating device and storage medium

By using a distance detector and a discriminating method based on the distance range and fluctuation range in the aerosol generation device, the heating state of the heating assembly is controlled, and the heating risk caused by false detection and misoperation is solved, and the safety is improved.

CN120093040APending Publication Date: 2025-06-06SHENZHEN GEEKVAPE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510287925.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-10
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

The existing aerosol generation device has the risk of automatically starting heating or not stopping heating in time when it is falsely detected or operated, resulting in insufficient safety.

Method used

By providing a distance detector on the side wall of the aerosol generation device to obtain the target distance value inside the accommodating space, and to determine it based on the first distance range, the second distance range and the target fluctuation range, the heating state of the heating assembly is controlled.

Benefits of technology

It effectively reduces the risk of misdetection and misoperation, improves the safety of the aerosol generation device, and ensures the accuracy and safety of heating operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120093040A_ABST
    Figure CN120093040A_ABST
Patent Text Reader

Abstract

The invention is suitable for the field of appliance control, and provides a control method and device of an aerosol generation device, equipment and a storage medium, and the method comprises the steps: obtaining a target distance value obtained by carrying out the distance detection of the interior of an accommodation space through a distance detector; when it is determined that the target distance value is not in the first distance range, whether the target distance value is in a second distance range is determined; when it is determined that the target distance value is in the second distance range, monitoring whether a fluctuation value of the target distance value is in a target fluctuation range; and under the condition that the fluctuation value of the target distance value is within the target fluctuation range, controlling the heating assembly to heat. According to the scheme, the risk of false detection and misoperation can be reduced, and the safety is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of device control, and in particular, relates to a control method, device, equipment and storage medium for an aerosol generating device. Background Art

[0002] Current aerosol generating devices can heat an aerosol matrix to form an aerosol.

[0003] The aerosol generating device starts heating after detecting that the aerosol matrix is ​​inserted, and stops heating after detecting that the aerosol matrix is ​​pulled out. However, in some cases, such as when a foreign object falls into the cigarette cup or a child's finger is inserted into the cigarette cup, there is a risk of false detection and false operation, and safety needs to be improved. Summary of the invention

[0004] The embodiments of the present application provide a control method, device, equipment and storage medium for an aerosol generating device to solve the problem that the existing aerosol generating devices have the risk of misdetection and misoperation and need to improve safety.

[0005] A first aspect of an embodiment of the present application provides a control method for an aerosol generating device, wherein the aerosol generating device comprises a containing space for containing an aerosol substrate; a heating component for heating the aerosol substrate, and a side wall of the containing space is provided with a distance detector facing the inside of the containing space;

[0006] The method comprises:

[0007] Acquire a target distance value obtained by the distance detector performing distance detection on the interior of the accommodation space;

[0008] In the case where it is determined that the target distance value is not within the first distance range, determining whether the target distance value is within a second distance range, wherein a minimum distance value within the first distance range is greater than a maximum distance value within the second distance range;

[0009] In the case where it is determined that the target distance value is within the second distance range, monitoring whether the fluctuation value of the target distance value is within the target fluctuation range;

[0010] When the fluctuation value of the target distance value is within the target fluctuation range, the heating component is controlled to heat.

[0011] A second aspect of an embodiment of the present application provides an aerosol generating device, the aerosol generating device comprising a containing space for containing an aerosol substrate; a heating component for heating the aerosol substrate, a side wall of the containing space being provided with a distance detector facing the inside of the containing space; the device further comprising:

[0012] A distance detection module, used for acquiring a target distance value obtained by the distance detector performing distance detection on the inside of the accommodation space;

[0013] A first judgment module is used to judge whether the target distance value is within a second distance range when it is determined that the target distance value is not within the first distance range, wherein the minimum distance value within the first distance range is greater than the maximum distance value within the second distance range;

[0014] A second judgment module is used to monitor whether the fluctuation value of the target distance value is within a target fluctuation range when it is determined that the target distance value is within the second distance range;

[0015] The heating control module is used to control the heating component to heat when the fluctuation value of the target distance value is within the target fluctuation range.

[0016] A third aspect of an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the first aspect when executing the computer program.

[0017] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.

[0018] The fifth aspect of the present application provides a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying a computer-readable code. When the computer-readable code is executed in an electronic device, the processor in the electronic device executes the steps in the method described in the first aspect above.

[0019] In the above scheme in the embodiment of the present application, a distance detector is set on the side wall of the accommodating space in the aerosol generating device, and the distance detector is controlled to detect the distance inside the accommodating space to obtain a target distance value, and based on the first distance range, the second distance range and the target fluctuation range, the distance range and the distance fluctuation state of the target distance value are judged, so as to effectively determine whether an aerosol matrix in an effective insertion state is inserted in the accommodating space of the aerosol generating device, effectively reduce the risk of false detection and false operation, and improve safety. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Moreover, the same reference numerals are used throughout the drawings to represent the same components. In the drawings:

[0021] Figure 1 is a schematic cross-sectional structure diagram of an aerosol generating device in some embodiments of the present application;

[0022] Figure 2 is a flow chart of a method for controlling an aerosol generating device in some embodiments of the present application;

[0023] Figure 3 is a module diagram of an aerosol generating device in some embodiments of the present application;

[0024] Figure 4 It is a structural diagram of an electronic device provided in an embodiment of the present application.

[0025] Reference numerals:

[0026] 1-distance detector, 2-accommodating space, 3-aerosol matrix, 4-heating component, 5-light-isolating silica gel, 6-light-guiding column, 7-light-guiding mirror. DETAILED DESCRIPTION

[0027] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.

[0028] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.

[0029] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.

[0030] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0031] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0032] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.

[0033] Combination Figure 1 As shown, in some embodiments, a control method for an aerosol generating device is proposed, and the aerosol generating device to which the method is applicable has the following structural features.

[0034] The aerosol generating device comprises a containing space 2 for containing an aerosol matrix 3 ; a heating assembly 4 for heating the aerosol matrix 3 ; and a distance detector 1 facing the inside of the containing space 2 is arranged on a side wall of the containing space 2 .

[0035] The aerosol generating device may be a HNB (Heat Not Burning) device.

[0036] The heating-not-burning device heats the aerosol matrix 3 by electric heating or other heating methods to release substances such as flavor components in the aerosol matrix 3. Since the aerosol matrix 3 does not participate in combustion, it avoids the production of a large amount of harmful components due to high-temperature decomposition at 900°C, thereby meeting consumer needs while reducing harm to the body and reducing environmental smoke pollution.

[0037] Optionally, the accommodating space 2 is a cup-shaped structure having an opening and a bottom opposite to the opening, and the middle portion is formed as a cavity space that can accommodate the aerosol matrix 3. The aerosol matrix 3 can be pressed from the opening to the bottom and loaded into the cavity space to achieve assembly in the accommodating space 2. The side wall of the accommodating space 2 can be a peripheral side wall relative to the opening and the bottom.

[0038] The distance sensing direction of the distance detector 1 toward the interior of the accommodation space 2 is perpendicular or nearly perpendicular to the insertion direction of the aerosol matrix 3 into the accommodation space 2 .

[0039] Optionally, the heating method of the aerosol generating device includes various forms such as internal central heating, external circumferential heating and mixed heating. In the external circumferential heating form, the heating component 4 can heat the aerosol matrix 3 at the bottom or circumference of the accommodating space 2, and the heating component 4 can be a heating block arranged at the corresponding position. In the internal central heating form, the heating component 4 can heat the center of the aerosol matrix 3 by being inserted into the interior of the aerosol matrix 3, and the heating component 4 can be a heating needle arranged at the corresponding position. In the mixed heating form, the setting methods of the heating component 4 in the above two forms can be included. During operation, the heating control method of the aerosol generating device is set to realize the heating control of the heating component 4 used in the corresponding heating form.

[0040] Optionally, the distance detector 1 is, for example, an infrared distance detector, an acoustic wave distance detector, etc.

[0041] Optionally, the distance detector 1 includes a distance detection end. The distance detection end may specifically include a transmitting end and a receiving end. The transmitting end is used to emit distance sensing light, sound waves, etc., and the receiving end is used to receive corresponding reflected light, reflected sound waves, etc.

[0042] In some optional embodiments, the distance detector 1 in the aerosol generating device includes a distance detection end facing the accommodating space 2, and light-isolating silicone 5, a light guide column 6 and a light guide mirror 7 are sequentially arranged outside the distance detection end. The light guide mirror 7 is embedded in the side wall surface of the accommodating space 2 at the end face close to the accommodating space 2.

[0043] To ensure the distance detection effect, the distance detector 1 selects light as the distance measurement medium. The distance detector 1 can be an infrared distance detector, a light intensity sensor, etc.

[0044] In this structure, a light-isolating silicone 5 is disposed outside the distance detection end of the distance detector 1 to isolate light from escaping to the surroundings and improve the distance detection effect. In some embodiments, the light-isolating silicone 5 is provided with through holes for emitting light and receiving reflected light.

[0045] The light guide column 6 can be a columnar light guide with a transparent structure, which guides the light to be transmitted along a set path, and finally makes the distance measuring light be emitted from the light guide mirror 7 toward the inside of the accommodating space 2, and guides the reflected light to be transmitted to the distance detection end of the distance detector 1, thereby realizing the effective setting of the distance detector 1 on the side wall of the accommodating space 2 and the realization of the distance measuring function.

[0046] Combination Figure 2 As shown, in some embodiments, a method for controlling an aerosol generating device is provided, comprising:

[0047] Step 201 : obtaining a target distance value obtained by a distance detector performing distance detection on the interior of a receiving space.

[0048] Step 202, determining whether the target distance value is within a first distance range.

[0049] The first distance range is used to determine whether an object is inserted into the accommodation space.

[0050] If the judgment result is no, that is, when it is determined that the target distance value is not within the first distance range, step 203 is executed.

[0051] Optionally, if the determination result is yes, that is, when it is determined that the target distance value is within the first distance range, the process returns to step 201 to continue acquiring the target distance value obtained by the distance detector performing distance detection on the inside of the accommodation space, thereby implementing a loop processing process.

[0052] There is a first set distance between the side wall where the distance detector is located and the opposite side wall in the accommodation space, and the first set distance is, for example, 20 mm, 23 mm, etc.

[0053] The first distance range may be a distance range determined by superimposing a reasonable distance deviation range (e.g., -0.5 mm to 0.5 mm) on the first set distance. The distance deviation range may include the distance between the distance detector and the side wall where it is located in the accommodation space (e.g., 0.5 mm, 1 mm, etc.), the distance measurement deviation value (0.2 mm, 0.3 mm) that may exist in the distance measurement process, and other distance values.

[0054] When it is determined that the target distance value is not within the first distance range, it can be considered that an object may be inserted into the accommodation space, and further determination of the target distance value is required, and step 203 will be executed.

[0055] When it is determined that the target distance value is within the first distance range, it can be considered that the accommodation space is in a hollow state and no object is inserted. Step 201 is executed in a loop to continue to obtain the target distance value obtained by the distance detector for distance detection inside the accommodation space, thereby implementing effective and continuous detection of whether there is an object entering the accommodation space to improve safety.

[0056] Step 203, determining whether the target distance value is within a second distance range.

[0057] If the determination result is yes, that is, when it is determined that the target distance value is within the second distance range, step 204 is executed.

[0058] Optionally, if the judgment result is no, that is, when it is determined that the target distance value is not within the second distance range, it is confirmed that a foreign object is inserted into the accommodating space, and the process returns to step 201 to continue to obtain the target distance value obtained by the distance detector for distance detection inside the accommodating space, thereby realizing a loop processing process.

[0059] The second distance range is used to determine whether the object inserted into the receiving space is likely to be an aerosol matrix.

[0060] The distance value within the first distance range is greater than the distance value within the second distance range.

[0061] After the aerosol matrix is ​​inserted into the accommodation space, there is a second set distance (eg, 1 mm, 2 mm, etc.) between the aerosol matrix and the side wall of the accommodation space.

[0062] The second distance range may be a distance range determined by superimposing a reasonable distance deviation range (e.g., -0.5 mm to 0.5 mm) on the second set distance. The distance deviation range may include a deviation range interval formed by distance values ​​such as the distance between the distance detector and the side wall where it is located in the accommodation space (e.g., 2 mm, 3 mm, etc.), a distance measurement deviation value (e.g., 0.2 mm, 0.3 mm) that may exist during the distance measurement process, and the like.

[0063] Optionally, there is a set difference between the minimum value in the first distance range and the maximum value in the second distance range, wherein the difference between the set difference and the first set distance is within the set distance deviation range.

[0064] The set distance deviation range is a distance range obtained by superimposing a reasonable distance deviation range (for example, -0.5 mm to 0.5 mm) on the difference between the first set distance and the second set distance.

[0065] When it is determined that the target distance value is not within the first distance range but within the second distance range, it can be considered that an aerosol matrix may be inserted into the accommodation space, and further determination of the target distance value is required, and step 204 will be continued.

[0066] When it is determined that the target distance value is neither in the first distance range nor in the second distance range, it can be considered that a foreign object may be inserted into the storage space, and heating treatment is not performed. At the same time, step 201 is looped to continue to obtain the target distance value obtained by the distance detector for distance detection inside the storage space, and implement effective and continuous detection of whether an aerosol matrix enters the storage space, thereby improving safety.

[0067] Step 204, monitoring whether the fluctuation value of the target distance value is within the target fluctuation range.

[0068] The target fluctuation range is used to determine whether the target distance value is in a stable value range and whether the fluctuation is small, so as to determine whether the inserted object in the accommodation space is in a stable aerosol matrix insertion state. The target fluctuation range is, for example, -0.5 mm to 0.5 mm.

[0069] During the aerosol matrix process of cigarettes, the detected target distance value may fluctuate due to reasons such as the uneven surface of the aerosol matrix, the aerosol matrix is ​​not inserted into place, and foreign objects are inserted.

[0070] The heating of the aerosol matrix should be started after the target distance value is stabilized, so as to avoid the triggering of erroneous heating operations such as starting the heating during the insertion of the aerosol matrix or heating of foreign objects.

[0071] If the monitoring result is yes, that is, when the fluctuation value of the target distance value is within the target fluctuation range, step 205 is executed.

[0072] Optionally, if the monitoring result is no, that is, when the fluctuation value of the target distance value is not within the target fluctuation range, it is confirmed that a foreign object is inserted into the accommodation space or that the aerosol matrix is ​​in an unstable insertion state, and the process returns to step 201 to continue to obtain the target distance value obtained by the distance detector for distance detection inside the accommodation space, thereby realizing a cyclic processing process.

[0073] Optionally, the fluctuation value of the target distance value may be obtained by subtracting the previous target distance value from the currently detected target distance value.

[0074] When the fluctuation value of the target distance value is within the target fluctuation range, it can be considered that the object inserted into the accommodation space is an aerosol matrix and is in a stable insertion state, and it can be heated, and step 205 will be executed next.

[0075] When the fluctuation value of the target distance value is not within the target fluctuation range, it can be considered that the object inserted into the accommodating space is not an aerosol matrix or the inserted aerosol matrix is ​​in an unstable insertion state, and it will not be heated. An effective detection is performed to avoid false detection and avoid incorrect heating operations caused by false detection, thereby improving safety.

[0076] Step 205, controlling the heating component to heat.

[0077] In the above implementation process, a distance detector is set on the side wall of the containing space in the aerosol generating device, and the distance detector is controlled to detect the distance inside the containing space to obtain a target distance value. Based on the first distance range, the second distance range and the target fluctuation range, the distance range in which the target distance value is located and the distance fluctuation state are judged, thereby effectively determining whether an aerosol matrix in an effective insertion state is inserted in the containing space of the aerosol generating device, effectively reducing the risk of false detection and false operation, and improving safety.

[0078] Optionally, after controlling the heating component to heat in step 205, the method further includes:

[0079] Step 206: During the heating process of the heating component, if it is detected that the fluctuation value of the target distance value is outside the target fluctuation range, the heating component is controlled to stop heating.

[0080] When the aerosol matrix is ​​pulled out, the fluctuation of the target distance value can also be monitored. To improve safety, the heating is stopped when the aerosol matrix is ​​pulled out to avoid stopping the heating after the aerosol matrix is ​​completely pulled out. If the fluctuation of the target distance value is still monitored to be within the target fluctuation range during the heating process of the heating component, it is considered that the aerosol matrix has not been pulled out, and the target distance value obtained by the distance detector for the distance inside the accommodation space is continued to be obtained, and the target distance value is continuously detected and judged.

[0081] During this process, during the heating process of the heating component, if the continuously detected target distance value is monitored to have a fluctuation value outside the target fluctuation range, it can be considered that the aerosol matrix inserted in the accommodating space begins to be pulled out. At this time, the heating process can be stopped to avoid erroneous operations such as continued heating caused by failure to detect the pulling out of the aerosol matrix in time, avoid erroneous heating operations caused by false detection, and further improve safety.

[0082] 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 does not have a strict order restriction, 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 to be 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.

[0083] Based on the same inventive concept, the embodiment of the present application further provides an aerosol generating device. The aerosol generating device provided in the embodiment of the present application can implement each process of the embodiment of the control method of the aerosol generating device described above, and can achieve the same technical effect, so the specific limitations in one or more aerosol generating device embodiments provided below can refer to the limitations of the control method of the aerosol generating device described above, and will not be repeated here to avoid repetition.

[0084] In this embodiment, the computing side can be divided into functional modules according to the above method. For example, each function can be divided into functional modules, or two or more functions can be integrated into one processing module.

[0085] See also Figure 3 , Figure 3 This is a structural diagram of an aerosol generating device provided in an embodiment of the present application. For the sake of ease of explanation, only the parts related to the embodiment of the present application are shown.

[0086] The aerosol generating device 300 comprises a containing space for containing an aerosol matrix; a heating component for heating the aerosol matrix, and a distance detector facing the inside of the containing space is disposed on a side wall of the containing space.

[0087] The aerosol generating device 300 further comprises:

[0088] The distance detection module 301 is used to obtain a target distance value obtained by the distance detector performing distance detection on the inside of the accommodation space;

[0089] A first judging module 302 is configured to judge whether the target distance value is within a second distance range when it is determined that the target distance value is not within the first distance range, wherein the minimum distance value within the first distance range is greater than the maximum distance value within the second distance range;

[0090] A second judgment module 303 is used to monitor whether the fluctuation value of the target distance value is within a target fluctuation range when it is determined that the target distance value is within the second distance range;

[0091] The heating control module 304 is used to control the heating component to heat when the fluctuation value of the target distance value is within the target fluctuation range.

[0092] Optionally, the distance detector in the aerosol generating device 300 includes a distance detection end facing the accommodating space, and light-isolating silicone, a light-guiding column and a light-guiding mirror are sequentially arranged outside the distance detection end. The light-guiding mirror is embedded in the side wall surface of the accommodating space at the end face close to the accommodating space.

[0093] Optionally, the heating control module 304 is further configured to:

[0094] During the heating process of the heating component, if it is monitored that the fluctuation value of the target distance value is outside the target fluctuation range, the heating component is controlled to stop heating.

[0095] Optionally, there is a set distance between the side wall where the distance detector is located and the opposite side wall in the accommodating space; there is a set difference between the minimum value in the first distance range and the maximum value in the second distance range; wherein the difference between the set difference and the set distance is within a set distance deviation range.

[0096] Optionally, the distance detection module 301 is further used for:

[0097] When it is determined that the target distance value is within the first distance range, the step of returning to the step of acquiring the target distance value obtained by the distance detector performing distance detection on the interior of the accommodation space is performed.

[0098] Optionally, the distance detection module 301 is further used for:

[0099] When it is determined that the target distance value is not within the second distance range, it is confirmed that a foreign object has been inserted into the accommodation space, and the process returns to the step of obtaining the target distance value obtained by the distance detector detecting the distance inside the accommodation space.

[0100] Optionally, the distance detection module 301 is further used for:

[0101] When it is determined that the fluctuation value of the target distance value is not within the target fluctuation range, it is confirmed that a foreign object is inserted into the accommodation space, and the step of obtaining the target distance value obtained by the distance detector through distance detection inside the accommodation space is returned to be executed.

[0102] The above integrated modules can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0103] It should be noted that the relevant contents of each step involved in the above method embodiment can all be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0104] In one embodiment, Figure 4 As shown, an electronic device is provided. The electronic device 4 of this embodiment includes: at least one processor 400 ( Figure 4 Only one is shown in the figure), a memory 401, and a computer program 402 stored in the memory 401 and executable on the at least one processor 400, wherein the processor 400 implements the steps of any of the above-mentioned method embodiments when executing the computer program 402.

[0105] The electronic device 4 may be an aerosol generating device, such as an HNB device.

[0106] The electronic device 4 may include, but is not limited to, a processor 400 and a memory 401. Those skilled in the art will appreciate that Figure 4 It is only an example of the electronic device 4 and does not constitute a limitation of the electronic device 4. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.

[0107] The processor 400 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0108] The memory 401 may be an internal storage unit of the electronic device 4, such as a hard disk or memory of the electronic device 4. The memory 401 may also be an external storage device of the electronic device 4, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 4. Further, the memory 401 may also include both an internal storage unit and an external storage device of the electronic device 4. The memory 401 is used to store the computer program and other programs and data required by the electronic device. The memory 401 may also be used to temporarily store data that has been output or is to be output.

[0109] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0110] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0111] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0112] In the embodiments provided in the present application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0113] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0114] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0115] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0116] The present application implements all or part of the processes in the above-mentioned embodiment method, and may also be implemented through a computer program product. When the computer program product runs on an electronic device, the electronic device can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0117] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for controlling an aerosol generating device, characterized in that: The aerosol generating device comprises a containing space for containing an aerosol substrate; a heating assembly for heating the aerosol matrix, wherein the side wall of the accommodation space is provided with a distance detector facing the interior of the accommodation space; The method comprises: Acquire a target distance value obtained by the distance detector performing distance detection on the interior of the accommodation space; In the case where it is determined that the target distance value is not within the first distance range, determining whether the target distance value is within a second distance range, wherein a minimum distance value within the first distance range is greater than a maximum distance value within the second distance range; In the case where it is determined that the target distance value is within the second distance range, monitoring whether the fluctuation value of the target distance value is within the target fluctuation range; When the fluctuation value of the target distance value is within the target fluctuation range, the heating component is controlled to heat.

2. The method according to claim 1, characterized in that After controlling the heating component to heat, the method further includes: During the heating process of the heating component, if it is monitored that the fluctuation value of the target distance value is outside the target fluctuation range, the heating component is controlled to stop heating.

3. The method according to claim 1, characterized in that There is a set distance between the side wall where the distance detector is located and the opposite side wall in the accommodation space; there is a set difference between the minimum value in the first distance range and the maximum value in the second distance range; The phase difference between the set difference and the set distance is within a set distance deviation range.

4. The method according to claim 1, characterized in that: After acquiring the target distance value obtained by the distance detector performing distance detection on the inside of the accommodation space, the method further includes: When it is determined that the target distance value is within the first distance range, the step of returning to the step of acquiring the target distance value obtained by the distance detector performing distance detection on the interior of the accommodation space is performed.

5. The method according to claim 1, characterized in that After determining whether the target distance value is within the second distance range, the method further includes: When it is determined that the target distance value is not within the second distance range, it is confirmed that a foreign object has been inserted into the accommodation space, and the process returns to the step of obtaining the target distance value obtained by the distance detector detecting the distance inside the accommodation space.

6. The method according to claim 1, characterized in that After determining whether the fluctuation value of the target distance value is within the target fluctuation range, the method further includes: When it is determined that the fluctuation value of the target distance value is not within the target fluctuation range, it is confirmed that a foreign object is inserted into the accommodation space, and the step of obtaining the target distance value obtained by the distance detector through distance detection inside the accommodation space is returned to be executed.

7. An aerosol generating device, characterized in that: The aerosol generating device comprises a containing space for containing an aerosol substrate; A heating assembly for heating the aerosol matrix, a side wall of the accommodation space is provided with a distance detector facing the interior of the accommodation space; the device further comprises: A distance detection module, used for acquiring a target distance value obtained by the distance detector performing distance detection on the inside of the accommodation space; A first judgment module is used to judge whether the target distance value is within a second distance range when it is determined that the target distance value is not within the first distance range, wherein the minimum distance value within the first distance range is greater than the maximum distance value within the second distance range; A second judgment module is used to monitor whether the fluctuation value of the target distance value is within a target fluctuation range when it is determined that the target distance value is within the second distance range; The heating control module is used to control the heating component to heat when the fluctuation value of the target distance value is within the target fluctuation range.

8. The aerosol generating device according to claim 7, characterized in that: The distance detector in the aerosol generating device includes a distance detection end facing the accommodating space, and light-isolating silicone, a light-guiding column and a light-guiding mirror are sequentially arranged outside the distance detection end. The end face of the light-guiding mirror close to the accommodating space is embedded in the side wall surface of the accommodating space.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium storing 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 6 are implemented.