Heating control method, apparatus, device, storage medium, and program product

CN122604123APending Publication Date: 2026-08-21SHENZHEN GEEKVAPE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610493625.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-04-14
Publication Date
2026-08-21

AI Technical Summary

Technical Problem

[0004]然而,由于气溶胶生成设备的使用环境较为复杂,若处于大风环境或者移动过程中,吸嘴组件的通风口处也会存在气流变化,因此也会导致气溶胶生成设备误触加热功能,从而导致气溶胶生成设备的误触概率较高,使用体验较差

Benefits of technology

[0020]第五方面,本申请实施例提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现第一方面中任一项所述的加热控制方法。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122604123A_ABST
    Figure CN122604123A_ABST
Patent Text Reader

Abstract

The application is suitable for the field of aerosol generating technology, and provides a heating control method, device, equipment, storage medium and program product, comprising: collecting multiple environment parameters of an environment where an aerosol generating device is located, comprehensively analyzing the environment condition of the aerosol generating device according to the multiple environment parameters, and actively controlling the operation condition of the aerosol generating device, so that the aerosol generating device cannot perform a heating function when being located in an indoor area. On the one hand, the judgment accuracy of the environment where the aerosol generating device is located is improved, and on the other hand, the normativeness of the use scene of the aerosol generating device is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of aerosol generation technology, and particularly relates to heating control methods, devices, equipment, storage media and program products. Background Technology

[0002] Aerosol generating equipment heats the aerosol generating matrix, causing the heated aerosol generating matrix to atomize and generate aerosols, thereby providing users with a suction experience. Under normal circumstances, the aerosol generating equipment determines whether to execute the heating process based on the user's inhalation action received by the aerosol generating equipment.

[0003] In related technologies, an airflow detection sensor is installed in the aerosol generating device to detect changes in airflow at the vent of the nozzle assembly in the aerosol generating device, thereby determining whether the aerosol generating device has received a suction action.

[0004] However, due to the complex operating environment of aerosol generating equipment, if it is in a windy environment or during movement, there will be changes in airflow at the ventilation port of the nozzle assembly. This can also lead to accidental activation of the heating function of the aerosol generating equipment, resulting in a high probability of accidental activation and a poor user experience. Summary of the Invention

[0005] This application provides a heating control method, apparatus, device, storage medium, and program product. By combining a contact detection circuit and an airflow detection circuit, the contact status of the nozzle assembly and the airflow change in the aerosol generating device are detected in a coordinated manner, thereby improving the detection accuracy of the suction action and reducing the probability of accidental contact in the aerosol generating device.

[0006] In a first aspect, embodiments of this application provide a heating control method, the method being applied to an aerosol generating device, the method comprising: The aerosol generating device is given a first air pressure parameter, a first temperature parameter, and a light radiation parameter corresponding to the environment at a first moment. The aerosol generating device is given a second air pressure parameter and a second temperature parameter corresponding to the environment at a second moment, where the second moment is a moment prior to the first moment. Based on at least one of the following: the pressure difference between the first air pressure parameter and the second air pressure parameter, the temperature difference between the first temperature parameter and the second temperature parameter, and the light radiation parameter, the target environment type corresponding to the environment is determined, and the target environment type includes the regional type and day / night conditions of the environment; The operation of the aerosol generating equipment is controlled based on the target environment type.

[0007] Optionally, the light radiation parameters include ultraviolet intensity parameters, the area type includes outdoor areas, and the day / night situation includes daytime periods; The determination of the target environment type corresponding to the environment based on at least one of the following: the pressure difference between the first and second pressure parameters, the temperature difference between the first and second temperature parameters, and the light radiation parameter, includes: If the ultraviolet intensity parameter is greater than a first intensity threshold, the target environment type is determined to be an outdoor area during the daytime.

[0008] Optionally, the optical radiation parameters may also include optical intensity parameters; The method further includes: If the ultraviolet intensity parameter is less than the second intensity threshold, the target environment type is determined based on the light intensity parameter; or, If the ultraviolet intensity parameter is less than the second intensity threshold, the target environment type is determined based on the light intensity parameter, the air pressure difference, and the temperature difference.

[0009] Optionally, the area type includes indoor areas, and the day / night situation includes nighttime hours; Determining the target environment type based on the light intensity parameter includes: If the light intensity parameter is greater than the third intensity threshold, the target environment type is determined to be the indoor area during the nighttime period.

[0010] Optionally, determining the target environment type based on the light intensity parameter, the air pressure difference, and the temperature difference includes: If the light intensity parameter is less than the fourth intensity threshold, the target environment type is determined based on the air pressure difference and the temperature difference.

[0011] Optionally, the day / night cycle includes the nighttime period; Determining the target environment type based on the pressure difference and the temperature difference includes: If the air pressure difference is greater than a first difference threshold and the temperature difference is greater than a second difference threshold, the target environment type is determined to be an outdoor area during the nighttime period.

[0012] Optionally, the area type includes indoor areas, and the day / night situation includes nighttime hours; Determining the target environment type based on the pressure difference and the temperature difference includes: If the air pressure difference is less than a third difference threshold and the temperature difference is less than a fourth difference threshold, the target environment type is determined to be an indoor area during the nighttime period.

[0013] Optionally, the aerosol generating device stores a flag bit; The method further includes: Obtain the flag bit parameter corresponding to the flag bit at the first time point. The flag bit parameter is used to determine the switching state of the environment in which the aerosol generating device is located. The flag parameter corresponding to the flag bit is rewritten to a first value, which is used to indicate that the aerosol generating device switches from an indoor area to an outdoor area.

[0014] Optionally, the aerosol generating device stores a flag bit; The method further includes: Obtain the flag bit parameter corresponding to the flag bit at the first time point. The flag bit parameter is used to determine the switching state of the environment in which the aerosol generating device is located. The flag parameter corresponding to the flag bit is rewritten to a second value, which is used to indicate that the aerosol generating device switches from an outdoor area to an indoor area.

[0015] Optionally, controlling the operation of the aerosol generating device based on the target environment type includes: When the area type is the outdoor area, the aerosol generating device is prohibited from activating the suction function.

[0016] Optionally, controlling the operation of the aerosol generating device based on the target environment type includes: When the area type is the indoor area and a suction operation is received, the aerosol generating device is controlled to start the suction function.

[0017] Secondly, embodiments of this application provide an aerosol generating apparatus, comprising: The aerosol generating device includes a pressure detection circuit, a light radiation detection circuit, and a control circuit. The air pressure detection circuit is used to obtain a first air pressure parameter corresponding to the environment in which the aerosol generating device is located at a first moment, and to obtain a second air pressure parameter corresponding to the environment in which the aerosol generating device is located at a second moment. The light radiation detection circuit is used to obtain the light radiation parameters corresponding to the environment in which the aerosol generating device is located at the first moment, and the second moment is the moment between the first moment; The control circuit is used to determine the target environment type corresponding to the environment based on at least one of the pressure difference between the first air pressure parameter and the second air pressure parameter, the temperature difference between the first temperature parameter and the second temperature parameter, and the light radiation parameter. The target environment type includes the regional type and day / night conditions of the environment. The control circuit controls the operation of the aerosol generating device based on the target environment type.

[0018] Thirdly, embodiments of this application provide a device control apparatus, including: The acquisition module is used to acquire the first air pressure parameter, the first temperature parameter, the ultraviolet intensity parameter and the light intensity parameter corresponding to the environment in which the aerosol generating device is located at the first moment, and to acquire the second air pressure parameter and the second temperature parameter corresponding to the aerosol generating device at the second moment, wherein the second moment is the moment before the first moment. The determination module is used to determine a first environment type corresponding to the environment based on the pressure difference between the first air pressure parameter and the second air pressure parameter, and based on the temperature difference between the first temperature parameter and the second temperature parameter, wherein the first environment type includes an indoor area or an outdoor area; The determining module is further configured to determine a second environment type of the environment based on the ultraviolet intensity parameter, the light intensity parameter, and the first environment type, wherein the second environment type includes the light environment of the indoor area or the light environment of the outdoor area; The control module is used to control the operation of the aerosol generating device based on the second environment type.

