Heat-not-burn appliance, method for counting number of suction mouths of heat-not-burn appliance and storage medium
By using a negative temperature coefficient temperature sensor to replace the microphone head in the heating non-combustion instrument, and collecting the airflow temperature array for suction detection, the problem of NTC temperature sensors and microphone head occupying chip pins in the prior art is solved, and the effect of reducing design costs and improving detection accuracy is achieved.
Patent Information
- Application Number
- CN202510458329.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-11
- Publication Date
- 2025-06-27
AI Technical Summary
In existing heating-free burners, NTC temperature sensors and microphone heads need to occupy the pins of the control chip separately, resulting in increased design costs.
By using a negative temperature coefficient temperature sensor to replace the microphone head in the heating non-combustion instrument, and after completing the preheating, the airflow temperature array is collected according to the preset rules, determine whether the instrument is suctioned and the number of suction ports is accumulated.
It reduces the need for the microphone to occupy chip pins, reduces the design cost of the control chip, and improves the accuracy of the suction detection of heating non-burning equipment.
Smart Images

Figure CN120203290A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of heat-not-burn, and particularly relates to a heat-not-burn appliance, a method for counting the number of puffs of the heat-not-burn appliance, and a storage medium. Background Art
[0002] Currently, heat-not-burn (HNB) appliances usually are provided with a negative temperature coefficient (NTC) temperature sensor for detecting the heating temperature of the heating component of the HNB appliance, and a microphone for detecting whether the HNB appliance is puffed.
[0003] However, both the NTC temperature sensor and the microphone need to separately occupy the chip pins of the control chip of the HNB appliance, increasing the design cost of the control chip and resulting in an increase in the manufacturing cost of the HNB appliance. Summary of the Invention
[0004] In view of this, embodiments of this application provide a heat-not-burn appliance, a method for counting the number of puffs of the heat-not-burn appliance, and a storage medium to overcome the above problems of the prior art.
[0005] In a first aspect, embodiments of this application provide a method for counting the number of puffs of a heat-not-burn appliance, including:
[0006] When it is determined that the heat-not-burn appliance has completed preheating, record multiple airflow temperatures of the heat-not-burn appliance collected by the negative temperature coefficient temperature sensor according to a preset rule to obtain an airflow temperature array;
[0007] Determine whether the heat-not-burn appliance is puffed according to the airflow temperature array;
[0008] When it is determined that the heat-not-burn appliance is puffed according to the airflow temperature array, increment the number of puffs of the heat-not-burn appliance by one.
[0009] Wherein, in some optional embodiments, the determining whether the heat-not-burn appliance is puffed according to the airflow temperature array includes:
[0010] Calculate a first airflow temperature drop value within a first preset duration according to the airflow temperature array;
[0011] When it is determined that the first airflow temperature drop value is greater than or equal to a first temperature drop threshold, determine that the heat-not-burn appliance is puffed.
[0012] Wherein, in some optional embodiments, the determining whether the heat-not-burn appliance is puffed according to the airflow temperature array further includes:
[0013] When it is determined that the first airflow temperature decrease value is less than the first temperature decrease threshold, calculate the second airflow temperature decrease value within a second preset duration, where the second preset duration is greater than the first preset duration;
[0014] When it is determined that the second airflow temperature decrease value is greater than or equal to the second temperature decrease threshold, determine that the heat-not-burn appliance is being puffed, where the second temperature decrease threshold is greater than the first temperature decrease threshold.
[0015] Wherein, in some alternative embodiments, the determining whether the heat-not-burn appliance is being puffed according to the airflow temperature array further includes:
[0016] When it is determined that the second airflow temperature decrease value is less than the second temperature decrease threshold, calculate the third airflow temperature decrease value within a third preset duration, where the third preset duration is greater than the second preset duration;
[0017] When it is determined that the third airflow temperature decrease value is greater than or equal to the third temperature decrease threshold, determine that the heat-not-burn appliance is being puffed, where the third temperature decrease threshold is greater than the second temperature decrease threshold;
[0018] When it is determined that the third airflow temperature decrease value is less than the third temperature decrease threshold, determine that the heat-not-burn appliance is not being puffed.
[0019] Wherein, in some alternative embodiments, the when it is determined that the heat-not-burn appliance has completed preheating, recording the multiple airflow temperatures of the heat-not-burn appliance collected by the negative temperature coefficient temperature sensor according to a preset rule to obtain an airflow temperature array includes:
[0020] When it is determined that the heat-not-burn appliance has completed preheating, control the negative temperature coefficient temperature sensor to collect the temperature of the airflow channel of the heat-not-burn appliance at a preset time interval to obtain the multiple airflow temperatures;
[0021] Select a preset number of airflow temperatures from the multiple airflow temperatures in the order from the most recent temperature acquisition moment to the farthest, and record them as the airflow temperature array.
[0022] Wherein, in some alternative embodiments, after the puff count of the heat-not-burn appliance is incremented once when it is determined that the heat-not-burn appliance is being puffed according to the airflow temperature array, the puff count calculation method of the heat-not-burn appliance further includes:
[0023] Empty the airflow temperature array.
[0024] Wherein, in some alternative embodiments, after clearing the air flow temperature array, the suction port number counting method of the heat-not-burn appliance further includes:
[0025] When the number of suction ports is less than the port number threshold and the heat-not-burn appliance meets a preset condition, return to execute the step of recording the multiple air flow temperatures of the heat-not-burn appliance collected by the negative temperature coefficient temperature sensor according to a preset rule to obtain an air flow temperature array and subsequent steps;
[0026] The condition that the heat-not-burn appliance meets the preset condition is that the waiting duration after clearing the air flow temperature array is greater than or equal to the waiting duration threshold.
[0027] Wherein, in some alternative embodiments, the suction port number counting method of the heat-not-burn appliance further includes:
[0028] When the number of suction ports is greater than or equal to the port number threshold, control the heat-not-burn appliance to stop heating.
[0029] In a second aspect, an embodiment of the present application provides a suction port number counting device for a heat-not-burn appliance, including:
[0030] A recording module, configured to record multiple air flow temperatures of the heat-not-burn appliance collected by a negative temperature coefficient temperature sensor according to a preset rule to obtain an air flow temperature array when it is determined that the heat-not-burn appliance has completed preheating;
[0031] A first determination module, configured to determine whether the heat-not-burn appliance is being suctioned according to the air flow temperature array;
[0032] An accumulation module, configured to accumulate the number of suction ports of the heat-not-burn appliance once when it is determined according to the air flow temperature array that the heat-not-burn appliance is being suctioned.
[0033] In a third aspect, an embodiment of the present application provides a heat-not-burn appliance, including a memory; one or more processors coupled to the memory; and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more application programs are configured to execute the suction port number counting method of the heat-not-burn appliance provided in the first aspect as described above.
[0034] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which program code is stored, and the program code can be called by a processor to execute the suction port number counting method of the heat-not-burn appliance provided in the first aspect as described above.
[0035] Fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a computer device, the computer device is caused to execute the method for counting the number of puffs of a heat-not-burn appliance provided in the first aspect above.
[0036] In the solution provided by the present application, when it is determined that the heat-not-burn appliance has completed preheating, a plurality of airflow temperatures of the heat-not-burn appliance collected by a negative temperature coefficient temperature sensor are recorded according to a preset rule to obtain an airflow temperature array, and it is determined whether the heat-not-burn appliance is puffed according to the airflow temperature array. When it is determined according to the airflow temperature array that the heat-not-burn appliance is puffed, the number of puffs of the heat-not-burn appliance is incremented by one. Based on the airflow temperature collected by the negative temperature coefficient temperature sensor, suction detection of the heat-not-burn appliance is realized, and when it is detected that the heat-not-burn appliance is puffed, the number of puffs of the heat-not-burn appliance is incremented. During the counting process of the number of puffs of the heat-not-burn appliance, a negative temperature coefficient temperature sensor is used to replace the microphone to perform suction detection on the heat-not-burn appliance. The negative temperature coefficient temperature sensor for collecting the airflow temperature can share chip pins with the negative temperature coefficient temperature sensor for collecting the heating temperature, reducing the chip pins occupied by the microphone, reducing the design cost of the control chip, and being beneficial to reducing the manufacturing cost of the heat-not-burn appliance.
[0037] Moreover, the high-temperature resistance performance of the microphone is poor, and the aging speed of the microphone in the heat-not-burn appliance is relatively fast. Using a negative temperature coefficient temperature sensor to replace the microphone can inhibit the low detection accuracy of the suction detection of the heat-not-burn appliance caused by the aging of the microphone, which is beneficial to improving the detection accuracy of the suction detection of the heat-not-burn appliance. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0039] Figure 1 Fig. shows a schematic diagram of a scenario of a heat-not-burn appliance provided by an embodiment of the present application.
[0040] Figure 2 Fig. shows a schematic flowchart of a method for counting the number of puffs of a heat-not-burn appliance provided by an embodiment of the present application.
[0041] Figure 3 Fig. shows another schematic flowchart of a method for counting the number of puffs of a heat-not-burn appliance provided by an embodiment of the present application.
[0042] Figure 4 Shows yet another schematic flowchart of the method for counting the number of suction ports of a heat-not-burn appliance provided by an embodiment of the present application.
[0043] Figure 5 Shows yet another schematic flowchart of the method for counting the number of suction ports of a heat-not-burn appliance provided by an embodiment of the present application.
[0044] Figure 6 Shows a schematic flowchart of a scenario of the method for counting the number of suction ports of a heat-not-burn appliance provided by an embodiment of the present application.
[0045] Figure 7 Shows a structural block diagram of a device for counting the number of suction ports of a heat-not-burn appliance provided by an embodiment of the present application.
[0046] Figure 8 Shows a functional block diagram of a heat-not-burn appliance provided by an embodiment of the present application.
[0047] Figure 9 Shows a computer-readable storage medium for storing or carrying program code for implementing the method for counting the number of suction ports of a heat-not-burn appliance provided by an embodiment of the present application.
[0048] Figure 10 Shows a computer program product for storing or carrying program code for implementing the method for counting the number of suction ports of a heat-not-burn appliance provided by an embodiment of the present application. Detailed implementation manners
[0049] To make the objectives, features, and advantages of the present application more obvious and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the embodiments described below are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0050] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, wholes, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their combinations.
[0051] It should also be understood that the terms used in the description of the present application herein are for the purpose of describing specific embodiments only and are not intended to limit the present application. As used in the description of the present application and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include the plural forms.
[0052] It should be further understood that the term "and / or" used in the description of the present application and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0053] In addition, in the description of the present application, the terms "first", "second", "third", etc. are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.
[0054] Currently, heat not burning (HNB) appliances usually are provided with a negative temperature coefficient (NTC) temperature sensor for detecting the heating temperature of the heating component of the HNB appliance, and a microphone for detecting whether the HNB appliance is being puffed.
[0055] However, both the NTC temperature sensor and the microphone need to separately occupy the chip pins of the control chip of the HNB appliance, increasing the design cost of the control chip and resulting in an increase in the manufacturing cost of the HNB appliance.
[0056] In view of the above problems, the heat not burning appliance, the puff number counting method thereof and the storage medium provided by the embodiments of the present application, when it is determined that the heat not burning appliance has completed preheating, record a plurality of airflow temperatures of the heat not burning appliance collected by the negative temperature coefficient temperature sensor according to a preset rule to obtain an airflow temperature array, and determine whether the heat not burning appliance is being puffed according to the airflow temperature array, and when it is determined according to the airflow temperature array that the heat not burning appliance is being puffed, increment the puff number of the heat not burning appliance by one, realizing puff detection of the heat not burning appliance based on the airflow temperature collected by the negative temperature coefficient temperature sensor, and incrementing the puff number of the heat not burning appliance when it is detected that the heat not burning appliance is being puffed. During the counting process of the puff number of the heat not burning appliance, the negative temperature coefficient temperature sensor is used to replace the microphone to perform puff detection on the heat not burning appliance. The negative temperature coefficient temperature sensor for collecting the airflow temperature can share the chip pins with the negative temperature coefficient temperature sensor for collecting the heating temperature, reducing the chip pins occupied by the microphone, reducing the design cost of the control chip, and being beneficial to reducing the manufacturing cost of the heat not burning appliance.
[0057] Moreover, the microphone has poor high-temperature resistance and ages relatively fast in heated non-combustible appliances. Replacing the microphone with a negative temperature coefficient temperature sensor can inhibit the decrease in detection accuracy of the suction detection of heated non-combustible appliances caused by the aging of the microphone, which is beneficial to improving the detection accuracy of the suction detection of heated non-combustible appliances.
[0058] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application.
[0059] Please refer to Figure 1 , which shows a schematic diagram of an application scenario of the HNB appliance 100 provided in the embodiment of the present application. The HNB appliance 100 may include a housing 101, a heating component 102, an NTC temperature sensor 103, and a control chip 104. The heating component 102, the NTC temperature sensor 103, and the control chip 104 may be installed in the housing 101, and the housing 101 may provide installation support for the heating component 102, the NTC temperature sensor 103, and the control chip 104.
[0060] Among them, the housing 101 may be provided with a medium cavity for storing the atomization medium. The atomization medium is used to generate aerosol after heating. The main components of the atomization medium may include glycerol, propylene glycol, flavor, nicotine, etc., which are not limited herein.
[0061] The material of the housing 101 may be any one of engineering plastics (for example, polycarbonate (PC), polystyrene (PS), polyamide (PA), polyimide (PI), etc.), aluminum alloy, stainless steel, or ABS plastic (Acrylonitrile Butadiene Styrene Plastic, ABS plastic), etc., which are not limited herein.
[0062] The heating component 102 may be used to heat the atomization medium stored in the medium cavity to generate aerosol. The heating component 102 may be any one of a resistance heating element, an electromagnetic heating element, an infrared heating element, etc., which are not limited herein.
[0063] The NTC temperature sensor 103 may be used to collect the temperature parameters of the HNB appliance 100. The number of NTC temperature sensors 103 may be one or more. The temperature parameters may include heating temperature and / or air flow temperature, etc., which are not limited herein.
[0064] The control chip 104 can be communicatively connected to the heating component 102 and the NTC temperature sensor 103, and the control chip 104 can be used to control the heating component 102 and the NTC temperature sensor 103 to work.
[0065] The control chip 104 can be any one of a micro control unit (MCU), a central processing unit (CPU), a combinatorial logic controller (CLC), a complex programmable logic device (CPLD), or a field programmable gate array (FPGA), etc., which is not limited herein.
[0066] In some embodiments, the housing 101 can further be provided with an air flow channel, and the air flow channel communicates with the medium cavity and the external space of the HNB appliance 100.
[0067] The number of NTC temperature sensors 103 can be two. The NTC temperature sensors 103 can include a first NTC temperature sensor and a second NTC temperature sensor, and the temperature parameters can include the heating temperature and the air flow temperature.
[0068] The first NTC temperature sensor can be installed relative to the heating component 102 and is used to collect the heating temperature of the heating component 102. The second NTC temperature sensor can be disposed in the air flow channel and is used to collect the air flow temperature in the air flow channel.
[0069] In some embodiments, the number of NTC temperature sensors 103 can be one. The NTC temperature sensor 103 can be installed relative to the heating component 102 and is used to collect the heating temperature of the heating component 102.
[0070] At the same time, the air flow channel is rerouted so that the NTC temperature sensor 103 is in the air flow channel. The NTC temperature sensor 103 can be used to collect the air flow temperature in the air flow channel. Through the rerouting design of the air flow channel, the NTC temperature sensor 103 can be used to collect the heating temperature of the heating component 102 and the air flow temperature in the air flow channel, reducing the design quantity of the NTC temperature sensors 103, which is beneficial to further reducing the manufacturing cost of the HNB appliance 100.
[0071] Please refer to Figure 2, which shows a flowchart of a method for counting the number of puffs of a heat-not-burn appliance provided in an embodiment of the present application. In a specific embodiment, the method for counting the number of puffs of a heat-not-burn appliance can be applied to a control chip 104 in an HNB appliance 100 as shown in Figure 1 The following will take the control chip 104 as an example to elaborate in detail on the Figure 2 The process shown. The method for counting the number of puffs of a heat-not-burn appliance may include the following steps 210 to step 230.
[0072] Step 210: When it is determined that the heat-not-burn appliance has completed preheating, record multiple airflow temperatures of the heat-not-burn appliance collected by a negative temperature coefficient temperature sensor according to a preset rule to obtain an airflow temperature array.
[0073] In an embodiment of the present application, when the control chip determines that the HNB appliance has completed preheating, it can record multiple airflow temperatures of the HNB appliance collected by the NTC temperature sensor according to a preset rule to obtain an airflow temperature array.
[0074] Among them, the multiple airflow temperatures can be obtained by the NTC temperature sensor collecting the temperature of the airflow channel of the HNB appliance at preset time intervals, and each airflow temperature corresponds to a temperature collection moment.
[0075] The preset time interval can be a time interval preset by the user, or a time interval automatically generated by the control chip according to the counting process of counting the number of puffs of the HNB appliance multiple times, etc., which is not limited here.
[0076] As an example, the preset time interval can be 0.1 second (s), the preset time interval can also be 0.05 s, and the preset time interval can also be 0.2 s, etc., which is not limited here.
[0077] The preset rule can be used to represent a selection rule for selecting a preset number of airflow temperatures from multiple airflow temperatures in the order from the nearest to the farthest temperature collection moment.
[0078] The preset number can be a number preset by the user, or a number automatically generated by the control chip according to the counting process of counting the number of puffs of the HNB appliance multiple times, etc., which is not limited here.
[0079] As an example, the preset number can be 20, the preset number can also be 30, and the preset number can also be 10, etc., which is not limited here.
[0080] Specifically, when the control chip determines that the HNB appliance has completed preheating, it can send a first acquisition instruction to the NTC temperature sensor. The NTC temperature sensor receives and responds to the first acquisition instruction, collects the temperature of the air flow channel of the HNB appliance at a preset time interval, obtains a plurality of air flow temperatures, and selects a preset number of air flow temperatures from the plurality of air flow temperatures in the order from the nearest to the farthest temperature acquisition time of the plurality of air flow temperatures, records them as an air flow temperature array. Selecting a preset number of air flow temperatures in the order from the nearest to the farthest acquisition time to obtain the air flow temperature array makes the air flow temperatures included in the air flow temperature array be real-time air flow temperatures, which is beneficial to improving the detection accuracy of detecting the suction state of the HNB appliance according to the air flow temperature array.
[0081] Among them, the suction state may include the suction state and the non-suction state, etc., which are not limited here.
[0082] As an example, the preset time interval is 0.1 s and the preset number is 20. The NTC temperature sensor can collect the air flow temperature in the air flow channel of the HNB appliance every 0.1 s, record the collected air flow temperatures into the air flow temperature array in sequence, and after recording 20 air flow temperatures, cover and update the air flow temperature corresponding to the earliest temperature acquisition time in the air flow temperature array with the newly collected air flow temperature.
[0083] Step 220: Determine whether the heat-not-burn appliance is being suctioned according to the air flow temperature array.
[0084] In the embodiment of the present application, when the control chip determines that the HNB appliance has completed preheating, after recording the multiple air flow temperatures of the HNB appliance collected by the NTC temperature sensor according to a preset rule to obtain the air flow temperature array, it can determine whether the HNB appliance is being suctioned according to the air flow temperature array.
[0085] Specifically, when the control chip determines that the HNB appliance has completed preheating, after recording the multiple air flow temperatures of the HNB appliance collected by the NTC temperature sensor according to a preset rule to obtain the air flow temperature array, it can calculate the first air flow temperature drop value within the first preset duration according to the air flow temperature array, and determine whether the HNB appliance is being suctioned according to the first air flow temperature drop value. During the suction process of the HNB appliance, the air flow temperature gradually decreases. Detecting the suction state of the HNB appliance according to the first air flow temperature drop value is beneficial to improving the detection accuracy of detecting the suction state of the HNB appliance.
[0086] Among them, the control chip can calculate the first temperature difference between any two air flow temperatures within the first preset duration, and determine the maximum first temperature difference as the first air flow temperature drop value.
[0087] The first preset duration can be a duration preset by the user in advance, or can be a duration automatically generated by the control chip according to the counting process of counting the number of suction times of the HNB device multiple times, etc., which is not limited here.
[0088] When the control chip determines that the first airflow temperature drop value is greater than or equal to the first temperature drop threshold, it can be determined that the HNB device is being suctioned. The first temperature drop threshold can be used to characterize the minimum temperature drop of the airflow temperature within the first preset duration when the HNB device is being suctioned.
[0089] In some embodiments, when the control chip determines that the first airflow temperature drop value is less than the first temperature drop threshold, it can calculate the second airflow temperature drop value within the second preset duration and determine whether the HNB device is being suctioned according to the second airflow temperature drop value. The rate of temperature drop of the airflow during the suction process of the HNB device is not linear. Detecting the suction state of the HNB device according to the second airflow temperature drop value is beneficial to further improve the detection accuracy of the suction state of the HNB device.
[0090] Among them, the control chip can calculate the second temperature difference between any two airflow temperatures within the second preset duration and determine the maximum second temperature difference as the second airflow temperature drop value.
[0091] The second preset duration is greater than the first preset duration. The second preset duration can be a duration preset by the user in advance, or can be a duration automatically generated by the control chip according to the counting process of counting the number of suction times of the HNB device multiple times, etc., which is not limited here.
[0092] When the control chip determines that the second airflow temperature drop value is greater than or equal to the second temperature drop threshold, it can be determined that the HNB device is being suctioned. The second temperature drop threshold is greater than the first temperature drop threshold. The second temperature drop threshold can be used to characterize the minimum temperature drop of the airflow temperature within the second preset duration when the HNB device is being suctioned.
[0093] In some embodiments, when the control chip determines that the second airflow temperature drop value is less than the second temperature drop threshold, it can calculate the third airflow temperature drop value within the third preset duration and determine whether the HNB device is being suctioned according to the third airflow temperature drop value. The rate of temperature drop of the airflow during the suction process of the HNB device is not linear. Detecting the suction state of the HNB device according to the third airflow temperature drop value is beneficial to further improve the detection accuracy of the suction state of the HNB device.
[0094] Among them, the control chip can calculate the third temperature difference between any two airflow temperatures within the third preset duration and determine the maximum third temperature difference as the third airflow temperature drop value.
[0095] The third preset duration is greater than the second preset duration. The third preset duration can be a duration preset by the user in advance, or a duration automatically generated by the control chip according to the counting process of counting the number of suction times of the HNB device multiple times, etc., which is not limited here.
[0096] When the control chip determines that the third airflow temperature decrease value is greater than or equal to the third temperature decrease threshold, it can be determined that the HNB device is being suctioned; when the control chip determines that the third airflow temperature decrease value is less than the third temperature decrease threshold, it is determined that the HNB device is not being suctioned.
[0097] The third temperature decrease threshold is greater than the second temperature decrease threshold. The third temperature decrease threshold can be used to represent the minimum temperature decrease of the airflow temperature within the third preset duration when the HNB device is being suctioned.
[0098] In an application scenario, the first preset duration can be 0.5 s, the first temperature decrease threshold can be 7 degrees Celsius (°C), the second preset duration can be 1 s, the second temperature decrease threshold can be 7 + x °C, the third preset duration can be 2 s, and the third temperature decrease threshold can be 7 + 3x °C.
[0099] When the first airflow temperature decrease value within the first preset duration of 0.5 s is greater than or equal to 7 °C, it is determined that the HNB device is being suctioned. When the first airflow temperature decrease value within the first preset duration of 0.5 s is less than 7 °C and the second airflow temperature decrease value within the second preset duration of 1 s is greater than or equal to 7 + x °C, it is determined that the HNB device is being suctioned. When the second airflow temperature decrease value within the second preset duration of 1 s is less than 7 + x °C and the third airflow temperature decrease value within the third preset duration of 2 s is greater than or equal to 7 + 3x °C, it is determined that the HNB device is being suctioned; when the second airflow temperature decrease value within the second preset duration of 1 s is less than 7 + x °C and the third airflow temperature decrease value within the third preset duration of 2 s is less than 7 + 3x °C, it is determined that the HNB device is not being suctioned.
[0100] Step 230: When it is determined that the heat-not-burn device is being suctioned according to the airflow temperature array, increment the suction count of the heat-not-burn device by one.
[0101] In an embodiment of the present application, when the control chip determines that the HNB device is being puffed based on the airflow temperature array, the puff count of the HNB device can be incremented once. This realizes the puff detection of the HNB device based on the airflow temperature collected by the NTC temperature sensor, and when it is detected that the HNB device is being puffed, the puff count of the HNB device is incremented. During the counting process of the puff count of the HNB device, the NTC temperature sensor is used to replace the microphone to perform the puff detection of the HNB device. The NTC temperature sensor for collecting the airflow temperature can share the chip pins with the NTC temperature sensor for collecting the heating temperature, reducing the chip pins occupied by the microphone, reducing the design cost of the control chip, and facilitating the reduction of the manufacturing cost of the HNB device.
[0102] Moreover, the high-temperature resistance performance of the microphone is poor, and the aging speed of the microphone in the HNB device is relatively fast. Using the NTC temperature sensor to replace the microphone can prevent the detection accuracy of the puff detection of the HNB device from being low due to the aging of the microphone, which is conducive to improving the detection accuracy of the puff detection of the HNB device.
[0103] In some embodiments, when the control chip determines that the HNB device is not being puffed based on the airflow temperature array, it can return to execute step 220 and subsequent steps, realizing continuous puff detection of the HNB device and improving the user experience during the puff detection of the HNB device.
[0104] The solution provided by the present application, when it is determined that the heat-not-burn device has completed preheating, records multiple airflow temperatures of the heat-not-burn device collected by the negative temperature coefficient temperature sensor according to a preset rule to obtain an airflow temperature array, and determines whether the heat-not-burn device is being puffed based on the airflow temperature array. When it is determined that the heat-not-burn device is being puffed based on the airflow temperature array, the puff count of the heat-not-burn device is incremented once. This realizes the puff detection of the heat-not-burn device based on the airflow temperature collected by the negative temperature coefficient temperature sensor, and when it is detected that the heat-not-burn device is being puffed, the puff count of the heat-not-burn device is incremented. During the counting process of the puff count of the heat-not-burn device, the negative temperature coefficient temperature sensor is used to replace the microphone to perform the puff detection of the heat-not-burn device. The negative temperature coefficient temperature sensor for collecting the airflow temperature can share the chip pins with the negative temperature coefficient temperature sensor for collecting the heating temperature, reducing the chip pins occupied by the microphone, reducing the design cost of the control chip, and facilitating the reduction of the manufacturing cost of the heat-not-burn device.
[0105] Moreover, the microphone has poor high-temperature resistance, and the aging rate of the microphone in a heat-not-burn device is relatively fast. Using a negative temperature coefficient temperature sensor to replace the microphone can inhibit the low detection accuracy of the heat-not-burn device during suction detection caused by aging, which is beneficial to improving the detection accuracy of the heat-not-burn device during suction detection.
[0106] Please refer to Figure 3 , which shows a flowchart of a method for counting the number of puffs of a heat-not-burn device provided by another embodiment of the present application. In a specific embodiment, the method for counting the number of puffs of a heat-not-burn device can be applied to a control chip 104 in an HNB device 100 as shown in Figure 1 . Taking the control chip 104 as an example, the process shown in Figure 3 will be elaborated in detail below. The method for counting the number of puffs of a heat-not-burn device may include the following steps 310 to 350.
[0107] Step 310: Collect the preheating parameters of the heat-not-burn device.
[0108] In this embodiment, the control chip can control the HNB device to preheat and collect the preheating parameters of the HNB device. The preheating parameters may include any one of the preheating duration and the preheating temperature, etc., which are not limited herein.
[0109] In some embodiments, the preheating parameter may include the preheating duration. The control chip can send a first control instruction to the heating component. The heating component receives and responds to the first control instruction to preheat the HNB device, and the control chip records the preheating duration of the heating component.
[0110] In some embodiments, the preheating parameter may include the preheating temperature. The control chip can send a first control instruction to the heating component and send a second acquisition instruction to the NTC temperature sensor. The heating component receives and responds to the first control instruction to preheat the HNB device. The NTC temperature sensor receives and responds to the second acquisition instruction to collect the preheating temperature of the heating component and sends the preheating temperature to the control chip. The control chip receives and responds to the preheating temperature returned by the NTC temperature sensor.
[0111] Step 320: Determine whether the heat-not-burn device has completed preheating according to the preheating parameters.
[0112] In this embodiment, after the control chip collects the preheating parameters of the HNB device, it can determine whether the HNB device has completed preheating according to the preheating parameters, realizing the judgment of the preheating process of the HNB device based on the preheating parameters, which is beneficial to improving the judgment accuracy of the preheating process of the HNB device.
[0113] In some embodiments, the preheating parameter may include the preheating duration. After the control chip collects the preheating duration of the HNB device, it may determine whether the HNB device has completed preheating according to the preheating duration.
[0114] When the preheating duration is greater than or equal to the duration threshold, it is determined that the HNB device has completed preheating; when the preheating duration is less than the duration threshold, it is determined that the HNB device has not completed preheating.
[0115] The duration threshold can be used to represent the minimum preheating duration for the HNB device to complete preheating. The duration threshold can be a duration preset by the user, or a duration automatically generated by the control chip according to the counting process of counting the number of suction times of the HNB device multiple times, etc., and is not limited here.
[0116] In some embodiments, the preheating parameter may include the preheating temperature. After the control chip collects the preheating temperature of the HNB device, it may determine whether the HNB device has completed preheating according to the preheating temperature.
[0117] When the preheating temperature is greater than or equal to the temperature threshold, it is determined that the HNB device has completed preheating; when the preheating temperature is less than the temperature threshold, it is determined that the HNB device has not completed preheating.
[0118] The temperature threshold can be used to represent the minimum preheating temperature for the HNB device to complete preheating. The temperature threshold can be a temperature preset by the user, or a temperature automatically generated by the control chip according to the counting process of counting the number of suction times of the HNB device multiple times, etc., and is not limited here.
[0119] Step 330: When it is determined that the heated non-burning device has completed preheating according to the preheating parameter, record the multiple airflow temperatures of the heated non-burning device collected by the negative temperature coefficient temperature sensor according to a preset rule to obtain an airflow temperature array.
[0120] Step 340: Determine whether the heated non-burning device is being suctioned according to the airflow temperature array.
[0121] Step 350: When it is determined that the heated non-burning device is being suctioned according to the airflow temperature array, increment the number of suction times of the heated non-burning device by one.
[0122] In this embodiment, for Step 330, Step 340, and Step 350, reference may be made to the corresponding steps in the foregoing embodiments, and details are not described herein again.
[0123] The solution provided in this embodiment collects the preheating parameters of the heat-not-burn appliance, determines whether the heat-not-burn appliance has completed preheating based on the preheating parameters, and when it is determined that the heat-not-burn appliance has completed preheating according to the preheating parameters, records multiple airflow temperatures of the heat-not-burn appliance collected by the negative temperature coefficient temperature sensor according to a preset rule to obtain an airflow temperature array, and determines whether the heat-not-burn appliance has been puffed based on the airflow temperature array, and when it is determined that the heat-not-burn appliance has been puffed according to the airflow temperature array, increments the puff count of the heat-not-burn appliance by one, realizing the judgment of the preheating process of the heat-not-burn appliance based on the preheating parameters, which is beneficial to improving the judgment accuracy of the preheating process of the heat-not-burn appliance.
[0124] Please refer to Figure 4 , which shows a flowchart of a method for counting the puff count of a heat-not-burn appliance provided in another embodiment of the present application. In a specific embodiment, the method for counting the puff count of a heat-not-burn appliance can be applied to a control chip 104 in an HNB appliance 100 as shown in Figure 1 . Taking the control chip 104 as an example, the process shown in Figure 4 will be elaborated in detail below. The method for counting the puff count of a heat-not-burn appliance may include the following steps 410 to 470.
[0125] Step 410: In response to the received wake-up signal, control the heat-not-burn appliance to switch from the sleep state to the working state.
[0126] In this embodiment, the control chip may control the HNB appliance to switch from the sleep state to the working state in response to the received wake-up signal.
[0127] Among them, the wake-up signal can be used to indicate the HNB appliance to switch from the sleep state to the working state. The wake-up signal may include any one of a voice wake-up signal, a button wake-up signal, or a fingerprint wake-up signal, etc., which is not limited here.
[0128] The sleep state can be used to characterize that the HNB appliance is in a low-power standby state, and the HNB appliance in the sleep state resumes to the working state immediately when receiving a wake-up instruction.
[0129] Step 420: Control the heat-not-burn appliance to perform preheating.
[0130] In this embodiment, after the control chip responds to the received wake-up signal and controls the HNB appliance to switch from the sleep state to the working state, it can send a first control instruction to the heating component. The heating component receives and responds to the first control instruction to preheat the HNB appliance, realizing the preheating of the HNB appliance based on the received wake-up signal, so that the HNB appliance preheats only when it needs to be used, which can reduce the power consumption of the HNB appliance and is conducive to improving the energy efficiency utilization rate of the HNB appliance.
[0131] Step 430: Collect the preheating parameters of the heated non-combustible appliance.
[0132] Step 440: Determine whether the heated non-combustible appliance has completed preheating according to the preheating parameters.
[0133] Step 450: When it is determined according to the preheating parameters that the heated non-combustible appliance has completed preheating, record multiple airflow temperatures of the heated non-combustible appliance collected by the negative temperature coefficient temperature sensor according to a preset rule to obtain an airflow temperature array.
[0134] Step 460: Determine whether the heated non-combustible appliance is being puffed according to the airflow temperature array.
[0135] Step 470: When it is determined according to the airflow temperature array that the heated non-combustible appliance is being puffed, increment the puff count of the heated non-combustible appliance by one.
[0136] In this embodiment, steps 430, 440, 450, 460, and 470 can refer to the corresponding steps in the foregoing embodiments and will not be elaborated here.
[0137] The solution provided in this embodiment responds to the received wake-up signal, controls the heated non-combustible appliance to switch from the sleep state to the working state, controls the heated non-combustible appliance to preheat, collects the preheating parameters of the heated non-combustible appliance, determines whether the heated non-combustible appliance has completed preheating according to the preheating parameters, and when it is determined according to the preheating parameters that the heated non-combustible appliance has completed preheating, record multiple airflow temperatures of the heated non-combustible appliance collected by the negative temperature coefficient temperature sensor according to a preset rule to obtain an airflow temperature array, determines whether the heated non-combustible appliance is being puffed according to the airflow temperature array, and when it is determined according to the airflow temperature array that the heated non-combustible appliance is being puffed, increment the puff count of the heated non-combustible appliance by one, realizing the preheating of the heated non-combustible appliance based on the received wake-up signal, so that the heated non-combustible appliance preheats only when it needs to be used, which can reduce the power consumption of the heated non-combustible appliance and is conducive to improving the energy efficiency utilization rate of the heated non-combustible appliance.
[0138] Please refer to Figure 5, which shows a flowchart of a method for counting the number of puffs of a heat-not-burn appliance provided by another embodiment of the present application. In a specific embodiment, the method for counting the number of puffs of a heat-not-burn appliance can be applied to a control chip 104 in an HNB appliance 100 as shown in Figure 1 . Taking the control chip 104 as an example, the process shown in Figure 5 will be elaborated in detail below. The method for counting the number of puffs of a heat-not-burn appliance may include the following steps 510 to step 540.
[0139] Step 510: When it is determined that the heat-not-burn appliance has completed preheating, record multiple airflow temperatures of the heat-not-burn appliance collected by a negative temperature coefficient temperature sensor according to a preset rule to obtain an airflow temperature array.
[0140] Step 520: Determine whether the heat-not-burn appliance is puffed according to the airflow temperature array.
[0141] Step 530: When it is determined according to the airflow temperature array that the heat-not-burn appliance is puffed, increment the number of puffs of the heat-not-burn appliance by one.
[0142] In this embodiment, steps 510, 520, and 530 may refer to the content of the corresponding steps in the foregoing embodiments, and will not be elaborated here.
[0143] Step 540: Clear the airflow temperature array.
[0144] In this embodiment, when the control chip determines that the HNB appliance is puffed according to the airflow temperature array, after incrementing the number of puffs of the HNB appliance by one, the airflow temperature array can be cleared, realizing that after counting the number of puffs of each puff of the HNB appliance, the airflow temperature array is cleared in time, which can reduce resource occupation and is beneficial to improving the operation efficiency of the HNB appliance.
[0145] In some embodiments, after the control chip clears the airflow temperature array, when the number of puffs is less than the puff number threshold and the HNB appliance meets the preset conditions, it can return to execute the step of recording multiple airflow temperatures of the HNB appliance collected by the NTC temperature sensor according to the preset rule to obtain an airflow temperature array and subsequent steps, realizing continuous counting of the number of puffs of the HNB appliance, which is beneficial to improving the user experience during the counting process of counting the number of puffs of the HNB appliance.
[0146] Among them, the puff number threshold can be used to represent the maximum number of puffs of the atomization medium in the HNB appliance. The puff number threshold can be the number of puffs preset by the user, or the number of puffs automatically generated by the control chip according to the counting process of counting the number of puffs of the HNB appliance multiple times, etc., which is not limited here.
[0147] The condition that the HNB device meets the preset condition can be: the waiting duration after clearing the air flow temperature array is greater than or equal to the waiting duration threshold.
[0148] The waiting duration threshold can be used to represent the maximum continuous duration for a user to take a puff of the HNB device. The waiting duration threshold can be a continuously duration preset by the user, or a continuously duration automatically generated by the control chip according to the counting process of counting the number of puffs of the HNB device multiple times, etc., which is not limited here.
[0149] As an example, the waiting duration threshold can be 2s, or the waiting duration threshold can be 3s, or the waiting duration threshold can also be 1.5s, etc., which is not limited here.
[0150] In some embodiments, after the control chip clears the air flow temperature array, when the number of puffs is greater than or equal to the puff number threshold, the control HNB device stops heating. When the atomization medium in the HNB device is puffed again after reaching the maximum number of puffs, the atomization medium releases harmful substances to the human body. When it is detected that the atomization medium has reached the maximum number of puffs, the HNB device is forced to stop heating the atomization medium, which can reduce the user's inhalation of harmful substances and is beneficial to reducing the health risk of the user puffing the HNB device.
[0151] In an application scenario, as Figure 6 shown, the puff number counting method of the heat-not-burn device may include the following steps 601 to step 611.
[0152] Step 601: In response to the received wake-up signal, control the heat-not-burn device to switch from the sleep state to the working state.
[0153] Step 602: Control the heat-not-burn device to perform preheating.
[0154] Step 603: Collect the preheating parameters of the heat-not-burn device.
[0155] Step 604: Determine whether the heat-not-burn device has completed preheating according to the preheating parameters.
[0156] When it is determined according to the preheating parameters that the HNB device has completed preheating, execute step 605;
[0157] When it is determined according to the preheating parameters that the HNB device has not completed preheating, return to execute step 602.
[0158] Step 605: Record the multiple air flow temperatures of the heat-not-burn device collected by the negative temperature coefficient temperature sensor according to a preset rule to obtain an air flow temperature array.
[0159] Step 606: Determine whether the heat-not-burn device is being puffed according to the air flow temperature array.
[0160] When it is determined according to the air flow temperature array that the HNB device is being puffed, step 607 is executed;
[0161] When it is determined according to the air flow temperature array that the HNB device is not being puffed, return to execute step 605.
[0162] Step 607: Increment the puff count of the heat-not-burn device by one.
[0163] Step 608: Clear the air flow temperature array.
[0164] Step 609: Determine whether the puff count is less than the puff count threshold.
[0165] When it is determined that the puff count is less than the puff count threshold, step 610 is executed;
[0166] When it is determined that the puff count is greater than or equal to the puff count threshold, step 611 is executed.
[0167] Step 610: Wait for the HNB device to meet the preset conditions, and return to execute step 605.
[0168] Step 611: Control the HNB device to stop heating.
[0169] In the solution provided in this embodiment, when it is determined according to the preheating parameters that the heat-not-burn device has completed preheating, multiple air flow temperatures of the heat-not-burn device collected by the negative temperature coefficient temperature sensor are recorded according to a preset rule to obtain an air flow temperature array, and it is determined whether the heat-not-burn device is being puffed according to the air flow temperature array. When it is determined according to the air flow temperature array that the heat-not-burn device is being puffed, the puff count of the heat-not-burn device is incremented by one, and the air flow temperature array is cleared, realizing that after counting the puff count of each puff of the heat-not-burn device, the air flow temperature array is promptly cleared, which can reduce resource occupation and is beneficial to improving the operation efficiency of the heat-not-burn device.
[0170] Please refer to Figure 7 , which shows a puff count counting device 700 for a heat-not-burn device provided in an embodiment of the present application. In a specific embodiment, the puff count counting device 700 for a heat-not-burn device can be applied to a control chip 104 in the HNB device 100 as shown in Figure 1 As shown, the following will take the control chip 104 as an example to elaborate in detail on the puff count counting device 700 for the heat-not-burn device as shown in Figure 7 The puff count counting device 700 for the heat-not-burn device may include a recording module 710, a first determination module 720, and an accumulation module 730.
[0171] The recording module 710 can be used to record multiple airflow temperatures of the heat-not-burn appliance collected by the negative temperature coefficient temperature sensor according to a preset rule when it is determined that the heat-not-burn appliance has completed preheating, so as to obtain an airflow temperature array; the first determination module 720 can be used to determine whether the heat-not-burn appliance is being puffed according to the airflow temperature array; the accumulation module 730 can be used to accumulate the puff count of the heat-not-burn appliance once when it is determined that the heat-not-burn appliance is being puffed according to the airflow temperature array.
[0172] In some embodiments, the first determination module 720 may include a first calculation unit and a first determination unit.
[0173] The first calculation unit can be used to calculate a first airflow temperature decrease value within a first preset time period according to the airflow temperature array; the first determination unit can be used to determine that the heat-not-burn appliance is being puffed when it is determined that the first airflow temperature decrease value is greater than or equal to a first temperature decrease threshold.
[0174] In some embodiments, the first determination module 720 may further include a second calculation unit and a second determination unit.
[0175] The second calculation unit can be used to calculate a second airflow temperature decrease value within a second preset time period when it is determined that the first airflow temperature decrease value is less than the first temperature decrease threshold, and the second preset time period can be greater than the first preset time period; the second determination unit can be used to determine that the heat-not-burn appliance is being puffed when it is determined that the second airflow temperature decrease value is greater than or equal to a second temperature decrease threshold, and the second temperature decrease threshold can be greater than the first temperature decrease threshold.
[0176] In some embodiments, the first determination module 720 may further include a third calculation unit, a third determination unit, and a fourth determination unit.
[0177] The third calculation unit can be used to calculate a third airflow temperature decrease value within a third preset time period when it is determined that the second airflow temperature decrease value is less than the second temperature decrease threshold, and the third preset time period can be greater than the second preset time period; the third determination unit can be used to determine that the heat-not-burn appliance is being puffed when it is determined that the third airflow temperature decrease value is greater than or equal to a third temperature decrease threshold, and the third temperature decrease threshold can be greater than the second temperature decrease threshold; the fourth determination unit can be used to determine that the heat-not-burn appliance is not being puffed when it is determined that the third airflow temperature decrease value is less than the third temperature decrease threshold.
[0178] In some embodiments, the recording module 710 may include a control unit and a selection unit.
[0179] The control unit can be used to control the negative temperature coefficient temperature sensor to collect the temperature of the air flow channel of the heat-not-burn appliance at preset time intervals when it is determined that the heat-not-burn appliance has completed preheating, so as to obtain a plurality of air flow temperatures; the selection unit can be used to select a preset number of air flow temperatures from the plurality of air flow temperatures in the order from the nearest to the farthest temperature acquisition time of the plurality of air flow temperatures, and record them as an air flow temperature array.
[0180] In some embodiments, the puff count device 700 of the heat-not-burn appliance may further include a clearing module.
[0181] The clearing module can be used to clear the air flow temperature array after the accumulation module 730 accumulates the puff count of the heat-not-burn appliance once when it is determined that the heat-not-burn appliance is puffed according to the air flow temperature array.
[0182] In some embodiments, the puff count device 700 of the heat-not-burn appliance may further include a return execution module.
[0183] The return execution module can be used to return and execute the steps of recording the plurality of air flow temperatures collected by the negative temperature coefficient temperature sensor for the heat-not-burn appliance according to a preset rule to obtain an air flow temperature array and subsequent steps when the puff count is less than the puff count threshold and the heat-not-burn appliance meets the preset conditions after the clearing module clears the air flow temperature array; the heat-not-burn appliance meets the preset conditions can be that the waiting duration after clearing the air flow temperature array is greater than or equal to the waiting duration threshold.
[0184] In some embodiments, the puff count device 700 of the heat-not-burn appliance may further include a control module.
[0185] The control module can be used to control the heat-not-burn appliance to stop heating when the puff count is greater than or equal to the puff count threshold.
[0186] In the solution provided in this embodiment, when it is determined that the heat-not-burn appliance has completed preheating, multiple airflow temperatures of the heat-not-burn appliance collected by the negative temperature coefficient temperature sensor are recorded according to a preset rule to obtain an airflow temperature array, and it is determined whether the heat-not-burn appliance is puffed based on the airflow temperature array. When it is determined that the heat-not-burn appliance is puffed according to the airflow temperature array, the puff count of the heat-not-burn appliance is incremented by one. This realizes the puff detection of the heat-not-burn appliance based on the airflow temperature collected by the negative temperature coefficient temperature sensor, and when it is detected that the heat-not-burn appliance is puffed, the puff count of the heat-not-burn appliance is incremented. During the counting process of the puff count of the heat-not-burn appliance, the negative temperature coefficient temperature sensor is used to replace the microphone to detect the puff of the heat-not-burn appliance. The negative temperature coefficient temperature sensor for collecting the airflow temperature can share the chip pins with the negative temperature coefficient temperature sensor for collecting the heating temperature, reducing the chip pins occupied by the microphone, reducing the design cost of the control chip, and being beneficial to reducing the manufacturing cost of the heat-not-burn appliance.
[0187] Moreover, the high-temperature resistance performance of the microphone is poor, and the aging speed of the microphone in the heat-not-burn appliance is relatively fast. Using the negative temperature coefficient temperature sensor to replace the microphone can inhibit the low detection accuracy of the puff detection of the heat-not-burn appliance caused by the aging of the microphone, which is beneficial to improving the detection accuracy of the puff detection of the heat-not-burn appliance.
[0188] It should be noted that the embodiments in this specification are all described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The same or similar parts among the embodiments can be referred to each other. For the device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiments. For any processing method described in the method embodiments, it can be implemented by the corresponding processing module in the device embodiments, and will not be elaborated one by one in the device embodiments.
[0189] In addition, in each embodiment of the present application, the functional modules can be integrated into one processing module, or each module can exist physically alone, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
[0190] Please refer to Figure 8, which shows a functional block diagram of a heat-not-burn appliance 800 provided by an embodiment of the present application. The heat-not-burn appliance 800 may include one or more of the following components: a memory 810, a processor 820, and one or more application programs. One or more application programs may be stored in the memory 810 and configured to be executed by one or more processors 820. One or more application programs are configured to execute the methods described in the foregoing method embodiments.
[0191] The memory 810 may include a random access memory (RAM) and may also include a read-only memory. The memory 810 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 810 may include a program storage area and a data storage area. Among them, the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as determining the completion of preheating, collecting multiple airflow temperatures, recording multiple airflow temperatures, obtaining an airflow temperature array, determining whether it is puffed, determining being puffed, accumulating once, calculating a first airflow temperature drop value, calculating a second airflow temperature drop value, calculating a third airflow temperature drop value, determining not being puffed, collecting temperature, obtaining multiple airflow temperatures, selecting an airflow temperature, clearing the airflow temperature array, returning for execution, and controlling the stop of heating, etc.), and instructions for implementing the following various method embodiments. The data storage area may also store data created during the use of the heat-not-burn appliance 800 (such as heat-not-burn appliances, preset rules, negative temperature coefficient temperature sensors, multiple airflow temperatures, airflow temperature arrays, puff numbers, a first preset duration, a first airflow temperature drop value, a first temperature drop threshold, a second preset duration, a second airflow temperature drop value, a second temperature drop threshold, a third preset duration, a third airflow temperature drop value, a third temperature drop threshold, a preset time interval, an airflow channel, a temperature collection moment, near and far, order, a preset quantity, a puff number threshold, preset conditions, a waiting duration, and a waiting duration threshold, etc.).
[0192] The processor 820 may include one or more processing cores. The processor 820 is connected to various parts within the heat-not-burn appliance 800 through various interfaces and lines. By running or executing instructions, programs, code sets, or instruction sets stored in the memory 810, and by calling data stored in the memory 810, it performs various functions of the heat-not-burn appliance 800 and processes data. Optionally, the processor 820 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). The processor 820 may integrate a combination of one or several of a central processing unit (CPU), a graphics processing unit (GPU), and a modem, etc. Among them, the CPU mainly processes the operating system, user interface, application programs, etc.; the GPU is responsible for rendering and drawing display content; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 820 and may be implemented separately through a communication chip.
[0193] Please refer to Figure 9 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. Program code 910 is stored in the computer-readable storage medium 900, and the program code 910 can be called by a processor to execute the method described in the above method embodiment.
[0194] The computer-readable storage medium 900 may be an electronic memory such as flash memory, EEPROM (electrically erasable programmable read-only memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 900 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 900 has a storage space for the program code 910 that executes any method step in the above method. These program codes can be read out from or written into one or more computer program products. The program code 910 may be compressed in an appropriate form, for example.
[0195] Please refer to Figure 10, which shows a structural block diagram of a computer program product 1000 provided by an embodiment of the present application. The computer program product 1000 includes computer programs / instructions 1010, and the computer programs / instructions 1010 are stored in a computer-readable storage medium of a computer device. When the computer program product 1000 runs on the computer device, the processor of the computer device reads the computer programs / instructions 1010 from the computer-readable storage medium, and the processor executes the computer programs / instructions 1010, so that the computer device executes the method described in the above method embodiments.
[0196] In the solution provided in this embodiment, when it is determined that the heat-not-burn appliance has completed preheating, a plurality of air flow temperatures of the heat-not-burn appliance collected by a negative temperature coefficient temperature sensor are recorded according to a preset rule to obtain an air flow temperature array, and whether the heat-not-burn appliance is suctioned is determined according to the air flow temperature array. And when it is determined according to the air flow temperature array that the heat-not-burn appliance is suctioned, the number of suction ports of the heat-not-burn appliance is incremented by one. It realizes suction detection of the heat-not-burn appliance based on the air flow temperature collected by the negative temperature coefficient temperature sensor, and when it is detected that the heat-not-burn appliance is suctioned, the number of suction ports of the heat-not-burn appliance is incremented. During the counting process of the number of suction ports of the heat-not-burn appliance, the negative temperature coefficient temperature sensor is used to replace the microphone to perform suction detection on the heat-not-burn appliance. The negative temperature coefficient temperature sensor for collecting the air flow temperature can share the chip pins with the negative temperature coefficient temperature sensor for collecting the heating temperature, reducing the chip pins occupied by the microphone, reducing the design cost of the control chip, and being beneficial to reducing the manufacturing cost of the heat-not-burn appliance.
[0197] Moreover, the high-temperature resistance performance of the microphone is poor, and the aging speed of the microphone in the heat-not-burn appliance is relatively fast. Using the negative temperature coefficient temperature sensor to replace the microphone can prevent the low detection accuracy of suction detection of the heat-not-burn appliance caused by the aging of the microphone, which is beneficial to improving the detection accuracy of suction detection of the heat-not-burn appliance.
[0198] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements 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 the present application.
Claims
1. A method for counting the number of puffs of a heat-not-burn appliance, characterized in that: include: When it is determined that the heating without combustion appliance has completed preheating, multiple airflow temperatures of the heating without combustion appliance collected by the negative temperature coefficient temperature sensor are recorded according to a preset rule to obtain an airflow temperature array; determining whether the heat-not-burn appliance is being drawn based on the airflow temperature array; When it is determined according to the airflow temperature array that the heat-without-burning appliance is being puffed, the number of puffs of the heat-without-burning appliance is accumulated once.
2. The method for counting the number of puffs according to claim 1, characterized in that: The determining whether the heating without burning appliance is sucked according to the airflow temperature array comprises: Calculating a first airflow temperature drop value within a first preset time period according to the airflow temperature array; When it is determined that the first airflow temperature drop value is greater than or equal to a first temperature drop threshold, it is determined that the heating without burning appliance is being sucked.
3. The puff counting method according to claim 2, characterized in that: The step of determining whether the heating without burning appliance is sucked according to the airflow temperature array further comprises: When it is determined that the first airflow temperature drop value is less than the first temperature drop threshold, calculating a second airflow temperature drop value within a second preset time period, the second preset time period being greater than the first preset time period; When it is determined that the second airflow temperature drop value is greater than or equal to a second temperature drop threshold, it is determined that the heating without burning appliance is sucked, and the second temperature drop threshold is greater than the first temperature drop threshold.
4. The puff counting method according to claim 3, characterized in that: The step of determining whether the heating without burning appliance is sucked according to the airflow temperature array further comprises: When it is determined that the second airflow temperature drop value is less than the second temperature drop threshold, calculating a third airflow temperature drop value within a third preset time period, wherein the third preset time period is greater than the second preset time period; When it is determined that the third airflow temperature drop value is greater than or equal to a third temperature drop threshold, it is determined that the heat-not-burn appliance is being sucked, and the third temperature drop threshold is greater than the second temperature drop threshold; When it is determined that the third airflow temperature drop value is less than the third temperature drop threshold value, it is determined that the heat-not-burn appliance is not being sucked.
5. The puff counting method according to any one of claims 1 to 4, characterized in that: When it is determined that the heating without combustion device has completed preheating, multiple airflow temperatures of the heating without combustion device collected by the negative temperature coefficient temperature sensor are recorded according to a preset rule to obtain an airflow temperature array, including: When it is determined that the heating without combustion device has completed preheating, controlling the negative temperature coefficient temperature sensor to collect the temperature of the air flow channel of the heating without combustion device at a preset time interval to obtain the multiple air flow temperatures; According to the order of the temperature collection moments of the multiple airflow temperatures from near to far, a preset number of airflow temperatures are selected from the multiple airflow temperatures and recorded as the airflow temperature array.
6. The puff counting method according to any one of claims 1 to 4, characterized in that: When it is determined according to the airflow temperature array that the heating without burning appliance is being puffed, after accumulating the number of puffs of the heating without burning appliance once, the puff number counting method further includes: Clears the airflow temperature array.
7. The puff counting method according to claim 6, characterized in that: After clearing the airflow temperature array, the puff counting method further includes: When the puff count is less than the puff count threshold and the heat-without-combustion device satisfies a preset condition, returning to the step of recording multiple airflow temperatures of the heat-without-combustion device collected by the negative temperature coefficient temperature sensor according to a preset rule to obtain an airflow temperature array and subsequent steps; The heating without burning appliance satisfies a preset condition that a waiting time after clearing the airflow temperature array is greater than or equal to a waiting time threshold.
8. The puff counting method according to claim 7, characterized in that: Also includes: When the puff count is greater than or equal to the puff count threshold, the heating without burning appliance is controlled to stop heating.
9. A heating without burning device, characterized in that: include: Memory; One or more processors coupled to the memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to perform the puff counting method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, which can be called by a processor to execute the puff counting method according to any one of claims 1 to 8.