Child lock control method, child lock control circuit, child lock control device and electronic cigarette

CN119997834APending Publication Date: 2025-05-13WUXI WINSEMI MICROELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280097463.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-10-20
Filing Date
2022-12-30
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

The child lock function of existing electronic cigarettes can easily trigger the lock by mistake when the user is smoking normally, causing inconvenience and increasing hardware cost or complexity. In addition, the locking cost of the existing technology is relatively high, which affects safety.

Method used

By receiving the air pressure information in the air flow channel of the electronic cigarette, it is judged whether it is in the puffing state, and if the cumulative number of puffs within the preset time period reaches the preset number, the state is locked, and the airflow sensor and status detection unit are used to distinguish between normal puffing and Re-suck, reduce the probability of false triggering, and achieve safe child lock control without increasing hardware costs.

Benefits of technology

It effectively reduces the probability of users accidentally triggering the lock during normal smoking, improves the safety and convenience of using e-cigarettes, avoids an increase in hardware costs, and improves the effect of lock protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119997834A_ABST
    Figure CN119997834A_ABST
Patent Text Reader

Abstract

The invention discloses a child lock control method, a child lock control circuit and a child lock control device of an electronic cigarette and the electronic cigarette. A child lock control method for an electronic cigarette, the electronic cigarette comprising a power MOS tube (M) and a heating element (130), the heating element (130) and the power MOS tube (M) being connected in series, the heating element (130) heating to atomize an e-liquid when the power MOS tube (M) is turned on, the heating element (130) stopping heating when the power MOS tube (M) is turned off, the child lock control method comprising: receiving first counting information (S11), wherein the first counting information is used for representing the air pressure condition in the airflow channel of the electronic cigarette; determining whether the first counting information is within a second preset numerical value range (S12), the second preset numerical value range being within a first preset numerical value range, the first preset numerical value range being used for determining whether the electronic cigarette is in a smoking state; if the judgment result is yes, triggering to carry out second timing and triggering to carry out second counting (S13); determining whether the second count is greater than or equal to a second preset number within a second preset duration (S14), the second preset number being greater than or equal to 2; and if the judgment result is yes, controlling the electronic cigarette to enter a locked state (S15), and keeping the power MOS tube (M) disconnected and cut off in the locked state.
Need to check novelty before this filing date? Find Prior Art

Description

Child lock control method, child lock control circuit, device, and electronic cigarette

[0001] This application requires that on October 20, 2022, the application number is CN202211289864.0 and the application name is “A child lock control method and child lock control circuit, device, and electronic cigarette” be submitted to the China Patent Office, and that on October 20, 2022, the application number is CN202211289873.X and the application name is “A child lock control method and child lock control circuit, device, and electronic cigarette” be submitted to the China Patent Office, and that on October 20, 2022, the application number is CN202211292693.7 and the application name is “A child lock control method and child lock control circuit, device, and electronic cigarette” be submitted to the China Patent Office. Child lock control method and child lock control circuit, device, and electronic cigarette", and claiming the priority of the Chinese patent application filed with the China Patent Office on October 20, 2022, with application number CN202211289508.9 and application name “A child lock control method and child lock control circuit, device, and electronic cigarette”, and claiming the priority of the Chinese patent application filed with the China Patent Office on October 20, 2022, with application number CN202211289465.4 and application name “A child lock control method and child lock control circuit, device, and electronic cigarette”. The contents of the above-mentioned prior applications are incorporated into this application by reference. Technical Field

[0002] The present application relates to the technical field of electronic cigarettes, and in particular to a child lock control method, a child lock control circuit, a device, and an electronic cigarette. Background Art

[0003] Electronic cigarettes are electronic devices that simulate cigarettes. They replace traditional cigarettes by simulating the taste and smoke of real cigarettes, which not only saves consumers money but also reduces the harm caused by "second-hand smoke".

[0004] E-cigarettes are now commonplace in daily life and easily accessible to children. Some e-cigarettes lack child lock features, and due to children's curiosity and imitation, they can easily inhale e-cigarettes by mistake. Therefore, for safety reasons, e-cigarettes must have a child lock feature to prevent children from accidentally inhaling or touching the e-cigarettes. Currently, child lock features on e-cigarettes on the market generally use Bluetooth, Wi-Fi, NFC, fingerprints, touch buttons, mechanical buttons, and other methods to achieve child protection. Child lock features generally include locking and unlocking functions. Locking and unlocking functions are generally implemented in the same way, using Bluetooth, Wi-Fi, NFC, fingerprints, touch buttons, mechanical buttons, and other methods. However, among these implementation methods, Bluetooth, Wi-Fi, NFC, fingerprints, and other methods significantly increase hardware costs, while touch buttons and mechanical buttons add additional complexity to the structural design and have a certain impact on the appearance of the e-cigarette.

[0005] Recently, a new type of e-cigarette has appeared on the market, which implements a child lock function without increasing hardware costs. The specific solution is to set a threshold number of puffs on the e-cigarette within a preset time, for example, 3 puffs within 2 seconds, which triggers the e-cigarette to enter a locked state, implementing the locking function. After entering the locked state, it can prevent children from accidentally inhaling the e-cigarette. Although this setting can improve the safety of e-cigarettes, when the user puffs normally on the e-cigarette, if the puff is relatively fast, the user may accidentally trigger the e-cigarette to enter the locked state. After entering the locked state, the user will not atomize the e-cigarette liquid when puffing on the e-cigarette again. Normal use must be resumed after changing from the locked state to the unlocked state, which causes great inconvenience to some users.

[0006] Summary of the Invention

[0007] The technical problem to be solved by the embodiments of the present application is to provide a child lock control method, a child lock control circuit, a device, and an electronic cigarette to conveniently have a child lock function, in order to address the technical defects of the prior art that cause inconvenience to users.

[0008] In order to solve the above technical problems, the first aspect of the embodiments of the present application provides a child lock control method for an electronic cigarette. The electronic cigarette includes a power MOS tube and a heating element. The heating element and the power MOS tube are connected in series. When the power MOS tube is turned on, the heating element heats to atomize the e-liquid. When the power MOS tube is turned off, the heating element stops heating. The child lock control method includes:

[0009] receiving first counting information, wherein the first counting information is used to represent an air pressure condition in an airflow channel of the electronic cigarette;

[0010] Determining whether the first counting information is within a second preset value range, wherein the second preset value range is within the first preset value range, and the first preset value range is used to determine whether the electronic cigarette is in a puffing state;

[0011] If the judgment result is yes, the second timing and the second counting are triggered;

[0012] Determining whether the second count is greater than or equal to a second preset number within a second preset time period, wherein the second preset number is greater than or equal to 2;

[0013] If the judgment result is yes, the electronic cigarette is controlled to enter a locked state, and in the locked state, the power MOS tube remains disconnected.

[0014] Optionally, the first counting information includes the number of oscillation cycles in the first counting time, the ratio of the number of oscillation cycles in the first counting time to the reference oscillation cycle number, the difference between the number of oscillation cycles in the first counting time and the reference oscillation cycle, or the ratio of the difference between the number of oscillation cycles in the first counting time and the reference oscillation cycle number to the reference oscillation cycle number.

[0015] Optionally, when the first counting information is the number of oscillation cycles in the first counting time length, the upper limit of the second preset numerical range is smaller than the upper limit of the first preset numerical range; or,

[0016] When the first counting information is the ratio of the number of oscillation cycles in the first counting time to the reference number of oscillation cycles, the upper limit of the second preset numerical range is less than the upper limit of the first preset numerical range, wherein the reference number of oscillation cycles is the number of oscillation cycles in the first counting time when the electronic cigarette is in a non-inhalation state; or

[0017] When the first counting information is the difference between the number of oscillation cycles in the first counting time and the reference oscillation cycle, the lower limit of the second preset numerical range is greater than the lower limit of the first preset numerical range, wherein the reference oscillation cycle is the number of oscillation cycles in the first counting time when the electronic cigarette is in a non-inhalation state; or

[0018] When the first counting information is the ratio of the difference between the number of oscillation cycles and the benchmark oscillation cycle number within the first counting time period to the benchmark oscillation cycle number, the lower limit value of the second preset numerical range is greater than the lower limit value of the first preset numerical range, wherein the benchmark oscillation cycle number is the oscillation cycle number of the electronic cigarette in the first counting time period when it is in a non-inhalation state.

[0019] Optionally, the step of triggering the second counting specifically includes: triggering the third timing and triggering the third counting;

[0020] Determining whether a third count is greater than or equal to a third preset number within a third preset time period, wherein the third preset number is greater than or equal to 2;

[0021] If the judgment result is yes, the second counting is triggered.

[0022] Optionally, the electronic cigarette is in a smoking state during a third preset time period.

[0023] Optionally, the step of receiving the first counting information specifically includes: obtaining information that the electronic cigarette changes from a non-smoking state to a smoking state;

[0024] Triggering receiving first counting information.

[0025] Optionally, the child lock control method further includes:

[0026] receiving first counting information and determining whether the first counting information is within a first preset value range;

[0027] If the judgment result is yes, the information that the electronic cigarette changes from the non-smoking state to the smoking state is output.

[0028] Optionally, after the step of triggering the second counting, the method further includes: obtaining information that the electronic cigarette changes from a puffing state to a non-puffing state;

[0029] Trigger the fifth count and lock the second count;

[0030] Determining whether the fifth timer is greater than or equal to a fifth preset time period;

[0031] If the judgment result is yes, the lock on the second count is released.

[0032] Optionally, the child lock control method further includes: if the second count is less than a second preset number within a second preset time period, maintaining the original child lock state of the electronic cigarette, setting the second count to 0, and resetting the second timer to zero.

[0033] Optionally, the electronic cigarette includes a state detection unit and an airflow sensor, the state detection unit is electrically connected to the airflow sensor, and the airflow sensor is at least partially located in the airflow channel. The step of receiving the first counting information specifically includes:

[0034] The first counting information output by the receiving state detection unit.

[0035] Optionally, also include:

[0036] If the second timer reaches the second preset time, the second count is reset to zero and the second timer is reset to zero; and / or,

[0037] If the second timer is less than the second preset time length and the second count reaches the second preset number, the second count is reset to zero and the second timer is reset to zero; and / or,

[0038] The information that the first counting information is within the second preset value range is obtained again, and the second count is increased by 1.

[0039] Optionally, also include:

[0040] receiving fourth counting information;

[0041] Determining whether the fourth counting information is within a fourth preset value range, wherein the fourth preset value range is used to determine whether the electronic cigarette is in a blowing state;

[0042] If the judgment result is yes, triggering the fourth timing and triggering the fourth counting;

[0043] Determining whether a fourth count is greater than or equal to a fourth preset number within a fourth preset time period, wherein the fourth preset number is greater than or equal to 2;

[0044] If the judgment result is yes, the electronic cigarette is controlled to enter an unlocked state, wherein in the unlocked state, when the electronic cigarette is in a puffing state, the power MOS tube is continuously turned on or intermittently turned on.

[0045] Optionally, the second preset duration ranges from 1 second to 5 seconds; and / or;

[0046] The second preset number is greater than or equal to 3.

[0047] A second aspect of an embodiment of the present application provides a child lock control circuit, which is applied to an electronic cigarette, comprising:

[0048] a state detection unit, configured to be electrically connected to the airflow sensor and configured to output first counting information;

[0049] a second counting judgment unit, configured to receive first counting information and to judge whether the first counting information is within a second preset value range, wherein the first counting information is used to represent the air pressure condition in the airflow channel of the electronic cigarette; and the second preset value range is within the first preset value range, and the first preset value range is used to judge whether the electronic cigarette is in a puffing state;

[0050] a second counting unit, configured to trigger a second counting if the determination result of the second counting determination unit is yes;

[0051] a second timing unit, configured to trigger a second timing if the judgment result of the second counting judgment unit is yes;

[0052] a second timing counting judgment unit, configured to judge whether a second count is greater than or equal to a second preset number within a second preset time period, wherein the second preset number is greater than or equal to 2;

[0053] The child lock control unit is used to control the electronic cigarette to enter a locked state if the judgment results of the second timing and counting judgment unit are all yes. In the locked state, the power MOS tube of the electronic cigarette remains disconnected and cut off.

[0054] Optionally, the child lock control circuit is located on the same chip.

[0055] A third aspect of an embodiment of the present application provides a child lock control device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned child lock control method for an electronic cigarette when executing the computer program.

[0056] A fourth aspect of the embodiments of the present application provides an electronic cigarette, comprising: the above-mentioned child lock control circuit;

[0057] The device further includes a battery, a power MOS tube and a heating element, wherein the heating element and the power MOS tube are connected in series to form a heating branch, the two ends of the heating branch are electrically connected to the positive and negative electrodes of the battery respectively, and the control end of the power MOS tube is electrically connected to the child lock control circuit;

[0058] An airflow sensor is electrically connected to a state detection unit of the child lock control circuit, and the state detection unit is used to determine the inhalation state of the electronic cigarette.

[0059] The embodiment of the present application receives first counting information; determines whether the first counting information is within a second preset value range; if the determination result is yes, triggers a second timing and a second counting; determines whether the second count is greater than or equal to a second preset number within a second preset time period, and if the determination result is yes, controls the electronic cigarette to enter a locked state. The embodiment of the present application further subdivides the puffing state into a puffing state with lower air pressure and a puffing state with lower air pressure by using the first counting information and the second preset value range. The number of puffs in which the first counting information is within the second preset value range is distinguished as a puffing state with lower air pressure, and a second counting is performed. The electronic cigarette enters a locked state only when the second count is greater than or equal to the second preset number within the second preset time period. With this configuration, the electronic cigarette can further distinguish whether the user is puffing normally or intends to trigger the electronic cigarette to enter a locked state by puffing. This can reduce the probability of the user being mistakenly triggered to enter a locked state during normal puffing, thereby reducing user inconvenience. Moreover, by the second count being greater than or equal to the second preset number within the second preset time period, the electronic cigarette can enter a locked state. After the electronic cigarette of this embodiment is locked, it can prevent children from picking up the electronic cigarette and imitating the adult's puffing action, causing the electronic cigarette product to start atomizing, thereby improving the safety of electronic cigarette use.

[0060] A fifth aspect of the embodiments of the present application provides a child lock control method for an electronic cigarette, wherein the electronic cigarette includes a power MOS tube and a heating element, wherein the heating element and the power MOS tube are connected in series, wherein when the power MOS tube is turned on, the heating element heats to atomize the e-liquid, and when the power MOS tube is turned off, the heating element stops heating. The child lock control method includes: receiving current air pressure information in an airflow channel of the electronic cigarette;

[0061] Determining whether the current air pressure information is within a second preset air pressure range, wherein the second preset air pressure range is within a first preset air pressure range, and the first preset air pressure range is used to determine whether the electronic cigarette is in a puffing state;

[0062] If the judgment result is yes, the second timing and the second counting are triggered;

[0063] Determining whether the second count is greater than or equal to a second preset number within a second preset time period, wherein the second preset number is greater than or equal to 2;

[0064] If the judgment result is yes, the electronic cigarette is controlled to enter a locked state, and in the locked state, the power MOS tube remains disconnected.

[0065] Optionally, the current air pressure information includes the current air pressure value, the ratio of the current air pressure value to the reference air pressure value, the difference between the current air pressure value and the reference air pressure value, or the ratio of the difference between the current air pressure value and the reference air pressure value to the reference air pressure value.

[0066] Optionally, when the current air pressure information is a current air pressure value, the upper limit of the second preset air pressure range is less than the upper limit of the first preset air pressure range; or, when the current air pressure information is a ratio of the current air pressure value to a reference air pressure value, the upper limit of the second preset air pressure range is less than the upper limit of the first preset air pressure range, wherein the reference air pressure value is the air pressure value in the air flow channel of the electronic cigarette when it is in a non-inhalation state; or, when the current air pressure information is a difference between the current air pressure value and the reference air pressure value, the lower limit of the second preset air pressure range is greater than the lower limit of the first preset air pressure range, wherein the reference air pressure value is the air pressure value in the air flow channel of the electronic cigarette when it is in a non-inhalation state; or, when the current air pressure information is a ratio of the difference between the current air pressure value and the reference air pressure value to the reference air pressure value, the lower limit of the second preset air pressure range is greater than the lower limit of the first preset air pressure range, wherein the reference air pressure value is the air pressure value in the air flow channel of the electronic cigarette when it is in a non-inhalation state.

[0067] Optionally, the step of triggering the second counting specifically includes:

[0068] Triggering a third timing and triggering a third counting;

[0069] Determining whether a third count is greater than or equal to a third preset number within a third preset time period, wherein the third preset number is greater than or equal to 2;

[0070] If the judgment result is yes, the second counting is triggered.

[0071] Optionally, the electronic cigarette is in a smoking state during a third preset time period.

[0072] Optionally, the step of receiving current air pressure information in the airflow channel of the electronic cigarette specifically includes:

[0073] Obtain the current capacitance value, the current frequency value, the current count value, the current capacitance change relative to the non-suction and blowing state, the current frequency change relative to the non-suction and blowing state, or the current count change relative to the non-suction and blowing state;

[0074] Searching a pre-stored capacitance value-pressure value table according to the current capacitance value, searching a pre-stored frequency value-pressure value table according to the current frequency value, searching a pre-stored count value-pressure value table according to the current count value, searching a pre-stored capacitance change-pressure value table according to the current capacitance change, searching a pre-stored frequency change-pressure value table according to the current frequency change, or searching a pre-stored count change-pressure value table according to the current count change;

[0075] Obtaining and outputting the current air pressure information in the electronic cigarette airflow channel;

[0076] Receive current air pressure information.

[0077] Optionally, the child lock control method further includes:

[0078] Receiving current air pressure information in the airflow channel of the electronic cigarette and determining whether the current air pressure information is within a first preset air pressure range;

[0079] If the judgment result is yes, the information that the electronic cigarette changes from the non-smoking state to the smoking state is output.

[0080] Optionally, the child lock control method further includes:

[0081] receiving a current count value, wherein the current count value is used to represent an air pressure condition in an airflow channel of the electronic cigarette;

[0082] Determining whether the current count value is within a first preset value range, wherein the first preset value range corresponds to the first preset air pressure range;

[0083] If the judgment result is yes, the information that the electronic cigarette changes from the non-smoking state to the smoking state is output.

[0084] Optionally, after the step of triggering the second counting, the method further includes:

[0085] Obtaining information that the electronic cigarette changes from a puffing state to a non-puffing state;

[0086] Trigger the fifth count and lock the second count;

[0087] Determining whether the fifth timer is greater than or equal to a fifth preset time period;

[0088] If the judgment result is yes, the lock on the second count is released.

[0089] Optionally, the child lock control method further includes: if the second count is less than a second preset number within a second preset time period, maintaining the original child lock state of the electronic cigarette, setting the second count to 0, and resetting the second timer to zero; and / or,

[0090] If the second timer reaches the second preset time, the second count is reset to zero and the second timer is reset to zero; and / or,

[0091] If the second timer is less than the second preset time length and the second count reaches the second preset number, the second count is reset to zero and the second timer is reset to zero; and / or,

[0092] The information indicating that the current air pressure in the airflow channel of the electronic cigarette is within the second preset air pressure range is obtained again, and the second count is incremented by 1.

[0093] Optionally, also include:

[0094] Receive current air pressure information in the electronic cigarette airflow channel;

[0095] Determining whether the current air pressure information is within a fourth preset air pressure range, wherein the fourth preset air pressure range is used to determine whether the electronic cigarette is in a blowing state;

[0096] If the judgment result is yes, triggering the fourth timing and triggering the fourth counting;

[0097] Determining whether a fourth count is greater than or equal to a fourth preset number within a fourth preset time period, wherein the fourth preset number is greater than or equal to 2;

[0098] If the judgment result is yes, the electronic cigarette is controlled to enter an unlocked state, wherein in the unlocked state, when the electronic cigarette is in a puffing state, the power MOS tube is continuously turned on or intermittently turned on.

[0099] Optionally, the second preset duration ranges from 1 second to 5 seconds; and / or;

[0100] The second preset number is greater than or equal to 3.

[0101] A sixth aspect of the present application provides a child lock control circuit, which is applied to an electronic cigarette and includes:

[0102] An air pressure acquisition unit, which is used to output the current air pressure information in the airflow channel of the electronic cigarette;

[0103] a second air pressure determination unit, configured to receive current air pressure information and determine whether the current air pressure information is within a second preset air pressure range, wherein the second preset air pressure range is within the first preset air pressure range, and the first preset air pressure range is used to determine whether the electronic cigarette is in a puffing state;

[0104] a second counting unit, configured to trigger a second counting if the determination result of the second air pressure determination unit is yes;

[0105] a second timing unit, configured to trigger a second timing if the judgment result of the second air pressure judgment unit is yes;

[0106] a second timing counting judgment unit, configured to judge whether a second count is greater than or equal to a second preset number within a second preset time period, wherein the second preset number is greater than or equal to 2;

[0107] The child lock control unit is used to control the electronic cigarette to enter a locked state if the judgment results of the second timing and counting judgment unit are all yes. In the locked state, the power MOS tube of the electronic cigarette remains disconnected and cut off.

[0108] Optionally, the child lock control circuit is located on the same chip; and / or,

[0109] The child lock control circuit further includes a state detection unit, which is used to be electrically connected to the air flow sensor and is also used to be connected to the air pressure acquisition unit.

[0110] A seventh aspect of an embodiment of the present application provides a child lock control device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned child lock control method for an electronic cigarette when executing the computer program.

[0111] An eighth aspect of the embodiments of the present application provides an electronic cigarette, comprising: the above-mentioned child lock control circuit;

[0112] It also includes a battery, a power MOS tube and a heating element. The heating element and the power MOS tube are connected in series to form a heating branch. The two ends of the heating branch are electrically connected to the positive and negative poles of the battery respectively, and the control end of the power MOS tube is electrically connected to the child lock control circuit.

[0113] The embodiment of the present application receives current air pressure information within the airflow channel of the electronic cigarette; determines whether the current air pressure information is within a second preset air pressure range; if the determination result is yes, triggers a second timing and a second count; determines whether the second count is greater than or equal to a second preset number within a second preset time period; if the determination result is yes, controls the electronic cigarette to enter a locked state. The embodiment of the present application further subdivides the puff state into a puff state with lower air pressure and a puff state with lower air pressure based on the current air pressure information and the second preset air pressure range. The number of puffs in which the current air pressure information is within the second preset air pressure range is distinguished as a puff state with lower air pressure, and a second count is performed. The electronic cigarette enters the locked state only when the second count is greater than or equal to the second preset number within the second preset time period. With this configuration, the electronic cigarette can further distinguish whether the user is puffing normally or intending to trigger the lock state by puffing, thereby reducing the probability of the user being mistakenly triggered to enter the lock state during normal puffing, thereby reducing the user's usage troubles. Moreover, by the second count being greater than or equal to the second preset number within the second preset time period, the electronic cigarette can enter a locked state. After the electronic cigarette of this embodiment is locked, it can prevent children from picking up the electronic cigarette and imitating the adult's puffing action, causing the electronic cigarette product to start atomizing, thereby improving the safety of electronic cigarette use.

[0114] A ninth aspect of the present application provides a child lock control method for an electronic cigarette, wherein the electronic cigarette includes a power MOS tube and a heating element, wherein the heating element and the power MOS tube are connected in series, and when the power MOS tube is turned on, the heating element heats to atomize the e-liquid, and when the power MOS tube is turned off, the heating element stops heating. The child lock control method includes:

[0115] receiving first parameter information, wherein the first parameter information is used to represent an air pressure condition in an airflow channel of the electronic cigarette;

[0116] Determining whether the first parameter information is within a second preset parameter range, wherein the second preset parameter range is within the first preset parameter range, and the first preset parameter range is used to determine whether the electronic cigarette is in a puffing state;

[0117] If the judgment result is yes, the second timing and the second counting are triggered;

[0118] Determining whether the second count is greater than or equal to a second preset number within a second preset time period, wherein the second preset number is greater than or equal to 2;

[0119] If the judgment result is yes, the electronic cigarette is controlled to enter a locked state, and in the locked state, the power MOS tube remains disconnected.

[0120] Optionally, the first parameter information includes the current capacitance value, the current frequency value, the current count value, the ratio of the current capacitance value to the reference capacitance value, the ratio of the current frequency value to the reference frequency value, the ratio of the current count value to the reference count value, the difference between the current capacitance value and the reference capacitance value, the difference between the current frequency value and the reference frequency value, the difference between the current count value and the reference count value, the ratio of the difference between the current capacitance value and the reference capacitance value to the reference oscillation capacitance value, the ratio of the difference between the current frequency value and the reference frequency value to the reference frequency value, or the ratio of the difference between the current count value and the reference count value to the reference count value.

[0121] Optionally, when the first parameter information is the current capacitance value, the difference between the current capacitance value and the reference capacitance value, the difference between the current frequency value and the reference frequency value, the difference between the current count value and the reference count value, the ratio of the difference between the current capacitance value and the reference capacitance value to the reference oscillation capacitance value, the ratio of the difference between the current frequency value and the reference frequency value to the reference frequency value, or the ratio of the difference between the current count value and the reference count value to the reference count value, the lower limit value of the second preset parameter range is greater than the lower limit value of the first preset parameter range; or, when the first parameter information is the current frequency value or the ratio of the current frequency value to the reference frequency value, the upper limit value of the second preset parameter range is less than the upper limit value of the first preset parameter range; or, when the first parameter information is the current count value or the ratio of the current count value to the reference count value, the upper limit value of the second preset parameter range is less than the upper limit value of the first preset parameter range.

[0122] Optionally, the step of triggering the second counting specifically includes:

[0123] Triggering a third timing and triggering a third counting;

[0124] Determining whether a third count is greater than or equal to a third preset number within a third preset time period, wherein the third preset number is greater than or equal to 2;

[0125] If the judgment result is yes, the second counting is triggered.

[0126] Optionally, the electronic cigarette is in a smoking state during a third preset time period.

[0127] Optionally, the child lock control method further includes:

[0128] receiving first parameter information;

[0129] Determining whether the first parameter information is within a first preset parameter range;

[0130] If the judgment result is yes, the information that the electronic cigarette changes from the non-smoking state to the smoking state is output.

[0131] Optionally, after the step of triggering the second counting, the method further includes:

[0132] Obtaining information that the electronic cigarette changes from a puffing state to a non-puffing state;

[0133] Trigger the fifth count and lock the second count;

[0134] Determining whether the fifth timer is greater than or equal to a fifth preset time period;

[0135] If the judgment result is yes, the lock on the second count is released.

[0136] Optionally, the child lock control method further includes: if the second count is less than a second preset number within a second preset time period, maintaining the original child lock state of the electronic cigarette, setting the second count to 0, and resetting the second timer to zero; and / or,

[0137] If the second timer reaches the second preset time, the second count is reset to zero and the second timer is reset to zero; and / or,

[0138] If the second timer is less than the second preset time length and the second count reaches the second preset number, the second count is reset to zero and the second timer is reset to zero; and / or,

[0139] The information that the first parameter information in the electronic cigarette airflow channel is within the second preset parameter range is obtained again, and the second count is increased by 1.

[0140] Optionally, also include:

[0141] receiving first parameter information;

[0142] Determining whether the first parameter information is within a fourth preset parameter range, wherein the fourth preset parameter range is used to determine whether the electronic cigarette is in a blowing state;

[0143] If the judgment result is yes, triggering the fourth timing and triggering the fourth counting;

[0144] Determining whether a fourth count is greater than or equal to a fourth preset number within a fourth preset time period, wherein the fourth preset number is greater than or equal to 2;

[0145] If the judgment result is yes, the electronic cigarette is controlled to enter an unlocked state, wherein in the unlocked state, when the electronic cigarette is in a puffing state, the power MOS tube is continuously turned on or intermittently turned on.

[0146] Optionally, the second preset duration ranges from 1 second to 5 seconds; and / or;

[0147] The second preset number is greater than or equal to 3.

[0148] A tenth aspect of the embodiments of the present application provides a child lock control circuit, which is applied to an electronic cigarette, comprising:

[0149] a state detection unit, which is electrically connected to the airflow sensor and is further configured to output first parameter information;

[0150] a second parameter determination unit, configured to receive the first parameter information and determine whether the first parameter information is within a second preset parameter range, wherein the second preset parameter range is within the first preset parameter range, and the first preset parameter range is used to determine whether the electronic cigarette is in a puffing state;

[0151] a second counting unit, configured to trigger a second counting if the judgment result of the second parameter judgment unit is yes;

[0152] A second timing unit, configured to trigger a second timing if the judgment result of the second parameter judgment unit is yes;

[0153] a second timing counting judgment unit, configured to judge whether a second count is greater than or equal to a second preset number within a second preset time period, wherein the second preset number is greater than or equal to 2;

[0154] The child lock control unit is used to control the electronic cigarette to enter a locked state if the judgment results of the second timing and counting judgment unit are all yes. In the locked state, the power MOS tube of the electronic cigarette remains disconnected and cut off.

[0155] Optionally, the child lock control circuit is located on the same chip.

[0156] In an eleventh aspect of an embodiment of the present application, a child lock control device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the above-mentioned child lock control method for an electronic cigarette is implemented.

[0157] A twelfth aspect of the embodiments of the present application provides an electronic cigarette, comprising:

[0158] The above-mentioned child lock control circuit;

[0159] The device further includes a battery, a power MOS tube and a heating element, wherein the heating element and the power MOS tube are connected in series to form a heating branch, the two ends of the heating branch are electrically connected to the positive and negative electrodes of the battery respectively, and the control end of the power MOS tube is electrically connected to the child lock control circuit;

[0160] An airflow sensor is electrically connected to the state detection unit of the child lock control circuit.

[0161] The embodiment of the present application receives first parameter information; determines whether the first parameter information is within a second preset parameter range; if the determination result is yes, triggers a second timing and a second count; determines whether the second count is greater than or equal to a second preset number within a second preset time period; if the determination result is yes, controls the electronic cigarette to enter a locked state. The embodiment of the present application further subdivides the puffing state into a puffing state with lower air pressure and a puffing state with lower air pressure by using the first parameter information and the second preset parameter range. The number of puffs when the first parameter information is within the second preset parameter range is distinguished as a puffing state with lower air pressure, and a second count is performed. The electronic cigarette enters the locked state only when the second count is greater than or equal to the second preset number within the second preset time period. Through this setting, the electronic cigarette can further distinguish whether the user is puffing normally or intends to trigger the electronic cigarette to enter the locked state by puffing. This can reduce the probability of the user being mistakenly triggered to enter the locked state during normal puffing, thereby reducing the user's usage troubles. Moreover, by the second count being greater than or equal to the second preset number within the second preset time period, the electronic cigarette can enter a locked state. After the electronic cigarette of this embodiment is locked, it can prevent children from picking up the electronic cigarette and imitating the adult's puffing action, causing the electronic cigarette product to start atomizing, thereby improving the safety of electronic cigarette use.