[0019] Fourthly, embodiments of this application provide a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the heating control method described in any one of the first aspects above.

[0020] Fifthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the heating control method described in any one of the first aspects.

[0021] Sixthly, embodiments of this application provide a computer program product that, when run on a computer device, causes the computer device to execute the heating control method described in any one of the first aspects.

[0022] It is understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here.

[0023] The beneficial effects of the technical solutions provided in this application include at least the following: By acquiring the air pressure and temperature parameters of the aerosol generating device at historical and current times, as well as the light radiation parameter at the current time, and combining the differences in air pressure and temperature at different times with the light radiation parameter at the current time, the system analyzes the current environmental type (including indoor or outdoor areas) and day / night conditions of the aerosol generating device. This allows for the control of the aerosol generating device's operation. In other words, by collecting multiple environmental parameters of the aerosol generating device's environment and comprehensively analyzing these parameters, the system proactively controls the device's operation. This prevents the heating function from operating when the aerosol generating device is indoors, improving both the accuracy of environmental assessment and the standardization of its usage scenarios. Attached Figure Description

[0024] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 This is a flowchart of a heating control method provided in an embodiment of this application; Figure 2 This is a flowchart of a heating control method provided in an embodiment of this application; Figure 3 This is a schematic diagram of a sensor structure provided in an embodiment of this application; Figure 4 This is a schematic diagram of a sensor structure provided in an embodiment of this application; Figure 5 This is a schematic diagram of a sensor structure provided in an embodiment of this application; Figure 6 This is a flowchart of a heating control method provided in an embodiment of this application; Figure 7 This is a flowchart of a heating control method provided in an embodiment of this application; Figure 8 This is a structural diagram of a device control apparatus provided in an embodiment of this application; Figure 9 This is a schematic diagram of the structure of the computer device provided in the embodiments of this application. Detailed Implementation

[0026] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0027] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0028] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0029] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0030] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0031] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0032] As the demand for aerosol generation equipment increases, the appropriateness of its use in different environments also needs to be emphasized. Generally, aerosol generation equipment is not suitable for indoor extraction, and it lacks area detection capabilities. Therefore, users typically rely on actively avoiding indoor use of aerosol generation equipment. However, some users still use aerosol generation equipment for heating and extraction in inappropriate scenarios, leading to non-standard usage and causing inconvenience and losses for users.

[0033] Based on this, this application provides a heating control method that acquires the air pressure and temperature parameters of the aerosol generating device at historical and current times, as well as the light radiation parameter of the aerosol generating device at the current time. By combining the air pressure and temperature differences of the aerosol generating device at different times and the light radiation parameter at the current time, the method analyzes the area type (including indoor or outdoor areas) and day / night conditions of the environment in which the aerosol generating device is currently located, thereby controlling the operation of the aerosol generating device. In other words, by collecting multiple environmental parameters of the environment in which the aerosol generating device is located, and comprehensively analyzing the environmental conditions of the aerosol generating device based on these multiple environmental parameters, the method actively controls the operation of the aerosol generating device, preventing it from heating when it is in an indoor area. This improves the accuracy of judging the environment in which the aerosol generating device is located and also improves the standardization of the usage scenarios of the aerosol generating device.

[0034] It should be noted that this application may display prompt interfaces, pop-ups, or output voice prompts before and during the collection of user data. These prompt interfaces, pop-ups, or voice prompts are used to inform the user that their data is being collected. This ensures that the application only begins the steps for collecting user data after receiving confirmation from the user regarding the prompt interface or pop-up; otherwise (i.e., without user confirmation), the steps for collecting user data end, meaning no user data is collected. In other words, all user data collected in this application is collected with the user's consent and authorization, and the collection, use, and processing of related user data must comply with the relevant laws, regulations, and standards of the relevant regions.

[0035] The heating control method provided in the embodiments of this application will be described in detail below. For illustrative purposes, please refer to the following. Figure 1 The diagram illustrates a flowchart of a heating control method provided in an exemplary embodiment of this application, which includes steps 110 to 130.

[0036] Step 110: Obtain the first air pressure parameter, the first temperature parameter, and the light radiation parameter corresponding to the environment in which the aerosol generating device is located at the first moment; and obtain the second air pressure parameter and the second temperature parameter corresponding to the environment in which the aerosol generating device is located at the second moment.

[0037] The second moment is the moment that precedes the first moment.

[0038] To illustrate, after the aerosol generating device is powered on, the battery module provides electrical energy to the heating element in the aerosol generating device, causing it to heat up. After the heating element heats up, it transfers the heat to the aerosol generating matrix, causing the aerosol generating matrix in the aerosol generating device to reach its boiling point and atomize, generating a suspended aerosol for the user to inhale. The process of generating a suspended aerosol is the atomization process.

[0039] For illustrative purposes, the air pressure parameters (including the first air pressure parameter and the second air pressure parameter) refer to the atmospheric pressure of the environment in which the aerosol generating device is located at a corresponding moment. For example, the first air pressure parameter is the atmospheric pressure of the environment in which the aerosol generating device is located at the first moment.

[0040] Indicatively, the temperature parameter (including the first temperature parameter and the second temperature parameter) refers to the real-time temperature of the environment in which the aerosol generating device is located at a corresponding moment. For example, the first temperature parameter is the real-time temperature of the environment in which the aerosol generating device is located at the first moment.

[0041] Indicatively, light radiation parameters refer to the light radiation conditions of the environment in which the aerosol generating device is located at the current moment (i.e., the first moment). Among them, light radiation parameters usually include two parameters: ultraviolet intensity and light intensity.

[0042] Optionally, the first pressure parameter and the second pressure parameter may be the same or different.

[0043] Optionally, the first temperature parameter and the second temperature parameter may be the same or different.

[0044] In illustrative terms, air pressure, temperature, and light radiation parameters are detected by sensors installed in the aerosol generating device. Different types of sensors are used to collect different types of parameters. For example, an air pressure sensor is used to collect air pressure parameters (or, air pressure and temperature parameters), an ultraviolet (UV) sensor is used to collect UV parameters (i.e., UV intensity), and a light sensor is used to collect light parameters (i.e., light intensity). Subsequent embodiments will provide a detailed description of these different sensors.

[0045] To illustrate, taking an ultraviolet (UV) sensor as an example, the UV sensor collects an output voltage signal every preset time interval (e.g., 1 millisecond (ms)). The collected output voltage signal is then converted into the corresponding UV intensity, which is used as a UV parameter and sent to the processing chip of the aerosol generation device for storage. The same applies to air pressure, temperature, and light intensity parameters, which will not be elaborated upon here.

[0046] For illustrative purposes, the first moment refers to the current moment, and the second moment refers to the historical moment before the first moment.

[0047] Optionally, the second time point refers to any historical time point prior to the first time point; or, the time difference between the second time point and the first time point conforms to a preset time interval (e.g., 0.3ms).

[0048] Step 120: Determine the target environment type based on at least one of the following: the pressure difference between the first and second pressure parameters, the temperature difference between the first and second temperature parameters, and the light radiation parameter.

[0049] The target environment type includes the regional type of the environment and the day / night conditions.

[0050] For illustrative purposes, pressure difference refers to the pressure difference between the first pressure parameter and the second pressure parameter; temperature difference refers to the temperature difference between the first temperature parameter and the second temperature parameter.

[0051] Indicative, the area type includes either an outdoor area or an indoor area; the day / night situation includes either daytime or nighttime periods.