[0162] A thirteenth aspect of the present application provides a child lock control method for an electronic cigarette, wherein the electronic cigarette includes a power MOS tube and a heating element, wherein the heating element and the power MOS tube are connected in series, and when the power MOS tube is turned on, the heating element heats to atomize the e-liquid, and when the power MOS tube is turned off, the heating element stops heating. The child lock control method includes:

[0163] receiving first parameter information, wherein the first parameter information is used to represent an air pressure condition in an airflow channel of the electronic cigarette;

[0164] Determining whether the first parameter information is within a second preset parameter range, wherein the second preset parameter range is within the first preset parameter range, and the first preset parameter range is used to determine whether the electronic cigarette is in a puffing state;

[0165] If the judgment result is yes, the electronic cigarette is controlled to enter a locked state, and in the locked state, the power MOS tube remains disconnected.

[0166] Optionally, the first parameter information includes the current air pressure value, the current capacitance value, the current frequency value, the current count value, the ratio of the current air pressure value to the reference air pressure value, the ratio of the current capacitance value to the reference capacitance value, the ratio of the current frequency value to the reference frequency value, the ratio of the current count value to the reference count value, the difference between the current air pressure value and the reference air pressure value, the difference between the current capacitance value and the reference capacitance value, the difference between the current frequency value and the reference frequency value, the difference between the current count value and the reference count value, the ratio of the difference between the current air pressure value and the reference air pressure value, the ratio of the difference between the current capacitance value and the reference capacitance value to the reference oscillation capacitance value, the ratio of the difference between the current frequency value and the reference frequency value to the reference frequency value, or the ratio of the difference between the current count value and the reference count value to the reference count value.

[0167] Optionally, when the first parameter information is the current air pressure value, the current frequency value, the current count value, the ratio of the current air pressure value to the reference air pressure value, the ratio of the current frequency value to the reference frequency value, or the ratio of the current count value to the reference count value, the upper limit value of the second preset parameter range is less than the upper limit value of the first preset parameter range; or,

[0168] When the first parameter information is the current capacitance value, the ratio of the current capacitance value to the reference capacitance value, the difference between the current air pressure value and the reference air pressure value, the difference between the current capacitance value and the reference capacitance value, the difference between the current frequency value and the reference frequency value, the difference between the current count value and the reference count value, the ratio of the difference between the current air pressure value and the reference air pressure value to the reference air pressure value, the ratio of the difference between the current capacitance value and the reference capacitance value to the reference oscillation capacitance value, the ratio of the difference between the current frequency value and the reference frequency value to the reference frequency value, or the ratio of the difference between the current count value and the reference count value to the reference count value, the lower limit value of the second preset parameter range is greater than the lower limit value of the first preset parameter range.

[0169] Optionally, when the first parameter information is the current air pressure value, the current frequency value, or the current count value, the ratio of the upper limit value of the second preset parameter range to the upper limit value of the first preset parameter range is less than or equal to 85%; or,

[0170] When the first parameter information is the current capacitance value, the ratio of the lower limit value of the second preset parameter range to the lower limit value of the first preset parameter range is greater than or equal to 115%; or,

[0171] When the first parameter information is the ratio of the current air pressure value to the reference air pressure value, the ratio of the current frequency value to the reference frequency value, or the ratio of the current count value to the reference count value, the upper limit of the second preset parameter range is less than or equal to 85%; or

[0172] When the first parameter information is the ratio of the current capacitance value to the reference capacitance value, the lower limit of the second preset parameter range is greater than or equal to 115%; or,

[0173] When the first parameter information is the ratio of the difference between the current air pressure value and the reference air pressure value, the ratio of the difference between the current capacitance value and the reference capacitance value to the reference oscillation capacitance value, the ratio of the difference between the current frequency value and the reference frequency value, or the ratio of the difference between the current count value and the reference count value to the reference count value, the lower limit value of the second preset parameter range is greater than or equal to 15%.

[0174] Optionally, when the first parameter information is the current air pressure value, the step of receiving the first parameter information specifically includes:

[0175] Get the current capacitance value, current frequency value or current count value;

[0176] Searching a pre-stored capacitance value-pressure value table according to the current capacitance value, searching a pre-stored frequency value-pressure value table according to the current frequency value, or searching a pre-stored count value-pressure value table according to the current count value;

[0177] Obtain the current air pressure value in the electronic cigarette airflow channel and output it;

[0178] Receive first parameter information.

[0179] Optionally, the child lock control method further includes:

[0180] receiving first parameter information;

[0181] Determining whether the first parameter information is within a first preset parameter range;

[0182] If the judgment result is yes, the information that the electronic cigarette changes from the non-smoking state to the smoking state is output.

[0183] Optionally, also include:

[0184] receiving first parameter information;

[0185] Determining whether the first parameter information is within a fourth preset parameter range, wherein the fourth preset parameter range is used to determine whether the electronic cigarette is in a blowing state;

[0186] If the judgment result is yes, triggering the fourth timing and triggering the fourth counting;

[0187] Determining whether a fourth count is greater than or equal to a fourth preset number within a fourth preset time period, wherein the fourth preset number is greater than or equal to 2;

[0188] If the judgment result is yes, the electronic cigarette is controlled to enter an unlocked state, wherein in the unlocked state, when the electronic cigarette is in a puffing state, the power MOS tube is continuously turned on or intermittently turned on.

[0189] A fourteenth aspect of the present application provides a child lock control circuit, which is applied to an electronic cigarette and includes:

[0190] a second parameter determination unit, configured to receive the first parameter information and determine whether the first parameter information is within a second preset parameter range, wherein the second preset parameter range is within the first preset parameter range, and the first preset parameter range is used to determine whether the electronic cigarette is in a puffing state;

[0191] The child lock control unit is used to control the electronic cigarette to enter a locked state if the judgment results of the second parameter judgment unit are all yes. In the locked state, the power MOS tube of the electronic cigarette remains disconnected.

[0192] Optionally, the child lock control circuit is located on the same chip; and / or,

[0193] The child lock control circuit further includes a state detection unit, which is electrically connected to the airflow sensor and is further configured to output first parameter information; and / or,

[0194] The child lock control circuit also includes a state detection unit and an air pressure acquisition unit. The state detection unit is used to be electrically connected to the airflow sensor. The state detection unit is also used to be connected to the air pressure acquisition unit. The air pressure acquisition unit is used to output the first parameter information.

[0195] A fifteenth aspect of an embodiment of the present application provides a child lock control device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned child lock control method for an electronic cigarette when executing the computer program.

[0196] A sixteenth aspect of the embodiments of the present application provides an electronic cigarette, comprising:

[0197] The above-mentioned child lock control circuit;

[0198] It also includes a battery, a power MOS tube and a heating element. The heating element and the power MOS tube are connected in series to form a heating branch. The two ends of the heating branch are electrically connected to the positive and negative poles of the battery respectively, and the control end of the power MOS tube is electrically connected to the child lock control circuit.

[0199] The embodiment of the present application receives first parameter information and determines whether the first parameter information is within a second preset parameter range. If the determination result is yes, the electronic cigarette is controlled to enter a locked state. The embodiment of the present application further subdivides the puffing state by the first parameter information and the second preset parameter range into a puffing state with lower air pressure and a puffing state with lower air pressure. The number of puffs in which the first parameter information is within the second preset parameter range is distinguished as a puffing state with lower air pressure (re-puff), and the electronic cigarette is caused to enter a locked state. Through this setting, the electronic cigarette can further distinguish whether the user is puffing normally or intends to trigger the locked state by puffing on the electronic cigarette, which can reduce the probability of the user being mistakenly triggered to enter the locked state during normal puffing of the electronic cigarette, and can reduce the user's use trouble. Moreover, by achieving the locked state through re-puffing, the electronic cigarette of this embodiment can prevent children from picking up the electronic cigarette and imitating the puffing action of adults, causing the electronic cigarette product to start atomizing after the lock protection is in place, thereby improving the safety of electronic cigarette use.

[0200] A seventeenth aspect of the embodiments of the present application provides a child lock control method for an electronic cigarette, wherein the electronic cigarette includes a power MOS tube and a heating element, wherein the heating element and the power MOS tube are connected in series, and when the power MOS tube is turned on, the heating element heats to atomize the e-liquid, and when the power MOS tube is turned off, the heating element stops heating. The child lock control method includes:

[0201] receiving first parameter information, wherein the first parameter information is used to represent an air pressure condition in an airflow channel of the electronic cigarette;

[0202] Determining whether the first parameter information is within a second preset parameter range, wherein the second preset parameter range is within the first preset parameter range, and the first preset parameter range is used to determine whether the electronic cigarette is in a puffing state;

[0203] If the judgment result is yes, the second timing and the second counting are triggered;

[0204] Determining whether the second count is greater than or equal to a second preset number within a second preset time period, wherein the second preset number is greater than or equal to 2;

[0205] If the judgment result is yes, the electronic cigarette is controlled to enter an unlocked state. In the unlocked state, when the electronic cigarette is in a puffing state, the power MOS tube is continuously turned on or intermittently turned on.

[0206] Optionally, the first parameter information includes the current air pressure value, the current capacitance value, the current frequency value, the current count value, the current air pressure change, the current capacitance change, the current frequency change, the current count change, the ratio of the current air pressure value to the reference air pressure value, the ratio of the current capacitance value to the reference capacitance value, the ratio of the current frequency value to the reference frequency value, the ratio of the current count value to the reference count value, the ratio of the current air pressure change to the reference air pressure value, the ratio of the current capacitance change to the reference capacitance value, the ratio of the current frequency change to the reference frequency value, or the ratio of the current count change to the reference count value.

[0207] Optionally, when the first parameter information is the current capacitance value, the current air pressure change, the current capacitance change, the current frequency change, the current count change, the ratio of the current air pressure change to the reference air pressure value, the ratio of the current capacitance change to the reference capacitance value, the ratio of the current frequency change to the reference frequency value, or the ratio of the current count change to the reference count value, the lower limit value of the second preset parameter range is greater than the lower limit value of the first preset parameter range; or,

[0208] When the first parameter information is the current air pressure value, the current frequency value, the ratio of the current air pressure value to the reference air pressure value, or the ratio of the current frequency value to the reference frequency value, the upper limit value of the second preset parameter range is less than the upper limit value of the first preset parameter range; or

[0209] When the first parameter information is a current count value or a ratio of a current count value to a reference count value, an upper limit value of the second preset parameter range is smaller than an upper limit value of the first preset parameter range.

[0210] Optionally, the step of triggering the second counting specifically includes:

[0211] Triggering a third timing and triggering a third counting;

[0212] Determining whether a third count is greater than or equal to a third preset number within a third preset time period, wherein the third preset number is greater than or equal to 2;

[0213] If the judgment result is yes, the second counting is triggered.

[0214] Optionally, the electronic cigarette is in a smoking state during a third preset time period.

[0215] Optionally, the child lock control method further includes:

[0216] receiving first parameter information;

[0217] Determining whether the first parameter information is within a first preset parameter range;

[0218] If the judgment result is yes, the information that the electronic cigarette changes from the non-smoking state to the smoking state is output.

[0219] Optionally, after the step of triggering the second counting, the method further includes:

[0220] Obtaining information that the electronic cigarette changes from a puffing state to a non-puffing state;

[0221] Trigger the fifth count and lock the second count;

[0222] Determining whether the fifth timer is greater than or equal to a fifth preset time period;

[0223] If the judgment result is yes, the lock on the second count is released.

[0224] Optionally, the child lock control method further includes: if the second count is less than a second preset number within a second preset time period, maintaining the original child lock state of the electronic cigarette, setting the second count to 0, and resetting the second timer to zero; and / or,

[0225] If the second timer reaches the second preset time, the second count is reset to zero and the second timer is reset to zero; and / or,

[0226] If the second timer is less than the second preset time length and the second count reaches the second preset number, the second count is reset to zero and the second timer is reset to zero; and / or,

[0227] The information that the first parameter information in the electronic cigarette airflow channel is within the second preset parameter range is obtained again, and the second count is increased by 1.

[0228] Optionally, also include:

[0229] receiving first parameter information;

[0230] Determining whether the first parameter information is within a fourth preset parameter range, wherein the fourth preset parameter range is used to determine whether the electronic cigarette is in a blowing state;

[0231] If the judgment result is yes, triggering the fourth timing and triggering the fourth counting;

[0232] Determining whether a fourth count is greater than or equal to a fourth preset number within a fourth preset time period, wherein the fourth preset number is greater than or equal to 2;

[0233] If the judgment result is yes, the electronic cigarette is controlled to enter a locked state, and in the locked state, the power MOS tube remains disconnected.

[0234] Optionally, the second preset duration ranges from 1 second to 5 seconds; and / or;

[0235] The second preset number is greater than or equal to 3.

[0236] Optionally, the first parameter information includes a current capacitance value, a current frequency value, a current count value, a current capacitance change, a current frequency change, a current count change, a ratio of a current capacitance value to a reference capacitance value, a ratio of a current frequency value to a reference frequency value, a ratio of a current count value to a reference count value, a ratio of a current capacitance change to a reference capacitance value, a ratio of a current frequency change to a reference frequency value, or a ratio of a current count change to a reference count value. The electronic cigarette includes a state detection unit and a capacitive airflow sensor. The state detection unit is used to be electrically connected to the capacitive airflow sensor. The capacitive airflow sensor includes a capacitor, and the capacitor is located in the airflow channel. The step of receiving the first parameter information specifically includes: receiving the first parameter information output by the state detection unit.

[0237] Optionally, the first parameter information includes a current air pressure value, a current air pressure change, a ratio of the current air pressure value to a reference air pressure value, and a ratio of the current air pressure change to the reference air pressure value. The electronic cigarette includes a state detection unit and a capacitive airflow sensor. The state detection unit is electrically connected to the capacitive airflow sensor. The capacitive airflow sensor includes a capacitor, and the capacitor is located in the airflow channel of the electronic cigarette. The step of receiving the first parameter information specifically includes:

[0238] Obtaining, through the state detection unit, a current capacitance value, a current frequency value, a current count value, a current capacitance change relative to a non-suction and blowing state, a current frequency change relative to a non-suction and blowing state, or a current count change relative to a non-suction and blowing state;

[0239] Searching a pre-stored capacitance value-pressure value table according to the current capacitance value, searching a pre-stored frequency value-pressure value table according to the current frequency value, searching a pre-stored count value-pressure value table according to the current count value, searching a pre-stored capacitance change-pressure value table according to the current capacitance change, searching a pre-stored frequency change-pressure value table according to the current frequency change, or searching a pre-stored count change-pressure value table according to the current count change;

[0240] Receive first parameter information in the electronic cigarette airflow channel.

[0241] An eighteenth aspect of the present application provides a child lock control circuit, which is applied to an electronic cigarette and includes:

[0242] a second parameter determination unit, configured to receive first parameter information and determine whether the first parameter information is within a second preset parameter range, wherein the first parameter information is used to characterize the air pressure condition in the airflow channel of the electronic cigarette, the second preset parameter range is within the first preset parameter range, and the first preset parameter range is used to determine whether the electronic cigarette is in a puffing state;

[0243] a second counting unit, configured to trigger a second counting if the judgment result of the second parameter judgment unit is yes;

[0244] A second timing unit, configured to trigger timing if the judgment result of the second parameter judgment unit is yes;

[0245] a second timing counting judgment unit, configured to judge whether a second count is greater than or equal to a second preset number within a second preset time period, wherein the second preset number is greater than or equal to 2;

[0246] The child lock control unit is used to control the electronic cigarette to enter an unlocked state if the judgment results of the second timing and counting judgment unit are all yes. In the unlocked state, the power MOS tube is continuously turned on or intermittently turned on when the electronic cigarette is in the inhalation state.

[0247] Optionally, the child lock control circuit is located on the same chip; and / or,

[0248] The child lock control circuit further includes a state detection unit, which is electrically connected to the airflow sensor and is further configured to output first parameter information; and / or,

[0249] The child lock control circuit also includes a state detection unit and an air pressure acquisition unit. The state detection unit is used to be electrically connected to the airflow sensor. The state detection unit is also used to be connected to the air pressure acquisition unit. The air pressure acquisition unit is used to output the first parameter information.

[0250] A nineteenth aspect of an embodiment of the present application provides a child lock control device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned child lock control method for an electronic cigarette when executing the computer program.

[0251] The twentieth aspect of the embodiment of the present application provides an electronic cigarette, comprising:

[0252] The above-mentioned child lock control circuit;

[0253] It also includes a battery, a power MOS tube and a heating element. The heating element and the power MOS tube are connected in series to form a heating branch. The two ends of the heating branch are electrically connected to the positive and negative poles of the battery respectively, and the control end of the power MOS tube is electrically connected to the child lock control circuit.

[0254] The embodiment of the present application receives first parameter information; determines whether the first parameter information is within a second preset parameter range, and if the determination result is yes, triggers a second timing and a second count; determines whether the second count is greater than or equal to a second preset number within a second preset time period, and if the determination result is yes, controls the electronic cigarette to enter an unlocked state. In the embodiment of the present application, the puff state is further subdivided into a puff state with lower air pressure and a puff state with relatively low air pressure through the first parameter information and the second preset parameter range. The number of puffs when the first parameter information is within the second preset parameter range is distinguished as a puff state with lower air pressure, and a second count is performed. The electronic cigarette enters the unlocked state only when the second count is greater than or equal to the second preset number within the second preset time period. Through such a setting, the electronic cigarette can further distinguish whether the user is puffing normally or wants to trigger the unlocked state by puffing on the electronic cigarette, which can reduce the probability of the user being mistakenly triggered to unlock when playing with the electronic cigarette, and can reduce the user's use troubles. Moreover, it is necessary to take a deep puff to unlock. Generally, children cannot easily distinguish puffs as deep puffs and normal puffs, so it is difficult for children to unlock the locked state of the electronic cigarette, thereby improving the safety of the electronic cigarette. BRIEF DESCRIPTION OF THE DRAWINGS

[0255] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the implementation. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0256] FIG1 is a circuit module diagram of an electronic cigarette according to a first embodiment of the present application;

[0257] FIG2 is a flowchart of a child lock control method according to a first embodiment of the present application;

[0258] FIG3 is a diagram showing some specific steps of the process of step S13 in FIG2 ;

[0259] FIG4 is a flowchart of the process steps after step S13 in FIG2 ;

[0260] FIG5 is a flowchart of an embodiment of the process after step S15 in FIG2 ;

[0261] FIG6 is a schematic block diagram of a child lock control circuit according to an embodiment of the present application;

[0262] FIG7 is a schematic structural diagram of a child lock control device according to an embodiment of the present application;

[0263] FIG8 is a circuit module diagram of an electronic cigarette according to a second embodiment of the present application;

[0264] FIG9 is a flowchart of a child lock control method according to a second embodiment of the present application;

[0265] FIG10 is a diagram showing some specific process steps of step S13 in FIG9 ;

[0266] FIG11 is a flowchart of another part of the child lock control method according to an embodiment of the present application;

[0267] FIG12 is a flowchart of the process steps after step S13 in FIG9 ;

[0268] FIG13 is a flowchart of an embodiment after step S15 in FIG9 ;

[0269] FIG14 is a schematic block diagram of a child lock control circuit according to an embodiment of the present application;

[0270] FIG15 is a schematic structural diagram of a child lock control device according to an embodiment of the present application.

[0271] FIG16 is a circuit module diagram of an electronic cigarette according to a third embodiment of the present application;

[0272] FIG17 is a flowchart of a child lock control method according to a third embodiment of the present application;

[0273] FIG18 is a diagram showing some specific steps of the process of step S13 in FIG17;

[0274] FIG19 is a flowchart of another part of the child lock control method according to an embodiment of the present application;

[0275] FIG20 is a flowchart of the process steps after step S13 in FIG17;

[0276] FIG21 is a flowchart of an embodiment of the process after step S15 in FIG17;

[0277] FIG22 is a schematic block diagram of a child lock control circuit according to an embodiment of the present application;

[0278] FIG23 is a schematic structural diagram of a child lock control device according to an embodiment of the present application;

[0279] FIG24 is a circuit module diagram of an electronic cigarette according to a fourth embodiment of the present application;

[0280] FIG25 is a flowchart of a child lock control method according to a fourth embodiment of the present application;

[0281] FIG26 is a flowchart showing another embodiment of step S11 in FIG25;

[0282] FIG27 is a flowchart of another part of the child lock control method according to an embodiment of the present application;

[0283] FIG28 is a flowchart of an embodiment of the process steps after step S13 in FIG25;

[0284] FIG29 is a schematic block diagram of a child lock control circuit according to an embodiment of the present application;

[0285] FIG30 is a schematic structural diagram of a child lock control device according to an embodiment of the present application;

[0286] FIG31 is a circuit module diagram of an electronic cigarette according to a fifth embodiment of the present application;

[0287] FIG32 is a flowchart of a child lock control method according to a fifth embodiment of the present application;

[0288] FIG33 is a flowchart showing another embodiment of step S11 in FIG32;

[0289] FIG34 is a diagram showing some specific steps of the process of step S13 in FIG32;

[0290] FIG35 is a flowchart of another part of the child lock control method according to an embodiment of the present application;

[0291] FIG36 is a flowchart of the process steps after step S13 in FIG32;

[0292] FIG37 is a flowchart of an embodiment of the process steps after step S15 in FIG32;

[0293] FIG38 is a schematic block diagram of a child lock control circuit according to an embodiment of the present application;

[0294] Figure 39 is a structural diagram of a child lock control device according to an embodiment of the present application. DETAILED DESCRIPTION

[0295] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0296] References herein to "embodiments" or "implementations" mean that a particular feature, structure, or characteristic described in connection with the embodiments or implementations may be included in at least one embodiment of the present application. The appearance of such phrases in various places in the specification does not necessarily refer to the same embodiment, nor do they constitute independent or alternative embodiments that are mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0297] First embodiment

[0298] The present application provides an electronic cigarette. Referring to Figures 1 and 6 , the electronic cigarette includes a battery 110, a child lock control circuit 200, a heating element 130, an airflow sensor 140, a power MOSFET M, and the like. The child lock control circuit 200 includes a state detection unit 150. The child lock control circuit 200 is electrically connected to the battery 110, the airflow sensor 140, the power MOSFET M, and the like. In this embodiment, the battery 110 is a rechargeable battery, such as a lithium battery, a nickel-cadmium battery, or a nickel-metal hydride battery. The battery 110 may also be a non-rechargeable battery. The state detection unit 150 is electrically connected to the airflow sensor 140. The state detection unit 150 is used to determine whether the electronic cigarette is being inhaled and / or blown, and output a corresponding signal. A specific implementation of the state detection unit 150 can be found in prior applications in the art, or other conventional state detection units known to those skilled in the art. In this embodiment, the airflow sensor 140 is a capacitive airflow sensor, such as a capacitive MEMS sensor or a capacitive microphone. The airflow sensor 140 is located within the airflow channel of the electronic cigarette and includes a capacitor. The state detection unit 150 determines whether the electronic cigarette is in the inhalation state, the puffing state, or the non-inhalation state (corresponding to the state when the user is not using the electronic cigarette) by changes in the capacitance value of the capacitor. The child lock control circuit 200 is electrically connected to the control terminal of the power MOS transistor M. The child lock control circuit 200 is used to control whether the power MOS transistor M is conductive. The power MOS transistor M is connected in series with the heating element 130 via the atomization terminal AT to form a series branch. One end of the series branch is electrically connected to the positive electrode of the battery 110 via the power supply terminal BAT, and the other end of the series branch is electrically connected to the negative electrode of the battery 110 via the power ground terminal GND. In this embodiment, the power MOS transistor M is a PMOS transistor for illustration; of course, the power MOS transistor M can also be an NMOS transistor. In this embodiment, the power MOS transistor M and the child lock control circuit 200 can be located on the same chip, which is generally referred to as a system control chip. However, the present application is not limited to this. In other embodiments of the present application, the power MOS transistor M and the child lock control circuit 200 may be located on different chips. In this embodiment, the heating element 130 is, for example, a heating wire, a heating wire, a ceramic base containing a heating wire or a heating wire, or other conventional heating elements. In this embodiment, when the child lock control circuit 200 outputs a low level to control the power MOS transistor M to be turned on, the heating element 130 heats to atomize the e-liquid. When the child lock control circuit 200 outputs a high level to control the power MOS transistor M to be turned off, the heating element 130 stops heating.

[0299] In this embodiment, the state detection unit 150 is electrically connected to the airflow sensor 140 to determine whether the electronic cigarette is being inhaled or blown into, or is in a state where neither air is blown into nor inhaled (non-inhalation and non-blow state). When the user inhales the electronic cigarette or blows into the electronic cigarette, the air pressure between the two capacitor electrode sheets of the airflow sensor 140 will change, causing the distance between the two electrode sheets to change accordingly, thereby causing the capacitance value of the airflow sensor 140 to change. The state detection unit 150 converts the capacitance value change into a count value change. By comparing the count value with a preset numerical range, the state detection unit 150 can determine whether the electronic cigarette is being inhaled and is in the inhalation state, being blown into and is in the blowing state, or is in the non-inhalation and non-blow state.

[0300] In order to distinguish between normal puffing and puffing that triggers the locked state, and to reduce the probability of being mistakenly triggered to enter the locked state during normal puffing, the inventor of this application proposed the following solution after a large number of experiments: the puffing state of the electronic cigarette is further subdivided into a puffing state with lower air pressure and a puffing state with lower air pressure. The puffing state with lower air pressure (the user's suction force is lower) corresponds to the user's normal puffing, and the puffing state with lower air pressure (the user's suction force is higher) corresponds to the user's puffing that wants to enter the locked state or the user's accidental heavy inhalation. Regardless of whether it is in the puffing state with lower air pressure or the puffing state with even lower air pressure, the electronic cigarette will be judged as a puffing state. This application determines whether it is in the puffing state with even lower air pressure by whether the first counting information is within the second preset numerical range.

[0301] Specifically, the first counting information represents the air pressure condition in the airflow channel of the electronic cigarette. The air pressure condition includes, for example, the air pressure size, the air pressure change condition, etc. The first counting information corresponds to the air pressure condition in the airflow channel. In this embodiment, when the first counting information is within the second preset value range, it represents that the electronic cigarette is in a puffing state with a lower air pressure. When the first counting information is outside the second preset value range and within the first preset value range, it represents that the electronic cigarette is in a puffing state with a lower air pressure. The second preset value range is within the first preset value range, that is, as long as the first counting information is within the second preset value range, the first counting information must be within the first preset value range, indicating that the electronic cigarette is in a puffing state and it is a heavy puff. When the first counting information is within the first preset value range, the first counting information may be within the second preset value range (heavy puff) or may not be within the second preset value range (normal puff).

[0302] In this embodiment, the first counting information includes the number of oscillation cycles during the first counting time, the ratio of the number of oscillation cycles during the first counting time to the reference number of oscillation cycles, the difference between the number of oscillation cycles during the first counting time and the reference number of oscillation cycles, or the ratio of the difference between the number of oscillation cycles during the first counting time and the reference number of oscillation cycles to the reference number of oscillation cycles. In this embodiment, the first counting time is preset, and the electronic cigarette can collect the number of oscillation cycles of the electronic cigarette's oscillator during this time. The oscillation period of the oscillator varies with the capacitance of the airflow sensor 140. When the first counting time is 1 second, the number of oscillation cycles during the first counting time is the frequency. When the electronic cigarette is neither inhaled nor blown, that is, when the electronic cigarette is in a non-inhalation state, the electrode of the capacitor is not deformed. The number of oscillation cycles counted during the preset counting time is the reference number of oscillation cycles. The preset counting time may be equal to or different from the first counting time, but is preferably equal. In this case, the reference number of oscillation cycles is collected. Alternatively, the reference number of oscillation cycles can be preset. When the user takes a light breath and the air pressure is low, the capacitance of the airflow sensor 140 is larger than that in the non-inhalation and blowing state, and the oscillation period of the oscillator will be longer, so that the value counted in the first counting time will be smaller, that is, the number of oscillation periods of the first counting time will be smaller, and the ratio of the number of oscillation periods of the first counting time to the reference oscillation period will be smaller, and the difference between the number of oscillation periods of the first counting time and the reference oscillation period will be larger, and the ratio of the difference between the number of oscillation periods of the first counting time and the reference oscillation period to the reference oscillation period will be larger; when the user takes a heavy breath and the air pressure is lower, the capacitance of the airflow sensor 140 is larger than that in the non-inhalation and blowing state, and the oscillation period of the oscillator will be longer, so that the value counted in the first counting time will be smaller, that is, the number of oscillation periods of the first counting time will be smaller, and the ratio of the number of oscillation periods of the first counting time to the reference oscillation period will be smaller, and the difference between the number of oscillation periods of the first counting time and the reference oscillation period will be larger, and the ratio of the difference between the number of oscillation periods of the first counting time and the reference oscillation period to the reference oscillation period will be larger. When the user blows air and the air pressure increases, the distance between the two electrode plates of the capacitor of the airflow sensor 140 will increase relative to the distance when there is no suction or blowing, the capacitance of the airflow sensor 140 will be smaller, and the oscillation period of the oscillator will be smaller.

[0303] When the first counting information is the number of oscillation cycles during the first counting duration, the second preset numerical range is the range of the number of oscillation cycles. When the air pressure in the airflow channel is lower, the deformation of the capacitor of the airflow sensor 140 is greater, and the distance between the two electrodes of the capacitor is smaller, so that its capacitance value is larger, and the number of oscillation cycles during the first counting duration is smaller; when the air pressure in the airflow channel is lower, the deformation of the capacitor of the airflow sensor 140 is greater, and the distance between the two electrodes of the capacitor is smaller, so that its capacitance value is larger, and the number of oscillation cycles during the first counting duration is smaller, so the first counting information is proportional to the air pressure in the airflow channel. Since the present application is designed so that the child lock state can only be entered by a user re-sniffing, the upper limit of the second preset numerical range must be less than the upper limit of the first preset numerical range, and the lower limit of the second preset numerical range must be greater than or equal to the lower limit of the first preset numerical range. For example, the second preset numerical range is [a, A], where A is 950, and the first preset numerical range is [b, B], where B is 970, and the reference oscillation period is 1000, where A is less than B, a is greater than or equal to b, and A, a, B, and b are positive integers. In other embodiments of the present application, the lower limit of the second preset numerical range is not set, that is, when the first counting information is less than A, it falls within the second preset numerical range. In addition, when the first counting information is the ratio of the number of oscillation periods in the first counting time period to the reference oscillation period, the second preset numerical range is a ratio range. The principle is similar to the solution described above where the first counting information is the number of oscillation periods in the first counting time period, and will not be repeated here. This ratio is preferably less than or equal to 0.95, for example, 0.9, 0.8, 0.7, etc.

[0304] When the first counting information is the difference between the number of oscillation cycles relative to the reference oscillation cycle during the first counting time, the second preset numerical range is the difference range. When the air pressure in the air flow channel is smaller, the capacitance deformation of the air flow sensor 140 is greater, the distance between the two electrode sheets of the capacitor is smaller, so that its capacitance value will be greater, so that the difference will be greater, when the air pressure in the air flow channel is smaller, the capacitance deformation of the air flow sensor 140 is greater, the distance between the two electrode sheets of the capacitor is smaller, so that its capacitance value will be greater, so that the difference will be greater, and thus the first counting information is proportional to the air pressure in the air flow channel. At this time, the lower limit of the second preset numerical range is greater than the lower limit of the first preset numerical range, and the upper limit of the second preset numerical range is less than or equal to the upper limit of the first preset numerical range, for example, the second preset numerical range is [M, m), for example, M is 50, and the first preset numerical range is [N, n), for example, N is 30, wherein M is greater than N, m is less than or equal to n, and M, m, N, n are positive integers. In addition, in other embodiments of the present application, the upper limit of the second preset numerical range is not limited, that is, as long as the first counting information is greater than or equal to M, it falls within the second preset numerical range. In addition, when the first counting information is the ratio of the difference between the number of oscillation cycles in the first counting time period and the reference oscillation cycle number to the reference oscillation cycle number, the second preset numerical range is a ratio range. The principle is similar to the solution described above where the first counting information is the difference between the number of oscillation cycles in the first counting time period and the reference oscillation cycle number, and will not be repeated here. This ratio is preferably greater than or equal to 0.05, for example, 0.1, 0.2, 0.3, etc.

[0305] Furthermore, when the electronic cigarette is in the puffing state, in order to determine whether the first counting information is within the second preset value range, the child lock control circuit 200 of this embodiment also includes a second counting judgment unit 211. The second counting judgment unit 211 is connected to the state detection unit 150. The state detection unit 150 itself knows the first counting information, so the state detection unit 150 outputs the first counting information to the second counting judgment unit 211. The second counting judgment unit 211 is used to receive the first counting information and determine whether the first counting information is within the second preset value range, and then it can be distinguished whether the user is puffing normally or puffing into the locked state. After such distinction, the probability of the user mistakenly judging that the child lock locked state is entered during normal puffing can be reduced.

[0306] Referring to FIG. 1 , FIG. 2 , and FIG. 6 , an embodiment of the present application provides a method for controlling a child lock of an electronic cigarette, including the following steps:

[0307] S11: receiving first counting information;

[0308] The child lock control circuit 200 includes a second counting and judging unit 211 , which is electrically connected to the state detection unit 150 . The state detection unit 150 generates and outputs first counting information, and the second counting and judging unit 211 receives the first counting information.

[0309] In this embodiment, the state detection unit 150 itself can identify whether the electronic cigarette is in the puffing state or the blowing state. When the user puffs on the electronic cigarette, the state detection unit 150 uses the airflow sensor 140 to identify the electronic cigarette as being in the puffing state. At this time, the state detection unit 150 determines that the first counting information is within a first preset value range and outputs a puffing signal. When the user blows, the state detection unit 150 uses the airflow sensor 140 to identify the electronic cigarette as being in the blowing state and outputs a blowing signal. When the electronic cigarette is neither puffed nor blown, the state detection unit 150 identifies the electronic cigarette as being in the non-puffing state and outputs a non-puffing signal. The child lock control circuit 200 receives the output signal of the state detection unit 150 to obtain the state of the electronic cigarette. When the state detection unit 150 switches from outputting the non-puffing signal to outputting the puffing signal or the blowing signal, the child lock control circuit 200 detects that the electronic cigarette has transitioned from the non-puffing state to the puffing state or the blowing state. In this embodiment, the non-suction state includes a non-suction and blowing state and a blowing state.

[0310] S12: Determine whether the first counting information is within a second preset value range, wherein the second preset value range is within the first preset value range, and the first preset value range is used to determine whether the electronic cigarette is in a puffing state;

[0311] S13: If the judgment result is yes, triggering a second timing and triggering a second counting;

[0312] After receiving the second counting information, the second counting determination unit 211 determines whether the first counting information is within a second preset value range. The second preset value range is pre-calculated or pre-stored in the second counting determination unit 211. The child lock control circuit 200 includes a second timing unit 216 and a second counting unit 215. The second timing unit 216 is electrically connected to the second counting determination unit 211, and the second counting unit 215 is electrically connected to the second counting determination unit 211. If the determination result of the second counting determination unit 211 is yes, the second counting determination unit 211 outputs a count valid signal, the second timing unit 216 is triggered to start timing, and the second timing unit 216 starts timing from 0. The second counting unit 215 is triggered to start counting and also counts this time, that is, the count of the second counting unit 215 is 1 at this time. If the determination result of the second counting determination unit 211 is no, the second counting determination unit 211 outputs a count invalid signal, the second timing unit 216 maintains its original state, and the second counting unit 215 maintains its original state. In this embodiment, after the second timing unit 216 is triggered to start timing, the second timing unit 216 will continue timing until the second timing unit 216 is reset to zero, and then the second timing unit 216 stops timing.

[0313] After the second timing unit 216 is triggered to start timing and the second counting unit 215 is triggered to start counting, when the second counting determination unit 211 receives the second counting information again and again determines that the first counting information is within the second preset value range, that is, outputs the counting valid signal again, the second count of the second counting unit 215 is increased by 1, and the second count is now 2. At the same time, the second timing unit 216 continues to perform the second timing.

[0314] S14: Determine whether the second count is greater than or equal to a second preset number within a second preset time period, wherein the second preset number is greater than or equal to 2;

[0315] The child lock control circuit 200 further includes a second timer and count determination unit 217, which is connected to the second counting unit 215 and the second timer unit 216, respectively. When the second timer and count determination unit 217 determines that the timed duration of the second timer unit 216 is within a second preset duration and the second count of the second counting unit 215 is greater than or equal to a second preset number, the second timer and count determination unit 217 outputs a child lock lock signal. In this embodiment, the second preset duration is generally less than or equal to 5 seconds, and examples include 1 second, 1.5 seconds, 1.8 seconds, 2 seconds, 2.3 seconds, 2.5 seconds, 2.8 seconds, 3 seconds, 4 seconds, 5 seconds, etc., preferably 2 seconds. In this embodiment, the second preset number is an integer greater than or equal to 2, such as 2, 3, 4, 5, 6, etc., preferably 3. The second preset number is generally less than or equal to 6 times to facilitate user operation. For example, the second preset time length is 2 seconds, and the second preset number is 3. If the second count is greater than or equal to 3 within 2 seconds, the second timing and counting judgment unit 217 outputs a child lock locking signal.

[0316] In this embodiment, the second timing counting judgment unit 217 is electrically connected to the second timing unit 216 and the second counting unit 215 in real time. When the second timing counting judgment unit 217 obtains that the second count reaches the second preset number and the second timing unit 216 has not reached the second preset time length, the second timing counting judgment unit 217 outputs a child lock locking signal, or the second timing counting judgment unit 217 waits until the timing time of the second timing unit 216 reaches the second preset time length before outputting the child lock locking signal. In other embodiments of the present application, the second timing counting judgment unit 217 is connected to the second timing unit 216 and the second counting unit 215. When the second timing unit 216 reaches the second preset time length, the second timing unit 216 outputs a signal to the second timing counting judgment unit 217. The second timing counting judgment unit 217 obtains the second count of the second counting unit 215 at this time, and then determines whether the second count is greater than or equal to the second preset number. If the second count is greater than or equal to the second preset number, the second timing counting judgment unit 217 outputs a child lock locking signal. If the second count is less than the second preset number, the second timing counting judgment unit 217 maintains the original signal output.

[0317] S15: If the judgment result is yes, the electronic cigarette is controlled to enter a locked state, and in the locked state, the power MOS tube M remains disconnected and cut off.

[0318] The child lock control circuit 200 further includes a child lock control unit 240, which is electrically connected to the second timing and counting judgment unit 217. If the judgment result of the second timing and counting judgment unit 217 is yes, that is, the second count is greater than or equal to the second preset number within the second preset time period, the second timing and counting judgment unit 217 outputs a child lock locking signal to the child lock control unit 240, and the child lock control unit 240 controls the electronic cigarette to enter a locked state. In the locked state, the power MOS tube M remains disconnected. In this embodiment, the child lock control unit 240 continuously outputs a high-level signal to the power MOS tube M, and the power MOS tube M remains cut off. In this embodiment, the child lock control unit 240 includes a trigger and a switch control unit. The trigger is used to maintain the child lock locking signal and the subsequent child lock unlocking signal. The trigger is, for example, an SR trigger. The switch control unit is electrically connected to the trigger and the state detection unit 150, respectively. The switch control unit is, for example, an AND gate, a NAND gate, an OR gate, or a NOR gate. For example, the switch control unit includes a NAND gate, and the two input ends of the NAND gate are respectively connected to the output end of the trigger and an output end of the state detection unit 150. The child lock locking signal causes the output of the trigger to remain at a low level, and thus remains at a high level after passing through the NAND gate (at this time, the state detection unit 150 outputs a puff signal, and the puff signal is, for example, a high level), and the power MOS tube M remains turned off; the child lock unlocking signal causes the output of the trigger to remain at a high level, so that the output of the NAND gate is affected by the output of the state detection unit 150. When the state detection unit 150 determines that the user is puffing on the electronic cigarette, the state detection unit 150 outputs a puff signal to the NAND gate, and the puff signal is high. At this time, the switch control unit controls the power MOS tube M to be continuously turned on or intermittently turned on (for example, PWM or PFM control mode). If the judgment result of the second timer counting judgment unit 217 is negative, that is, the second count is less than the second preset number within the second preset time period, the original child lock state of the electronic cigarette is maintained, the second count is set to 0, and the second timer is reset to zero.

[0319] In this embodiment, the electronic cigarette is divided into a locked state and an unlocked state. The locked state corresponds to the child lock protection function. When the electronic cigarette is in the locked state and the user draws on the electronic cigarette, the child lock control unit 240 continues to control the power MOS tube M to remain off, so that the heating element 130 does not heat up, and the e-liquid does not atomize for the user to draw on. In other words, even if the user draws on the electronic cigarette, no smoke will be produced. The unlocked state corresponds to the release of the child lock protection function. At this time, when the user draws on the electronic cigarette, the child lock control unit 240 controls the power MOS tube M to be continuously turned on or intermittently turned on. Intermittent conduction means that the child lock control unit 240 outputs a square wave signal through PWM or PFM mode, and adjusts the duty cycle of the square wave signal to control the output power and output voltage.

[0320] In this embodiment, first counting information is received; determining whether the first counting information is within a second preset value range, wherein the second preset value range is within the first preset value range, and the first preset value range is used to determine whether the electronic cigarette is in a puffing state. If the determination result is yes, a second timing and a second count are triggered; and determining whether the second count is greater than or equal to a second preset number within a second preset time period. If the determination result is yes, the electronic cigarette is controlled to enter a locked state. This embodiment of the application further subdivides the puffing state into a puffing state with lower air pressure and a puffing state with lower air pressure using the first counting information and the second preset value range. The number of puffs for which the first counting information is within the second preset value range is distinguished as a puffing state with lower air pressure, and a second count is performed. The electronic cigarette enters a locked state only when the second count is greater than or equal to the second preset number within the second preset time period. With this configuration, the electronic cigarette can further distinguish whether the user is puffing normally or intending to trigger the locked state by puffing. The electronic cigarette is less likely to confuse the two, thereby reducing the probability of the user being mistakenly triggered into the locked state during normal puffing, thereby reducing user inconvenience. Furthermore, if the second count is greater than or equal to the second preset number within the second preset time period, the electronic cigarette can enter a locked state. After the electronic cigarette of this embodiment is locked, it can prevent children from picking up the electronic cigarette and imitating the puffing action of an adult, causing the electronic cigarette product to begin atomizing, thereby improving the safety of electronic cigarette use. Furthermore, this embodiment utilizes the existing state detection unit 150 and airflow sensor 140 to obtain the first count information, without requiring major modifications to the electronic cigarette and requiring minimal or no increase in hardware costs. This reduces the hardware cost of the electronic cigarette for lock protection and solves the technical problem of high lock costs in the prior art.

[0321] In this embodiment, the child lock control method further includes: obtaining again information that the first counting information is within a second preset value range, and adding 1 to the second count.

[0322] Specifically, after the second counting unit 215 triggers the second counting and the second timing unit 216 triggers the second timing, the second timing unit 216 and the second counting unit 215 do not stop working. When the electronic cigarette turns to the non-inhalation state, thereafter, when the user inhales the electronic cigarette again, the first counting information is obtained again in real time. If the second counting unit 215 again obtains information that the first counting information is within the second preset value range, that is, the second counting unit 215 receives a valid counting signal again, then the second counting unit 215 adds 1 to the original second count. For example, the original count value of the second counting unit 215 is 1, and the first counting information is obtained again within the second preset value range, then the second count of the second counting unit 215 is increased by 1, that is, the second count becomes 2; if the second counting unit 215 does not obtain information that the first counting information is within the second preset value range this time, that is, the second counting unit 215 does not receive a valid counting signal, then the second count remains unchanged.

[0323] In this embodiment, the child lock control method further includes: if the second timer reaches a second preset time length, the second count is reset to zero, and the second timer is reset to zero.

[0324] Regardless of whether the determination result of the second timer counting determination unit 217 is yes or no, as long as the time duration of the second timer unit 216 reaches the second preset time duration, the second timer unit 216 is reset to zero. Simultaneously, the second timer unit 216 sends a signal to the second counter unit 215, causing the second counter unit 215 to reset to zero. In other words, the second timer unit 216 stops timing, the time duration is reset to zero, and the second timer unit 216 and the second counter unit 215 return to their initial states, facilitating subsequent signal detection. In this embodiment, the second timer counting determination unit 217 completes the determination before the second timer unit 216 and the second counter unit 215 are reset to zero.

[0325] In this embodiment, the child lock control method further includes: if the second timer is less than a second preset time length and the second count reaches a second preset number, the second count is reset to zero and the second timer is reset to zero.

[0326] Among them, if the second count obtained by the second timing counting judgment unit 217 reaches the second preset number, and the timing duration of the second timing unit 216 is less than the second preset duration, the second timing counting judgment unit 217 outputs a signal to the second timing unit 216 and the second counting unit 215, the second timing unit 216 is reset to zero, and the second counting unit 215 is reset to zero. This signal can be the same as the child lock locking signal or a different signal.

[0327] Referring to FIG. 6 , in this embodiment, the step of receiving the first counting information specifically includes:

[0328] The first counting information output by the receiving state detection unit 150 is received.

[0329] The state detection unit 150 itself can obtain the first counting information, and the second counting determination unit 211 receives the first counting information through the state detection unit 150. This embodiment fully utilizes the airflow sensor 140 and the state detection unit 150 in the existing electronic cigarette, and only needs to add the second counting determination unit 211. The functions to be implemented by the second counting determination unit 211 can be implemented through software, hardware, or a combination of software and hardware, thereby eliminating the need for or requiring minimal new hardware. This greatly reduces the problem of the electronic cigarette accidentally entering a locked state without increasing costs or at a minimal cost, thereby improving user convenience.

[0330] During actual testing using the above solution, the inventors discovered that due to airflow disturbances, the air pressure may drop momentarily during the inhalation state, causing the first counting information to reach the second preset value range. This momentary air pressure drop lasts for a very short time and generally occurs occasionally, causing the second counting unit 215 to miscount and possibly trigger the electronic cigarette to enter a locked state, causing trouble for the user. To solve this problem, please refer to Figures 3 and 6. The steps for triggering the second count specifically include:

[0331] S131: triggering a third timing and a third counting;

[0332] Among them, the child lock control circuit 200 also includes a third timing unit 212 and a third counting unit 213. The third timing unit 212 and the third counting unit 213 are both connected to the second counting judgment unit 211. When the third timing unit 212 and the third counting unit 213 obtain the first counting information within the second preset value range, that is, when the third timing unit 212 receives a valid counting signal, the third timing unit 212 starts a third timing, and the third timing unit 212 continues timing until it is reset to zero, after which the third timing unit 212 stops timing; when the third counting unit 213 receives a valid counting signal, the third counting unit 213 starts a third counting, and also performs a third counting this time, and the third count is 1 at this time.

[0333] S132: Determine whether the third count is greater than or equal to a third preset number within a third preset time period;

[0334] The child lock control circuit 200 further includes a third timer and count determination unit 214, which is connected to the third counting unit 213 and the third timer unit 212, respectively. When the third timer and count determination unit 214 determines that the timed duration of the third timer unit 212 is within a third preset duration and the third count of the third counting unit 213 is greater than or equal to a third preset number, the third timer and count determination unit 214 outputs a first count signal. In this embodiment, the third preset duration is generally 30ms-150ms, and examples include 30ms, 40ms, 50ms, 60ms, 70ms, 80ms, 90ms, 100ms, 110ms, 120ms, 130ms, 140ms, and 150ms, and is preferably 60ms-100ms. In this embodiment, the third preset number is an integer greater than or equal to 2, such as 2 or 3. In this embodiment, the third preset number is greater than or equal to 2, such as 2, 3, 4, 5, or 6.

[0335] In this embodiment, the third timer counting determination unit 214 is electrically connected to the third timer unit 212 and the third counting unit 213 in real time. When the third timer counting determination unit 214 obtains that the third count reaches the third preset number and the third time has not reached the third preset duration, the third timer counting determination unit 214 outputs a first count signal. Alternatively, the third timer counting determination unit 214 waits until the third time reaches the third preset duration before outputting the first count signal. In other embodiments of the present application, the third timer counting determination unit 214 is connected to the third timer unit 212 and the third counting unit 213. When the third timer unit 212 reaches the third preset duration, the third timer unit 212 outputs a signal to the third timer counting determination unit 214. The third timer counting determination unit 214 obtains the third count of the third counting unit 213 at this time and then determines whether the third count is greater than or equal to the third preset number. If the third count is greater than or equal to the third preset number, the third timer counting determination unit 214 outputs a first count signal. If the third count is less than the third preset number, the third time is reset to zero and the third count is set to zero.

[0336] S133: If the judgment result is yes, trigger the second counting.

[0337] The third timing and counting determination unit 214 is connected to the second timing unit 216 and the second counting unit 215. If the determination result of the third timing and counting determination unit 214 is yes, the second timing unit 216 receives the first counting signal and is triggered to start timing, and the second timing starts from 0. The second counting unit 215 receives the first counting signal and is triggered to start counting, and the second counting unit 215 also counts this time, that is, the second count is 1 at this time.

[0338] In this embodiment, when the second counting unit 215 has not been triggered to start counting and the second timing unit 216 has not been triggered to start timing, if the judgment result of the third timing and counting determination unit 214 is negative, that is, the third timing and counting determination unit 214 does not output the first counting signal, the second counting unit 215 maintains its original state of not counting and the second timing unit 216 maintains its original state of not timing; when the second counting unit 215 has been triggered to start counting (that is, the second count is at least 1) and the second timing unit 216 has been triggered to start timing, if the judgment result of the third timing and counting determination unit 214 is negative, the second count maintains its original count, the second count does not increase, and the second timing continues to count.

[0339] In this embodiment, when the air flow crosstalk causes the air pressure in the air flow channel of the electronic cigarette to change in a short time, since the time for the air pressure to drop is very short, the condition that the third count is greater than or equal to the third preset number within the third preset time period will not be met, so the second count will not change, and the air flow crosstalk will not be misjudged as a situation where the user wants to enter the child lock protection. This can prevent the electronic cigarette from mistakenly entering the locked state and prevent trouble to the user. This embodiment can avoid this situation and improve the user experience.

[0340] In this embodiment, if the electronic cigarette is in the puffing state during the entire third preset time period, and part of the third preset time period or the entire time period is considered as re-puffing, the second timing unit 216 will count.

[0341] In order to determine whether the electronic cigarette is in the puffing state, in this embodiment, the child lock control method further includes:

[0342] receiving first counting information and determining whether the first counting information is within a first preset value range;

[0343] If the judgment result is yes, the information that the electronic cigarette changes from the non-smoking state to the smoking state is output.

[0344] Among them, the state detection unit 150 includes a first counting generation unit and a first counting judgment unit. The first counting generation unit is connected to the first counting judgment unit and the second counting judgment unit 211 respectively. After the first counting generation unit generates the first counting information, the first counting judgment unit receives the first counting information and determines whether the first counting information is within a first preset value range. If the judgment result is yes, the first counting judgment unit outputs information indicating that the electronic cigarette has changed from a non-puffing state to a puffing state, that is, outputs a puffing signal. If the judgment result is no, the first counting judgment unit maintains the original signal output, such as outputting a non-puffing signal or a puffing signal. Furthermore, it can also be required that the puffing signal is output only after the judgment result is yes multiple times in a row, which helps to reduce the probability of false triggering due to airflow crosstalk. In this embodiment, the first counting judgment unit and the second counting judgment unit 211 can be the same judgment unit or different judgment units.

[0345] In this embodiment, in order to reduce the power consumption of the electronic cigarette when it is not in a puffing state, the step of receiving the first counting information specifically includes:

[0346] Obtaining information that the electronic cigarette changes from a non-smoking state to a smoking state;

[0347] Triggering receiving first counting information.

[0348] The second counting and determining unit 211 is connected to the state detecting unit 150. The second counting and determining unit 211 does not operate before receiving a puff signal. When the second counting and determining unit 211 receives a puff signal, the second counting and determining unit 211 is triggered to start operating. At this time, the second counting and determining unit 211 receives the first counting information. This configuration is conducive to reducing the power consumption of the electronic cigarette.

[0349] In addition, in this embodiment, referring to FIG. 4 and FIG. 6 , after the step of triggering the second counting, the following steps are further included:

[0350] S161: Obtaining information that the electronic cigarette changes from a puffing state to a non-puffing state;

[0351] S162: Trigger the fifth count and lock the second count;

[0352] S163: Determine whether the fifth timer is greater than or equal to a fifth preset time length;

[0353] S164: If the judgment result is yes, unlocking the second count.

[0354] This embodiment also specifies the duration of the interval between two puffs (including two re-puffs) to prevent airflow jitter, crosstalk, and other factors from causing an erroneous second count during the puff phase. Specifically, in this embodiment, the child lock control circuit 200 includes a fifth timing unit 221 and a fifth duration determination unit 222. The fifth timing unit 221 is electrically connected to the state detection unit 150 and the third timing and counting determination unit 214, respectively. The fifth duration determination unit 222 is electrically connected to the fifth timing unit 221 and the second counting unit 215, respectively. The second counting unit 215 is also electrically connected to the state detection unit 150. When the third timing and counting judgment unit 214 outputs the first counting signal, the fifth timing unit 221 receives the first counting signal and obtains information that the electronic cigarette has entered the non-puffing state from the inhalation state. The fifth timing unit 221 is triggered to start timing. At the same time, the second counting unit 215 also receives the first counting signal and obtains information that the electronic cigarette has entered the non-puffing state from the inhalation state. The second counting unit 215 is locked, that is, enters the counting locked state. After the second counting unit 215 is locked, even if it receives the first counting signal again, it will not increase the count. That is, in the locked state, the second counting unit 215 maintains the original count value and does not increase the count value. Only after being unlocked and in the counting unlocked state, the second counting unit 215 receives the first counting signal and the count increases by one. In this embodiment, after the fifth timing unit 221 starts the fifth timing, the fifth timing unit 221 continues to count (even when the device is in a non-puffing state and then in a puffing state), and the fifth duration determination unit 222 determines whether the timing duration of the fifth timing unit 221 is greater than or equal to the fifth preset duration. When the fifth duration determination unit 222 determines that the timing of the fifth timing unit 221 has reached the fifth preset duration, the fifth timing unit 221 stops counting and resets to zero, i.e., the fifth timing unit 221 is reset to zero. At the same time, the fifth duration determination unit outputs a count unlocking signal to the second counting unit 215, and the second counting unit 215 is unlocked from counting, and enters a count unlocking state. In addition, the third counting unit 212, the third counting unit 213, and the second timing unit 216 are also reset to zero. Thereafter, the second counting unit 215 obtains the first counting signal again, and the second counting unit 215 can perform a count increment operation, i.e., the second count is incremented by one on the original basis. In this embodiment, when the fifth timing unit 221 does not receive the first counting signal, or the fifth timing unit 221 does not obtain the information that the electronic cigarette has entered the non-puffing state from the puffing state, the fifth timing unit 221 will not trigger the start of timing.

[0355] In this embodiment, after the step of triggering the second count, the process further includes determining whether the duration of the first count information remaining within the second preset value range is greater than or equal to a seventh preset time period. If so, both the second count and the second timer are reset to zero. In this embodiment, the duration of the re-puff is determined. If the re-puff duration is greater than or equal to the seventh preset time period, both the second count and the second timer are reset to zero, with the second count being 0 and the second timer being stopped and reset to zero. This configuration prevents users from accidentally entering the child lock state after prolonged puffing, meeting user expectations. In this embodiment, the seventh preset time period is greater than or equal to 400ms, for example, 400ms, 450ms, 500ms, 600ms, etc.

[0356] In this embodiment, after the electronic cigarette enters the child lock locked state, the user cannot smoke the electronic cigarette normally. When the user needs to use the electronic cigarette, the electronic cigarette needs to be unlocked. The following describes how to unlock the electronic cigarette. The following description is only one way to enter the child lock unlocked state. Those skilled in the art can also use other conventional methods to enter the child lock unlocked state. In addition, in other embodiments of the present application, the unlocking method can be the same as the locking method. Please refer to the previous description and will not be repeated here.

[0357] Please refer to FIG5 and FIG6 in combination. In this embodiment, the child lock control method further includes:

[0358] S21: receiving fourth counting information;

[0359] The state detection unit 150 includes a fourth counting and determination unit 231, which is configured to receive fourth counting information. The fourth counting information and the first counting information may be the same or different counting information. The fourth counting and determination unit 231 and the second counting and determination unit 211 may be different determination units or the same counting and determination unit. In this embodiment, the fourth counting information includes the number of oscillation cycles in a fourth counting duration, the ratio of the number of oscillation cycles in the fourth counting duration to the number of reference oscillation cycles, the difference between the number of oscillation cycles in the fourth counting duration and the reference oscillation duration, or the ratio of the difference between the number of oscillation cycles in the fourth counting duration and the reference oscillation duration to the number of reference oscillation cycles. The fourth counting duration may be the same as or different from the first counting duration. The fourth counting and determination unit 231 receives the fourth counting information.

[0360] In this embodiment, when in the blowing state, the air pressure in the airflow channel is relatively large and will be higher than the air pressure in the non-suction and blowing state. The distance between the two electrodes of the capacitor of the airflow sensor 140 is larger than that in the non-suction and blowing state, so that the capacitance value will be smaller than that in the non-suction and blowing state, and the frequency will be larger than that in the non-suction and blowing state. Assuming that the fourth counting time is the same as the first counting time, the number of oscillation cycles in the fourth counting time in the blowing state is greater than the number of oscillation cycles (reference oscillation cycle number) of the corresponding time in the non-suction and blowing state, and the number of oscillation cycles in the first counting time in the suction state will be less than the number of oscillation cycles (reference oscillation cycle number) of the corresponding time in the non-suction and blowing state.

[0361] S22: Determine whether the fourth counting information is within a fourth preset value range, where the fourth preset value range is used to determine whether the electronic cigarette is in a blowing state;

[0362] S23: If the judgment result is yes, triggering a fourth timing and a fourth counting;

[0363] After receiving the fourth counting information, the fourth counting determination unit 231 determines whether the fourth counting information is within a fourth preset value range. The fourth preset value range is pre-calculated or pre-stored in the fourth counting determination unit 231 .

[0364] When the fourth counting information is the number of oscillation cycles in the fourth counting time, the fourth preset numerical range is a cycle number range, and the fourth counting time is the same as the first counting time, the lower limit value of the fourth preset numerical range is, for example, 1030, 1040, 1050, etc., which will be greater than the upper limit value corresponding to the first preset numerical range, and the lower limit value of the fourth preset numerical range is greater than the reference oscillation cycle number; when the fourth counting information is the ratio of the number of oscillation cycles in the fourth counting time to the reference oscillation cycle number, the fourth preset numerical range is a ratio range, and the fourth counting time is the same as the first counting time, the lower limit value of the fourth preset numerical range is, for example, 1.03, 1.04, 1.05, etc., which will be greater than the upper limit value corresponding to the first preset numerical range; the upper limit value of the fourth preset numerical range can be unlimited or can be limited as needed. When the fourth counting information is the difference between the number of oscillation cycles in the fourth counting time and the benchmark oscillation cycle, or the ratio of the difference between the number of oscillation cycles in the fourth counting time and the benchmark oscillation cycle to the benchmark oscillation cycle, the fourth preset numerical range corresponds to the difference range or the ratio range. At this time, please refer to the description of the first counting information. Those skilled in the art can know how to distinguish between the inhalation state and the blowing state based on existing knowledge.

[0365] The child lock control circuit 200 includes a fourth timing unit 232 and a fourth counting unit 233. The fourth timing unit 232 is electrically connected to the fourth counting determination unit 231, and the fourth counting unit 233 is electrically connected to the fourth counting determination unit 231. If the fourth counting determination unit 231 determines that the time is positive, the fourth counting determination unit 231 outputs a blow signal, triggering the fourth timing unit 232 to start timing. The fourth timing unit 232 starts counting from 0, and the fourth counting unit 233 is triggered to start counting and also count this time, that is, the count of the fourth counting unit 233 is now 1. If the fourth counting determination unit 231 determines that the time is negative, the fourth counting determination unit 231 does not output the blow signal, and the fourth timing unit 232 and the fourth counting unit 233 maintain their original states. In this embodiment, once the fourth timing unit 232 is triggered to start timing, the fourth timing unit 232 continues to count until the fourth timing unit 232 is reset to zero, at which point the fourth timing unit 232 stops counting. In this embodiment, the blowing signal is also output to the child lock control unit 240 .

[0366] In this embodiment, when the fourth timing unit 232 is triggered to start timing and the fourth counting unit 233 is triggered to start counting, when the fourth counting judgment unit 231 receives the fourth counting information again and once again determines that the fourth counting information is within the fourth preset value range, the fourth count of the fourth counting unit 233 is increased by 1, and the fourth count is now 2. At the same time, the fourth timing unit 232 continues to perform the fourth timing.

[0367] S24: Determine whether a fourth count is greater than or equal to a fourth preset number within a fourth preset time period, wherein the fourth preset number is greater than or equal to 2;

[0368] The child lock control circuit 200 further includes a fourth timer and count determination unit 234, which is electrically connected to the fourth counter unit 233 and the fourth timer unit 232. When the fourth timer and count determination unit 234 determines that the timed duration of the fourth timer unit 232 is within a fourth preset duration and the count of the fourth counter unit 233 is greater than or equal to a fourth preset number, the fourth timer and count determination unit 234 outputs a child lock unlocking signal. In this embodiment, the fourth preset duration is generally less than or equal to 5 seconds, such as 1 second, 1.5 seconds, 1.8 seconds, 2 seconds, 2.3 seconds, 2.5 seconds, 2.8 seconds, 3 seconds, 4 seconds, 5 seconds, etc., and preferably 2 seconds. In this embodiment, the fourth preset number is greater than or equal to 2, such as 2, 3, 4, 5, 6, etc., and preferably 3. The fourth preset number is generally less than or equal to 6 times to facilitate user operation.

[0369] In this embodiment, the fourth timer counting determination unit 234 is connected to the fourth timer unit 232 and the fourth counting unit 233 in real time. When the fourth timer counting determination unit 234 determines that the fourth counting unit 233 has reached a fourth preset number and the fourth timer unit 232 has not reached a fourth preset time duration, the fourth timer counting determination unit 234 outputs a child lock unlocking signal. Alternatively, the fourth timer counting determination unit 234 waits until the fourth timer unit 232 has reached a fourth preset time duration before outputting the child lock unlocking signal. In other embodiments of the present application, the fourth timer counting determination unit 234 is connected to the fourth timer unit 232 and the fourth counting unit 233. When the fourth timer unit 232 reaches a fourth preset time duration, the fourth timer unit 232 outputs a signal to the fourth timer counting determination unit 234. The fourth timer counting determination unit 234 obtains the count of the fourth counting unit 233 at this time and then determines whether the fourth count is greater than or equal to the fourth preset number. If so, the child lock unlocking signal is output; if less than the fourth preset number, the original signal output is maintained.

[0370] S24: If the judgment result is yes, the electronic cigarette is controlled to enter an unlocked state, wherein in the unlocked state, when the electronic cigarette is in a puffing state, the power MOS tube M is continuously turned on or intermittently turned on.

[0371] Among them, if the result of the judgment of the fourth timing and counting judgment unit 234 is yes, that is, the number counted within the fourth preset time period is greater than or equal to the fourth preset number, the fourth timing and counting judgment unit 234 outputs a child lock unlocking signal to the child lock control unit 240, and the child lock control unit 240 controls the electronic cigarette to enter an unlocked state. In the unlocked state, when the electronic cigarette is in the inhalation state, the power MOS tube M is continuously turned on or intermittently turned on, that is, at this time, the power MOS tube M is controlled by whether the user inhales. In this embodiment, when the electronic cigarette is in the inhalation state, the child lock control unit 240 continuously outputs a low-level signal or intermittently outputs a low-level signal to the power MOS tube M, and the power MOS tube M is continuously turned on or intermittently turned on. When the power MOS tube M is turned on, the heating element 130 is heated to atomize the tobacco oil, so that the atomized tobacco oil can be inhaled by the user.

[0372] In this embodiment, unlocking is achieved by timing and counting the puffs, without adding Bluetooth / NFC or other design or mechanical structure, while achieving an effective unlocking effect, thereby reducing the hardware cost of unlocking the electronic cigarette and solving the technical problem of high unlocking costs in the prior art. Moreover, the unlocking method of this application is not easily detected by children, and the electronic cigarette is not easily unlocked by children after being locked, which is conducive to improving the safety of the electronic cigarette.

[0373] In this embodiment, the child lock control method further includes: obtaining again information that the fourth counting information is within a fourth preset value range, and adding 1 to the fourth count.

[0374] Specifically, after the fourth counting unit 233 triggers the fourth counting and the fourth timing unit 232 triggers the fourth timing, the fourth timing unit 232 and the fourth counting unit 233 do not stop working, and the fourth timing unit 232 and the fourth counting unit 233 again (again means that the value of the fourth count in the fourth counting unit 233 is at least 1) obtain information that the fourth counting information is within the fourth preset value range, then the fourth counting unit 233 adds 1 on the basis of the original count, for example, the original count value of the fourth counting unit 233 is 1, and the information that the fourth count information is within the fourth preset value range is obtained again, that is, the information that the state is changed from no suction and blowing to blowing state is received, then the count of the fourth counting unit 233 is added by 1, that is, the count value becomes 2; the fourth timing unit 232 continues to work and continuously time, that is, after the fourth timing unit 232 triggers timing, as long as the fourth timing unit 232 does not receive a signal to stop timing or reset, the fourth timing unit 232 continues to time.

[0375] In this embodiment, the child lock control method further includes: if the timing duration of the fourth timing unit 232 reaches a fourth preset duration, the fourth counter is reset to zero, and the fourth timing unit 232 is reset to zero.

[0376] Among them, no matter the judgment result of the fourth timing counting judgment unit 234 is yes or no, as long as the timing duration of the fourth timing unit 232 reaches the fourth preset duration, the fourth timing unit 232 is reset to zero, and at the same time, the fourth timing unit 232 sends a signal to the fourth counting unit 233, and the fourth counting unit 233 is reset to zero, that is, at this time the fourth timing unit 232 stops timing and the fourth counting unit 233 stops counting. Moreover, the timing duration is reset to zero, the fourth counter is reset to zero, and the fourth timing unit 232 and the fourth counting unit 233 return to their initial states to facilitate subsequent detection.

[0377] In this embodiment, the child lock control method further includes: if the timing duration of the fourth timing unit 232 is less than the fourth preset duration and the fourth count reaches a fourth preset number, the fourth count is reset to zero and the fourth timing unit 232 is reset to zero.

[0378] Among them, if the fourth count of the fourth counting unit 233 obtained by the fourth timing counting judgment unit 234 reaches the fourth preset number, and the timing duration of the fourth timing unit 232 is less than the fourth preset duration, the fourth timing counting judgment unit 234 outputs a signal to the fourth timing unit 232 and the fourth counting unit 233, the fourth timing unit 232 is reset to zero, and the fourth counting unit 233 is reset to zero. This signal can be the same as the child lock unlocking signal, or it can be a different signal.

[0379] Corresponding to the child lock control method of the electronic cigarette in the above embodiment, FIG6 shows a module diagram of the child lock control circuit 200 of the electronic cigarette provided in the embodiment of the present application. For the sake of convenience, only the part related to the embodiment of the present application is shown.

[0380] 1 and 6 , the child lock control circuit 200 includes:

[0381] a state detection unit 150 , which is electrically connected to the airflow sensor 140 and is configured to output first counting information;

[0382] A second counting judgment unit 211 is used to receive first counting information and to judge whether the first counting information is within a second preset value range, wherein the first counting information is used to represent the air pressure condition in the airflow channel of the electronic cigarette; the second preset value range is within the first preset value range, and the first preset value range is used to judge whether the electronic cigarette is in the inhalation state;

[0383] A second counting unit 215, which is used to trigger a second counting if the judgment result of the second counting judgment unit 211 is yes;

[0384] A second timing unit 216, which is used to trigger timing if the judgment result of the second counting judgment unit 211 is yes;

[0385] A second timing counting determination unit 217 is configured to determine whether the second count is greater than or equal to a second preset number within a second preset time period, wherein the second preset number is greater than or equal to 2;

[0386] The child lock control unit 240 is used to control the electronic cigarette to enter a locked state if the judgment results of the second timing and counting judgment unit 217 are all yes. In the locked state, the power MOS tube M of the electronic cigarette remains disconnected.

[0387] In this embodiment, the first counting information includes the number of oscillation cycles in the first counting time, the ratio of the number of oscillation cycles in the first counting time to the reference oscillation cycle number, the difference between the number of oscillation cycles in the first counting time and the reference oscillation cycle, or the ratio of the difference between the number of oscillation cycles in the first counting time and the reference oscillation cycle number to the reference oscillation cycle number.

[0388] In this embodiment, when the first counting information is the number of oscillation cycles in the first counting time, the upper limit of the second preset numerical range is less than the upper limit of the first preset numerical range; or, when the first counting information is the ratio of the number of oscillation cycles in the first counting time to a reference number of oscillation cycles, the upper limit of the second preset numerical range is less than the upper limit of the first preset numerical range, wherein the reference number of oscillation cycles is the number of oscillation cycles in the first counting time when the electronic cigarette is in a non-inhalation state; or, when the first counting information is the difference between the number of oscillation cycles in the first counting time and the reference number of oscillation cycles, the lower limit of the second preset numerical range is greater than the lower limit of the first preset numerical range, wherein the reference number of oscillation cycles is the number of oscillation cycles in the first counting time when the electronic cigarette is in a non-inhalation state; or, when the first counting information is the ratio of the difference between the number of oscillation cycles in the first counting time and the reference number of oscillation cycles to the reference number of oscillation cycles, the lower limit of the second preset numerical range is greater than the lower limit of the first preset numerical range, wherein the reference number of oscillation cycles is the number of oscillation cycles in the first counting time when the electronic cigarette is in a non-inhalation state.

[0389] In this embodiment, the child lock control circuit 200 includes a third timing unit 212, a third counting unit 213, and a third timing and counting determination unit 214. The third timing unit 212 and the third counting unit 213 are respectively connected to the second counting and determination unit 211. When the second counting and determination unit 211 outputs a count valid signal, the third timing unit 212 is triggered to perform a third timing, and the third counting unit 213 is triggered to perform a third count. The third timing and counting determination unit 214 is connected to both the third timing unit 212 and the third counting unit 213. The third timing and counting determination unit 214 is configured to determine whether the third count is greater than or equal to a third preset number within a third preset time period. If the third timing and counting determination unit 214 determines that the third count is greater than or equal to a third preset number, the second timing unit 216 is triggered to perform a second timing, and the second counting unit 215 is triggered to perform a second count. In this embodiment, the state detection unit 150 continuously outputs the puff signal during the third preset time period.

[0390] In this embodiment, the second counting determination unit 211 is used to obtain information that the electronic cigarette changes from a non-puffing state to a puffing state, and the second counting determination unit 211 is triggered to receive the first counting information.

[0391] In this embodiment, the state detection unit 150 includes a first counting generation unit and a first counting judgment unit. The first counting generation unit is connected to the first counting judgment unit. After the first counting generation unit generates the first counting information, the first counting judgment unit is used to receive the first counting information and judge whether the first counting information is within a first preset value range. If the judgment result of the first counting judgment unit is yes, the first counting judgment unit outputs information that the electronic cigarette has changed from a non-smoking state to a smoking state, that is, outputs smoking information.

[0392] In this embodiment, the child lock control circuit 200 further includes a fifth timing unit 221 and a fifth duration judgment unit 222, wherein the fifth timing unit 221 is used to obtain information that the electronic cigarette enters a non-puffing state from a puffing state and obtain information for performing a second count. The fifth timing unit 221 starts the fifth timing, the second counting unit 215 performs the second count and is used to obtain information that the electronic cigarette enters a non-puffing state from a puffing state, the second counting unit 215 is locked, and the fifth duration judgment unit 222 is used to determine whether the fifth timing of the fifth timing unit 221 is greater than or equal to a fifth preset duration. If the judgment result of the fifth duration judgment unit 222 is yes, the fifth duration judgment unit 222 is used to output a counting unlocking signal to the second counting unit 215, and the second counting unit 215 is unlocked.

[0393] In this embodiment, the second counting judgment unit 211 is connected to the state detection unit 150 , the state detection unit 150 is electrically connected to the capacitive airflow sensor 140 , and the second counting judgment unit 211 is used to receive the first counting information output by the state detection unit 150 .

[0394] In this embodiment, the child lock control circuit 200 includes a locking unit, which includes a second timing unit 216 , a second counting unit 215 , a second timing and counting determination unit 217 , a second counting and determination unit 211 , and the like.

[0395] In this embodiment, the child lock control circuit 200 includes an unlocking unit, which includes a fourth counting judgment unit 231, a fourth timing unit 232, a fourth counting unit 233, and a fourth timing and counting judgment unit 234. The fourth counting judgment unit 231 is used to receive fourth counting information and determine whether the fourth counting information is within a fourth preset value range. The fourth preset value range is used to determine whether the electronic cigarette is in the puffing state. If the judgment result of the fourth counting judgment unit 231 is yes, the fourth timing unit 232 is triggered to perform a fourth timing, and the fourth counting unit 233 is triggered to perform a fourth counting. The fourth timing and counting judgment unit 234 is used to determine whether the fourth count is greater than or equal to a fourth preset number within a fourth preset time period. If the judgment result of the fourth timing and counting judgment unit 234 is yes, a child lock unlocking signal is output to the child lock control unit 240. The child lock control unit 240 controls the electronic cigarette to enter the unlocked state. In the unlocked state, when the electronic cigarette is in the puffing state, the power MOS tube M is continuously turned on or intermittently turned on.

[0396] In this embodiment, the fourth counting unit 233 is further configured to obtain information again that the fourth counting information is within a fourth preset value range, and to increase the fourth count by 1.

[0397] In this embodiment, the fourth timing unit 232 is further configured to reset the fourth counter to zero and reset the fourth timing unit 232 to zero if the timing duration reaches a fourth preset duration. In other embodiments of the present application, the fourth timing and counting determination unit 234 is further configured to reset the fourth counter to zero and reset the fourth timing unit 232 to zero if the timing duration is less than the fourth preset duration and the fourth counter reaches a fourth preset number.

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

[0399] FIG7 is a schematic diagram of a child lock control device 400 according to an embodiment of the present application. As shown in FIG7 , the child lock control device 400 of this embodiment includes: at least one processor 420 (only one is shown in FIG7 ), a memory 410, and a computer program stored in the memory 410 and executable on the processor 420. When the processor 420 executes the computer program, the steps of the above-described child lock control method embodiment are implemented. Those skilled in the art will appreciate that FIG7 is merely an example of a child lock control device 400 and does not limit the scope of the child lock control device 400. The child lock control device 400 may include more or fewer components than shown, or a combination of certain components, or different components. For example, it may also include input / output devices, network access devices, etc. The processor 420 may be a central processing unit (CPU), another general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor, or the processor may be any conventional processor or the like.

[0400] In some embodiments, the memory 410 may be an internal storage unit of the child lock control device 400, such as a hard disk or memory of the child lock control device 400. In other embodiments, the memory 410 may also be an external storage device of the child lock control device 400, such as a plug-in hard disk equipped on the child lock control device 400, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Furthermore, the memory 410 may also include both an internal storage unit of the child lock control device 400 and an external storage device. The memory 410 is used to store an operating system, an application, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 410 may also be used to temporarily store data that has been output or is to be output. The child lock control device 400 is, for example, an electronic cigarette.

[0401] The embodiment of the present application further provides a storage medium storing a computer program. When the computer program is executed by the processor 420, the steps in the above-mentioned child lock control method embodiment can be implemented.

[0402] An embodiment of the present application provides a computer program product. When the computer program product is run on a terminal, the terminal can implement the steps in the above-mentioned child lock control method embodiment when executing the computer program product.

[0403] An embodiment of the present application further provides an electronic cigarette. Please refer to Figures 1 and 6 in combination. The electronic cigarette includes the above-mentioned child lock control circuit 200, and the electronic cigarette also includes a battery 110, a power MOS tube M and a heating element 130. The heating element 130 and the power MOS tube M are connected in series to form a heating branch, and the two ends of the heating branch are electrically connected to the positive and negative poles of the battery 110 respectively; the electronic cigarette also includes an airflow sensor 140, wherein the control end of the power MOS tube M and the airflow sensor 140 are both electrically connected to the child lock control circuit 200, and the airflow sensor 140 is electrically connected to the status detection unit 150 of the child lock control circuit 200.

[0404] Second embodiment

[0405] A second embodiment of the present application provides an electronic cigarette. Referring to Figures 8 and 14 , the electronic cigarette includes a battery 110, a child lock control circuit 200, a heating element 130, an airflow sensor 140, a power MOSFET M1, and the like. The child lock control circuit 200 includes a state detection unit 150. The child lock control circuit 200 is electrically connected to the battery 110, the airflow sensor 140, the power MOSFET M1, and the like. In this embodiment, the battery 110 is a rechargeable battery, such as a lithium battery, a nickel-cadmium battery, or a nickel-metal hydride battery. The battery 110 may also be a non-rechargeable battery. The state detection unit 150 is electrically connected to the airflow sensor 140. A specific implementation of the state detection unit 150 can be found in prior applications in the art, or other conventional state detection units known to those skilled in the art. In this embodiment, the airflow sensor 140 is a capacitive airflow sensor 140, such as a capacitive MEMS sensor or a capacitive microphone. The airflow sensor 140 is located within the airflow channel of the electronic cigarette and includes a capacitor. The state detection unit 150 outputs a corresponding signal based on changes in the capacitance of the capacitor. The child lock control circuit 200 is electrically connected to the control terminal of the power MOS transistor M1. The child lock control circuit 200 is used to control whether the power MOS transistor M1 is turned on. The power MOS transistor M1 is connected in series with the heating element 130 via the atomization terminal AT to form a series branch. One end of the series branch is electrically connected to the positive terminal of the battery 110 via the power supply terminal BAT, and the other end of the series branch is electrically connected to the negative terminal of the battery 110 via the power ground terminal GND. In this embodiment, the power MOS transistor M1 is a PMOS transistor as an example. Of course, the power MOS transistor M1 can also be an NMOS transistor. In this embodiment, the power MOS transistor M1 and the child lock control circuit 200 can be located on the same chip, which is generally referred to as a system control chip. However, the present application is not limited to this. In other embodiments of the present application, the power MOS transistor M1 and the child lock control circuit 200 can be located on different chips. In this embodiment, the heating element 130 is, for example, a heating wire, a heating wire, a ceramic base containing a heating wire or a heating wire, or other conventional heating element 130. In this embodiment, when the child lock control circuit 200 outputs a low level to control the power MOS tube M1 to be turned on, the heating element 130 is heated to atomize the e-liquid; when the child lock control circuit 200 outputs a high level to control the power MOS tube M1 to be turned off, the heating element 130 stops heating.

[0406] In this embodiment, the state detection unit 150 is electrically connected to the airflow sensor 140; when the user inhales the electronic cigarette or blows air into the electronic cigarette, the air pressure between the two electrode sheets of the capacitor of the airflow sensor 140 will change relative to the non-inhalation and blowing state (when not in use), causing the distance between the two electrode sheets to change accordingly, thereby causing the capacitance value of the airflow sensor 140 to change. The state detection unit 150 converts the capacitance value change into a frequency value change and a count value change, and the state detection unit 150 outputs a corresponding signal, so that the electronic cigarette can determine whether it is in the inhalation state when being inhaled, the blowing state when being blown, or the non-inhalation and blowing state.

[0407] In order to distinguish between normal puffing and puffing that triggers the locked state, and to reduce the probability of being mistakenly triggered to enter the locked state during normal puffing, the inventor of this application proposed the following solution after a large number of experiments: the puffing state of the electronic cigarette is further subdivided into a puffing state with lower air pressure and a puffing state with even lower air pressure. The puffing state with lower air pressure (the user's suction force is lower) generally corresponds to the user's normal puffing, and the puffing state with even lower air pressure (the user's suction force is larger) corresponds to the user's puffing that wants to enter the locked state or the user's accidental heavy inhalation. Regardless of whether it is in a puffing state with lower air pressure or a puffing state with even lower air pressure, the electronic cigarette will be judged as a puffing state. This application determines whether it is in a puffing state with even lower air pressure by whether the current air pressure information is within a second preset air pressure range.

[0408] Specifically, this embodiment is designed so that when the current air pressure information is within the second preset air pressure range, it represents that the electronic cigarette is in a puffing state with a lower air pressure. When the current air pressure information is outside the second preset air pressure range and within the first preset air pressure range, it represents that the electronic cigarette is in a puffing state with a lower air pressure. The second preset air pressure range is within the first preset air pressure range, that is, as long as the current air pressure information is within the second preset air pressure range, the current air pressure information must be within the first preset air pressure range, indicating that the electronic cigarette is in a puffing state and is a heavy puff. When the current air pressure information is within the first preset air pressure range, the current air pressure information may be within the second preset air pressure range (heavy puff) or may not be within the second preset air pressure range (normal puff).

[0409] In this embodiment, the current air pressure information includes the current air pressure value, the ratio of the current air pressure value to the reference air pressure value, the difference between the current air pressure value and the reference air pressure value, or the ratio of the difference between the current air pressure value and the reference air pressure value to the reference air pressure value. When the electronic cigarette is neither inhaled nor blown, that is, when the electronic cigarette is in a non-inhalation state, the electrode sheet of the capacitor is not deformed. At this time, the air pressure value in the airflow channel of the electronic cigarette is the reference air pressure value, that is, the atmospheric pressure value. At this time, the reference air pressure value is acquired by sampling or conversion, and the number of oscillation cycles within a preset counting time is the reference oscillation cycle number. In addition, the reference air pressure value can also be preset. When the user takes a light puff, causing the current air pressure value in the electronic cigarette airflow channel to be small, the distance between the two electrode pieces of the capacitor of the airflow sensor 140 will become smaller than that in the non-inhalation and blowing state, the capacitance will be larger, the frequency value will be smaller, the number of oscillation cycles within the preset counting time will be smaller (current count value), and the current count value will be smaller than the reference oscillation cycle number. At this time, the ratio of the current air pressure value to the reference air pressure value will be smaller, the difference between the current air pressure value and the reference air pressure value will be larger, and the ratio of the difference between the current air pressure value and the reference air pressure value to the reference air pressure value will be smaller. When the user inhales again, causing the current air pressure value in the electronic cigarette airflow channel to be smaller, the distance between the two electrode pieces of the capacitor of the airflow sensor 140 will become smaller than that in the non-inhalation state, the capacitance will be larger, the frequency value will be smaller, the number of oscillation cycles within the preset counting time will be smaller, and the current count value will be smaller than the reference oscillation cycle number. At this time, the ratio of the current air pressure value to the reference air pressure value will be smaller, the difference between the current air pressure value and the reference air pressure value will be larger, and the ratio of the difference between the current air pressure value and the reference air pressure value to the reference air pressure value will be larger. When the user blows, causing the current air pressure value in the electronic cigarette airflow channel to be larger than that in the non-inhalation state, the distance between the two electrode pieces of the capacitor of the airflow sensor 140 will become larger than that in the non-inhalation state, the capacitance of the airflow sensor 140 will become smaller, the frequency value will become larger, and the current count value will be larger than the reference oscillation cycle number.

[0410] In order to obtain current air pressure information within the airflow channel of the electronic cigarette, the child lock control circuit 200 of this embodiment further includes an air pressure acquisition unit 241 and a second air pressure determination unit 211. The air pressure acquisition unit 241 is connected to the state detection unit 150, and the second air pressure determination unit 211 is connected to the air pressure acquisition unit 241. The air pressure acquisition unit 241 is used to obtain current air pressure information within the airflow channel when the electronic cigarette is in the inhalation state through the state detection unit 150 and the airflow sensor 140. The second air pressure determination unit 211 is used to determine whether the current air pressure information is within a second preset air pressure range. Specifically, when blowing causes the air pressure in the airflow channel to be high, the distance between the two electrodes of the capacitor of the airflow sensor 140 will be relatively large, thereby reducing its capacitance value. When inhaling causes the air pressure in the airflow channel to be low, the distance between the two electrodes of the capacitor of the airflow sensor 140 will be relatively small, thereby reducing its capacitance value. Therefore, the capacitance value is proportional to the air pressure in the airflow channel. In other embodiments of the present application, the capacitance value is inversely proportional to the frequency value and the count value, and thus the frequency value, the count value and the air pressure are also proportional. In other embodiments of the present application, the change in the capacitance value in the suction state relative to the capacitance value in the non-suction and blowing state is also proportional to the air pressure in the air flow channel. In other embodiments of the present application, the change in the frequency value in the suction state relative to the frequency value in the non-suction and blowing state is also proportional to the air pressure in the air flow channel, or the change in the count value in the suction state relative to the count value in the non-suction and blowing state is also proportional to the air pressure in the air flow channel. Thus, by obtaining the capacitance value, capacitance change, frequency value, frequency change, count value, and count change, the current air pressure information in the air flow channel can be obtained. The corresponding relationship between the two can be calculated by a formula to obtain the current air pressure information, or by pre-storing a corresponding table and then searching the corresponding table to obtain the current air pressure information. In addition, in other embodiments of the present application, the current air pressure information can also be obtained directly through sensor detection.

[0411] In this embodiment, the pressure acquisition unit 241 pre-stores a capacitance value-pressure value table, a frequency value-pressure value table, a count value-pressure value table, a capacitance change-pressure value table, a frequency change-pressure value table or a count change-pressure value table, wherein the capacitance value-pressure value table stores the correspondence between the capacitance value and the pressure value, the frequency value-pressure value table stores the correspondence between the frequency value and the pressure value, the count value-pressure value table stores the correspondence between the count value of the preset counting time and the pressure value, the capacitance change-pressure value table stores the correspondence between the capacitance change and the pressure value, the frequency change-pressure value table stores the correspondence between the frequency change and the pressure value, and the count change-pressure value table stores the correspondence between the count change of the preset counting time and the pressure value, so that when the capacitance value, frequency value, count value, capacitance change, frequency change and count change are obtained, the current pressure value can be obtained by looking up the table. In this embodiment, the air pressure acquisition unit 241 and the second air pressure determination unit 211 are preferably implemented via software or hardware. Furthermore, in other embodiments of the present application, the air pressure acquisition unit 241 may not be electrically connected to the state detection unit 150. In this case, the air pressure acquisition unit 241 is an air pressure sensor, which is at least partially disposed within the airflow channel of the electronic cigarette. The air pressure acquisition unit 241 can directly obtain the current air pressure value.

[0412] In this embodiment, the current air pressure information can be obtained by converting the current air pressure value. For example, when the current air pressure information is the current air pressure value, the current air pressure information can be directly obtained; when the current air pressure information is the ratio of the current air pressure value to the reference air pressure value, the difference between the current air pressure value and the reference air pressure value, or the ratio of the difference between the current air pressure value and the reference air pressure value to the reference air pressure value, the current air pressure information can be obtained by performing arithmetic operations after obtaining the current air pressure value.

[0413] When the current air pressure information is the current air pressure value, since the present application is designed so that the user can enter the child lock locked state only when he inhales again, the second preset air pressure range is the range of air pressure values, the upper limit value of the second preset air pressure range is less than the upper limit value of the first preset air pressure range, and the lower limit value of the second preset air pressure range is greater than or equal to the lower limit value of the first preset air pressure range. For example, the second preset air pressure range is (a, A], and the first preset air pressure range is (b, B]. For example, the reference air pressure value is the ambient atmospheric pressure, for example, the ambient atmospheric pressure is 1 standard atmospheric pressure, wherein A is less than B, B is less than the ambient atmospheric pressure, a is greater than or equal to b, and A, a, B, and b are positive numbers. Generally, A is greater than the ambient atmospheric pressure. The air pressure is 500 Pa less, B is 300 Pa less than the ambient atmospheric pressure, and preferably A is 500 Pa, 600 Pa, 1000 Pa, 2000 Pa, etc. less than the ambient atmospheric pressure. In addition, in other embodiments of the present application, the lower limit of the second preset air pressure range is not limited, that is, when the current air pressure information is less than A, it falls within the second preset air pressure range. In addition, when the current air pressure information is the ratio of the current air pressure value to the reference air pressure value, the second preset air pressure range is a ratio range. The principle is similar to the solution described above in which the current air pressure information is the current air pressure value, and will not be repeated here. This ratio is preferably less than or equal to 0.95, for example, 0.9, 0.8, 0.7, etc.

[0414] When the current air pressure information is the difference between the current air pressure value and the reference air pressure value, when the air pressure in the air flow channel is smaller, the difference will be larger, and when the air pressure in the air flow channel is smaller, the difference will be larger, so the current air pressure information is proportional to the air pressure in the air flow channel. At this time, the second preset air pressure range is a difference range, the lower limit of the second preset air pressure range is greater than the lower limit of the first preset air pressure range, and the upper limit of the second preset air pressure range is less than or equal to the upper limit of the first preset air pressure range. For example, the second preset air pressure range is [M, m), for example, M is 500 Pa, and the first preset air pressure range is [N, n), for example, N is 300 Pa, wherein M is greater than N, m is less than or equal to n, and M, m, N, and n are positive numbers. In addition, in other embodiments of the present application, the upper limit of the second preset air pressure range is not limited, that is, as long as the current air pressure information is greater than or equal to M, it falls within the second preset air pressure range. In addition, when the current air pressure information is the ratio of the difference between the current air pressure value and the reference air pressure value to the reference air pressure value, the second preset air pressure range is a ratio range. Its principle is similar to the previously described scheme in which the current air pressure information is the difference between the current air pressure value and the reference air pressure value. It will not be repeated here. This ratio is preferably greater than or equal to 0.05, for example, 0.1, 0.2, 0.3, etc.

[0415] Referring to FIG8 , FIG9 and FIG14 , an embodiment of the present application provides a method for controlling a child lock of an electronic cigarette, comprising the following steps: S11 : receiving current air pressure information in an airflow channel of the electronic cigarette;

[0416] Among them, the air pressure acquisition unit 241 is connected to the state detection unit 150, and the state detection unit 150 outputs the current capacitance value, the current capacitance change, the current frequency value, the current frequency change, the current count value (the number of oscillation cycles of the preset count duration) or the current count change to the air pressure acquisition unit 241. The air pressure acquisition unit 241 can obtain the current air pressure value in the electronic cigarette airflow channel by looking up the pre-stored capacitance value-pressure value table, capacitance change-pressure value table, frequency value-pressure value table, frequency change-pressure value table, count value-pressure value table or count change-pressure value table, thereby obtaining the current air pressure information. In addition, in other embodiments of the present application, the air pressure acquisition unit 241 is not connected to the state detection unit 150, and the air pressure acquisition unit 241 itself can directly obtain the current air pressure value, thereby obtaining the current air pressure information. This embodiment utilizes the current capacitance value, current capacitance change, current frequency value, current frequency change, current count value or current count change output by the existing airflow sensor 140 and the status detection unit 150. The current air pressure information can be obtained through simple changes, which is conducive to reducing costs.

[0417] In this embodiment, the second air pressure determination unit 211 is connected to the air pressure acquisition unit 241 . The air pressure acquisition unit 241 generates and outputs current air pressure information. The second air pressure determination unit 211 receives the current air pressure information.

[0418] S12: Determine whether the current air pressure information is within a second preset air pressure range, wherein the second preset air pressure range is within a first preset air pressure range, and the first preset air pressure range is used to determine whether the electronic cigarette is in a puffing state;

[0419] S13: If the judgment result is yes, triggering a second timing and triggering a second counting;

[0420] After receiving the current air pressure information, the second air pressure determination unit 211 determines whether the current air pressure information is within a second preset air pressure range. The second preset air pressure range is pre-calculated or pre-stored in the second air pressure determination unit 211 . The child lock control circuit 200 includes a second timing unit 216 and a second counting unit 215. The second timing unit 216 is electrically connected to the second air pressure determination unit 211, and the second counting unit 215 is electrically connected to the second air pressure determination unit 211. If the second air pressure determination unit 211 determines that the time is positive, the second air pressure determination unit 211 outputs an air pressure valid signal, triggering the second timing unit 216 to start timing. The second timing unit 216 starts counting from 0, and the second counting unit 215 is triggered to start counting and also count this time, that is, the count of the second counting unit 215 is now 1. If the second air pressure determination unit 211 determines that the time is negative, the second air pressure determination unit 211 outputs an air pressure invalid signal, and the second timing unit 216 and the second counting unit 215 maintain their original states. In this embodiment, once the second timing unit 216 is triggered to start timing, it continues counting until it is reset to zero, at which point the second timing unit 216 stops counting.

[0421] When the second timing unit 216 is triggered to start timing and the second counting unit 215 is triggered to start counting, when the second air pressure judgment unit 211 receives the current air pressure information again and once again determines that the current air pressure information is within the second preset air pressure range, that is, outputs the air pressure valid signal again, then the second count of the second counting unit 215 is increased by 1, and the second count is now 2. At the same time, the second timing unit 216 continues to perform the second timing.

[0422] S14: Determine whether the second count is greater than or equal to a second preset number within a second preset time period, wherein the second preset number is greater than or equal to 2;

[0423] The child lock control circuit 200 further includes a second timer and count determination unit 217, which is connected to the second counting unit 215 and the second timer unit 216, respectively. When the second timer and count determination unit 217 determines that the timed duration of the second timer unit 216 is within a second preset duration and the second count of the second counting unit 215 is greater than or equal to a second preset number, the second timer and count determination unit 217 outputs a child lock lock signal. In this embodiment, the second preset duration is generally less than or equal to 5 seconds, and examples include 1 second, 1.5 seconds, 1.8 seconds, 2 seconds, 2.3 seconds, 2.5 seconds, 2.8 seconds, 3 seconds, 4 seconds, 5 seconds, etc., preferably 2 seconds. In this embodiment, the second preset number is an integer greater than or equal to 2, such as 2, 3, 4, 5, 6, etc., preferably 3. The second preset number is generally less than or equal to 6 times to facilitate user operation. For example, the second preset time length is 2 seconds, and the second preset number is 3. If the second count is greater than or equal to 3 within 2 seconds, the second timing and counting judgment unit 217 outputs a child lock locking signal.

[0424] In this embodiment, the second timing counting judgment unit 217 is electrically connected to the second timing unit 216 and the second counting unit 215 in real time. When the second timing counting judgment unit 217 obtains that the second count reaches the second preset number and the second timing unit 216 has not reached the second preset time length, the second timing counting judgment unit 217 outputs a child lock locking signal, or the second timing counting judgment unit 217 waits until the timing time of the second timing unit 216 reaches the second preset time length before outputting the child lock locking signal. In other embodiments of the present application, the second timing counting judgment unit 217 is connected to the second timing unit 216 and the second counting unit 215. When the second timing unit 216 reaches the second preset time length, the second timing unit 216 outputs a signal to the second timing counting judgment unit 217. The second timing counting judgment unit 217 obtains the second count of the second counting unit 215 at this time, and then determines whether the second count is greater than or equal to the second preset number. If the second count is greater than or equal to the second preset number, the second timing counting judgment unit 217 outputs a child lock locking signal. If the second count is less than the second preset number, the second timing counting judgment unit 217 maintains the original signal output.

[0425] S15: If the judgment result is yes, the electronic cigarette is controlled to enter a locked state, and in the locked state, the power MOS tube M1 remains disconnected.

[0426] The child lock control circuit 200 further includes a child lock control unit 240, which is electrically connected to the second timing and counting judgment unit 217. If the judgment result of the second timing and counting judgment unit 217 is yes, that is, the second count is greater than or equal to the second preset number within the second preset time period, the second timing and counting judgment unit 217 outputs a child lock locking signal to the child lock control unit 240, and the child lock control unit 240 controls the electronic cigarette to enter a locked state. In the locked state, the power MOS tube M1 remains disconnected. In this embodiment, the child lock control unit 240 continuously outputs a high-level signal to the power MOS tube M1, and the power MOS tube M1 remains cut off. In this embodiment, the child lock control unit 240 includes a trigger and a switch control unit. The trigger is used to maintain the child lock locking signal and the subsequent child lock unlocking signal. The trigger is, for example, an SR trigger, etc. The switch control unit is electrically connected to the trigger. The switch control unit also receives a suction signal (a signal output in the suction state), a blowing signal (a signal output in the blowing state) or a non-suction and blowing signal (a signal output when not in use). The switch control unit is, for example, an AND gate, a NAND gate, an OR gate, a NOR gate, etc. For example, the switch control unit includes a NAND gate, a first input end of the NAND gate is connected to the output end of the trigger, and a second input end of the NAND gate receives The puff signal, puff signal, or no puff signal, or the child lock lock signal, causes the output of the trigger to remain at a low level, which then remains at a high level after passing through the NAND gate (at this time, the second input terminal receives the puff signal, which is, for example, at a high level), and the power MOS transistor M1 remains off. The child lock unlock signal causes the output of the trigger to remain at a high level, so that the output of the NAND gate is affected by the puffing and puffing state of the electronic cigarette. When the user puffs at the electronic cigarette, the second input terminal of the NAND gate receives the puff signal, which is at a high level, and the switch control unit controls the power MOS transistor M1 to be continuously or intermittently turned on (for example, using PWM or PFM control). If the judgment result of the second timer counting judgment unit 217 is negative, that is, the second count is less than the second preset number within the second preset time period, the original child lock state of the electronic cigarette is maintained, the second count is set to 0, and the second timer is reset to zero.

[0427] In this embodiment, the child lock state of the electronic cigarette is divided into a locked state and an unlocked state. The locked state corresponds to the child lock protection function. When the electronic cigarette is in the locked state and the user takes a puff, the child lock control unit 240 continues to control the power MOS tube M1 to remain off, so that the heating element 130 does not heat up, and the e-liquid does not atomize for the user to inhale. In other words, even if the user inhales the electronic cigarette, no smoke will be produced. The unlocked state corresponds to the release of the child lock protection function. In this state, whether the e-liquid is atomized is controlled by whether the user inhales. When the user inhales the electronic cigarette, the child lock control unit 240 controls the power MOS tube M1 to be continuously on or intermittently on. Intermittent on means that the child lock control unit 240 outputs a square wave signal via PWM or PFM mode, and adjusts the duty cycle of the square wave signal to control the output power and output voltage.

[0428] In this embodiment, current air pressure information within the electronic cigarette airflow channel is received; a determination is made as to whether the current air pressure information is within a second preset air pressure range. If so, a second timing and a second count are triggered. A determination is made as to whether the second count is greater than or equal to a second preset number within a second preset time period. If so, the electronic cigarette is controlled to enter a locked state. This embodiment of the application further subdivides the puff state into a puff state with lower air pressure and a puff state with lower air pressure based on the current air pressure information and the second preset air pressure range. Puffs in which the current air pressure information is within the second preset air pressure range are classified as puff states with lower air pressure (re-puffs), and a second count is performed. The electronic cigarette enters a locked state only when the second count is greater than or equal to the second preset number within the second preset time period. This configuration allows the electronic cigarette to further distinguish whether the user is puffing normally or attempting to trigger the locked state by puffing. The electronic cigarette is less likely to confuse the two, reducing the chance of the user being mistakenly triggered into the locked state during normal puffing, thereby alleviating user frustration. Furthermore, by ensuring that the second count is greater than or equal to the second preset number within the second preset time period, the electronic cigarette can enter a locked state. After the electronic cigarette is locked, this embodiment can prevent children from imitating an adult's puffing movements and causing the electronic cigarette product to begin atomizing, thereby improving the safety of electronic cigarette use. Furthermore, this embodiment utilizes the existing state detection unit 150 and airflow sensor 140 to obtain current air pressure information through conversion, eliminating the need for major modifications to the electronic cigarette and requiring minimal or no increase in hardware costs. This reduces the hardware cost of electronic cigarette lock protection and addresses the high cost of electronic cigarette lock protection in the prior art.

[0429] In this embodiment, the child lock control method further includes: obtaining again information that the current air pressure information is within the second preset air pressure range, and adding 1 to the second count.

[0430] Specifically, after the second counting unit 215 triggers the second counting and the second timing unit 216 triggers the second timing, the second timing unit 216 and the second counting unit 215 do not stop working. When the electronic cigarette turns to the non-puffing state, thereafter, when the user puffs on the electronic cigarette again, the current air pressure information is obtained in real time again. If the second counting unit 215 again obtains information that the current air pressure information is within the second preset air pressure range, that is, the second counting unit 215 receives a valid air pressure signal again, the second counting unit 215 adds 1 to the original second count. For example, if the original count value of the second counting unit 215 is 1, and the information that the current air pressure information is within the second preset air pressure range is obtained again, the second count of the second counting unit 215 is increased by 1, that is, the second count becomes 2. At the same time, after the second timing is triggered, the second timing unit 216 continues to count. If the second counting unit 215 does not obtain information that the current air pressure information is within the second preset air pressure range this time, that is, the second counting unit 215 does not receive a valid air pressure signal, the second count remains unchanged, and the second timing unit 216 is still counting.

[0431] In this embodiment, the child lock control method further includes: if the second timer reaches a second preset time length, the second count is reset to zero, and the second timer is reset to zero.

[0432] Regardless of whether the determination result of the second timer counting determination unit 217 is yes or no, as long as the time duration of the second timer unit 216 reaches the second preset time duration, the second timer unit 216 is reset to zero. Simultaneously, the second timer unit 216 sends a signal to the second counter unit 215, causing the second counter unit 215 to reset to zero. In other words, the second timer unit 216 stops timing, the time duration is reset to zero, and the second timer unit 216 and the second counter unit 215 return to their initial states, facilitating subsequent signal detection. In this embodiment, the second timer counting determination unit 217 completes the determination before the second timer unit 216 and the second counter unit 215 are reset to zero.

[0433] In this embodiment, the child lock control method further includes: if the second timer is less than a second preset time length and the second count reaches a second preset number, the second count is reset to zero and the second timer is reset to zero.

[0434] Among them, if the second count obtained by the second timing counting judgment unit 217 reaches the second preset number, and the timing duration of the second timing unit 216 is less than the second preset duration, the second timing counting judgment unit 217 outputs a signal to the second timing unit 216 and the second counting unit 215, the second timing unit 216 is reset to zero, and the second counting unit 215 is reset to zero. This signal can be the same as the child lock locking signal or a different signal.

[0435] During actual testing using the above solution, the inventors discovered that due to airflow disturbances, the air pressure may drop momentarily during inhalation, causing the current air pressure information to reach the second preset air pressure range. This momentary air pressure drop lasts for a very short time, typically occurring only occasionally, causing the second counting unit 215 to miscount, potentially triggering the electronic cigarette to enter a locked state, causing user discomfort. To address this issue, please refer to Figures 10 and 14 . The steps for triggering the second count specifically include: S131: triggering the third timing and triggering the third count;

[0436] Among them, the child lock control circuit 200 also includes a third timing unit 212 and a third counting unit 213. The third timing unit 212 and the third counting unit 213 are both connected to the second air pressure judgment unit 211. When the third timing unit 212 and the third counting unit 213 obtain the current air pressure information and it is within the second preset air pressure range, that is, when the third timing unit 212 receives a valid air pressure signal, the third timing unit 212 starts the third timing, and the third timing unit 212 keeps timing until it is reset to zero, after which the third timing unit 212 stops timing; when the third counting unit 213 receives a valid air pressure signal, the third counting unit 213 starts the third counting, and also performs the third counting this time, and the third count is 1 at this time.

[0437] S132: Determine whether the third count is greater than or equal to a third preset number within a third preset time period;

[0438] The child lock control circuit 200 further includes a third timer and count determination unit 214, which is connected to the third counting unit 213 and the third timer unit 212, respectively. When the third timer and count determination unit 214 determines that the timed duration of the third timer unit 212 is within a third preset duration and the third count of the third counting unit 213 is greater than or equal to a third preset number, the third timer and count determination unit 214 outputs a first count signal. In this embodiment, the third preset duration is generally 30ms-150ms, and examples include 30ms, 40ms, 50ms, 60ms, 70ms, 80ms, 90ms, 100ms, 110ms, 120ms, 130ms, 140ms, and 150ms, and is preferably 60ms-100ms. In this embodiment, the third preset number is an integer greater than or equal to 2, such as 2 or 3. In this embodiment, the third preset number is greater than or equal to 2, such as 2, 3, 4, 5, or 6.

[0439] In this embodiment, the third timer counting determination unit 214 is electrically connected to the third timer unit 212 and the third counting unit 213 in real time. When the third timer counting determination unit 214 obtains that the third count reaches the third preset number and the third time has not reached the third preset duration, the third timer counting determination unit 214 outputs a first count signal. Alternatively, the third timer counting determination unit 214 waits until the third time reaches the third preset duration before outputting the first count signal. In other embodiments of the present application, the third timer counting determination unit 214 is connected to the third timer unit 212 and the third counting unit 213. When the third timer unit 212 reaches the third preset duration, the third timer unit 212 outputs a signal to the third timer counting determination unit 214. The third timer counting determination unit 214 obtains the third count of the third counting unit 213 at this time and then determines whether the third count is greater than or equal to the third preset number. If the third count is greater than or equal to the third preset number, the third timer counting determination unit 214 outputs a first count signal. If the third count is less than the third preset number, the third time is reset to zero and the third count is set to zero.

[0440] S133: If the judgment result is yes, trigger the second counting.

[0441] The third timing and counting determination unit 214 is connected to the second timing unit 216 and the second counting unit 215. If the determination result of the third timing and counting determination unit 214 is yes, the second timing unit 216 receives the first counting signal and is triggered to start timing, and the second timing starts from 0. The second counting unit 215 receives the first counting signal and is triggered to start counting, and the second counting unit 215 also counts this time, that is, the second count is 1 at this time.

[0442] In this embodiment, when the second counting unit 215 has not been triggered to start counting and the second timing unit 216 has not been triggered to start timing, if the judgment result of the third timing and counting determination unit 214 is negative, that is, the third timing and counting determination unit 214 does not output the first counting signal, the second counting unit 215 maintains its original state of not counting and the second timing unit 216 maintains its original state of not timing; when the second counting unit 215 has been triggered to start counting (that is, the second count is at least 1) and the second timing unit 216 has been triggered to start timing, if the judgment result of the third timing and counting determination unit 214 is negative, the second count maintains its original count, the second count does not increase, and the second timing continues to count.

[0443] In this embodiment, when the air flow crosstalk causes the air pressure in the air flow channel of the electronic cigarette to change in a short time, since the time for the air pressure to drop is very short, the condition that the third count is greater than or equal to the third preset number within the third preset time period will not be met, so the second count will not change, and the air flow crosstalk will not be misjudged as a situation where the user wants to enter the child lock protection. This can prevent the electronic cigarette from mistakenly entering the locked state and prevent trouble to the user. This embodiment can avoid this situation and improve the user experience.

[0444] In this embodiment, if the electronic cigarette is in the puffing state during the entire third preset time period, and part of the third preset time period or the entire time period is considered as re-puffing, the second timing unit 216 will count.

[0445] In order to determine whether the electronic cigarette is in the inhalation state, please refer to Figures 11 and 14. In this embodiment, the child lock control method further includes: S171: receiving current air pressure information in the airflow channel of the electronic cigarette;

[0446] S172: Determine whether the current air pressure information is within a first preset air pressure range;

[0447] S173: If the judgment result is yes, output the information that the electronic cigarette has changed from the non-smoking state to the smoking state.

[0448] The child lock control circuit 200 includes a first air pressure determination unit 242, which is connected to the air pressure acquisition unit 241. After the air pressure acquisition unit 241 outputs the current air pressure information, the first air pressure determination unit 242 receives the current air pressure information and determines whether the current air pressure information is within a first preset air pressure range. If the determination result is yes, the first air pressure determination unit 242 outputs information indicating that the electronic cigarette has transitioned from a non-puffing state to a puffing state, i.e., outputs a puff signal. If the determination result is no, the first air pressure determination unit 242 maintains the original signal output, such as a non-puffing signal or a puffing signal. In this embodiment, the first air pressure determination unit 242 is connected to the child lock control unit 240, specifically to the switch control unit of the child lock control unit 240. Furthermore, it is possible to require that the puff signal be output only after multiple consecutive yes determinations, which helps reduce the probability of false triggering due to airflow crosstalk. In this embodiment, the first air pressure determination unit 242 and the second air pressure determination unit 211 may be the same determination unit or different determination units.

[0449] In addition, in other embodiments of the present application, as in the prior art, the state detection unit 150 can be used to directly determine whether the electronic cigarette is in the inhalation state or the blowing state. Specifically, the child lock control method further includes:

[0450] receiving a current count value, wherein the current count value is used to represent the air pressure in the airflow channel of the electronic cigarette;

[0451] Determining whether the current count value is within a first preset value range, wherein the first preset value range corresponds to the first preset air pressure range;

[0452] If the judgment result is yes, the information that the electronic cigarette changes from the non-smoking state to the smoking state is output.

[0453] The state detection unit 150 includes a first count generation unit and a first count determination unit. The first count generation unit is connected to the first count determination unit. After the first count generation unit generates a current count value, the first count determination unit receives the current count value and determines whether the current count value is within a first preset numerical range. The first preset numerical range corresponds to the first preset air pressure range. That is, the first preset numerical range can be converted to the first preset air pressure range, and the first preset air pressure range can also be converted to the first preset numerical range. If the first count determination unit determines that the current count value is within a first preset numerical range, the first count determination unit outputs information indicating that the electronic cigarette has transitioned from a non-puff state to a puff state, that is, outputs a puff signal. If the determination result is negative, the first count determination unit maintains the original signal output, such as a non-puff signal or a puff signal. Furthermore, it can be required that the current count value is output only after multiple consecutive positive determinations, which helps reduce the probability of false triggering due to airflow crosstalk. In this embodiment, the current count value is the count value of the oscillation period of the preset counting duration. This is conventional in the art and will not be further described here. In addition, in the prior art, it is also possible to determine whether the electronic cigarette is in the blowing state by the current count value. For example, when the current air pressure value is within the fourth preset value range, the electronic cigarette is in the blowing state and outputs a blowing signal.

[0454] In addition, in this embodiment, referring to FIG. 12 and FIG. 14 , after the step of triggering the second counting, the following steps are further included:

[0455] S161: Obtaining information that the electronic cigarette changes from a puffing state to a non-puffing state;

[0456] S162: Trigger the fifth count and lock the second count;

[0457] S163: Determine whether the fifth timer is greater than or equal to a fifth preset time length;

[0458] S164: If the judgment result is yes, unlocking the second count.

[0459] This embodiment also specifies the duration of the interval between two puffs (including two re-puffs) to prevent airflow jitter, crosstalk, and other factors from causing an erroneous second count during the puff phase. Specifically, in this embodiment, the child lock control circuit 200 includes a fifth timing unit 221 and a fifth duration determination unit 222. The fifth timing unit 221 is connected to the first air pressure determination unit 242 and the third timing and counting determination unit 214, respectively. The fifth duration determination unit 222 is electrically connected to the fifth timing unit 221 and the second counting unit 215, respectively. The second counting unit 215 is also electrically connected to the first air pressure determination unit 242. When the third timing and counting judgment unit 214 outputs the first counting signal, the fifth timing unit 221 receives the first counting signal and obtains information that the electronic cigarette has entered the non-puffing state from the inhalation state. The fifth timing unit 221 is triggered to start timing. At the same time, the second counting unit 215 also receives the first counting signal and obtains information that the electronic cigarette has entered the non-puffing state from the inhalation state. The second counting unit 215 is locked, that is, enters the counting locked state. After the second counting unit 215 is locked, even if it receives the first counting signal again, it will not increase the count. That is, in the locked state, the second counting unit 215 maintains the original count value and does not increase the count value. Only after being unlocked and in the counting unlocked state, the second counting unit 215 receives the first counting signal and the count increases by one. In this embodiment, after the fifth timer unit 221 begins the fifth timer, the fifth timer unit 221 continues to count (even when the device switches from a non-puffing state to a puffing state). The fifth timer unit 222 determines whether the timer length of the fifth timer unit 221 is greater than or equal to the fifth preset timer length. When the fifth timer unit 222 determines that the timer length of the fifth timer unit 221 has reached the fifth preset timer length, the fifth timer unit 221 stops counting and resets to zero, i.e., the fifth timer unit 221 is reset to zero. Simultaneously, the fifth timer unit 222 outputs a count unlock signal to the second counting unit 215, thereby releasing the count lock of the second counting unit 215 and placing the second counting unit 215 into a count unlock state. Furthermore, the third timer unit 212, the third timer unit 213, and the second timer unit 216 are also reset to zero. Thereafter, the second counting unit 215 receives the first count signal again, and can then increment the second count by one, i.e., increment the second count by one based on the original count. In this embodiment, when the fifth timing unit 221 does not receive the first counting signal, or the fifth timing unit 221 does not obtain the information that the electronic cigarette has entered the non-puffing state from the puffing state, the fifth timing unit 221 will not trigger the start of timing.

[0460] In this embodiment, after the step of triggering the second count, the process further includes determining whether the duration of the current air pressure information remaining within the second preset air pressure range is greater than or equal to a seventh preset time period. If so, both the second count and the second timer are reset to zero. In this embodiment, the duration of the re-puff is determined. If the re-puff duration is greater than or equal to the seventh preset time period, both the second count and the second timer are reset to zero, with the second count being 0 and the second timer being stopped and reset to zero. This configuration prevents the user from accidentally entering the child lock state after prolonged puffing, meeting user expectations. In this embodiment, the seventh preset time period is greater than or equal to 400ms, for example, 400ms, 450ms, 500ms, 600ms, etc.

[0461] In this embodiment, after the electronic cigarette enters the child lock locked state, the user cannot smoke the electronic cigarette normally. When the user needs to use the electronic cigarette, the electronic cigarette needs to be unlocked. The following describes how to unlock the electronic cigarette. The following description is only one way to enter the child lock unlocked state. Those skilled in the art can also use other conventional methods to enter the child lock unlocked state. In addition, in other embodiments of the present application, the unlocking method can be the same as the locking method. Please refer to the previous description and will not be repeated here.

[0462] Please refer to FIG. 13 and FIG. 14 . In this embodiment, the child lock control method further includes:

[0463] S21: receiving current air pressure information in the electronic cigarette airflow channel;

[0464] Among them, the child lock control circuit 200 includes a fourth air pressure judgment unit 231, which is used to receive current air pressure information. Among them, the fourth air pressure judgment unit 231 and the second air pressure judgment unit 211 can be different judgment units or the same air pressure judgment unit.

[0465] In this embodiment, when in the blowing state, the air pressure in the airflow channel is relatively large and will be higher than the air pressure in the non-suction and blowing state, that is, the current air pressure value will be greater than the reference air pressure value, and the distance between the two electrodes of the capacitor of the airflow sensor 140 will be larger than that in the non-suction and blowing state, so that the capacitance value will be smaller than that in the non-suction and blowing state, and the frequency will be larger than that in the non-suction and blowing state. The number of oscillation cycles within the preset counting time in the blowing state (current counting value) is greater than the number of oscillation cycles (reference oscillation cycle number) of the corresponding time in the non-suction and blowing state, and the number of oscillation cycles within the preset counting time in the suction state (current counting value) will be less than the number of oscillation cycles (reference oscillation cycle number) of the corresponding time in the non-suction and blowing state.

[0466] S22: Determine whether the current air pressure information is within a fourth preset air pressure range, where the fourth preset air pressure range is used to determine whether the electronic cigarette is in a blowing state;

[0467] S23: If the judgment result is yes, triggering a fourth timing and a fourth counting;

[0468] After receiving the current air pressure information, the fourth air pressure determination unit 231 determines whether the current air pressure information is within a fourth preset air pressure range. The fourth preset air pressure range is pre-calculated or pre-stored in the fourth air pressure determination unit 231.

[0469] When the current air pressure information is the current air pressure value, the fourth preset air pressure range is an air pressure value range. In this case, the lower limit of the fourth preset air pressure range is, for example, 1.03 times the reference air pressure value, which is greater than the upper limit corresponding to the first preset air pressure range. The lower limit of the fourth preset air pressure range is greater than the reference air pressure value. When the current air pressure information is the ratio of the current air pressure value to the reference air pressure value, the fourth preset air pressure range is a ratio range. In this case, the lower limit of the fourth preset air pressure range is, for example, 1.03, 1.04, 1.05, etc., which is greater than the upper limit corresponding to the first preset air pressure range. The upper limit of the fourth preset air pressure range can be unlimited or limited as needed. When the current air pressure information is the difference between the current air pressure value and the reference air pressure value, or the ratio of the difference between the current air pressure value and the reference air pressure value to the reference air pressure value, the fourth preset air pressure range corresponds to a difference range or a ratio range. In this case, please refer to the previous description. Those skilled in the art can know how to distinguish between the inhalation state and the insufflation state based on existing knowledge.

[0470] The child lock control circuit 200 includes a fourth timing unit 232 and a fourth counting unit 233. The fourth timing unit 232 is electrically connected to the fourth air pressure determination unit 231, and the fourth counting unit 233 is electrically connected to the fourth air pressure determination unit 231. If the fourth air pressure determination unit 231 determines that the time is positive, the fourth air pressure determination unit 231 outputs an air blow signal, triggering the fourth timing unit 232 to start timing. The fourth timing unit 232 starts counting from 0, and the fourth counting unit 233 is triggered to start counting and also count this time, that is, the count of the fourth counting unit 233 is now 1. If the fourth air pressure determination unit 231 determines that the time is negative, the fourth air pressure determination unit 231 does not output the air blow signal, and the fourth timing unit 232 and the fourth counting unit 233 maintain their original states. In this embodiment, once the fourth timing unit 232 is triggered to start timing, it continues counting until it is reset to zero, at which point the fourth timing unit 232 stops counting. In this embodiment, the blowing signal is also output to the child lock control unit 240. In addition, in other embodiments of the present application, the state detection unit 150 can determine whether the electronic cigarette is in the blowing state by whether the current count value is within a fourth preset value range, wherein the fourth preset value range corresponds to the fourth preset air pressure range; when it is determined to be in the blowing state, the state detection unit 150 outputs the blowing signal. This is a conventional technology in the art and will not be described in detail here.

[0471] In this embodiment, when the fourth timing unit 232 is triggered to start timing and the fourth counting unit 233 is triggered to start counting, when the fourth air pressure judgment unit 231 receives the current air pressure information again and once again determines that the current air pressure information is within the fourth preset air pressure range, the fourth count of the fourth counting unit 233 is increased by 1, and the fourth count is now 2. At the same time, the fourth timing unit 232 continues to perform the fourth timing.

[0472] S24: Determine whether a fourth count is greater than or equal to a fourth preset number within a fourth preset time period, wherein the fourth preset number is greater than or equal to 2;

[0473] The child lock control circuit 200 further includes a fourth timer and count determination unit 234, which is electrically connected to the fourth counter unit 233 and the fourth timer unit 232. When the fourth timer and count determination unit 234 determines that the timed duration of the fourth timer unit 232 is within a fourth preset duration and the count of the fourth counter unit 233 is greater than or equal to a fourth preset number, the fourth timer and count determination unit 234 outputs a child lock unlocking signal. In this embodiment, the fourth preset duration is generally less than or equal to 5 seconds, such as 1 second, 1.5 seconds, 1.8 seconds, 2 seconds, 2.3 seconds, 2.5 seconds, 2.8 seconds, 3 seconds, 4 seconds, 5 seconds, etc., and preferably 2 seconds. In this embodiment, the fourth preset number is greater than or equal to 2, such as 2, 3, 4, 5, 6, etc., and preferably 3. The fourth preset number is generally less than or equal to 6 times to facilitate user operation.

[0474] In this embodiment, the fourth timer counting determination unit 234 is connected to the fourth timer unit 232 and the fourth counting unit 233 in real time. When the fourth timer counting determination unit 234 determines that the fourth counting unit 233 has reached a fourth preset number and the fourth timer unit 232 has not reached a fourth preset time duration, the fourth timer counting determination unit 234 outputs a child lock unlocking signal. Alternatively, the fourth timer counting determination unit 234 waits until the fourth timer unit 232 has reached a fourth preset time duration before outputting the child lock unlocking signal. In other embodiments of the present application, the fourth timer counting determination unit 234 is connected to the fourth timer unit 232 and the fourth counting unit 233. When the fourth timer unit 232 reaches a fourth preset time duration, the fourth timer unit 232 outputs a signal to the fourth timer counting determination unit 234. The fourth timer counting determination unit 234 obtains the count of the fourth counting unit 233 at this time and then determines whether the fourth count is greater than or equal to the fourth preset number. If so, the child lock unlocking signal is output; if less than the fourth preset number, the original signal output is maintained.

[0475] S24: If the judgment result is yes, the electronic cigarette is controlled to enter an unlocked state, wherein in the unlocked state, when the electronic cigarette is in a puffing state, the power MOS tube M1 is continuously turned on or intermittently turned on.

[0476] Among them, if the result of the judgment of the fourth timing and counting judgment unit 234 is yes, that is, the number counted within the fourth preset time period is greater than or equal to the fourth preset number, the fourth timing and counting judgment unit 234 outputs a child lock unlocking signal to the child lock control unit 240, and the child lock control unit 240 controls the electronic cigarette to enter an unlocked state. In the unlocked state, when the electronic cigarette is in the inhalation state, the power MOS tube M1 is continuously turned on or intermittently turned on, that is, at this time, the power MOS tube M1 is controlled by whether the user inhales. In this embodiment, when the electronic cigarette is in the inhalation state, the child lock control unit 240 continuously outputs a low-level signal or intermittently outputs a low-level signal to the power MOS tube M1, and the power MOS tube M1 is continuously turned on or intermittently turned on. When the power MOS tube M1 is turned on, the heating element 130 is heated to atomize the tobacco oil, so that the atomized tobacco oil can be inhaled by the user.

[0477] In this embodiment, unlocking is achieved by timing and counting the puffs, achieving an effective unlocking effect without adding Bluetooth / NFC or other designs or mechanical structures, thereby reducing the hardware cost of unlocking the electronic cigarette and solving the technical problem of high unlocking costs in the prior art. Moreover, the unlocking method of the present application is not easily detected by children, and the electronic cigarette is not easily unlocked by children after being locked, which is conducive to improving the safety of the electronic cigarette. In addition, in other embodiments of the present application, as with determining the puffing state, the current count value can also be used to determine whether to blow.

[0478] In this embodiment, the child lock control method further includes: obtaining again information that the current air pressure information is within a fourth preset air pressure range, and adding 1 to the fourth count.

[0479] Specifically, after the fourth counting unit 233 triggers the fourth counting and the fourth timing unit 232 triggers the fourth timing, the fourth timing unit 232 and the fourth counting unit 233 do not stop working, and the fourth timing unit 232 and the fourth counting unit 233 again (again means that the value of the fourth count in the fourth counting unit 233 is at least 1) obtain information that the current air pressure information is within the fourth preset air pressure range, then the fourth counting unit 233 adds 1 on the basis of the original count, for example, the original count value of the fourth counting unit 233 is 1, and the information that the current air pressure information is within the fourth preset air pressure range is obtained again, that is, the information that the state is changed from no suction and blowing to blowing state is received, then the count of the fourth counting unit 233 is added by 1, that is, the count value becomes 2; the fourth timing unit 232 continues to work and continuously timing, that is, after the fourth timing unit 232 triggers timing, as long as the fourth timing unit 232 does not receive a signal to stop timing or reset timing, the fourth timing unit 232 continues to timing.

[0480] In this embodiment, the child lock control method further includes: if the timing duration of the fourth timing unit 232 reaches a fourth preset duration, the fourth counter is reset to zero, and the fourth timing unit 232 is reset to zero.

[0481] In this embodiment, the child lock control method further includes: if the timing duration of the fourth timing unit 232 is less than the fourth preset duration and the fourth count reaches a fourth preset number, the fourth count is reset to zero and the fourth timing unit 232 is reset to zero.

[0482] Corresponding to the child lock control method of the electronic cigarette in the above embodiment, FIG14 shows a module diagram of the child lock control circuit 200 of the electronic cigarette provided in the embodiment of the present application. For the sake of convenience, only the part related to the embodiment of the present application is shown.

[0483] 8 and 14 , the child lock control circuit 200 includes:

[0484] a state detection unit 150 , which is configured to be electrically connected to the airflow sensor 140 ;

[0485] The air pressure acquisition unit 241 is connected to the state detection unit 150 and is used to output the current air pressure information in the airflow channel of the electronic cigarette. In addition, in other embodiments of the present application, the child lock control circuit 200 may also not have the state detection unit 150, in which case the air pressure acquisition unit 241 is not connected to the state detection unit 150;

[0486] A second air pressure determination unit 211 is configured to receive current air pressure information within the airflow channel of the electronic cigarette and determine whether the current air pressure information is within a second preset air pressure range, wherein the second preset air pressure range is within the first preset air pressure range, and the first preset air pressure range is used to determine whether the electronic cigarette is in a puffing state;

[0487] A second counting unit 215, which is used to trigger a second counting if the judgment result of the second air pressure judgment unit 211 is yes;

[0488] The second timing unit 216 is used to trigger timing if the judgment result of the second air pressure judgment unit 211 is yes;

[0489] A second timing counting determination unit 217 is configured to determine whether the second count is greater than or equal to a second preset number within a second preset time period, wherein the second preset number is greater than or equal to 2;

[0490] The child lock control unit 240 is used to control the electronic cigarette to enter a locked state if the judgment results of the second timing and counting judgment unit 217 are all yes. In the locked state, the power MOS tube M1 of the electronic cigarette remains disconnected.

[0491] In this embodiment, the current air pressure information includes the current air pressure value, the ratio of the current air pressure value to the reference air pressure value, the difference between the current air pressure value and the reference air pressure value, or the ratio of the difference between the current air pressure value and the reference air pressure value to the reference air pressure value.

[0492] In this embodiment, when the current air pressure information is the current air pressure value, the upper limit of the second preset air pressure range is less than the upper limit of the first preset air pressure range; or, when the ratio of the current air pressure value to the reference air pressure value is calculated, the upper limit of the second preset air pressure range is less than the upper limit of the first preset air pressure range; or, when the difference between the current air pressure value and the reference air pressure value is calculated, the lower limit of the second preset air pressure range is greater than the lower limit of the first preset air pressure range; or, when the difference between the current air pressure value and the reference air pressure value is calculated as the ratio of the reference air pressure value to the reference air pressure value, the lower limit of the second preset air pressure range is greater than the lower limit of the first preset air pressure range. The reference air pressure value is the air pressure value in the air flow channel of the electronic cigarette when it is in a non-inhalation state.

[0493] In this embodiment, the child lock control circuit 200 includes a third timing unit 212, a third counting unit 213, and a third timing and counting determination unit 214. The third timing unit 212 and the third counting unit 213 are respectively connected to the second air pressure determination unit 211. When the second air pressure determination unit 211 outputs a valid air pressure signal, the third timing unit 212 is triggered to perform a third timing, and the third counting unit 213 is triggered to perform a third counting. The third timing and counting determination unit 214 is connected to both the third timing unit 212 and the third counting unit 213. The third timing and counting determination unit 214 is configured to determine whether the third count is greater than or equal to a third preset number within a third preset time period. If the determination result of the third timing and counting determination unit 214 is yes, the second timing unit 216 is triggered to perform a second timing, and the second counting unit 215 is triggered to perform a second counting. In this embodiment, the electronic cigarette is in a puffing state during the third preset time period.

[0494] In this embodiment, the air pressure acquisition unit 241 is used to obtain the current capacitance value, the current frequency value, the current count value, the current capacitance change relative to the no-inhalation and blowing state, the current frequency change relative to the no-inhalation and blowing state, or the current count change relative to the no-inhalation and blowing state, and is also used to search a pre-stored capacitance value-pressure value table according to the current capacitance value, search a pre-stored frequency value-pressure value table according to the current frequency value, search a pre-stored count value-pressure value table according to the current count value, search a pre-stored capacitance change-pressure value table according to the current capacitance change, search a pre-stored frequency change-pressure value table according to the current frequency change, or search a pre-stored count change-pressure value table according to the current count change; the air pressure acquisition unit is used to obtain and output the current air pressure information in the electronic cigarette airflow channel, and the second air pressure judgment unit receives the current air pressure information.

[0495] In this embodiment, the child lock control circuit 200 also includes a first air pressure judgment unit 242, which is connected to the air pressure acquisition unit 241. The first air pressure judgment unit 242 is used to receive the current air pressure information in the electronic cigarette airflow channel and judge whether the current air pressure information is within a first preset air pressure range. If the judgment result of the first air pressure judgment unit 242 is yes, it outputs information that the electronic cigarette has changed from a non-puffing state to a puffing state, that is, outputs puffing information.

[0496] In this embodiment, the child lock control circuit 200 further includes a fifth timing unit 221 and a fifth duration judgment unit 222, wherein the fifth timing unit 221 is used to obtain information that the electronic cigarette enters a non-puffing state from a puffing state and obtain information for performing a second count. The fifth timing unit 221 starts the fifth timing, the second counting unit 215 performs the second count and is used to obtain information that the electronic cigarette enters a non-puffing state from a puffing state, the second counting unit 215 is locked, and the fifth duration judgment unit 222 is used to determine whether the fifth timing of the fifth timing unit 221 is greater than or equal to a fifth preset duration. If the judgment result of the fifth duration judgment unit 222 is yes, the fifth duration judgment unit 222 is used to output a counting unlocking signal to the second counting unit 215, and the second counting unit 215 is unlocked.

[0497] In this embodiment, the second air pressure judgment unit 211 is connected to the air pressure acquisition unit 241, the air pressure acquisition unit 241 is connected to the state detection unit 150, the state detection unit 150 is electrically connected to the capacitive airflow sensor 140, and the second air pressure judgment unit 211 is used to receive the current air pressure information output by the air pressure acquisition unit 24.

[0498] In this embodiment, the child lock control circuit 200 includes a locking unit, which includes a second timing unit 216 , a second counting unit 215 , a second timing and counting determination unit 217 , a second air pressure determination unit 211 , and the like.

[0499] In this embodiment, the child lock control circuit 200 includes an unlocking unit, which includes a fourth air pressure judgment unit 231, a fourth timing unit 232, a fourth counting unit 233, and a fourth timing and counting judgment unit 234. The fourth air pressure judgment unit 231 is used to receive current air pressure information and determine whether the current air pressure information is within a fourth preset air pressure range. The fourth preset air pressure range is used to determine whether the electronic cigarette is in the blowing state. If the judgment result of the fourth air pressure judgment unit 231 is yes, the fourth timing unit 232 is triggered to perform a fourth timing, and the fourth counting unit 233 is triggered to perform a fourth counting. The fourth timing and counting judgment unit 234 is used to determine whether the fourth count is greater than or equal to a fourth preset number within a fourth preset time period. If the judgment result of the fourth timing and counting judgment unit 234 is yes, a child lock unlocking signal is output to the child lock control unit 240. The child lock control unit 240 controls the electronic cigarette to enter the unlocked state. In the unlocked state, when the electronic cigarette is in the inhalation state, the power MOS tube M1 is continuously turned on or intermittently turned on.

[0500] In this embodiment, the fourth counting unit 233 is further configured to obtain information again indicating that the current air pressure information is within the fourth preset air pressure range, and to increase the fourth count by 1.

[0501] In this embodiment, the fourth timing unit 232 is further configured to reset the fourth counter to zero and reset the fourth timing unit 232 to zero if the timing duration reaches a fourth preset duration. In other embodiments of the present application, the fourth timing and counting determination unit 234 is further configured to reset the fourth counter to zero and reset the fourth timing unit 232 to zero if the timing duration is less than the fourth preset duration and the fourth counter reaches a fourth preset number.

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

[0503] FIG15 is a schematic diagram of a child lock control device 400 provided in one embodiment of the present application. As shown in FIG15 , the child lock control device 400 of this embodiment includes: at least one processor 420 (only one is shown in FIG15 ), a memory 410, and a computer program stored in the memory 410 and executable on the processor 420. When the processor 420 executes the computer program, the steps in the above-described child lock control method embodiment are implemented. Those skilled in the art will understand that FIG15 is merely an example of a child lock control device 400 and does not constitute a limitation of the child lock control device 400. The child lock control device 400 may include more or fewer components than shown, or may combine certain components, or may include different components. For example, it may also include input and output devices, network access devices, etc. The processor 420 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor may be a microprocessor or any conventional processor.

[0504] In some embodiments, the memory 410 may be an internal storage unit of the child lock control device 400, such as a hard disk or memory of the child lock control device 400. In other embodiments, the memory 410 may also be an external storage device of the child lock control device 400, such as a plug-in hard disk equipped on the child lock control device 400, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Furthermore, the memory 410 may also include both an internal storage unit of the child lock control device 400 and an external storage device. The memory 410 is used to store an operating system, an application, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 410 may also be used to temporarily store data that has been output or is to be output. The child lock control device 400 is, for example, an electronic cigarette.

[0505] The embodiment of the present application further provides a storage medium storing a computer program. When the computer program is executed by the processor 420, the steps in the above-mentioned child lock control method embodiment can be implemented.

[0506] An embodiment of the present application provides a computer program product. When the computer program product is run on a terminal, the terminal can implement the steps in the above-mentioned child lock control method embodiment when executing the computer program product.

[0507] An embodiment of the present application further provides an electronic cigarette. Please refer to Figures 8 and 14 in combination. The electronic cigarette includes the above-mentioned child lock control circuit 200, and the electronic cigarette also includes a battery 110, a power MOS tube M1 and a heating element 130. The heating element 130 and the power MOS tube M1 are connected in series to form a heating branch, and the two ends of the heating branch are electrically connected to the positive and negative poles of the battery 110 respectively; the electronic cigarette also includes an airflow sensor 140, wherein the control end of the power MOS tube M1 and the airflow sensor 140 are both electrically connected to the child lock control circuit 200, and the airflow sensor 140 is electrically connected to the status detection unit 150 of the child lock control circuit 200.

[0508] Third embodiment

[0509] The third embodiment of the present application provides an electronic cigarette. Please refer to Figures 16 and 22 in conjunction. The electronic cigarette includes a battery 110, a child lock control circuit 200, a heating element 130, an airflow sensor 140, a power MOSFET M1, etc. The child lock control circuit 200 includes a state detection unit 150. The child lock control circuit 200 is electrically connected to the battery 110, the airflow sensor 140, the power MOSFET M1, etc. In this embodiment, the battery 110 is a rechargeable battery such as a lithium battery, a nickel-cadmium battery, or a nickel-metal hydride battery. The battery 110 may also be a non-rechargeable battery. The state detection unit 150 is electrically connected to the airflow sensor 140. The state detection unit 150 is used to determine whether the electronic cigarette is being inhaled and / or blown, and output a corresponding signal. A specific implementation of the state detection unit 150 can be found in prior applications in the art, or other conventional state detection units known to those skilled in the art. In this embodiment, the airflow sensor 140 is a capacitive airflow sensor 140, such as a capacitive MEMS sensor or a capacitive microphone. The airflow sensor 140 is located within the airflow channel of the electronic cigarette and includes a capacitor. The state detection unit 150 determines whether the electronic cigarette is in the inhalation state, the puffing state, or the non-inhalation and puffing state (corresponding to the state when the user is not using the electronic cigarette) by changes in the capacitance value of the capacitor. The child lock control circuit 200 is electrically connected to the control terminal of the power MOS transistor M1. The child lock control circuit 200 is used to control whether the power MOS transistor M1 is conductive. The power MOS transistor M1 is connected in series with the heating element 130 via the atomization terminal AT to form a series branch. One end of the series branch is electrically connected to the positive electrode of the battery 110 via the power supply terminal BAT, and the other end of the series branch is electrically connected to the negative electrode of the battery 110 via the power ground terminal GND. In this embodiment, the power MOS transistor M1 is a PMOS transistor for illustration. Of course, the power MOS transistor M1 can also be an NMOS transistor. In this embodiment, the power MOS tube M1 and the child lock control circuit 200 can be located on the same chip, which is generally called a system control chip. However, the present application is not limited to this. In other embodiments of the present application, the power MOS tube M1 and the child lock control circuit 200 can be located on different chips. In this embodiment, the heating element 130 is, for example, a heating wire, a heating wire, a ceramic base containing a heating wire or a heating wire, or other conventional heating elements 130. In this embodiment, when the child lock control circuit 200 outputs a low level to control the power MOS tube M1 to turn on, the heating element 130 heats to atomize the e-liquid, and when the child lock control circuit 200 outputs a high level to control the power MOS tube M1 to turn off, the heating element 130 stops heating.

[0510] In this embodiment, the state detection unit 150 is electrically connected to the airflow sensor 140 to determine whether the electronic cigarette is being inhaled or blown into or is in a state where neither air is blown nor inhaled (non-inhalation and non-blow state). When the user inhales the electronic cigarette or blows air into the electronic cigarette, the air pressure between the two electrode sheets of the capacitor of the airflow sensor 140 will change, causing the distance between the two electrode sheets to change accordingly, thereby causing the capacitance value of the airflow sensor 140 to change. The state detection unit 150 converts the capacitance value change into a frequency value change or a count value change. By comparing the capacitance value, frequency value or count value with a preset parameter range, the state detection unit 150 can determine whether the electronic cigarette is being inhaled and is in the inhalation state, being blown into and is in the blowing state, or is in the non-inhalation and non-blow state.

[0511] In order to distinguish between normal puffing and puffing that triggers entering the locked state, and to reduce the probability of being mistakenly triggered to enter the locked state during normal puffing, the inventor of this application proposed the following solution after a large number of experiments: the puffing state of the electronic cigarette is further subdivided into a puffing state with lower air pressure and a puffing state with lower air pressure. The puffing state with lower air pressure (the user's suction force is lower) generally corresponds to the user's normal puffing, and the puffing state with lower air pressure (the user's suction force is higher) corresponds to the user's puffing that wants to enter the locked state or the user's accidental heavy inhalation. Regardless of whether it is in a puffing state with lower air pressure or in a puffing state with even lower air pressure, the electronic cigarette will be judged as a puffing state. This application determines whether it is a puffing state with even lower air pressure by whether the first parameter information is within the second preset parameter range.

[0512] Specifically, the first parameter information represents the air pressure condition in the airflow channel of the electronic cigarette. The air pressure condition includes, for example, the air pressure size, the change in air pressure, etc. The first parameter information corresponds to the air pressure condition in the airflow channel. In this embodiment, when the first parameter information is within the second preset parameter range, it represents that the electronic cigarette is in a puffing state with a lower air pressure. When the first parameter information is outside the second preset parameter range and within the first preset parameter range, it represents that the electronic cigarette is in a puffing state with a lower air pressure. The second preset parameter range is within the first preset parameter range, that is, as long as the first parameter information is within the second preset parameter range, the first parameter information must be within the first preset parameter range, indicating that the electronic cigarette is in a puffing state and it is a heavy puff. When the first parameter information is within the first preset parameter range, the first parameter information may be within the second preset parameter range (heavy puff) or may not be within the second preset parameter range (normal puff).

[0513] In this embodiment, the first parameter information includes a current capacitance value, a current frequency value, a current count value, a ratio of the current capacitance value to the reference capacitance value, a ratio of the current frequency value to the reference frequency value, a ratio of the current count value to the reference count value, a difference between the current capacitance value and the reference capacitance value, a difference between the current frequency value and the reference frequency value, a difference between the current count value and the reference count value, a ratio of the difference between the current capacitance value and the reference capacitance value to the reference oscillation capacitance value, a ratio of the difference between the current frequency value and the reference frequency value to the reference frequency value, or a ratio of the difference between the current count value and the reference count value to the reference count value, or a deformation of the current capacitance value, the current frequency value, or the current count value. When the electronic cigarette is neither inhaled nor blown, that is, when the electronic cigarette is in a non-inhalation state, the electrode of the capacitor is not deformed, and the current capacitance value is the reference capacitance value. The reference capacitance value is acquired or converted, and the corresponding current frequency value is the reference frequency value. The number of oscillation cycles of the preset count time is the current count value, which is also the reference count value. In addition, the reference capacitance value, the reference frequency value, and the reference count value can also be preset. When the user takes a light puff, causing the current air pressure in the electronic cigarette airflow channel to be low, the distance between the two electrode plates of the capacitor of the airflow sensor 140 will become smaller than that in the non-puff state, the current capacitance value will be larger, the ratio of the current capacitance value to the reference capacitance value will be larger, the current frequency value will be smaller, and the number of oscillation cycles of the preset counting time will be smaller, that is, the current count value will be smaller, the ratio of the current frequency value to the reference frequency value, and the ratio of the current count value to the reference count value will be smaller, the corresponding difference will be larger, and the ratio of the corresponding difference to the corresponding reference value will be larger; when the user takes a heavy puff, causing the current air pressure in the electronic cigarette airflow channel to be even lower, the distance between the two electrode plates of the capacitor of the airflow sensor 140 will become smaller than that in the non-puff state, the current capacitance value will be larger, the ratio of the current capacitance value to the reference capacitance value will be larger, the current frequency value will be smaller, the number of oscillation cycles of the preset counting time will be smaller, the current count value will be smaller, the ratio of the current frequency value to the reference frequency value, and the ratio of the current count value to the reference count value will be smaller, the corresponding difference will be larger, and the ratio of the corresponding difference to the corresponding reference value will be larger. When the user blows air, causing the current air pressure value in the electronic cigarette airflow channel to increase relative to the non-blowing state, the distance between the two electrode plates of the capacitor of the airflow sensor 140 will increase relative to the non-blowing state, the current capacitance value of the airflow sensor 140 will decrease, the current frequency value will increase, and the current count value will be larger than the reference count value.

[0514] When the air pressure in the air flow channel is smaller, the capacitance deformation of the air flow sensor 140 is greater, and the distance between the two electrodes of the capacitor is smaller, so that its current capacitance value will be greater, the ratio of the current capacitance value to the reference capacitance value will be greater, the current count value will be smaller, the current frequency value will be smaller, the ratio of the current frequency value to the reference frequency value, and the ratio of the current count value to the reference count value will be smaller, the corresponding difference will be greater, and the ratio of the corresponding difference to the corresponding reference value will be greater; when the air pressure in the air flow channel is smaller, the capacitance deformation of the air flow sensor 140 is greater, and the distance between the two electrodes of the capacitor is smaller, so that its capacitance value will be greater, the ratio of the current capacitance value to the reference capacitance value will be greater, the current count value will be smaller, the current frequency value will be smaller, the ratio of the current frequency value to the reference frequency value, and the ratio of the current count value to the reference count value will be smaller, the corresponding difference will be greater, and the ratio of the corresponding difference to the corresponding reference value will be greater. Therefore, the current capacitance value, the current count value, the current frequency value, the current frequency value, the current frequency value, the current frequency value, and the air pressure are all proportional to the air pressure in the air flow channel.

[0515] Since the present application is designed to enter the child lock state only when the user sucks it again, when the first parameter information is the current capacitance value, the second preset parameter range corresponds to the capacitance value range, the lower limit value of the second preset parameter range is greater than the lower limit value of the first preset parameter range, and the upper limit value of the second preset parameter range is less than or equal to the upper limit value of the first preset parameter range. For example, the second preset parameter range is (a, A], the first preset parameter range is (b, B], wherein a is greater than b, A is less than or equal to B, and A, a, B, and b are positive numbers. When the first parameter information is the difference between the current capacitance value and the reference capacitance value, the difference between the current frequency value and the reference frequency value, the difference between the current count value and the reference count value, the ratio of the difference between the current capacitance value and the reference capacitance value to the reference oscillation capacitance value, the ratio of the difference between the current frequency value and the reference frequency value to the reference frequency value, or the ratio of the difference between the current count value and the reference count value to the reference count value, the second preset parameter range corresponds to Difference range, ratio range, the lower limit of the second preset parameter range is greater than the lower limit of the first preset parameter range. In addition, in other embodiments of the present application, the upper limit of the second preset parameter range is not limited, that is, the current capacitance value is greater than a and falls within the second preset parameter range. When the first parameter information is the current frequency value, the current count value, the ratio of the current frequency value to the reference frequency value or the ratio of the current count value to the reference count value, the second preset parameter range corresponds to the frequency value range, the count value range or the ratio range, the upper limit of the second preset parameter range is less than the upper limit of the first preset parameter range, the lower limit of the second preset parameter range is greater than or equal to the lower limit of the first preset parameter range, for example, when the first parameter information is the current count value, the second preset parameter range is [m, M), for example, M is 950, and the first preset parameter range is [n, N), for example, N is 970, wherein, M is less than N, m is greater than or equal to n, and M, m, N, n are positive integers. In addition, in other embodiments of the present application, the lower limit of the second preset parameter range is not set, that is, the current frequency value or the current count value falls within the second preset parameter range if it is less than M.

[0516] Furthermore, when the electronic cigarette is in the puffing state, in order to determine whether the first parameter information is within the second preset parameter range, the child lock control circuit 200 of this embodiment also includes a second parameter judgment unit 211. The second parameter judgment unit 211 is connected to the state detection unit 150. The state detection unit 150 itself knows the first parameter information, that is, the state detection unit 150 itself knows the current capacitance value, the current frequency value or the current count value, etc., so that the state detection unit 150 outputs the first parameter information to the second parameter judgment unit 211. The second parameter judgment unit 211 is used to receive the first parameter information and determine whether the first parameter information is within the second preset parameter range, and then distinguish whether the user is puffing normally or puffing into the locked state. After such distinction, the probability of the user mistakenly judging that the child lock locked state is entered during normal puffing can be reduced.

[0517] Referring to FIG. 16 , FIG. 17 , and FIG. 22 , an embodiment of the present application provides a method for controlling a child lock of an electronic cigarette, including the following steps:

[0518] S11: Receive first parameter information;

[0519] The second parameter determination unit 211 is connected to the state detection unit 150 . The state detection unit 150 generates and outputs the first parameter information. The second parameter determination unit 211 receives the first parameter information.

[0520] In this embodiment, the state detection unit 150 itself can identify whether the electronic cigarette is in the puffing state or the blowing state. When the user puffs on the electronic cigarette, the state detection unit 150 uses the airflow sensor 140 to identify the electronic cigarette as being in the puffing state. At this time, the state detection unit 150 determines that the first parameter information is within the first preset parameter range and outputs a puffing signal. When the user blows, the state detection unit 150 uses the airflow sensor 140 to identify the electronic cigarette as being in the blowing state and outputs a blowing signal. When the electronic cigarette is neither puffed nor blown, the state detection unit 150 identifies the electronic cigarette as being in the non-puffing state and outputs a non-puffing signal. The child lock control circuit 200 receives the output signal of the state detection unit 150 to obtain the state of the electronic cigarette. When the state detection unit 150 switches from outputting the non-puffing signal to outputting the puffing signal or the blowing signal, the child lock control circuit 200 detects that the electronic cigarette has transitioned from the non-puffing state to the puffing state or the blowing state. In this embodiment, the non-suction state includes a non-suction and blowing state and a blowing state.

[0521] S12: Determine whether the first parameter information is within a second preset parameter range, wherein the second preset parameter range is within the first preset parameter range, and the first preset parameter range is used to determine whether the electronic cigarette is in a puffing state;

[0522] S13: If the judgment result is yes, triggering a second timing and triggering a second counting;

[0523] After receiving the first parameter information, the second parameter determination unit 211 determines whether the first parameter information is within a second preset parameter range. The second preset parameter range is pre-calculated or pre-stored in the second parameter determination unit 211. The child lock control circuit 200 includes a second timing unit 216 and a second counting unit 215. The second timing unit 216 is electrically connected to the second parameter determination unit 211, and the second counting unit 215 is electrically connected to the second parameter determination unit 211. If the determination result of the second parameter determination unit 211 is yes, the second parameter determination unit 211 outputs a parameter valid signal, the second timing unit 216 is triggered to start timing, and the second timing unit 216 starts timing from 0. The second counting unit 215 is triggered to start counting and also counts this time, that is, the count of the second counting unit 215 is 1 at this time. If the determination result of the second parameter determination unit 211 is no, the second parameter determination unit 211 outputs a parameter invalid signal, the second timing unit 216 maintains its original state, and the second counting unit 215 maintains its original state. In this embodiment, after the second timing unit 216 is triggered to start timing, the second timing unit 216 will continue timing until the second timing unit 216 is reset to zero, and then the second timing unit 216 stops timing.

[0524] After the second timing unit 216 is triggered to start timing and the second counting unit 215 is triggered to start counting, when the second parameter determination unit 211 receives the first parameter information again and again determines that the first parameter information is within the second preset parameter range, that is, outputs a parameter valid signal again, then the second count of the second counting unit 215 is increased by 1, and the second count is now 2. At the same time, the second timing unit 216 continues to perform the second timing.

[0525] S14: Determine whether the second count is greater than or equal to a second preset number within a second preset time period, wherein the second preset number is greater than or equal to 2;

[0526] The child lock control circuit 200 further includes a second timer and count determination unit 217, which is connected to the second counting unit 215 and the second timer unit 216, respectively. When the second timer and count determination unit 217 determines that the timed duration of the second timer unit 216 is within a second preset duration and the second count of the second counting unit 215 is greater than or equal to a second preset number, the second timer and count determination unit 217 outputs a child lock lock signal. In this embodiment, the second preset duration is generally less than or equal to 5 seconds, and examples include 1 second, 1.5 seconds, 1.8 seconds, 2 seconds, 2.3 seconds, 2.5 seconds, 2.8 seconds, 3 seconds, 4 seconds, 5 seconds, etc., preferably 2 seconds. In this embodiment, the second preset number is an integer greater than or equal to 2, such as 2, 3, 4, 5, 6, etc., preferably 3. The second preset number is generally less than or equal to 6 times to facilitate user operation. For example, the second preset time length is 2 seconds, and the second preset number is 3. If the second count is greater than or equal to 3 within 2 seconds, the second timing and counting judgment unit 217 outputs a child lock locking signal.

[0527] In this embodiment, the second timing counting judgment unit 217 is electrically connected to the second timing unit 216 and the second counting unit 215 in real time. When the second timing counting judgment unit 217 obtains that the second count reaches the second preset number and the second timing unit 216 has not reached the second preset time length, the second timing counting judgment unit 217 outputs a child lock locking signal, or the second timing counting judgment unit 217 waits until the timing time of the second timing unit 216 reaches the second preset time length before outputting the child lock locking signal. In other embodiments of the present application, the second timing counting judgment unit 217 is connected to the second timing unit 216 and the second counting unit 215. When the second timing unit 216 reaches the second preset time length, the second timing unit 216 outputs a signal to the second timing counting judgment unit 217. The second timing counting judgment unit 217 obtains the second count of the second counting unit 215 at this time, and then determines whether the second count is greater than or equal to the second preset number. If the second count is greater than or equal to the second preset number, the second timing counting judgment unit 217 outputs a child lock locking signal. If the second count is less than the second preset number, the second timing counting judgment unit 217 maintains the original signal output.

[0528] S15: If the judgment result is yes, the electronic cigarette is controlled to enter a locked state, and in the locked state, the power MOS tube M1 remains disconnected.

[0529] The child lock control circuit 200 further includes a child lock control unit 240, which is electrically connected to the second timing and counting judgment unit 217. If the judgment result of the second timing and counting judgment unit 217 is yes, that is, the second count is greater than or equal to the second preset number within the second preset time period, the second timing and counting judgment unit 217 outputs a child lock locking signal to the child lock control unit 240, and the child lock control unit 240 controls the electronic cigarette to enter a locked state. In the locked state, the power MOS tube M remains disconnected. In this embodiment, the child lock control unit 240 continuously outputs a high-level signal to the power MOS tube M, and the power MOS tube M remains cut off. In this embodiment, the child lock control unit 240 includes a trigger and a switch control unit. The trigger is used to maintain the child lock locking signal and the subsequent child lock unlocking signal. The trigger is, for example, an SR trigger. The switch control unit is electrically connected to the trigger and the state detection unit 150, respectively. The switch control unit is, for example, an AND gate, a NAND gate, an OR gate, or a NOR gate. For example, the switch control unit includes a NAND gate, and the two input ends of the NAND gate are respectively connected to the output end of the trigger and an output end of the state detection unit 150. The child lock locking signal causes the output of the trigger to remain at a low level, and thus remains at a high level after passing through the NAND gate (at this time, the state detection unit 150 outputs a puff signal, and the puff signal is, for example, a high level), and the power MOS tube M remains turned off; the child lock unlocking signal causes the output of the trigger to remain at a high level, so that the output of the NAND gate is affected by the output of the state detection unit 150. When the state detection unit 150 determines that the user is puffing on the electronic cigarette, the state detection unit 150 outputs a puff signal to the NAND gate, and the puff signal is high. At this time, the switch control unit controls the power MOS tube M to be continuously turned on or intermittently turned on (for example, PWM or PFM control mode). If the judgment result of the second timer counting judgment unit 217 is negative, that is, the second count is less than the second preset number within the second preset time period, the original child lock state of the electronic cigarette is maintained, the second count is set to 0, and the second timer is reset to zero.

[0530] In this embodiment, the child lock state of the electronic cigarette is divided into a locked state and an unlocked state. The locked state corresponds to the child lock protection function. When the electronic cigarette is in the locked state and the user draws on the electronic cigarette, the child lock control unit 240 continues to control the power MOS tube M1 to remain off, so that the heating element 130 does not heat up, and the e-liquid does not atomize for the user to draw on. In other words, even if the user draws on the electronic cigarette, no smoke will appear. The unlocked state corresponds to the release of the child lock protection function. At this time, whether the e-liquid is atomized is controlled by whether the user draws on the electronic cigarette. When the user draws on the electronic cigarette, the child lock control unit 240 controls the power MOS tube M1 to be continuously turned on or intermittently turned on. Intermittent conduction means that the child lock control unit 240 outputs a square wave signal through PWM or PFM mode, and adjusts the duty cycle of the square wave signal to control the output power and output voltage.

[0531] In this embodiment, first parameter information is received; a determination is made as to whether the first parameter information is within a second preset parameter range; if so, a second timing and a second count are triggered; a determination is made as to whether the second count is greater than or equal to a second preset number within a second preset time period; if so, the electronic cigarette is controlled to enter a locked state. This embodiment of the application further subdivides the puff state into a puff state with lower air pressure and a puff state with lower air pressure by using the first parameter information and the second preset parameter range. The number of puffs for which the first parameter information is within the second preset parameter range is distinguished as a puff state with lower air pressure (re-puff), and a second count is performed. The electronic cigarette enters a locked state only when the second count is greater than or equal to the second preset number within the second preset time period. This configuration allows the electronic cigarette to further distinguish whether the user is puffing normally or attempting to trigger the locked state by puffing. The electronic cigarette is less likely to confuse the two, thereby reducing the chance of the user being mistakenly triggered into the locked state during normal puffing, and thus alleviating user frustration. Furthermore, if the second count is greater than or equal to the second preset number within the second preset time period, the electronic cigarette can enter a locked state. After the electronic cigarette of this embodiment is locked, it can prevent children from picking up the electronic cigarette and imitating the puffing action of an adult, causing the electronic cigarette product to begin atomizing, thereby improving the safety of electronic cigarette use. Furthermore, this embodiment utilizes the existing state detection unit 150 and airflow sensor 140 to obtain the first parameter information, without requiring major modifications to the electronic cigarette and requiring minimal or no increase in hardware costs. This reduces the hardware cost of the electronic cigarette for lock protection and solves the technical problem of high lock costs in the prior art.

[0532] In this embodiment, the child lock control method further includes: obtaining information again that the first parameter information is within the second preset parameter range, and adding 1 to the second count.

[0533] Specifically, after the second counting unit 215 triggers the second counting and the second timing unit 216 triggers the second timing, the second timing unit 216 and the second counting unit 215 do not stop working. When the electronic cigarette turns to the non-puffing state, thereafter, when the user puffs on the electronic cigarette again, the first parameter information is obtained again in real time. If the second counting unit 215 again obtains information that the first parameter information is within the second preset parameter range, that is, the second counting unit 215 receives the parameter valid signal again, then the second counting unit 215 adds 1 to the original second count. For example, the original count value of the second counting unit 215 is 1, and the first parameter information is obtained again within the second preset parameter range, then the second count of the second counting unit 215 is increased by 1, that is, the second count becomes 2. At the same time, after the second timing is triggered, the second timing unit 216 continues to count. If the second counting unit 215 does not obtain information that the first parameter information is within the second preset parameter range this time, that is, the second counting unit 215 does not receive the parameter valid signal, the second count remains unchanged, and the second timing unit 216 is still counting.

[0534] In this embodiment, the child lock control method further includes: if the second timer reaches a second preset time length, the second count is reset to zero, and the second timer is reset to zero.

[0535] Regardless of whether the determination result of the second timer counting determination unit 217 is yes or no, as long as the time duration of the second timer unit 216 reaches the second preset time duration, the second timer unit 216 is reset to zero. Simultaneously, the second timer unit 216 sends a signal to the second counter unit 215, causing the second counter unit 215 to reset to zero. In other words, the second timer unit 216 stops timing, the time duration is reset to zero, and the second timer unit 216 and the second counter unit 215 return to their initial states, facilitating subsequent signal detection. In this embodiment, the second timer counting determination unit 217 completes the determination before the second timer unit 216 and the second counter unit 215 are reset to zero.

[0536] In this embodiment, the child lock control method further includes: if the second timer is less than a second preset time length and the second count reaches a second preset number, the second count is reset to zero and the second timer is reset to zero.

[0537] Among them, if the second count obtained by the second timing counting judgment unit 217 reaches the second preset number, and the timing duration of the second timing unit 216 is less than the second preset duration, the second timing counting judgment unit 217 outputs a signal to the second timing unit 216 and the second counting unit 215, the second timing unit 216 is reset to zero, and the second counting unit 215 is reset to zero. This signal can be the same as the child lock locking signal or a different signal.

[0538] Referring to FIG. 22 , in this embodiment, the step of receiving the first parameter information specifically includes:

[0539] The first parameter information output by the receiving state detection unit 150 is received.

[0540] The state detection unit 150 itself can obtain the first parameter information, and the second parameter determination unit 211 receives the first parameter information through the state detection unit 150. This embodiment fully utilizes the airflow sensor 140 and state detection unit 150 in the existing electronic cigarette, and only needs to add the second parameter determination unit 211. The functions to be implemented by the second parameter determination unit 211 can be implemented through software, hardware, or a combination of software and hardware, thereby eliminating the need for or requiring minimal new hardware. This can significantly reduce the problem of the electronic cigarette accidentally entering a locked state without increasing costs or at a minimal cost, thereby improving user convenience.

[0541] During actual testing using the above solution, the inventors discovered that due to airflow disturbances, the air pressure may drop momentarily during the inhalation state, causing the first parameter information to reach the second preset parameter range. This momentary air pressure drop lasts for a very short time and generally occurs occasionally, causing the second counting unit 215 to miscount and possibly trigger the electronic cigarette to enter a locked state, causing trouble for the user. To solve this problem, please refer to Figures 18 and 22. The steps for triggering the second count specifically include:

[0542] S131: triggering a third timing and a third counting;

[0543] Among them, the child lock control circuit 200 also includes a third timing unit 212 and a third counting unit 213. The third timing unit 212 and the third counting unit 213 are both connected to the second parameter judgment unit 211. When the third timing unit 212 and the third counting unit 213 obtain the first parameter information within the second preset parameter range, that is, when the third timing unit 212 receives a valid parameter signal, the third timing unit 212 starts a third timing, and the third timing unit 212 keeps timing until it is reset to zero, after which the third timing unit 212 stops timing; when the third counting unit 213 receives a valid parameter signal, the third counting unit 213 starts a third counting, and also performs a third counting this time, and the third count is 1 at this time.

[0544] S132: Determine whether the third count is greater than or equal to a third preset number within a third preset time period;

[0545] The child lock control circuit 200 further includes a third timer and count determination unit 214, which is connected to the third counting unit 213 and the third timer unit 212, respectively. When the third timer and count determination unit 214 determines that the timed duration of the third timer unit 212 is within a third preset duration and the third count of the third counting unit 213 is greater than or equal to a third preset number, the third timer and count determination unit 214 outputs a first count signal. In this embodiment, the third preset duration is generally 30ms-150ms, and examples include 30ms, 40ms, 50ms, 60ms, 70ms, 80ms, 90ms, 100ms, 110ms, 120ms, 130ms, 140ms, and 150ms, and is preferably 60ms-100ms. In this embodiment, the third preset number is an integer greater than or equal to 2, such as 2 or 3. In this embodiment, the third preset number is greater than or equal to 2, such as 2, 3, 4, 5, or 6.

[0546] In this embodiment, the third timer counting determination unit 214 is electrically connected to the third timer unit 212 and the third counting unit 213 in real time. When the third timer counting determination unit 214 obtains that the third count reaches the third preset number and the third time has not reached the third preset duration, the third timer counting determination unit 214 outputs a first count signal. Alternatively, the third timer counting determination unit 214 waits until the third time reaches the third preset duration before outputting the first count signal. In other embodiments of the present application, the third timer counting determination unit 214 is connected to the third timer unit 212 and the third counting unit 213. When the third timer unit 212 reaches the third preset duration, the third timer unit 212 outputs a signal to the third timer counting determination unit 214. The third timer counting determination unit 214 obtains the third count of the third counting unit 213 at this time and then determines whether the third count is greater than or equal to the third preset number. If the third count is greater than or equal to the third preset number, the third timer counting determination unit 214 outputs a first count signal. If the third count is less than the third preset number, the third time is reset to zero and the third count is set to zero.

[0547] S133: If the judgment result is yes, trigger the second counting.

[0548] The third timing and counting determination unit 214 is connected to the second timing unit 216 and the second counting unit 215. If the determination result of the third timing and counting determination unit 214 is yes, the second timing unit 216 receives the first counting signal and is triggered to start timing, and the second timing starts from 0. The second counting unit 215 receives the first counting signal and is triggered to start counting, and the second counting unit 215 also counts this time, that is, the second count is 1 at this time.

[0549] In this embodiment, when the second counting unit 215 has not been triggered to start counting and the second timing unit 216 has not been triggered to start timing, if the judgment result of the third timing and counting determination unit 214 is negative, that is, the third timing and counting determination unit 214 does not output the first counting signal, the second counting unit 215 maintains its original state of not counting and the second timing unit 216 maintains its original state of not timing; when the second counting unit 215 has been triggered to start counting (that is, the second count is at least 1) and the second timing unit 216 has been triggered to start timing, if the judgment result of the third timing and counting determination unit 214 is negative, the second count maintains its original count, the second count does not increase, and the second timing continues to count.

[0550] In this embodiment, when the air flow crosstalk causes the air pressure in the air flow channel of the electronic cigarette to change in a short time, since the time for the air pressure to drop is very short, the condition that the third count is greater than or equal to the third preset number within the third preset time period will not be met, so the second count will not change, and the air flow crosstalk will not be misjudged as a situation where the user wants to enter the child lock protection. This can prevent the electronic cigarette from mistakenly entering the locked state and prevent trouble to the user. This embodiment can avoid this situation and improve the user experience.

[0551] In this embodiment, if the electronic cigarette is in the puffing state during the entire third preset time period, and part of the third preset time period or the entire time period is considered as re-puffing, the second timing unit 216 will count.

[0552] In order to determine whether the electronic cigarette is in the puffing state, please refer to Figures 19 and 22. In this embodiment, the child lock control method further includes:

[0553] S171: Receive first parameter information;

[0554] S172: Determine whether the first parameter information is within a first preset parameter range;

[0555] S173: If the judgment result is yes, output the information that the electronic cigarette has changed from the non-smoking state to the smoking state.

[0556] Among them, the state detection unit 150 includes a first parameter generation unit and a first parameter judgment unit. The first parameter generation unit is connected to the first parameter judgment unit and the second parameter judgment unit 211 respectively. After the first parameter generation unit generates the first parameter information, the first parameter judgment unit receives the first parameter information. The first parameter judgment unit judges whether the first parameter information is within the first preset parameter range. If the judgment result is yes, the first parameter judgment unit outputs information that the electronic cigarette has changed from a non-puffing state to a puffing state, that is, outputs a puffing signal. If the judgment result is no, the first parameter judgment unit maintains the original signal output, such as outputting a non-puffing signal and a blowing signal. Furthermore, it can also be required to output a puffing signal only after the judgment is yes for multiple consecutive times, which is conducive to reducing the probability of false triggering due to airflow crosstalk. In this embodiment, the first parameter judgment unit and the second parameter judgment unit 211 can be the same parameter judgment unit or different parameter judgment units.

[0557] In this embodiment, in order to reduce the power consumption of the electronic cigarette when it is not in a puffing state, the step of receiving the first parameter information specifically includes:

[0558] Obtaining information that the electronic cigarette changes from a non-smoking state to a smoking state;

[0559] Triggering receiving first parameter information.

[0560] The second parameter determination unit 211 is connected to the state detection unit 150. The second parameter determination unit 211 does not operate before receiving a puff signal. When the second parameter determination unit 211 receives a puff signal, the second parameter determination unit 211 is triggered to start operating. At this time, the second parameter determination unit 211 receives the first parameter information. This configuration is conducive to reducing the power consumption of the electronic cigarette.

[0561] In addition, in this embodiment, referring to FIG. 20 and FIG. 22 , after the step of triggering the second counting, the following steps are further included:

[0562] S161: Obtaining information that the electronic cigarette changes from a puffing state to a non-puffing state;

[0563] S162: Trigger the fifth count and lock the second count;

[0564] S163: Determine whether the fifth timer is greater than or equal to a fifth preset time length;

[0565] S164: If the judgment result is yes, unlocking the second count.

[0566] This embodiment also specifies the duration of the interval between two puffs (including two re-puffs) to prevent airflow jitter, crosstalk, and other factors from causing an erroneous second count during the puff phase. Specifically, in this embodiment, the child lock control circuit 200 includes a fifth timing unit 221 and a fifth duration determination unit 222. The fifth timing unit 221 is connected to the first parameter determination unit and the third timing and counting determination unit 214, respectively. The fifth duration determination unit 222 is electrically connected to the fifth timing unit 221 and the second counting unit 215, respectively. The second counting unit 215 is also electrically connected to the first parameter determination unit. When the third timing and counting judgment unit 214 outputs the first counting signal, the fifth timing unit 221 receives the first counting signal and obtains information that the electronic cigarette has entered the non-puffing state from the inhalation state. The fifth timing unit 221 is triggered to start timing. At the same time, the second counting unit 215 also receives the first counting signal and obtains information that the electronic cigarette has entered the non-puffing state from the inhalation state. The second counting unit 215 is locked, that is, enters the counting locked state. After the second counting unit 215 is locked, even if it receives the first counting signal again, it will not increase the count. That is, in the locked state, the second counting unit 215 maintains the original count value and does not increase the count value. Only after being unlocked and in the counting unlocked state, the second counting unit 215 receives the first counting signal and the count increases by one. In this embodiment, after the fifth timing unit 221 starts the fifth timing, the fifth timing unit 221 continues to count (even when the device is in a non-puffing state and then in a puffing state), and the fifth duration determination unit 222 determines whether the timing duration of the fifth timing unit 221 is greater than or equal to the fifth preset duration. When the fifth duration determination unit 222 determines that the timing of the fifth timing unit 221 has reached the fifth preset duration, the fifth timing unit 221 stops counting and resets to zero, i.e., the fifth timing unit 221 is reset to zero. At the same time, the fifth duration determination unit outputs a count unlocking signal to the second counting unit 215, and the second counting unit 215 is unlocked from counting, and enters a count unlocking state. In addition, the third counting unit 212, the third counting unit 213, and the second timing unit 216 are also reset to zero. Thereafter, the second counting unit 215 obtains the first counting signal again, and the second counting unit 215 can perform a count increment operation, i.e., the second count is incremented by one on the original basis. In this embodiment, when the fifth timing unit 221 does not receive the first counting signal, or the fifth timing unit 221 does not obtain the information that the electronic cigarette has entered the non-puffing state from the puffing state, the fifth timing unit 221 will not trigger the start of timing.

[0567] In this embodiment, after the step of triggering the second count, the process further includes determining whether the duration of the first parameter information remaining within the second preset parameter range is greater than or equal to a seventh preset time period. If so, both the second count and the second timer are reset to zero. In this embodiment, the duration of the re-puff is determined. If the re-puff duration is greater than or equal to the seventh preset time period, both the second count and the second timer are reset to zero, with the second count being 0 and the second timer being stopped and reset to zero. This configuration prevents users from accidentally entering the child lock state after prolonged puffing, meeting user expectations. In this embodiment, the seventh preset time period is greater than or equal to 400ms, for example, 400ms, 450ms, 500ms, 600ms, etc.

[0568] In this embodiment, after the electronic cigarette enters the child lock locked state, the user cannot smoke the electronic cigarette normally. When the user needs to use the electronic cigarette, the electronic cigarette needs to be unlocked. The following describes how to unlock the electronic cigarette. The following description is only one way to enter the child lock unlocked state. Those skilled in the art can also use other conventional methods to enter the child lock unlocked state. In addition, in other embodiments of the present application, the unlocking method can be the same as the locking method. Please refer to the previous description and will not be repeated here.

[0569] Please refer to FIG. 21 and FIG. 22 . In this embodiment, the child lock control method further includes:

[0570] S21: Receive first parameter information;

[0571] The child lock control circuit 200 includes a fourth parameter judgment unit 231, which is used to receive the first parameter information. The fourth parameter judgment unit 231 and the second parameter judgment unit 211 can be different judgment units or the same parameter judgment unit.

[0572] In this embodiment, when in the blowing state, the air pressure in the airflow channel is relatively large and will be higher than the air pressure in the non-suction and blowing state, that is, the current air pressure value will be greater than the reference air pressure value, and the distance between the two electrodes of the capacitor of the airflow sensor 140 will be larger than that in the non-suction and blowing state, so that the current capacitance value will be smaller than that in the non-suction and blowing state, the current frequency value will be larger than that in the non-suction and blowing state, and the current count value will be greater than the reference count value.

[0573] S22: Determine whether the first parameter information is within a fourth preset parameter range, where the fourth preset parameter range is used to determine whether the electronic cigarette is in a blowing state;

[0574] S23: If the judgment result is yes, triggering a fourth timing and a fourth counting;

[0575] After receiving the first parameter information, the fourth parameter determination unit 231 determines whether the first parameter information is within a fourth preset parameter range. The fourth preset parameter range is pre-calculated or pre-stored in the fourth parameter determination unit 231 .

[0576] When the first parameter information is the current capacitance value, the fourth preset parameter range corresponds to the capacitance value range, and the upper limit value of the fourth preset parameter range will be less than the lower limit value corresponding to the first preset parameter range. The lower limit value of the fourth preset parameter range may be unlimited or limited as needed; when the first parameter information is the current frequency value or the current count value, the fourth preset parameter range corresponds to the frequency value range or the count value range, and the lower limit value of the fourth preset parameter range will be greater than the upper limit value corresponding to the first preset parameter range. The upper limit value of the fourth preset parameter range may be unlimited or limited as needed; When the first parameter is the ratio of the current capacitance value to the reference capacitance value, the ratio of the current frequency value to the reference frequency value, the ratio of the current count value to the reference count value, the difference between the current capacitance value and the reference capacitance value, the difference between the current frequency value and the reference frequency value, the difference between the current count value and the reference count value, the ratio of the difference between the current capacitance value and the reference capacitance value to the reference oscillation capacitance value, the ratio of the difference between the current frequency value and the reference frequency value to the reference frequency value, or the ratio of the difference between the current count value and the reference count value to the reference count value, the fourth preset parameter range corresponds to the difference range and the ratio range.

[0577] The child lock control circuit 200 includes a fourth timing unit 232 and a fourth counting unit 233. The fourth timing unit 232 is electrically connected to the fourth parameter determination unit 231, and the fourth counting unit 233 is electrically connected to the fourth parameter determination unit 231. If the fourth parameter determination unit 231 determines that the time is positive, the fourth parameter determination unit 231 outputs a blow signal, triggering the fourth timing unit 232 to start timing. The fourth timing unit 232 starts counting from 0, and the fourth counting unit 233 is triggered to start counting and also count this time, that is, the count of the fourth counting unit 233 is now 1. If the fourth parameter determination unit 231 determines that the time is negative, the fourth parameter determination unit 231 does not output the blow signal, and the fourth timing unit 232 and the fourth counting unit 233 maintain their original states. In this embodiment, once the fourth timing unit 232 is triggered to start timing, the fourth timing unit 232 continues to count until the fourth timing unit 232 is reset to zero, at which point the fourth timing unit 232 stops counting. In this embodiment, the blowing signal is also output to the child lock control unit 240 .

[0578] In this embodiment, when the fourth timing unit 232 is triggered to start timing and the fourth counting unit 233 is triggered to start counting, when the fourth parameter judgment unit 231 receives the first parameter information again and once again determines that the first parameter information is within the fourth preset parameter range, the fourth count of the fourth counting unit 233 is increased by 1, and the fourth count is now 2. At the same time, the fourth timing unit 232 continues to perform the fourth timing.

[0579] S24: Determine whether a fourth count is greater than or equal to a fourth preset number within a fourth preset time period, wherein the fourth preset number is greater than or equal to 2;

[0580] The child lock control circuit 200 further includes a fourth timer and count determination unit 234, which is electrically connected to the fourth counter unit 233 and the fourth timer unit 232. When the fourth timer and count determination unit 234 determines that the timed duration of the fourth timer unit 232 is within a fourth preset duration and the count of the fourth counter unit 233 is greater than or equal to a fourth preset number, the fourth timer and count determination unit 234 outputs a child lock unlocking signal. In this embodiment, the fourth preset duration is generally less than or equal to 5 seconds, such as 1 second, 1.5 seconds, 1.8 seconds, 2 seconds, 2.3 seconds, 2.5 seconds, 2.8 seconds, 3 seconds, 4 seconds, 5 seconds, etc., and preferably 2 seconds. In this embodiment, the fourth preset number is greater than or equal to 2, such as 2, 3, 4, 5, 6, etc., and preferably 3. The fourth preset number is generally less than or equal to 6 times to facilitate user operation.

[0581] In this embodiment, the fourth timer counting determination unit 234 is connected to the fourth timer unit 232 and the fourth counting unit 233 in real time. When the fourth timer counting determination unit 234 determines that the fourth counting unit 233 has reached a fourth preset number and the fourth timer unit 232 has not reached a fourth preset time duration, the fourth timer counting determination unit 234 outputs a child lock unlocking signal. Alternatively, the fourth timer counting determination unit 234 waits until the fourth timer unit 232 has reached a fourth preset time duration before outputting the child lock unlocking signal. In other embodiments of the present application, the fourth timer counting determination unit 234 is connected to the fourth timer unit 232 and the fourth counting unit 233. When the fourth timer unit 232 reaches a fourth preset time duration, the fourth timer unit 232 outputs a signal to the fourth timer counting determination unit 234. The fourth timer counting determination unit 234 obtains the count of the fourth counting unit 233 at this time and then determines whether the fourth count is greater than or equal to the fourth preset number. If so, the child lock unlocking signal is output; if less than the fourth preset number, the original signal output is maintained.

[0582] S24: If the judgment result is yes, the electronic cigarette is controlled to enter an unlocked state, wherein in the unlocked state, when the electronic cigarette is in a puffing state, the power MOS tube M1 is continuously turned on or intermittently turned on.

[0583] If the result of the judgment by the fourth timer and count judgment unit 234 is yes, that is, the number counted within the fourth preset time period is greater than or equal to the fourth preset number, the fourth timer and count judgment unit 234 outputs a child lock unlocking signal to the child lock control unit 240, and the child lock control unit 240 controls the electronic cigarette to enter an unlocked state. In the unlocked state, when the electronic cigarette is in the inhalation state, the power MOS tube M1 is continuously turned on or intermittently turned on, that is, at this time, the power MOS tube M1 is controlled by whether the user takes an inhalation. In this embodiment, when the electronic cigarette is in the inhalation state, the child lock control unit 240 continuously outputs a low-level signal or intermittently outputs a low-level signal to the power MOS tube M1, and the power MOS tube M1 is continuously turned on or intermittently turned on. When the power MOS tube M1 is turned on, the heating element 130 is heated to atomize the e-liquid, so that the atomized e-liquid can be inhaled by the user.

[0584] In this embodiment, unlocking is achieved by timing and counting the puffs, achieving an effective unlocking effect without adding Bluetooth / NFC or other designs or mechanical structures, thereby reducing the hardware cost of unlocking the electronic cigarette and solving the technical problem of high unlocking costs in the prior art. Moreover, the unlocking method of the present application is not easily detected by children, and the electronic cigarette is not easily unlocked by children after being locked, which is conducive to improving the safety of the electronic cigarette. In addition, in other embodiments of the present application, as with determining the puffing state, the current count value can also be used to determine whether to blow.

[0585] In this embodiment, the child lock control method further includes: obtaining information again that the first parameter information is within a fourth preset parameter range, and adding 1 to the fourth count.

[0586] Specifically, after the fourth counting unit 233 triggers the fourth counting and the fourth timing unit 232 triggers the fourth timing, the fourth timing unit 232 and the fourth counting unit 233 do not stop working, and the fourth timing unit 232 and the fourth counting unit 233 again (again means that the value of the fourth count in the fourth counting unit 233 is at least 1) obtain information that the first parameter information is within the fourth preset parameter range, then the fourth counting unit 233 adds 1 on the basis of the original count, for example, the original count value of the fourth counting unit 233 is 1, and the information that the first parameter information is within the fourth preset parameter range is obtained again, that is, the information that the state is changed from no suction and blowing to blowing state is received, then the count of the fourth counting unit 233 is added by 1, that is, the count value becomes 2; the fourth timing unit 232 continues to work and continuously timing, that is, after the fourth timing unit 232 triggers timing, as long as the fourth timing unit 232 does not receive a signal to stop timing or reset, the fourth timing unit 232 continues to timing.

[0587] In this embodiment, the child lock control method further includes: if the timing duration of the fourth timing unit 232 reaches a fourth preset duration, the fourth counter is reset to zero, and the fourth timing unit 232 is reset to zero.

[0588] Among them, no matter the judgment result of the fourth timing counting judgment unit 234 is yes or no, as long as the timing duration of the fourth timing unit 232 reaches the fourth preset duration, the fourth timing unit 232 is reset to zero, and at the same time, the fourth timing unit 232 sends a signal to the fourth counting unit 233, and the fourth counting unit 233 is reset to zero, that is, at this time the fourth timing unit 232 stops timing and the fourth counting unit 233 stops counting. Moreover, the timing duration is reset to zero, the fourth counter is reset to zero, and the fourth timing unit 232 and the fourth counting unit 233 return to their initial states to facilitate subsequent detection.

[0589] In this embodiment, the child lock control method further includes: if the timing duration of the fourth timing unit 232 is less than the fourth preset duration and the fourth count reaches the fourth preset parameter range, the fourth count is reset to zero and the fourth timing unit 232 is reset to zero.

[0590] Among them, if the fourth count of the fourth counting unit 233 obtained by the fourth timing counting judgment unit 234 reaches the fourth preset parameter range, and the timing duration of the fourth timing unit 232 is less than the fourth preset duration, the fourth timing counting judgment unit 234 outputs a signal to the fourth timing unit 232 and the fourth counting unit 233, the fourth timing unit 232 is reset to zero, and the fourth counting unit 233 is reset to zero. This signal can be the same as the child lock unlocking signal, or it can be a different signal.

[0591] Corresponding to the child lock control method of the electronic cigarette in the above embodiment, FIG22 shows a module diagram of the child lock control circuit 200 of the electronic cigarette provided in th...

Claims

1. A method for controlling a child lock of an electronic cigarette, wherein the electronic cigarette comprises a power MOS tube and a heating element, wherein the heating element and the power MOS tube are connected in series. When the power MOS tube is turned on, the heating element heats to atomize the e-liquid. When the power MOS tube is turned off, the heating element stops heating. The child lock control method includes: receiving first counting information, wherein the first counting information is used to represent an air pressure condition in an airflow channel of the electronic cigarette; Determining whether the first counting information is within a second preset value range, wherein the second preset value range is within the first preset value range, and the first preset value range is used to determine whether the electronic cigarette is in a puffing state; If the judgment result is yes, the second timing and the second counting are triggered; Determining whether the second count is greater than or equal to a second preset number within a second preset time period, wherein the second preset number is greater than or equal to 2; If the judgment result is yes, the electronic cigarette is controlled to enter a locked state, and in the locked state, the power MOS tube remains disconnected.

2. The child lock control method according to claim 1, characterized in that: The first counting information includes the number of oscillation cycles in the first counting time, the ratio of the number of oscillation cycles in the first counting time to the reference oscillation cycle number, the difference between the number of oscillation cycles in the first counting time and the reference oscillation cycle, or the ratio of the difference between the number of oscillation cycles in the first counting time and the reference oscillation cycle number to the reference oscillation cycle number.

3. The child lock control method according to claim 2, characterized in that: When the first counting information is the number of oscillation cycles in the first counting time length, the upper limit of the second preset numerical range is less than the upper limit of the first preset numerical range; or, When the first counting information is the ratio of the number of oscillation cycles in the first counting time to the reference number of oscillation cycles, the upper limit of the second preset numerical range is less than the upper limit of the first preset numerical range, wherein the reference number of oscillation cycles is the number of oscillation cycles in the first counting time when the electronic cigarette is in a non-inhalation state; or When the first counting information is the difference between the number of oscillation cycles in the first counting time and the reference oscillation cycle, the lower limit of the second preset numerical range is greater than the lower limit of the first preset numerical range, wherein the reference oscillation cycle is the number of oscillation cycles in the first counting time when the electronic cigarette is in a non-inhalation state; or When the first counting information is the ratio of the difference between the number of oscillation cycles and the benchmark oscillation cycle number within the first counting time period to the benchmark oscillation cycle number, the lower limit value of the second preset numerical range is greater than the lower limit value of the first preset numerical range, wherein the benchmark oscillation cycle number is the oscillation cycle number of the electronic cigarette in the first counting time period when it is in a non-inhalation state.

4. The child lock control method according to claim 1, characterized in that: The steps of triggering the second counting specifically include: Triggering a third timing and triggering a third counting; Determining whether a third count is greater than or equal to a third preset number within a third preset time period, wherein the third preset number is greater than or equal to 2; If the judgment result is yes, the second counting is triggered.

5. The child lock control method according to claim 4, characterized in that: During the third preset time period, the electronic cigarette is in the inhalation state.

6. The child lock control method according to claim 1, characterized in that: The step of receiving the first counting information specifically includes: Obtaining information that the electronic cigarette changes from a non-smoking state to a smoking state; Triggering receiving first counting information.

7. The child lock control method according to claim 1, characterized in that: The child lock control method further includes: receiving first counting information and determining whether the first counting information is within a first preset value range; If the judgment result is yes, the information that the electronic cigarette changes from the non-smoking state to the smoking state is output.

8. The child lock control method according to claim 1, characterized in that: After the step of triggering the second counting, the method further includes: Obtaining information that the electronic cigarette changes from a puffing state to a non-puffing state; Trigger the fifth count and lock the second count; Determining whether the fifth timer is greater than or equal to a fifth preset time period; If the judgment result is yes, the lock on the second count is released.

9. The child lock control method according to any one of claims 1 to 8, characterized in that: The child lock control method further includes: If the second count is less than the second preset number within the second preset time period, the original child lock state of the electronic cigarette is maintained, the second count is set to 0, and the second timer is reset to zero; and / or, If the second timer reaches the second preset time, the second count is reset to zero and the second timer is reset to zero; and / or, If the second timer is less than the second preset time length and the second count reaches the second preset number, the second count is reset to zero and the second timer is reset to zero; and / or, The information that the first counting information is within the second preset value range is obtained again, and the second count is increased by 1.

10. The child lock control method according to any one of claims 1 to 8, characterized in that: The electronic cigarette includes a state detection unit and an airflow sensor. The state detection unit is electrically connected to the airflow sensor. The airflow sensor is at least partially located in the airflow channel. The step of receiving the first counting information specifically includes: The first counting information output by the receiving state detection unit.

11. The child lock control method according to any one of claims 1 to 8, characterized in that: Also includes: receiving fourth counting information; Determining whether the fourth counting information is within a fourth preset value range, wherein the fourth preset value range is used to determine whether the electronic cigarette is in a blowing state; If the judgment result is yes, triggering the fourth timing and triggering the fourth counting; Determining whether a fourth count is greater than or equal to a fourth preset number within a fourth preset time period, wherein the fourth preset number is greater than or equal to 2; If the judgment result is yes, the electronic cigarette is controlled to enter an unlocked state. In the unlocked state, when the electronic cigarette is in a puffing state, the power MOS tube is continuously turned on or intermittently turned on.

12. The child lock control method according to any one of claims 1 to 8, characterized in that: The second preset time length is in the range of 1 second to 5 seconds; and / or; The second preset number is greater than or equal to 3.

13. A child lock control circuit, applied to an electronic cigarette, characterized in that: include: a state detection unit, configured to be electrically connected to the airflow sensor and configured to output first counting information; a second counting judgment unit, configured to receive first counting information and to judge whether the first counting information is within a second preset value range, wherein the first counting information is used to represent the air pressure condition in the airflow channel of the electronic cigarette; and the second preset value range is within the first preset value range, and the first preset value range is used to judge whether the electronic cigarette is in a puffing state; a second counting unit, configured to trigger a second counting if the determination result of the second counting determination unit is yes; a second timing unit, configured to trigger a second timing if the judgment result of the second counting judgment unit is yes; a second timing counting judgment unit, configured to judge whether a second count is greater than or equal to a second preset number within a second preset time period, wherein the second preset number is greater than or equal to 2; The child lock control unit is used to control the electronic cigarette to enter a locked state if the judgment result of the second timing and counting judgment unit is yes. In the locked state, the power MOS tube of the electronic cigarette remains disconnected and cut off.

14. The child lock control circuit according to claim 13, characterized in that: The child lock control circuit is located on the same chip.

15. A child lock control device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the child lock control method for the electronic cigarette is implemented as described in any one of claims 1 to 12.

16. An electronic cigarette, characterized in that: include: The child lock control circuit according to claim 13 or 14; The device further includes a battery, a power MOS tube and a heating element, wherein the heating element and the power MOS tube are connected in series to form a heating branch, the two ends of the heating branch are electrically connected to the positive and negative electrodes of the battery respectively, and the control end of the power MOS tube is electrically connected to the child lock control circuit; An airflow sensor is electrically connected to a state detection unit of the child lock control circuit, and the state detection unit is used to determine the inhalation state of the electronic cigarette.

17. A method for controlling a child lock of an electronic cigarette, wherein the electronic cigarette comprises a power MOS tube and a heating element, wherein the heating element and the power MOS tube are connected in series, wherein when the power MOS tube is turned on, the heating element heats to atomize the e-liquid, and when the power MOS tube is turned off, the heating element stops heating, characterized in that: The child lock control method includes: Receive current air pressure information in the electronic cigarette airflow channel; Determining whether the current air pressure information is within a second preset air pressure range, wherein the second preset air pressure range is within a first preset air pressure range, and the first preset air pressure range is used to determine whether the electronic cigarette is in a puffing state; If the judgment result is yes, the second timing and the second counting are triggered; Determining whether the second count is greater than or equal to a second preset number within a second preset time period, wherein the second preset number is greater than or equal to 2; If the judgment result is yes, the electronic cigarette is controlled to enter a locked state, and in the locked state, the power MOS tube remains disconnected.

18. The child lock control method according to claim 17, characterized in that: The current air pressure information includes the current air pressure value, the ratio of the current air pressure value to the reference air pressure value, the difference between the current air pressure value and the reference air pressure value, or the ratio of the difference between the current air pressure value and the reference air pressure value to the reference air pressure value.

19. The child lock control method according to claim 18, characterized in that: When the current air pressure information is a current air pressure value, an upper limit value of the second preset air pressure range is less than an upper limit value of the first preset air pressure range; or, When the current air pressure information is a ratio of the current air pressure value to the reference air pressure value, the upper limit of the second preset air pressure range is less than the upper limit of the first preset air pressure range, wherein the reference air pressure value is the air pressure value in the air flow channel of the electronic cigarette when it is in a non-inhalation state; or When the current air pressure information is the difference between the current air pressure value and the reference air pressure value, the lower limit of the second preset air pressure range is greater than the lower limit of the first preset air pressure range, wherein the reference air pressure value is the air pressure value in the air flow channel of the electronic cigarette when it is in a non-inhalation state; or When the current air pressure information is the ratio of the difference between the current air pressure value and the reference air pressure value to the reference air pressure value, the lower limit value of the second preset air pressure range is greater than the lower limit value of the first preset air pressure range, wherein the reference air pressure value is the air pressure value in the air flow channel of the electronic cigarette when it is in a non-inhalation state.

20. The child lock control method according to claim 17, characterized in that: The steps of triggering the second counting specifically include: Triggering a third timing and triggering a third counting; Determining whether a third count is greater than or equal to a third preset number within a third preset time period, wherein the third preset number is greater than or equal to 2; If the judgment result is yes, the second counting is triggered.

21. The child lock control method according to claim 20, characterized in that: During the third preset time period, the electronic cigarette is in the inhalation state.

22. The child lock control method according to claim 17, characterized in that: The step of receiving the current air pressure information in the airflow channel of the electronic cigarette specifically includes: Obtain the current capacitance value, the current frequency value, the current count value, the current capacitance change relative to the non-suction and blowing state, the current frequency change relative to the non-suction and blowing state, or the current count change relative to the non-suction and blowing state; Searching a pre-stored capacitance value-pressure value table according to the current capacitance value, searching a pre-stored frequency value-pressure value table according to the current frequency value, searching a pre-stored count value-pressure value table according to the current count value, searching a pre-stored capacitance change-pressure value table according to the current capacitance change, searching a pre-stored frequency change-pressure value table according to the current frequency change, or searching a pre-stored count change-pressure value table according to the current count change; Obtaining and outputting the current air pressure information in the electronic cigarette airflow channel; Receive current air pressure information.

23. The child lock control method according to claim 17, characterized in that: The child lock control method further includes: receiving current air pressure information in the air flow channel of the electronic cigarette and determining whether the current air pressure information is within a first preset air pressure range; If the judgment result is yes, the information that the electronic cigarette changes from the non-smoking state to the smoking state is output.

24. The child lock control method according to claim 17, characterized in that: The child lock control method further includes: receiving a current count value, wherein the current count value is used to represent an air pressure condition in an airflow channel of the electronic cigarette; Determining whether the current count value is within a first preset value range, wherein the first preset value range corresponds to the first preset air pressure range; If the judgment result is yes, the information that the electronic cigarette changes from the non-smoking state to the smoking state is output.

25. The child lock control method according to claim 17, characterized in that: After the step of triggering the second counting, the method further includes: obtaining information that the electronic cigarette changes from a puffing state to a non-puffing state; Trigger the fifth count and lock the second count; Determining whether the fifth timer is greater than or equal to a fifth preset time period; If the judgment result is yes, the lock on the second count is released.

26. The child lock control method according to any one of claims 17 to 25, characterized in that: The child lock control method further includes: if the second count is less than a second preset number within a second preset time period, maintaining the original child lock state of the electronic cigarette, setting the second count to 0, and resetting the second timer to zero; and / or, If the second timer reaches the second preset time, the second count is reset to zero and the second timer is reset to zero; and / or, If the second timer is less than the second preset time length and the second count reaches the second preset number, the second count is reset to zero and the second timer is reset to zero; and / or, The information indicating that the current air pressure in the airflow channel of the electronic cigarette is within the second preset air pressure range is obtained again, and the second count is incremented by 1.

27. The child lock control method according to any one of claims 17 to 25, characterized in that: Also includes: Receive current air pressure information in the electronic cigarette airflow channel; Determining whether the current air pressure information is within a fourth preset air pressure range, wherein the fourth preset air pressure range is used to determine whether the electronic cigarette is in a blowing state; If the judgment result is yes, triggering the fourth timing and triggering the fourth counting; Determining whether a fourth count is greater than or equal to a fourth preset number within a fourth preset time period, wherein the fourth preset number is greater than or equal to 2; If the judgment result is yes, the electronic cigarette is controlled to enter an unlocked state, wherein in the unlocked state, when the electronic cigarette is in a puffing state, the power MOS tube is continuously turned on or intermittently turned on.

28. The child lock control method according to any one of claims 17 to 25, characterized in that: The second preset time length is in the range of 1 second to 5 seconds; and / or; The second preset number is greater than or equal to 3.

29. A child lock control circuit, applied to an electronic cigarette, characterized in that: include: An air pressure acquisition unit, which is used to output the current air pressure information in the airflow channel of the electronic cigarette; a second air pressure determination unit, configured to receive current air pressure information and determine whether the current air pressure information is within a second preset air pressure range, wherein the second preset air pressure range is within the first preset air pressure range, and the first preset air pressure range is used to determine whether the electronic cigarette is in a puffing state; a second counting unit, configured to trigger a second counting if the determination result of the second air pressure determination unit is yes; a second timing unit, configured to trigger a second timing if the judgment result of the second air pressure judgment unit is yes; a second timing counting judgment unit, configured to judge whether a second count is greater than or equal to a second preset number within a second preset time period, wherein the second preset number is greater than or equal to 2; The child lock control unit is used to control the electronic cigarette to enter a locked state if the judgment results of the second timing and counting judgment unit are all yes. In the locked state, the power MOS tube of the electronic cigarette remains disconnected and cut off.

30. The child lock control circuit according to claim 29, characterized in that: The child lock control circuit is located on the same chip; and / or, The child lock control circuit further includes a state detection unit, which is used to be electrically connected to the air flow sensor and is also used to be connected to the air pressure acquisition unit.

31. A child lock control device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the child lock control method for the electronic cigarette is implemented as described in any one of claims 17 to 28.

32. An electronic cigarette, characterized in that: include: The child lock control circuit according to claim 29 or 30; It also includes a battery, a power MOS tube and a heating element. The heating element and the power MOS tube are connected in series to form a heating branch. The two ends of the heating branch are electrically connected to the positive and negative poles of the battery respectively, and the control end of the power MOS tube is electrically connected to the child lock control circuit.

33. A method for controlling a child lock of an electronic cigarette, wherein the electronic cigarette comprises a power MOS tube and a heating element, wherein the heating element and the power MOS tube are connected in series, wherein when the power MOS tube is turned on, the heating element heats to atomize the e-liquid, and when the power MOS tube is turned off, the heating element stops heating, characterized in that: The child lock control method includes: receiving first parameter information, wherein the first parameter information is used to represent an air pressure condition in an airflow channel of the electronic cigarette; Determining whether the first parameter information is within a second preset parameter range, wherein the second preset parameter range is within the first preset parameter range, and the first preset parameter range is used to determine whether the electronic cigarette is in a puffing state; If the judgment result is yes, the second timing and the second counting are triggered; Determining whether the second count is greater than or equal to a second preset number within a second preset time period, wherein the second preset number is greater than or equal to 2; If the judgment result is yes, the electronic cigarette is controlled to enter a locked state, and in the locked state, the power MOS tube remains disconnected.

34. The child lock control method according to claim 33, characterized in that: The first parameter information includes the current capacitance value, the current frequency value, the current count value, the ratio of the current capacitance value to the reference capacitance value, the ratio of the current frequency value to the reference frequency value, the ratio of the current count value to the reference count value, the difference between the current capacitance value and the reference capacitance value, the difference between the current frequency value and the reference frequency value, the difference between the current count value and the reference count value, the ratio of the difference between the current capacitance value and the reference capacitance value to the reference oscillation capacitance value, the ratio of the difference between the current frequency value and the reference frequency value to the reference frequency value, or the ratio of the difference between the current count value and the reference count value to the reference count value.

35. The child lock control method according to claim 34, characterized in that: When the first parameter information is a current capacitance value, a difference between a current capacitance value and a reference capacitance value, a difference between a current frequency value and a reference frequency value, a difference between a current count value and a reference count value, a ratio of a difference between a current capacitance value and a reference capacitance value to a reference oscillation capacitance value, a ratio of a difference between a current frequency value and a reference frequency value to a reference frequency value, or a ratio of a difference between a current count value and a reference count value to a reference count value, the lower limit value of the second preset parameter range is greater than the lower limit value of the first preset parameter range; or, When the first parameter information is a current frequency value or a ratio of a current frequency value to a reference frequency value, an upper limit value of the second preset parameter range is less than an upper limit value of the first preset parameter range; or, When the first parameter information is a current count value or a ratio of a current count value to a reference count value, an upper limit value of the second preset parameter range is smaller than an upper limit value of the first preset parameter range.

36. The child lock control method according to claim 33, characterized in that: The steps of triggering the second counting specifically include: Triggering a third timing and triggering a third counting; Determining whether a third count is greater than or equal to a third preset number within a third preset time period, wherein the third preset number is greater than or equal to 2; If the judgment result is yes, the second counting is triggered.

37. The child lock control method according to claim 36, characterized in that: During the third preset time period, the electronic cigarette is in the inhalation state.

38. The child lock control method according to claim 33, characterized in that: The child lock control method further includes: receiving first parameter information; Determining whether the first parameter information is within a first preset parameter range; If the judgment result is yes, the information that the electronic cigarette changes from the non-smoking state to the smoking state is output.

39. The child lock control method according to claim 33, characterized in that: After the step of triggering the second counting, the method further includes: Obtaining information that the electronic cigarette changes from a puffing state to a non-puffing state; Trigger the fifth count and lock the second count; Determining whether the fifth timer is greater than or equal to a fifth preset time period; If the judgment result is yes, the lock on the second count is released.

40. The child lock control method according to any one of claims 33 to 39, characterized in that: The child lock control method further includes: if the second count is less than a second preset number within a second preset time period, maintaining the original child lock state of the electronic cigarette, setting the second count to 0, and resetting the second timer to zero; and / or, If the second timer reaches the second preset time, the second count is reset to zero and the second timer is reset to zero; and / or, If the second timer is less than the second preset time length and the second count reaches the second preset number, the second count is reset to zero and the second timer is reset to zero; and / or, The information that the first parameter information in the electronic cigarette airflow channel is within the second preset parameter range is obtained again, and the second count is increased by 1.

41. The child lock control method according to any one of claims 33 to 39, characterized in that: Also includes: receiving first parameter information; Determining whether the first parameter information is within a fourth preset parameter range, wherein the fourth preset parameter range is used to determine whether the electronic cigarette is in a blowing state; If the judgment result is yes, triggering the fourth timing and triggering the fourth counting; Determining whether a fourth count is greater than or equal to a fourth preset number within a fourth preset time period, wherein the fourth preset number is greater than or equal to 2; If the judgment result is yes, the electronic cigarette is controlled to enter an unlocked state, wherein in the unlocked state, when the electronic cigarette is in a puffing state, the power MOS tube is continuously turned on or intermittently turned on.

42. The child lock control method according to any one of claims 33 to 39, characterized in that: The second preset time length is in the range of 1 second to 5 seconds; and / or; The second preset number is greater than or equal to 3.

43. A child lock control circuit, applied to an electronic cigarette, characterized in that: include: a state detection unit, which is electrically connected to the airflow sensor and is further configured to output first parameter information; a second parameter determination unit, configured to receive the first parameter information and determine whether the first parameter information is within a second preset parameter range, wherein the second preset parameter range is within the first preset parameter range, and the first preset parameter range is used to determine whether the electronic cigarette is in a puffing state; a second counting unit, configured to trigger a second counting if the judgment result of the second parameter judgment unit is yes; A second timing unit, configured to trigger a second timing if the judgment result of the second parameter judgment unit is yes; a second timing counting judgment unit, configured to judge whether a second count is greater than or equal to a second preset number within a second preset time period, wherein the second preset number is greater than or equal to 2; The child lock control unit is used to control the electronic cigarette to enter a locked state if the judgment results of the second timing and counting judgment unit are all yes. In the locked state, the power MOS tube of the electronic cigarette remains disconnected and cut off.

44. The child lock control circuit according to claim 43, characterized in that: The child lock control circuit is located on the same chip.

45. A child lock control device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the child lock control method for the electronic cigarette is implemented as described in any one of claims 33 to 42.

46. ​​An electronic cigarette, characterized in that include: The child lock control circuit according to claim 43 or 44; The device further includes a battery, a power MOS tube and a heating element, wherein the heating element and the power MOS tube are connected in series to form a heating branch, the two ends of the heating branch are electrically connected to the positive and negative electrodes of the battery respectively, and the control end of the power MOS tube is electrically connected to the child lock control circuit; An airflow sensor is electrically connected to the state detection unit of the child lock control circuit.

47. A method for controlling a child lock of an electronic cigarette, wherein the electronic cigarette comprises a power MOS tube and a heating element, wherein the heating element and the power MOS tube are connected in series, wherein when the power MOS tube is turned on, the heating element heats to atomize the e-liquid, and when the power MOS tube is turned off, the heating element stops heating, characterized in that: The child lock control method includes: receiving first parameter information, wherein the first parameter information is used to represent an air pressure condition in an airflow channel of the electronic cigarette; Determining whether the first parameter information is within a second preset parameter range, wherein the second preset parameter range is within the first preset parameter range, and the first preset parameter range is used to determine whether the electronic cigarette is in a puffing state; If the judgment result is yes, the electronic cigarette is controlled to enter a locked state, and in the locked state, the power MOS tube remains disconnected.

48. The child lock control method according to claim 47, characterized in that: The first parameter information includes the current air pressure value, the current capacitance value, the current frequency value, the current count value, the ratio of the current air pressure value to the reference air pressure value, the ratio of the current capacitance value to the reference capacitance value, the ratio of the current frequency value to the reference frequency value, the ratio of the current count value to the reference count value, the difference between the current air pressure value and the reference air pressure value, the difference between the current capacitance value and the reference capacitance value, the difference between the current frequency value and the reference frequency value, the difference between the current count value and the reference count value, the ratio of the difference between the current air pressure value and the reference air pressure value, the ratio of the difference between the current capacitance value and the reference capacitance value to the reference oscillation capacitance value, the ratio of the difference between the current frequency value and the reference frequency value to the reference frequency value, or the ratio of the difference between the current count value and the reference count value to the reference count value.

49. The child lock control method according to claim 48, characterized in that: When the first parameter information is the current air pressure value, the current frequency value, the current count value, the ratio of the current air pressure value to the reference air pressure value, the ratio of the current frequency value to the reference frequency value, or the ratio of the current count value to the reference count value, the upper limit value of the second preset parameter range is less than the upper limit value of the first preset parameter range; or, When the first parameter information is the current capacitance value, the ratio of the current capacitance value to the reference capacitance value, the difference between the current air pressure value and the reference air pressure value, the difference between the current capacitance value and the reference capacitance value, the difference between the current frequency value and the reference frequency value, the difference between the current count value and the reference count value, the ratio of the difference between the current air pressure value and the reference air pressure value to the reference air pressure value, the ratio of the difference between the current capacitance value and the reference capacitance value to the reference oscillation capacitance value, the ratio of the difference between the current frequency value and the reference frequency value to the reference frequency value, or the ratio of the difference between the current count value and the reference count value to the reference count value, the lower limit value of the second preset parameter range is greater than the lower limit value of the first preset parameter range.

50. The child lock control method according to claim 49, characterized in that: When the first parameter information is the current air pressure value, the current frequency value, or the current count value, the ratio of the upper limit value of the second preset parameter range to the upper limit value of the first preset parameter range is less than or equal to 85%; or, When the first parameter information is the current capacitance value, the ratio of the lower limit value of the second preset parameter range to the lower limit value of the first preset parameter range is greater than or equal to 115%; or, When the first parameter information is the ratio of the current air pressure value to the reference air pressure value, the ratio of the current frequency value to the reference frequency value, or the ratio of the current count value to the reference count value, the upper limit of the second preset parameter range is less than or equal to 85%; or, When the first parameter information is a ratio of a current capacitance value to a reference capacitance value, a lower limit value of the second preset parameter range is greater than or equal to 115%; or, When the first parameter information is the ratio of the difference between the current air pressure value and the reference air pressure value, the ratio of the difference between the current capacitance value and the reference capacitance value to the reference oscillation capacitance value, the ratio of the difference between the current frequency value and the reference frequency value, or the ratio of the difference between the current count value and the reference count value to the reference count value, the lower limit value of the second preset parameter range is greater than or equal to 15%.

51. The child lock control method according to claim 48, characterized in that: When the first parameter information is the current air pressure value, the step of receiving the first parameter information specifically includes: Get the current capacitance value, current frequency value or current count value; Searching a pre-stored capacitance value-pressure value table according to the current capacitance value, searching a pre-stored frequency value-pressure value table according to the current frequency value, or searching a pre-stored count value-pressure value table according to the current count value; Obtain the current air pressure value in the electronic cigarette airflow channel and output it; Receive first parameter information.

52. The child lock control method according to claim 47, characterized in that: The child lock control method further includes: receiving first parameter information; Determining whether the first parameter information is within a first preset parameter range; If the judgment result is yes, the information that the electronic cigarette changes from the non-smoking state to the smoking state is output.

53. The child lock control method according to any one of claims 47 to 52, characterized in that: Also includes: receiving first parameter information; Determining whether the first parameter information is within a fourth preset parameter range, wherein the fourth preset parameter range is used to determine whether the electronic cigarette is in a blowing state; If the judgment result is yes, triggering the fourth timing and triggering the fourth counting; Determining whether a fourth count is greater than or equal to a fourth preset number within a fourth preset time period, wherein the fourth preset number is greater than or equal to 2; If the judgment result is yes, the electronic cigarette is controlled to enter an unlocked state, wherein in the unlocked state, when the electronic cigarette is in a puffing state, the power MOS tube is continuously turned on or intermittently turned on.

54. A child lock control circuit, applied to an electronic cigarette, characterized in that: include: a second parameter determination unit, configured to receive the first parameter information and determine whether the first parameter information is within a second preset parameter range, wherein the second preset parameter range is within the first preset parameter range, and the first preset parameter range is used to determine whether the electronic cigarette is in a puffing state; The child lock control unit is used to control the electronic cigarette to enter a locked state if the judgment results of the second parameter judgment unit are all yes. In the locked state, the power MOS tube of the electronic cigarette remains disconnected.

55. The child lock control circuit according to claim 54, characterized in that: The child lock control circuit is located on the same chip; and / or, The child lock control circuit further includes a state detection unit, which is electrically connected to the airflow sensor and is further configured to output first parameter information; and / or, The child lock control circuit also includes a state detection unit and an air pressure acquisition unit. The state detection unit is used to be electrically connected to the airflow sensor. The state detection unit is also used to be connected to the air pressure acquisition unit. The air pressure acquisition unit is used to output the first parameter information.

56. A child lock control device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the child lock control method for the electronic cigarette is implemented as described in any one of claims 47 to 53.

57. An electronic cigarette, characterized in that include: The child lock control circuit according to claim 54 or 55; It also includes a battery, a power MOS tube and a heating element. The heating element and the power MOS tube are connected in series to form a heating branch. The two ends of the heating branch are electrically connected to the positive and negative poles of the battery respectively, and the control end of the power MOS tube is electrically connected to the child lock control circuit.

58. A method for controlling a child lock of an electronic cigarette, wherein the electronic cigarette comprises a power MOS tube and a heating element, wherein the heating element and the power MOS tube are connected in series, wherein when the power MOS tube is turned on, the heating element heats to atomize the e-liquid, and when the power MOS tube is turned off, the heating element stops heating, characterized in that: The child lock control method includes: receiving first parameter information, wherein the first parameter information is used to represent an air pressure condition in an airflow channel of the electronic cigarette; Determining whether the first parameter information is within a second preset parameter range, wherein the second preset parameter range is within the first preset parameter range, and the first preset parameter range is used to determine whether the electronic cigarette is in a puffing state; If the judgment result is yes, the second timing and the second counting are triggered; Determining whether the second count is greater than or equal to a second preset number within a second preset time period, wherein the second preset number is greater than or equal to 2; If the judgment result is yes, the electronic cigarette is controlled to enter an unlocked state. In the unlocked state, when the electronic cigarette is in a puffing state, the power MOS tube is continuously turned on or intermittently turned on.

59. The child lock control method according to claim 58, characterized in that: The first parameter information includes the current air pressure value, the current capacitance value, the current frequency value, the current count value, the current air pressure change, the current capacitance change, the current frequency change, the current count change, the ratio of the current air pressure value to the reference air pressure value, the ratio of the current capacitance value to the reference capacitance value, the ratio of the current frequency value to the reference frequency value, the ratio of the current count value to the reference count value, the ratio of the current air pressure change to the reference air pressure value, the ratio of the current capacitance change to the reference capacitance value, the ratio of the current frequency change to the reference frequency value, or the ratio of the current count change to the reference count value.

60. The child lock control method according to claim 59, characterized in that: When the first parameter information is the current capacitance value, the current air pressure change, the current capacitance change, the current frequency change, the current count change, the ratio of the current air pressure change to the reference air pressure value, the ratio of the current capacitance change to the reference capacitance value, the ratio of the current frequency change to the reference frequency value, or the ratio of the current count change to the reference count value, the lower limit value of the second preset parameter range is greater than the lower limit value of the first preset parameter range; or, When the first parameter information is the current air pressure value, the current frequency value, the ratio of the current air pressure value to the reference air pressure value, or the ratio of the current frequency value to the reference frequency value, the upper limit value of the second preset parameter range is less than the upper limit value of the first preset parameter range; or, When the first parameter information is a current count value or a ratio of a current count value to a reference count value, an upper limit value of the second preset parameter range is smaller than an upper limit value of the first preset parameter range.

61. The child lock control method according to claim 58, characterized in that: The steps of triggering the second counting specifically include: Triggering a third timing and triggering a third counting; Determining whether a third count is greater than or equal to a third preset number within a third preset time period, wherein the third preset number is greater than or equal to 2; If the judgment result is yes, the second counting is triggered.

62. The child lock control method according to claim 61, characterized in that: During the third preset time period, the electronic cigarette is in the inhalation state.

63. The child lock control method according to claim 58, characterized in that: The child lock control method further includes: receiving first parameter information; Determining whether the first parameter information is within a first preset parameter range; If the judgment result is yes, the information that the electronic cigarette changes from the non-smoking state to the smoking state is output.

64. The child lock control method according to claim 58, characterized in that: After the step of triggering the second counting, the method further includes: obtaining information that the electronic cigarette changes from a puffing state to a non-puffing state; Trigger the fifth count and lock the second count; Determining whether the fifth timer is greater than or equal to a fifth preset time period; If the judgment result is yes, the lock on the second count is released.

65. The child lock control method according to any one of claims 58 to 64, characterized in that: The child lock control method further includes: if the second count is less than a second preset number within a second preset time period, maintaining the original child lock state of the electronic cigarette, setting the second count to 0, and resetting the second timer to zero; and / or, If the second timer reaches the second preset time, the second count is reset to zero and the second timer is reset to zero; and / or, If the second timer is less than the second preset time length and the second count reaches the second preset number, the second count is reset to zero and the second timer is reset to zero; and / or, The information that the first parameter information in the electronic cigarette airflow channel is within the second preset parameter range is obtained again, and the second count is increased by 1.

66. The child lock control method according to any one of claims 58 to 64, characterized in that: Also includes: receiving first parameter information; Determining whether the first parameter information is within a fourth preset parameter range, wherein the fourth preset parameter range is used to determine whether the electronic cigarette is in a blowing state; If the judgment result is yes, triggering the fourth timing and triggering the fourth counting; Determining whether a fourth count is greater than or equal to a fourth preset number within a fourth preset time period, wherein the fourth preset number is greater than or equal to 2; If the judgment result is yes, the electronic cigarette is controlled to enter a locked state, and in the locked state, the power MOS tube remains disconnected.

67. The child lock control method according to any one of claims 58 to 64, characterized in that: The second preset duration ranges from 1 second to 5 seconds; and / or the second preset number is greater than or equal to 3.

68. The child lock control method according to any one of claims 58 to 64, characterized in that: The first parameter information includes a current capacitance value, a current frequency value, a current count value, a current capacitance change, a current frequency change, a current count change, a ratio of a current capacitance value to a reference capacitance value, a ratio of a current frequency value to a reference frequency value, a ratio of a current count value to a reference count value, a ratio of a current capacitance change to a reference capacitance value, a ratio of a current frequency change to a reference frequency value, or a ratio of a current count change to a reference count value. The electronic cigarette includes a state detection unit and a capacitive airflow sensor. The state detection unit is used to be electrically connected to the capacitive airflow sensor. The capacitive airflow sensor includes a capacitor, and the capacitor is located in the airflow channel. The step of receiving the first parameter information specifically includes: receiving the first parameter information output by the state detection unit.

69. The child lock control method according to any one of claims 58 to 64, characterized in that: The first parameter information includes a current air pressure value, a current air pressure change, a ratio of the current air pressure value to a reference air pressure value, and a ratio of the current air pressure change to the reference air pressure value. The electronic cigarette includes a state detection unit and a capacitive airflow sensor. The state detection unit is electrically connected to the capacitive airflow sensor. The capacitive airflow sensor includes a capacitor, and the capacitor is located in the airflow channel of the electronic cigarette. The step of receiving the first parameter information specifically includes: Obtaining, through the state detection unit, a current capacitance value, a current frequency value, a current count value, a current capacitance change relative to a non-suction and blowing state, a current frequency change relative to a non-suction and blowing state, or a current count change relative to a non-suction and blowing state; Searching a pre-stored capacitance value-pressure value table according to the current capacitance value, searching a pre-stored frequency value-pressure value table according to the current frequency value, searching a pre-stored count value-pressure value table according to the current count value, searching a pre-stored capacitance change-pressure value table according to the current capacitance change, searching a pre-stored frequency change-pressure value table according to the current frequency change, or searching a pre-stored count change-pressure value table according to the current count change; Receive first parameter information in the electronic cigarette airflow channel.

70. A child lock control circuit, applied to an electronic cigarette, characterized in that: include: a second parameter determination unit, configured to receive first parameter information and determine whether the first parameter information is within a second preset parameter range, wherein the first parameter information is used to characterize the air pressure condition in the airflow channel of the electronic cigarette, the second preset parameter range is within the first preset parameter range, and the first preset parameter range is used to determine whether the electronic cigarette is in a puffing state; a second counting unit, configured to trigger a second counting if the judgment result of the second parameter judgment unit is yes; A second timing unit, configured to trigger timing if the judgment result of the second parameter judgment unit is yes; a second timing counting judgment unit, configured to judge whether a second count is greater than or equal to a second preset number within a second preset time period, wherein the second preset number is greater than or equal to 2; The child lock control unit is used to control the electronic cigarette to enter an unlocked state if the judgment results of the second timing and counting judgment unit are all yes. In the unlocked state, the power MOS tube is continuously turned on or intermittently turned on when the electronic cigarette is in the inhalation state.

71. The child lock control circuit according to claim 70, characterized in that: The child lock control circuit is located on the same chip; and / or, The child lock control circuit further includes a state detection unit, which is electrically connected to the airflow sensor and is further configured to output first parameter information; and / or, The child lock control circuit also includes a state detection unit and an air pressure acquisition unit. The state detection unit is used to be electrically connected to the airflow sensor. The state detection unit is also used to be connected to the air pressure acquisition unit. The air pressure acquisition unit is used to output the first parameter information.

72. A child lock control device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the child lock control method for the electronic cigarette is implemented as described in any one of claims 58 to 12.

73. An electronic cigarette, characterized in that include: The child lock control circuit according to claim 70 or 71; It also includes a battery, a power MOS tube and a heating element. The heating element and the power MOS tube are connected in series to form a heating branch. The two ends of the heating branch are electrically connected to the positive and negative poles of the battery respectively, and the control end of the power MOS tube is electrically connected to the child lock control circuit.