[0052] To illustrate, taking daytime and nighttime periods as examples, the ultraviolet (UV) intensity is higher during the daytime than at nighttime. Therefore, the UV intensity can be used to determine whether the environment in which the aerosol generating equipment is located is during the daytime or nighttime.

[0053] To illustrate, the light intensity during the daytime is higher than that at nighttime. Therefore, the environment in which the aerosol generating equipment is located can be determined based on the light intensity, whether it is during the daytime or nighttime.

[0054] Furthermore, considering both indoor and outdoor areas, the ultraviolet (UV) intensity in outdoor areas is typically greater than that in indoor areas. Therefore, the UV intensity can be used to determine whether the aerosol generating device is currently located in an indoor or outdoor environment.

[0055] In some special cases, indoor areas are equipped with lighting fixtures, so the ultraviolet radiation intensity is lower in indoor areas at night, but the light intensity is higher. Alternatively, the light intensity in outdoor areas at night is usually lower than that in indoor areas at night.

[0056] Therefore, the target environment type includes at least one of the following types: 1. Outdoor areas during daytime; 2. Indoor areas during nighttime hours; 3. Indoor areas during daytime; 4. Outdoor areas at night.

[0057] In some embodiments, during the movement of the aerosol generating device, the following two situations exist: The first method involves moving the aerosol generating equipment from an indoor area to an outdoor area. The second method involves moving the aerosol generating equipment from outdoor areas to indoor areas.

[0058] Under normal circumstances, the environmental changes in indoor areas are relatively stable. Therefore, the changes in air pressure and temperature are relatively stable (for example, the temperature difference at different times is less than a preset temperature threshold, or the air pressure difference at different times is less than a preset air pressure threshold). Conversely, the environmental changes in outdoor areas are more obvious.

[0059] Therefore, the environmental changes of the aerosol generation equipment can be determined based on changes in air pressure and temperature.

[0060] Step 130: Control the operation of the aerosol generation equipment based on the target environment type.

[0061] The illustrative description of the aerosol generating equipment's operation includes either activating the heating function or disabling the heating function.

[0062] In an optional example, if the target environment type is an outdoor area, the aerosol generating device is prohibited from activating the heating function. In this case, even if the aerosol generating device receives a heating start operation, it cannot perform the heating function.

[0063] Furthermore, if the target environment is an outdoor area, an alarm message will be triggered when the aerosol generating device receives a heating start operation. The alarm message is used to remind the user that the heating function cannot be performed at this time.

[0064] In an optional example, if the target environment type is an indoor area, the aerosol generating device can automatically start the heating function, or the aerosol generating device can start the heating function after receiving a heating start operation.

[0065] The heating control method provided in this application acquires the air pressure and temperature parameters of the aerosol generating device at historical and current times, as well as the light radiation parameter of the aerosol generating device at the current time. By combining the air pressure and temperature differences of the aerosol generating device at different times, and the light radiation parameter at the current time, the method analyzes the area type (including indoor or outdoor areas) and day / night conditions of the environment in which the aerosol generating device is currently located. This allows for the control of the aerosol generating device's operation. In other words, by collecting multiple environmental parameters of the environment in which the aerosol generating device is located, and comprehensively analyzing these parameters, the method actively controls the operation of the aerosol generating device. This prevents the heating function from operating when the aerosol generating device is in an indoor area. This improves the accuracy of determining the environment in which the aerosol generating device is located and also enhances the standardization of the aerosol generating device's usage scenarios.

[0066] The following is a detailed description of the process for determining the target environment type. For illustrative purposes, please refer to Figure 2, which shows a flowchart of a heating control method provided in an exemplary embodiment of this application. Specifically, step 120 further includes steps 121, 122, or 123, as shown below. Figure 2 As shown, the method includes the following steps.

[0067] Step 121: If the ultraviolet intensity parameter is greater than the first intensity threshold, determine the target environment type as an outdoor area during the daytime.

[0068] Among them, the light radiation parameters include ultraviolet intensity parameters, the area type includes outdoor areas, and the day and night conditions include daytime periods.

[0069] To illustrate, taking the light radiation parameters including ultraviolet intensity parameters, the area type including outdoor areas, and the day and night situation including daytime periods as examples, if the ultraviolet intensity parameter is greater than the preset first intensity threshold (e.g., 2), it indicates that the ultraviolet intensity of the environment in which the aerosol generating device is located at the first moment is high. At this time, the target environment type can be determined to be an outdoor area during the daytime.

[0070] In this embodiment, after determining the target environment type, the ultraviolet intensity parameters of the environment where the aerosol generating device is located at the first moment are stored in the cache of the aerosol generating device, so as to serve as a reference for judging the environment where the aerosol generating device is located in subsequent time periods.

[0071] Step 122: If the ultraviolet intensity parameter is less than the second intensity threshold, determine the target environment type based on the light intensity parameter.

[0072] Among them, the light radiation parameters also include the light intensity parameters.

[0073] To illustrate, taking the light radiation parameters including the light intensity parameter as an example, if the ultraviolet intensity parameter is less than the preset second intensity threshold (e.g., 0.5), then the target environment type may be an indoor area (nighttime, but with lighting equipment, or no lighting equipment) or an outdoor area, and further judgment needs to be made in conjunction with the light intensity parameter.

[0074] In some embodiments, the area type includes indoor areas, and the day / night situation includes nighttime periods; when the light intensity parameter is greater than a third intensity threshold, the target environment type is determined to be an indoor area during nighttime periods.

[0075] To illustrate, taking an indoor area as an example and a nighttime period as an example, if the light intensity parameter is greater than the preset third intensity threshold (e.g., 100), it indicates that the light intensity of the environment where the aerosol generating device is located is high, but the ultraviolet intensity is low. In this case, the target environment type is determined to be an indoor area during the nighttime period. At this time, lighting equipment is turned on in the indoor area, and the light intensity is provided by the lighting equipment.

[0076] Step 123: If the ultraviolet intensity parameter is less than the second intensity threshold, determine the target environment type based on the light intensity parameter, air pressure difference, and temperature difference.

[0077] To illustrate, taking the light radiation parameters including the light intensity parameter as an example, if the ultraviolet intensity parameter is less than the preset second intensity threshold (e.g., 0.5), then the target environment type may be an indoor area (nighttime, but with lighting equipment, or no lighting equipment) or an outdoor area. Further judgment is needed by combining the light intensity parameter, air pressure difference, and temperature difference.

[0078] In some embodiments, when the light intensity parameter is less than a fourth intensity threshold, the target environment type is determined based on the air pressure difference and temperature difference.

[0079] For illustration, if the light intensity parameter is less than the preset fourth intensity threshold (e.g., 50), it indicates that the ultraviolet intensity of the environment where the aerosol generating device is located is low, and the light intensity is also low. At this time, the environment where the aerosol generating device is located may be an outdoor area at night or an indoor area (at this time, the indoor area is not lit). Therefore, it is necessary to make further judgments based on the differences in air pressure and temperature.

[0080] In some embodiments, the day-night situation includes the nighttime period; when the air pressure difference is greater than a first difference threshold and the temperature difference is greater than a second difference threshold, the target environment type is determined to be an outdoor area during the nighttime period.

[0081] To illustrate, taking the nighttime period as an example, if the air pressure difference is greater than a preset first difference threshold (e.g., 50 Pa) and the temperature difference is greater than a preset second difference threshold (e.g., 5 degrees Celsius), it indicates that the aerosol generating device has switched from an indoor area to an outdoor area. Therefore, by combining the light intensity parameter, the target environment type can be determined to be an outdoor area during the nighttime period.

[0082] In some embodiments, the area type includes an indoor area, and the day / night situation includes a nighttime period; when the air pressure difference is less than a third difference threshold and the temperature difference is less than a fourth difference threshold, the target environment type is determined to be an indoor area during the nighttime period.

[0083] Indicatively, if the air pressure difference is less than a preset third difference threshold (e.g., 10 Pa) and the temperature difference is less than a preset fourth difference threshold (e.g., 1 degree Celsius), it indicates that the aerosol generating device has switched from an outdoor area to an indoor area. Therefore, by combining the light intensity parameter, the target environment type can be determined to be an indoor area during nighttime. At this time, the indoor area is not lit, so the light intensity is low.

[0084] In other words, if the aerosol generating equipment is determined to be neither an outdoor area during the daytime nor an indoor area during the nighttime when the light intensity is high, the current environment of the aerosol generating equipment can be determined to be an indoor or outdoor area by the differences in air pressure and temperature, thus further refining the criteria for determining the target environment type.

[0085] In some embodiments, the aerosol generating device stores a flag bit; the flag bit parameter corresponding to the flag bit at a first moment is obtained, and the flag bit parameter is used to determine the switching state of the environment in which the aerosol generating device is located; the flag bit parameter corresponding to the flag bit is rewritten to a first value, and the first value is used to indicate that the aerosol generating device switches from an indoor area to an outdoor area.

[0086] In some embodiments, the flag bit parameter corresponding to the flag bit at a first moment is obtained, and the flag bit parameter is used to determine the switching state of the environment in which the aerosol generating device is located; the flag bit parameter corresponding to the flag bit is rewritten to a second value, and the second value is used to indicate that the aerosol generating device switches from an outdoor area to an indoor area.

[0087] Indicatively, the flag (flag0) is used to determine the current environmental state of the aerosol generating device. For example, if the aerosol generating device switches from an indoor area to an outdoor area (indicating that the aerosol generating device is currently in an outdoor area), the flag is set to the first value (e.g., flag = B). If the aerosol generating device switches from an outdoor area to an indoor area (indicating that the aerosol generating device is currently in an indoor area), the flag is set to the second value (e.g., flag = A).

[0088] Indicatively, in the initial state (at which point the switching state of the environment in which the aerosol generating device is located has not been determined), the flag bit is the initial value (e.g., flag0=0).

[0089] Step 130: Control the operation of the aerosol generation equipment based on the target environment type.

[0090] In some embodiments, when the area type is an outdoor area, the aerosol generating device is prohibited from activating the suction function.

[0091] In some embodiments, when the area type is indoor and a suction operation is received, the aerosol generating device is controlled to start the suction function.

[0092] The illustrative description of the aerosol generating equipment's operation includes either activating the heating function or disabling the heating function.

[0093] In an optional example, if the target environment type is an outdoor area, the aerosol generating device is prohibited from activating the heating function. In this case, even if the aerosol generating device receives a heating start operation, it cannot perform the heating function.

[0094] Furthermore, if the target environment is an outdoor area, an alarm message will be triggered when the aerosol generating device receives a heating start operation. The alarm message is used to remind the user that the heating function cannot be performed at this time.

[0095] In an optional example, if the target environment type is an indoor area, the aerosol generating device can automatically start the heating function, or the aerosol generating device can start the heating function after receiving a heating start operation.

[0096] The heating control method provided in this application acquires the air pressure and temperature parameters of the aerosol generating device at historical and current times, as well as the light radiation parameter of the aerosol generating device at the current time. By combining the air pressure and temperature differences of the aerosol generating device at different times, and the light radiation parameter at the current time, the method analyzes the area type (including indoor or outdoor areas) and day / night conditions of the environment in which the aerosol generating device is currently located. This allows for the control of the aerosol generating device's operation. In other words, by collecting multiple environmental parameters of the environment in which the aerosol generating device is located, and comprehensively analyzing these parameters, the method actively controls the operation of the aerosol generating device. This prevents the heating function from operating when the aerosol generating device is in an indoor area. This improves the accuracy of determining the environment in which the aerosol generating device is located and also enhances the standardization of the aerosol generating device's usage scenarios.

[0097] The sensor structure in the aerosol generation device will be described in detail below.

[0098] In some embodiments, the aerosol generating device includes a pressure detection circuit, a light radiation detection circuit, and a control circuit. The pressure detection circuit is used to acquire a first pressure parameter corresponding to the environment in which the aerosol generating device is located at a first moment, and to acquire a second pressure parameter corresponding to the environment in which the aerosol generating device is located at a second moment. The light radiation detection circuit is used to acquire a light radiation parameter corresponding to the environment in which the aerosol generating device is located at the first moment, wherein the second moment is a moment between the first moments. The control circuit is used to determine a target environment type corresponding to the environment based on at least one of the pressure difference between the first and second pressure parameters, the temperature difference between the first and second temperature parameters, and the light radiation parameter. The target environment type includes the regional type and day / night conditions of the environment. The control circuit controls the operation of the aerosol generating device based on the target environment type.

[0099] In this embodiment, the ultraviolet intensity parameter is detected by sensor ML8511A, the light intensity parameter is detected by ambient light sensor TSL2581, and the air pressure and temperature parameters are detected by barometric pressure sensor BMP280. That is, the air pressure detection circuit is the circuit structure corresponding to the barometric pressure sensor BMP280, the light radiation detection circuit includes the circuit structures corresponding to sensor ML8511A and ambient light sensor TSL2581 respectively, and the control circuit is the circuit structure corresponding to the microcontroller unit.

[0100] First, the process of collecting ultraviolet intensity parameters will be explained.

[0101] This is illustrative; please refer to it. Figure 3 It illustrates a sensor circuit structure diagram provided in an exemplary embodiment of this application, such as... Figure 3 As shown, the circuit structure of the current display sensor ML8511A is shown. Pin 8 is used to output a voltage signal. By converting the voltage signal, the corresponding ultraviolet intensity parameter is obtained.

[0102] The output voltage of the ML8511 is directly proportional to the UV intensity. This proportionality (also known as sensitivity) is usually defined as: approximately how many mV of voltage change corresponds to each unit of UV intensity (1 mW / cm²).

[0103] To illustrate, at a room temperature of 25 degrees Celsius, an output voltage of 2.2 volts (V) corresponds to an ultraviolet radiation intensity of 10 mW / cm². The reference voltage is 1 V.

[0104] The ultraviolet intensity (10 mW / cm²) corresponds to a voltage change of approximately (2.2-1) / V = 1.2V. Here, "1" represents the reference voltage, used to improve the accuracy of the ultraviolet intensity parameter calculation.

[0105] Therefore, the change in ultraviolet intensity per volt = 10 mW / cm² divided by 1.2V ≈ 8.333 (mW / cm²) / V.

[0106] This means that for every 1.0V change in output voltage, the corresponding change in ultraviolet intensity is approximately 8.333 mW / cm².

[0107] The output voltage of the ML8511 consists of two parts: 1. Reference Voltage: Even in the absence of ultraviolet light (dark environment), the sensor will have an output voltage, typically around 0.99V to 1.00V. This voltage is the "starting point" of the signal, also known as the reference voltage.

[0108] 2. Signal voltage: Under ultraviolet irradiation, the output voltage will increase linearly from the reference voltage.

[0109] Therefore, the standard formula for calculating ultraviolet radiation intensity can be found in Formula 1 below: Formula 1: UV_Intensity (mW / cm²) = (V_out - V_dark) × Step_Size Among them, UV_Intensity represents the ultraviolet intensity parameter, usually in milliwatts per square centimeter; V_out refers to the actual voltage value measured by the sensor's VOUT pin; V_dark refers to the output voltage (i.e., the reference voltage) in a dark environment; Step_Size refers to the step size, usually the change in ultraviolet intensity corresponding to the change in output voltage (1V). Therefore, Step_Size is approximately equal to 8.333mW / cm².

[0110] For example: If the analog-to-digital converter (ADC) reads a voltage of 1.25V from the ML8511 output, and V_dark is known to be 1.00V measured in a dark environment, the following calculation steps can be performed: 1. Calculate the effective signal voltage (voltage increment): V_signal = V_out - V_dark = 1.25V - 1.00V = 0.25V 2. Calculate the current ultraviolet radiation intensity value: UV_Intensity = V_signal × Step_Size = 0.25V × (8.333 mW / cm² / V) =2.08 mW / cm² Since the ultraviolet (UV) intensity value is a direct reflection of the current UV level, the outdoor UV intensity value will not approach 0 even on a cloudy day, but it is close to 0 indoors under conditions without UV light.

[0111] Second, the process of collecting light intensity parameters is explained in detail.

[0112] This is illustrative; please refer to it. Figure 4 It illustrates a sensor circuit structure diagram provided in an exemplary embodiment of this application, such as... Figure 4 The circuit structure of the current display sensor TSL2581 is shown below.

[0113] In this embodiment, since the light sensor is mounted on a printed circuit board (PCB), the layout and structural design of the PCB are crucial for the light sensor.

[0114] The structural design of the optical sensor will be described in detail below.

[0115] 1. Opening a window in the photosensitive area: (1) There must be a transparent window on the outer shell of the aerosol generating device directly above the light sensor so that the light sensor can receive the light from the environment where the aerosol generating device is located.

[0116] (2) The area on top of the light sensor must not be covered by any wiring, silkscreen or paint to prevent the light sensor from being unable to receive light from the environment where the aerosol generating device is located due to the coverage of other materials.

[0117] (3) Place a no-fabric zone around the sensor, in which no wiring, silkscreen or paint covering is installed.

[0118] 2. Keep away from interfering light sources: (1) When placing the sensor, it should be kept away from light-emitting elements such as LED indicator lights and power indicator lights to prevent the light emitted by the light-emitting elements from directly shining on the light sensor, which would cause the reading to be seriously high.

[0119] 3. Prevent light leakage: (1) The light sensor should be properly installed to ensure that ambient light can only enter from the photosensitive area at the top and not leak in from the side or bottom gaps. Therefore, black sealing foam can be used to prevent side light leakage.

[0120] 4. Digital signal isolation: (1) Keep digital signal lines such as serial clock line (SCL) and serial data line (SDA) as far away from the optical sensor as possible to reduce the impact of switching noise on the measurement.

[0121] The circuit connection method of the optical sensor is as follows: When the operating voltage of the microcontroller is 3.3V, connect a 10uF capacitor in parallel with ground to the power supply of pin 1 (VDD, usually 3.3V), and ground pin 2 and pin 3.

[0122] Pin 2 is the address selection pin: if grounded, the address is 0x29; if connected to VDD, the address is 0x39; if floating (not connected to any pin or ground), the address is 0x49.

[0123] Pins 4 and 6 are connected to the main control chip pins of the microcontroller unit, and both require external pull-up (i.e., internal pull-up processing for pin 5).

[0124] The core of the TSL2581's application is the calculation of ambient light intensity. The TSL2581 outputs a digital signal, and the raw data from the two channels needs to be converted into standard illuminance values ​​using a specific formula.

[0125] The key feature of the TSL2581 is that it has two independent photodiode channels: 1. CH0 channel: Sensitive to both visible and infrared light, it can be understood as a "full-spectrum" channel.

[0126] 2. CH1 channel: mainly sensitive to infrared light.

[0127] Among them, light sensitivity means that the channel is more likely to detect the corresponding light signal. For example, CH1 is mainly used to detect infrared light, while CH0 can detect visible light and infrared light.

[0128] The above design purpose is to eliminate the interference of infrared light on the visible light measurement, so as to obtain a more accurate visible light illuminance, that is, the light intensity parameter.

[0129] Next, the corresponding relationship between the data signal and the light intensity value will be described in detail.

[0130] Step 1: Read the original data and calculate the "light intensity value".

[0131] First, read the original data values of two channels (CH0_DATA and CH1_DATA) from the register of the light sensor.

[0132] Then, calculate an intermediate quantity, called the "light intensity value" or "count ratio". The calculation process can refer to the following formula two.

[0133] Formula two: Lux = (CH0_DATA - CH1_DATA) Among them, (CH0 - CH1) means subtracting the infrared light signal from the total light signal to obtain an approximate pure visible light signal.

[0134] Step 2: Select the corresponding formula according to the ratio Under different light sources, the ratio of visible light to infrared light is different. In order to cope with various light sources (such as incandescent lamps, fluorescent lamps, sunlight, etc.), TSL2581 uses the ratio of CH1 / CH0 (that is, the proportion of infrared light in the total light) to select an optimal conversion coefficient.

[0135] First, calculate the ratio. The calculation can refer to the following formula three.

[0136] Formula three: ratio = CH1_DATA / CH0_DATA (CH0_DATA and CH1_DATA need to be regarded as floating-point numbers for division).

[0137] Then, according to the ratio range, use different formulas (formulas four to eight) to calculate the illuminance: When 0 < ratio ≤ 0.50, the following formula four is adopted: Formula four: Lux = (0.0304 * CH0_DATA) - (0.062 * CH0_DATA * ratio^2) At this time, the scene is suitable for high visible light and low infrared light, for example: some fluorescent lamps.

[0138] When 0.50 < ratio ≤ 0.61, the following formula five is adopted: Formula Five: Lux = (0.0224 * CH0_DATA) - (0.031 * CH1_DATA) At this time, it is usually a general scenario.

[0139] When 0.61 < ratio ≤ 0.80, use the following Formula Six: Formula Six: Lux = (0.0128 * CH0_DATA) - (0.0153 * CH1_DATA) At this time, the scenario is applicable to a medium infrared light ratio, such as: white LED.

[0140] When 0.80 < ratio ≤ 1.30, use the following Formula Seven: Formula Seven: Lux = (0.00146 * CH0_DATA) - (0.00112 * CH1_DATA) At this time, the scenario is applicable to high infrared light, such as: incandescent lamp, dusk / dawn.​​​​​​​​​​​​​​​​​​​​​​​ • Gain: Values ​​include 1, 8, 16, and 120.

[0146] • Integration time: in milliseconds.

[0147] The purpose of this attenuation factor is to ensure that, regardless of the gain and integration time, the final calculated Lux ​​value represents the true illuminance under the current environment.

[0148] Calculation example: Assume the light sensor is set as follows: • Gain = 16x Integration time = 101 ms • Data read: CH0_DATA = 500, CH1_DATA = 150 1. Calculate the ratio: ratio = 150 / 500 = 0.3 2. Select the formula: Since 0 < 0.3 ≤ 0.50, the first formula is used: Lux = (0.0304 * 500) - (0.062 * 500 * 0.3^2) Lux = 15.2 - (0.062 * 500 * 0.09) Lux = 15.2 - 2.79 = 12.41 3. Apply attenuation factor: Lux = 12.41 * (102.6 / (16 * 101)) Lux = 12.41 * (102.6 / 1616) Lux = 12.41 * 0.0635 ≈ 0.788 This means that the current ambient light level is approximately 0.79 lux, which is a very dim environment.

[0149] The lux range corresponding to the reference light intensity is as follows: 0.0001 - 0.002: Extreme conditions for astronomical observation under a clear, moonless night sky. 0.01 - 0.1: Starlight or moonlight (crescent moon). Extremely dark environment, where the human eye can barely discern outlines. 1-10: Basic lighting for parks and roads on a clear night under a full moon. 20 – 50: Minimal safety lighting in public areas (such as dimly lit corridors) 100-200: Comfortable lighting for typical indoor living environments, such as living rooms and dining rooms. 300-500: Recommended illuminance for office work, reading, and study 750 - 1,000: Areas in supermarkets and stores where lighting is needed to clearly display merchandise. 1,000 - 2,000: Outdoor lighting on a cloudy day, natural light for reading. 10,000 - 25,000: Outdoor activities under completely overcast skies with soft lighting. 32,000 - 100,000: Sunny weather, midday sun. In summer, direct midday sun can reach over 100,000 Lux.

[0150] The correspondence between the data signal and light intensity of the TSL2581 is not a single proportional coefficient, but an algorithm based on dual-channel data and judgment conditions.

[0151] The core relationship can be summarized as follows: Visible light illuminance ∝ f((CH0 - CH1), (CH1 / CH0)) After collecting data from the TSL2581 sensor and performing a series of calculations, a corresponding light intensity value can be obtained, which serves as another reference value to distinguish whether it belongs to an outdoor or indoor area.

[0152] Third, the process of collecting air pressure and temperature parameters is explained in detail.

[0153] This is illustrative; please refer to it. Figure 5 It illustrates a sensor circuit structure diagram provided in an exemplary embodiment of this application, such as... Figure 5 The diagram shows the circuit structure of the BMP280 barometric pressure sensor. Pins 6 and 8 are connected to the VDD of the microcontroller unit (MCU), with a 10uF capacitor connected in parallel to pin 7. Pin 7 is connected to the MCU's GND. The connection of pin 5 (SDO) determines the sensor's address. Grounding is 0x76, and connecting to VDD results in address 0x77. Pins 3 and 4 are externally pulled up with 4.7K resistors and connected to their respective pins on the MCU. Pin 4 is the clock signal for the IIC, and pin 3 is the data signal. Pin 2 (CSB) should be connected to VDD in the IIC configuration. Pin 1 is connected to the MCU's GND, with a capacitor connected in parallel between pin 1 and pin 8.

[0154] The relationship between the raw data output by the BMP280 sensor and the final air pressure and temperature values ​​is established through a compensation algorithm. This algorithm uses unique calibration parameters stored at the chip's factory to convert the raw ADC values ​​into precise physical quantities.

[0155] Step 1: Read the calibration parameters.

[0156] Each BMP280 chip is individually calibrated at the factory, and 18 calibration parameters are stored in the OTP memory. These parameters must be read before use. They are typically named as follows: • Temperature parameters: dig_T1, dig_T2, dig_T3 • Pressure parameters: dig_P1, dig_P2, ..., dig_P9 (These parameters have different data types; some are unsigned 16-bit integers, and some are signed 16-bit integers.)

[0157] Step 2: Read the raw ADC data Read from the sensor data register: • adc_T: 20-bit raw temperature value • adc_P: 20-bit raw air pressure value Step 3: Temperature Compensation Calculation Temperature calculations generate a crucial intermediate variable, t_fine, which must be used in pressure calculations.

[0158] The following is a simplified version of the floating-point calculation process: / / Input: adc_T (20-bit raw temperature value), dig_T1, dig_T2, dig_T3 / / Output: Actual temperature (°C), and intermediate variable t_fine var1 = (((double) adc_T) / 16384.0 - ((double) dig_T1) / 1024.0) *((double) dig_T2); var2 = ((((double) adc_T) / 131072.0 - ((double) dig_T1) / 8192.0) *(((double) adc_T) / 131072.0 - ((double) dig_T1) / 8192.0)) * ((double) dig_T3); t_fine = (int32_t)(var1 + var2); / / This intermediate variable is used for air pressure calculation temperature = (var1 + var2) / 5120.0; / / Final temperature, in °C Step 4: Pressure compensation calculation (depending on t_fine) Use the t_fine obtained in the previous step to perform air pressure compensation: / / Input: adc_P (20-bit raw pressure value), t_fine, dig_P1...dig_P9 / / Output: Actual air pressure (Pa) var1 = ((double)t_fine / 2.0) - 64000.0; var2 = var1 * var1 * ((double)dig_P6) / 32768.0; var2 = var2 + var1 * ((double)dig_P5) * 2.0; var2 = (var2 / 4.0) + (((double)dig_P4) * 65536.0); var1 = (((double)dig_P3) * var1 * var1 / 524288.0 + ((double)dig_P2)* var1) / 524288.0; var1 = (1.0 + var1 / 32768.0) * ((double)dig_P1); if (var1 == 0.0) { return 0; / / Avoid dividing by zero } p = 1048576.0 - (double)adc_P; p = (p - (var2 / 4096.0)) * 6250.0 / var1; var1 = ((double)dig_P9) * p * p / 2147483648.0; var2 = p * ((double)dig_P8) / 32768.0; p = p + (var1 + var2 + ((double)dig_P7)) / 16.0; pressure = p; / / Final air pressure, unit Pa 1. Calibration parameters must be used: Each BMP280 has unique calibration parameters. The parameters of one sensor cannot be used for another.

[0159] 2. The order of calculation cannot be reversed: The temperature must be calculated first to obtain t_fine.

[0160] Only then can the air pressure be calculated, because the air pressure compensation formula depends on t_fine.

[0161] The heating control method will be explained in detail below. Please refer to the illustrative examples. Figure 6 It illustrates a flowchart of a heating control method provided in an exemplary embodiment of this application, such as... Figure 6 As shown, the method includes the following steps.

[0162] S61, counter T6 increments by 1.

[0163] Pre-set the detection time interval, for example, 10ms. Every 10ms, counter T6 increments by 1, and after counting, it is determined whether the count result of T6 reaches 20 (based on the filter value set according to actual needs).

[0164] If the count result of T6 reaches 20, then check whether the air pressure parameter is 0 and whether the temperature parameter is 0 (where 0 represents the initial value). If the air pressure parameter is 0 and the temperature parameter is 0, execute S62. Otherwise, further check whether the difference between the air pressure parameter and temperature parameter at the current moment and the air pressure parameter and temperature parameter 200ms ago reaches the preset difference threshold 1. If yes, execute S63. Otherwise, continue to check whether the difference between the air pressure parameter and temperature parameter at the current moment and the air pressure parameter and temperature parameter 200ms ago is less than the preset difference threshold 2. If yes, execute S6. Otherwise, wait for the next 10ms to arrive.

[0165] S62 backs up and stores the detected air pressure and temperature parameters.

[0166] S63, counter T6 increments by 1, counter T7 is cleared.

[0167] After counter T6 is incremented by 1, it is determined whether the count result of counter T6 is greater than 30 (the filter value set according to actual needs). If it is, S64 is executed; otherwise, wait for the next 10ms to arrive.

[0168] S64, record flag=B.

[0169] If the count result of counter T6 is greater than 30, it means that the current aerosol generating device has moved from the outdoor area to the indoor area. Then, record the flag bit flag=B, and determine whether the switching status flag0 of the current environment is equal to 0. If it is equal to 0, execute S66; otherwise, wait for the next 10ms to arrive.

[0170] S65, flag0=flag=B.

[0171] Rewrite flag0 as flag=B.

[0172] S66, counter T7 increments by 1, counter T6 is cleared.

[0173] After counter T7 increments by 1, determine whether the count result of counter T7 is greater than 30 (the filter value set according to actual needs). If it is, execute S67; otherwise, wait for the next 10ms to arrive.

[0174] S67, record flag=A.

[0175] If the count result of counter T7 is greater than 30, it means that the current aerosol generating device has moved from the indoor area to the outdoor area. Then, record the flag bit flag=A, and determine whether the switching status flag0 of the current environment is equal to 0. If it is equal to 0, execute S68; otherwise, wait for the next 10ms to arrive.

[0176] S68, flag0=flag=A.

[0177] Rewrite flag0 as flag=A.

[0178] The heating control method will be explained in detail below. Please refer to the illustrative examples. Figure 7 It illustrates a flowchart of a heating control method provided in an exemplary embodiment of this application, such as... Figure 7 As shown, the method includes the following steps.

[0179] S71, counter T1 increments by 1, counter T2 is cleared.

[0180] A preset detection time interval is set, for example, 10ms. Every 10ms, the ultraviolet intensity parameter of the environment where the aerosol generating device is located is checked to see if it is greater than 2. If so, S71 is executed; otherwise, it is further determined whether the ultraviolet intensity parameter is less than 0.5. If so, S73 is executed; otherwise, the device waits for the next 10ms to arrive.

[0181] Counter T1 increments by 1, and after counting, it is determined whether the count result of T1 reaches 20 (the filter value is set according to actual needs).

[0182] If the count result of T1 reaches 20, execute S72; otherwise, wait for the next 10ms to arrive.

[0183] S72, the environment is determined to be an outdoor area.

[0184] If the ultraviolet intensity parameter is greater than 2, the environment where the aerosol generating device is located at the current moment is determined to be an outdoor area, and the ultraviolet intensity parameter is backed up and stored.

[0185] S73, counter T2 increments by 1, counter T1 is cleared.

[0186] If the ultraviolet intensity parameter is less than 0.5, execute S73; otherwise, wait for the next 10ms to arrive.

[0187] Counter T2 increments by 1, and after counting, it is determined whether the count result of T2 reaches 20 (the filter value is set according to actual needs).

[0188] If the count result of T2 reaches 20, execute S74; otherwise, wait for the next 10ms to arrive.

[0189] S74 indicates the environment is likely indoors.

[0190] If the ultraviolet intensity parameter is less than 0.5, the current environment may be an indoor area or an outdoor area at night. Therefore, further judgment is required, and the ultraviolet intensity parameter should be backed up and stored.

[0191] Furthermore, check if the light intensity parameter is greater than 100. If so, execute S75. Otherwise, further determine if the light intensity parameter is less than 50. If so, execute S77. Otherwise, wait for the next 10ms to arrive.

[0192] S75, counter T3 increments by 1, counter T4 is cleared.

[0193] If the light intensity parameter is greater than 100, counter T3 increments by 1. After counting, it is determined whether the count result of T3 reaches 20 (the filter value set according to actual needs). If so, S76 is executed; otherwise, wait for the next 10ms to arrive.

[0194] S76 indicates that the environment is an outdoor area at night.

[0195] S77, counter T4 increments by 1, counter T3 is cleared.

[0196] If the light intensity parameter is less than 50, counter T4 increments by 1. After counting, it is determined whether the count result of T4 reaches 20 (the filter value set according to actual needs). If so, S78 is executed; otherwise, wait for the next 10ms to arrive.

[0197] S78, determine that the environment is an outdoor area at night or an indoor area where the lighting equipment is not turned on.

[0198] At this point, determine if flag is B. If it is, execute S79; otherwise, execute S710.

[0199] S79 indicates that the environment is an outdoor area at night.

[0200] S710, the environment is determined to be an indoor area where the lighting equipment is not turned on.

[0201] The heating control method provided in this application acquires the air pressure and temperature parameters of the aerosol generating device at historical and current times, as well as the light radiation parameter of the aerosol generating device at the current time. By combining the air pressure and temperature differences of the aerosol generating device at different times, and the light radiation parameter at the current time, the method analyzes the area type (including indoor or outdoor areas) and day / night conditions of the environment in which the aerosol generating device is currently located. This allows for the control of the aerosol generating device's operation. In other words, by collecting multiple environmental parameters of the environment in which the aerosol generating device is located, and comprehensively analyzing these parameters, the method actively controls the operation of the aerosol generating device. This prevents the heating function from operating when the aerosol generating device is in an indoor area. This improves the accuracy of determining the environment in which the aerosol generating device is located and also enhances the standardization of the aerosol generating device's usage scenarios.

[0202] This is illustrative; please refer to it. Figure 8 The diagram illustrates a device function selection apparatus provided in an exemplary embodiment of this application, wherein the device function selection apparatus may specifically include the following modules: The acquisition module 810 is used to acquire the first air pressure parameter, the first temperature parameter, the ultraviolet intensity parameter and the light intensity parameter corresponding to the environment in which the aerosol generating device is located at the first moment, and to acquire the second air pressure parameter and the second temperature parameter corresponding to the aerosol generating device at the second moment, wherein the second moment is the moment before the first moment. The determining module 820 is used to determine a first environment type corresponding to the environment based on the pressure difference between the first air pressure parameter and the second air pressure parameter, and based on the temperature difference between the first temperature parameter and the second temperature parameter. The first environment type includes an indoor area or an outdoor area. The determining module 820 is further configured to determine a second environment type of the environment based on the ultraviolet intensity parameter, the light intensity parameter and the first environment type, wherein the second environment type includes the light environment of the indoor area or the light environment of the outdoor area; The control module 830 is used to control the operation of the aerosol generating device based on the second environment type.

[0203] Optionally, the light radiation parameters include ultraviolet intensity parameters, the area type includes outdoor areas, and the day / night situation includes daytime periods; The determining module 820 is further configured to determine the target environment type as an outdoor area during the daytime when the ultraviolet intensity parameter is greater than the first intensity threshold.

[0204] Optionally, the optical radiation parameters may also include optical intensity parameters; The determining module 820 is further configured to determine the target environment type based on the light intensity parameter when the ultraviolet intensity parameter is less than the second intensity threshold; or, when the ultraviolet intensity parameter is less than the second intensity threshold, determine the target environment type based on the light intensity parameter, the air pressure difference, and the temperature difference.

[0205] Optionally, the area type includes indoor areas, and the day / night situation includes nighttime hours; The determining module 820 is further configured to determine the target environment type as the indoor area during the nighttime period when the light intensity parameter is greater than the third intensity threshold.

[0206] Optionally, the determining module 820 is further configured to determine the target environment type based on the air pressure difference and the temperature difference when the light intensity parameter is less than the fourth intensity threshold.

[0207] Optionally, the day / night cycle includes the nighttime period; The determining module 820 is further configured to determine the target environment type as an outdoor area during the nighttime period when the air pressure difference is greater than a first difference threshold and the temperature difference is greater than a second difference threshold.

[0208] Optionally, the area type includes indoor areas, and the day / night situation includes nighttime hours; The determining module 820 is further configured to determine the target environment type as an indoor area during the nighttime period when the air pressure difference is less than a third difference threshold and the temperature difference is less than a fourth difference threshold.

[0209] Optionally, the aerosol generating device stores a flag bit; The determining module 820 is further configured to obtain the flag bit parameter corresponding to the flag bit at the first time, the flag bit parameter being used to determine the switching state of the environment in which the aerosol generating device is located; and to rewrite the flag bit parameter corresponding to the flag bit to a first value, the first value being used to indicate that the aerosol generating device switches from an indoor area to an outdoor area.

[0210] Optionally, the aerosol generating device stores a flag bit; The determining module 820 is further configured to obtain the flag bit parameter corresponding to the flag bit at the first moment, and the flag bit parameter is used to determine the switching state of the environment in which the aerosol generating device is located. The flag parameter corresponding to the flag bit is rewritten to a second value, which is used to indicate that the aerosol generating device switches from an outdoor area to an indoor area.

[0211] Optionally, the control module 830 is further configured to prevent the aerosol generating device from activating the suction function when the area type is the outdoor area.

[0212] Optionally, the control module 830 is further configured to control the aerosol generating device to start the suction function when the area type is the indoor area and a suction operation is received.

[0213] The device control apparatus provided in this application acquires the air pressure and temperature parameters of the aerosol generating device at historical and current times, as well as the light radiation parameters of the aerosol generating device at the current time. Combining the air pressure and temperature differences of the aerosol generating device at different times with the light radiation parameters at the current time, it analyzes the area type (including indoor or outdoor areas) and day / night conditions of the environment in which the aerosol generating device is currently located, thereby controlling the operation of the aerosol generating device. In other words, by collecting multiple environmental parameters of the environment in which the aerosol generating device is located, and comprehensively analyzing the environmental conditions based on these parameters, the apparatus actively controls the operation of the aerosol generating device. This prevents the heating function from being used when the aerosol generating device is in an indoor area. On the one hand, this improves the accuracy of determining the environment in which the aerosol generating device is located; on the other hand, it improves the standardization of the usage scenarios of the aerosol generating device.

[0214] See Figure 9 This illustration shows a schematic diagram of the structure of a computer device provided in an embodiment of this application. Figure 9 As shown, the computer device 1000 of this embodiment includes: at least one processor 1010 ( Figure 9(Only one is shown in the diagram) a processor, a memory 1020, and a computer program 1021 stored in the memory 1020 and capable of running on at least one processor 1010. When the processor 1010 executes the computer program 1021, it implements the steps in the above-described heating control method embodiments.

[0215] Computer device 1000 can be a desktop computer, laptop, handheld computer, cloud server, or other computing device. This terminal device may include, but is not limited to, processor 1010 and memory 1020. Those skilled in the art will understand that... Figure 9 This is merely an example of computer device 1000 and does not constitute a limitation on computer device 1000. It may include more or fewer components than shown in the figure, or combine certain components, or different components, such as input / output devices, network access devices, etc.

[0216] The processor 1010 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), 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.

[0217] In some embodiments, memory 1020 may be an internal storage unit of computer device 1000, such as a hard disk or memory of computer device 1000. In other embodiments, memory 1020 may be an external storage device of computer device 1000, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., provided on computer device 1000. Furthermore, memory 1020 may include both internal and external storage units of computer device 1000. Memory 1020 is used to store operating systems, applications, boot loaders, data, and other programs, such as program code for computer programs. Memory 1020 may also be used to temporarily store data that has been output or will be output.

[0218] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to 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 embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0219] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0220] Those skilled in the art will recognize that the units and algorithm steps of the various examples 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 implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0221] In the embodiments provided in this application, it should be understood that the disclosed apparatus / computer devices and methods can be implemented in other ways. For example, the apparatus / computer device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

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

[0223] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0224] If an integrated module / unit is implemented as 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, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, swivel hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.

[0225] The implementation of all or part of the processes in the methods of the above embodiments can also be accomplished by a computer program product. When the computer program product is run on a computer device, the computer device can implement the steps in the various method embodiments described above.

[0226] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A heating control method, characterized in that, The method is applied to an aerosol generating device, which includes a nozzle assembly, a contact detection circuit, and an airflow detection circuit. The method includes: When the user comes into contact with the nozzle assembly, the change in the first capacitance output by the contact detection circuit is detected; When the change in the first capacitance meets the first capacitance change condition, a first level signal is generated. Upon receiving the user's inhalation operation, the second capacitance change output by the airflow detection circuit is detected. The airflow detection circuit is used to generate a capacitance change when a change in airflow is detected. When the change in the second capacitance meets the second capacitance change condition, a second level signal is generated; The aerosol generating device is activated for heating based on the first and second level signals.

2. The method according to claim 1, characterized in that, The step of activating the aerosol generating device for heating based on the first level signal and the second level signal includes: When the first level signal and the second level signal are generated at the same time, the aerosol generating device is activated for heating; or... If the time difference between the generation times of the first level signal and the second level signal does not reach the preset time difference threshold, the aerosol generation device is started for heating.

3. The method according to claim 1, characterized in that, The first level signal and the second level signal correspond to the same level type.

4. The method according to any one of claims 1 to 3, characterized in that, The aerosol generating device is equipped with multiple electrode plates; The step of detecting the change in first capacitance output by the contact detection circuit when the user comes into contact with the nozzle assembly includes: When the aerosol generating device is powered on and the user is in contact with the nozzle assembly, the change in the first capacitance output by the plurality of electrode plates is detected.

5. The method according to claim 4, characterized in that, The contact detection circuit includes a first pin; The step of generating a first level signal when the first capacitance change meets the first capacitance change condition includes: If the change in the first capacitance corresponding to the electrode plate reaches a first change threshold, it is determined that the user is in contact with the nozzle assembly. When the number of electrode plates corresponding to the first change in capacitance reaches the first change threshold reaches a preset number threshold, the first pin is controlled to output the first level signal.

6. The method according to any one of claims 1 to 3, characterized in that, The contact detection circuit includes a second pin; The method further includes: When the aerosol generating device is in the off state, a first preset signal is input to the second pin. The first preset signal is used to control the contact detection circuit to enter a sleep state, wherein the contact detection circuit does not undergo capacitance change in the sleep state.

7. The method according to any one of claims 1 to 3, characterized in that, The airflow detection circuit includes a third pin; The step of generating a second level signal when the second capacitance change meets the second capacitance change condition includes: When the change in the second capacitance reaches the second change threshold, the second level signal is output through the third pin.

8. The method according to any one of claims 1 to 3, characterized in that, The aerosol generating device includes a signal processing circuit and an atomization execution circuit, and the signal processing circuit is provided with a first output channel and a second output channel; The step of activating the aerosol generating device for heating based on the first level signal and the second level signal includes: Based on the first level signal and the second level signal, the first output channel is controlled to output a third level signal to the atomization execution circuit; or, Based on the first level signal and the second level signal, the second output channel is controlled to output a third level signal to the atomization execution circuit, and the third level signal is used to instruct the atomization execution circuit to perform heating.

9. The method according to any one of claims 1 to 3, characterized in that, The method further includes: If the level of the first level signal changes, the aerosol generating device is controlled to stop heating; or... When there is a level change in the second level signal, the aerosol generating device is controlled to stop heating.

10. The method according to claim 9, characterized in that, The method further includes: If there is a signal abnormality in the first level signal or the second level signal, and the duration of the signal abnormality reaches a preset duration threshold, a first indication message is triggered. The first indication message is used to indicate that there is a fault in the aerosol generating device.

11. An aerosol generating device, characterized in that, The aerosol generating device includes a nozzle assembly, a contact detection circuit, an airflow detection circuit, and a signal processing circuit. The contact detection circuit is used to detect a first capacitance change when the user comes into contact with the nozzle assembly. The contact detection circuit is used to detect a capacitance change when the user and the nozzle assembly come into contact. When the first capacitance change meets the first capacitance change condition, a first level signal is generated. The airflow detection circuit is used to detect the second capacitance change output by the airflow detection circuit when the user's inhalation operation is received. The airflow detection circuit is used to generate a capacitance change when a change in airflow is detected. When the change in the second capacitance meets the second capacitance change condition, a second level signal is generated; The signal processing circuit is used to start the aerosol generating device for heating based on the first level signal and the second level signal.

12. The aerosol generating apparatus according to claim 11, characterized in that, The aerosol generating device is provided with multiple electrode plates, which are arranged in a ring on the inner wall of the nozzle assembly to form a capacitive touch array. The capacitive touch array is used to generate capacitance changes when the user makes contact with the nozzle assembly.

13. A heating control device, characterized in that, The device includes: The detection module is used to detect the first capacitance change output by the contact detection circuit when the user comes into contact with the nozzle assembly. The contact detection circuit is used to detect the capacitance change when the user and the nozzle assembly come into contact. The generation module is used to generate a first level signal when the first capacitance change meets the first capacitance change condition. The detection module is also used to detect the second capacitance change output by the airflow detection circuit when the user's inhalation operation is received. The airflow detection circuit is used to generate a capacitance change when a change in airflow is detected. The generation module is used to generate a second level signal when the second capacitance change meets the second capacitance change condition. The start-up module is used to start the aerosol generating device for heating based on the first level signal and the second level signal.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the heating control method as described in any one of claims 1 to 11.

15. A computer program product, characterized in that, Includes a computer program, which, when run, causes the heating control method as described in any one of claims 1 to 11 to be performed.