Self-start detection method, device, electronic cigarette and storage medium for electronic cigarettes
By detecting airflow in the electronic cigarette and automatically identifying self-starting using preset interfaces and pin electrical signals, the self-starting problem of electronic cigarettes during transportation or long-term non-use is solved, simplifying the operation process, improving the user experience, and extending the service life.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN VAPEEZ TECH LTD
- Filing Date
- 2026-03-13
- Publication Date
- 2026-06-02
AI Technical Summary
Electronic cigarettes may activate their atomizing device due to self-starting of the microphone during transportation or when not in use for a long time, affecting their lifespan. Furthermore, existing self-starting control methods are complex to operate and provide a poor user experience.
When airflow is detected, the system automatically recognizes the electronic cigarette's self-start and shuts down the atomizer by connecting a shorting connector via a preset interface and meeting the first preset condition based on the electrical signal of a preset pin, thus simplifying user operation.
It improves the recognition efficiency of e-cigarette self-start, simplifies user operation, enhances user experience, reduces the probability of self-start, and extends the lifespan of e-cigarettes.
Smart Images

Figure CN122123536A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of data processing technology, and in particular relates to a self-starting detection method, device, electronic cigarette and storage medium for electronic cigarettes. Background Technology
[0002] During the transportation of e-cigarettes, or when e-cigarettes have not been used for a long time, the microphone may automatically activate, causing the electronic atomization device in the e-cigarette to work and produce vapor, thus affecting the lifespan of the e-cigarette.
[0003] The common method for controlling e-cigarette self-starting is to enable the e-cigarette's lock function to prevent it from doing so. This requires users to perform multiple unlocking operations to restart the e-cigarette. This process is cumbersome and results in a poor user experience. Summary of the Invention
[0004] In view of this, the embodiments of this application provide a method, device, electronic cigarette and storage medium for detecting the self-starting of an electronic cigarette. When airflow is detected, the electronic cigarette is determined to be self-starting by connecting a shorting connector according to a preset interface and the electrical signal of a preset pin in the preset interface meets a first preset condition. The atomizer of the electronic cigarette is then turned off, and the electronic cigarette stops working. This achieves automated identification of the self-starting state of the electronic cigarette, improves the identification efficiency of the self-starting of the electronic cigarette, simplifies user operation and enhances the user experience.
[0005] The first aspect of this application provides a self-starting detection method for an electronic cigarette, including: When airflow is detected, the connection status of the preset interface is obtained; When the shorting connector is connected to the preset interface, the electrical signal of the preset pin in the preset interface is obtained; wherein, the shorting connector is a connector that realizes the circuit short-circuit function through the physical connection of the internal pins; When the electrical signal at the preset pin meets the first preset condition, the electronic cigarette is determined to start automatically; Turn off the atomizer of the electronic cigarette to stop it from working.
[0006] A second aspect of this application provides a self-starting detection device for an electronic cigarette, comprising: The first acquisition module is used to acquire the connection status of a preset interface when airflow is detected. The second acquisition module is used to acquire the electrical signal of a preset pin in the preset interface when the preset interface is connected to the shorting connector; wherein, the shorting connector is a connector that achieves the circuit short-circuit function through the physical connection of the internal pins. The identification module is used to determine that the electronic cigarette is automatically started when the electrical signal of the preset pin meets a first preset condition; A control module is used to turn off the atomizer of the electronic cigarette so that the electronic cigarette stops working.
[0007] A third aspect of this application provides an electronic cigarette, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the self-starting detection method for the electronic cigarette provided in the first aspect.
[0008] A fourth aspect of this application provides a computer program storage medium including a computer program, which, when executed by an electronic cigarette, implements the steps of the self-starting detection method for electronic cigarettes provided in the first aspect.
[0009] The fifth aspect of this application provides a computer program product that, when run on an electronic cigarette, causes the electronic cigarette to execute the steps of the self-start detection method for electronic cigarettes provided in the first aspect.
[0010] The self-start detection method for electronic cigarettes provided in the first aspect of this application determines that the electronic cigarette is self-starting when airflow is detected, by connecting a shorting connector according to a preset interface and the electrical signal of a preset pin in the preset interface meets a first preset condition, thereby turning off the atomizer of the electronic cigarette and stopping the electronic cigarette from working. This achieves automated identification of the self-starting state of the electronic cigarette, improves the identification efficiency of the self-starting of the electronic cigarette, simplifies user operation, and enhances the user experience.
[0011] It is understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description
[0012] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0013] Figure 1 This is one of the flowcharts illustrating the self-start detection method for electronic cigarettes provided in this application embodiment; Figure 2 This is a second schematic flowchart of the self-start detection method for electronic cigarettes provided in the embodiments of this application; Figure 3 This is one of the circuit diagrams of the preset interface provided in the embodiments of this application; Figure 4 This is the third flowchart illustrating the self-start detection method for electronic cigarettes provided in this application embodiment; Figure 5 This is a second circuit diagram of the preset interface provided in the embodiments of this application; Figure 6 This is the fourth flowchart of the self-start detection method for electronic cigarettes provided in the embodiments of this application; Figure 7 This is the third circuit diagram of the preset interface provided in the embodiments of this application; Figure 8 This is the fifth flowchart illustrating the self-start detection method for electronic cigarettes provided in this application embodiment; Figure 9 This is a schematic diagram of the structure of the self-starting detection device for electronic cigarettes provided in the embodiments of this application; Figure 10 This is a schematic diagram of the structure of an electronic cigarette provided in an embodiment of this application. Detailed Implementation
[0014] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0015] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0016] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0017] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."
[0018] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0019] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0020] During the transportation of e-cigarettes, or when e-cigarettes have not been used for a long time, the microphone may automatically activate, causing the electronic atomization device in the e-cigarette to work and produce vapor, thus affecting the lifespan of the e-cigarette.
[0021] The common method for controlling e-cigarette self-starting is to enable the e-cigarette's lock function to prevent it from doing so. This requires users to perform multiple unlocking operations to restart the e-cigarette. This process is cumbersome and results in a poor user experience.
[0022] To address the aforementioned issues, this application provides a method, apparatus, electronic cigarette, and storage medium for detecting the self-starting of an electronic cigarette. By detecting airflow and determining that the electronic cigarette has self-started based on a preset interface connection to a shorting connector and the electrical signal of a preset pin in the preset interface meets a first preset condition, the atomizer of the electronic cigarette is turned off, causing the electronic cigarette to stop working. This achieves automated identification of the self-starting state of the electronic cigarette, improves the identification efficiency of the self-starting of the electronic cigarette, simplifies user operation, and enhances the user experience.
[0023] It should be noted that the self-starting detection method, device, electronic cigarette and storage medium for electronic cigarettes provided in this application can be used in the field of electronic cigarettes, and this application does not limit the application field of the self-starting detection method, device, electronic cigarette and storage medium for electronic cigarettes.
[0024] The aforementioned electronic cigarette is used to indicate a device that supports the self-start detection function of electronic cigarettes. This application embodiment does not impose any special restrictions on the specific type of electronic cigarette.
[0025] Figure 1 This is one of the flowcharts illustrating the self-start detection method for electronic cigarettes provided in this application. Figure 1 As shown in the embodiments of this application, the self-starting detection method for electronic cigarettes includes the following steps: S101. When airflow is detected, obtain the connection status of the preset interface.
[0026] In application, an electronic cigarette refers to an electronic atomizing device that heats e-liquid using a heating wire. When an electronic cigarette detects an external airflow through its microphone, it uses a power supply (e.g., a lithium battery) to drive heating wires with different resistance values inside the electronic cigarette, thereby heating the e-liquid.
[0027] In this application, when airflow is detected at the e-cigarette tip, the connection status of a preset interface on the e-cigarette is obtained. This preset interface is an interface located on the e-cigarette that allows connection to external devices. For example, the preset interface is a Type-C interface.
[0028] The executing entity in this application embodiment can be an electronic cigarette or a self-starting detection device installed in the electronic cigarette. The self-starting detection device of the electronic cigarette can be implemented by software or by a combination of software and hardware.
[0029] S102. When the shorting connector is connected to the preset interface, the electrical signal of the preset pin in the preset interface is obtained; wherein, the shorting connector is a connector that realizes the circuit short-circuit function through the physical connection of the internal pins.
[0030] In applications, a shorting connector is used to indicate that the internal pins are physically connected to short-circuit the circuit. For example, a TYPE-C connector (also known as a TYPE-C male connector) has internal pins that are physically connected to short-circuit the circuit.
[0031] In applications, when a shorting connector is connected to the preset interface of an electronic cigarette, the connection state of the internal circuitry of the preset interface changes, causing a sudden change in the electrical signal at the preset interface. At this time, the electrical signal of a preset pin in the preset interface can be obtained, and the operating state of the electronic cigarette can be determined based on this signal. The operating state of the electronic cigarette includes, but is not limited to, self-starting state and normal start-up state.
[0032] The preset pins can indicate the standard function pins of the preset interface itself (e.g., ground pin GND, configuration channel pin CCA1, etc.), or they can indicate function pins connected to external circuits (e.g., analog-to-digital converter pin ADC, serial line data pin SWD, serial line clock pin SWC, etc.). Electrical signals include, but are not limited to, low-level signals, high-level signals, voltage data, etc.
[0033] S103. When the electrical signal at the preset pin meets the first preset condition, it is determined that the electronic cigarette starts automatically.
[0034] In application, when the electrical signal of a preset pin in the preset interface meets the first preset condition, the electronic cigarette is determined to be in a self-starting state (also referred to as the working state of the electronic cigarette being self-starting). The first preset condition refers to the trigger condition for determining whether the electronic cigarette meets the self-starting condition, or the threshold for determining whether the electronic cigarette self-starts, which can be specifically set according to the actual situation.
[0035] Figure 2 This is a second schematic flowchart of the self-start detection method for electronic cigarettes provided in the embodiments of this application.
[0036] like Figure 2 As shown, in some embodiments, step S103 includes the following steps: S1031. When the electrical signal on the serial line clock pin is voltage data, it is determined that the electronic cigarette is self-starting.
[0037] In application, when the preset interface is connected to the shorting connector, the serial clock pin (SWC) and serial data pin (SWD) of the electronic cigarette are shorted together. When airflow is present at the microphone of the electronic cigarette, the serial data pin of the preset interface will output an internal pull-up signal. At this time, a voltage signal can be detected at the serial clock pin. That is to say, when airflow is detected and the preset interface is connected to the shorting connector, if the electrical signal of the serial clock pin of the preset interface in the electronic cigarette is voltage data, it can be determined that the electronic cigarette is in a self-starting state.
[0038] Figure 3 This is one of the circuit diagrams of the preset interface provided in the embodiments of this application.
[0039] Taking the default interface as TYPE-C as an example, such as Figure 3 As shown, the preset interface includes multiple pins such as the first ground pin GND1, the first power supply positive pin VBUSB, the configuration channel pin CCA1, the configuration channel pin CCB1, the second power supply positive pin BVBUSA, and the second ground pin GND2. The first ground pin GND1 and the second ground pin GND2 are grounded. The configuration channel pin CCA1 is connected in series with resistor R1 and then splits into two paths: one path is grounded through resistor R4, and the other path is connected to the serial data pin SWD. The configuration channel pin CCB1 is also connected in series with resistor R2 and then splits into two paths: one path is grounded through resistor R3, and the other path is connected to the serial clock pin SWC.
[0040] When airflow is present at the microphone of the electronic cigarette and the preset interface is connected to the shorting connector, the serial clock pin SWC and the serial data pin SWD in the electronic cigarette will be shorted together (e.g., Figure 3 (As shown by the dashed line), when a voltage signal is detected at the serial line clock pin, it is determined that the electronic cigarette is in a self-starting state.
[0041] Among them, resistors R1, R2, R3, and R4 are all voltage divider resistors, and the resistance values of each voltage divider resistor can be the same or different. For example, the resistance values of resistors R1 and R2 are both set to 1.8KΩ, and the resistance values of R3 and R4 are both set to 3.3KΩ.
[0042] like Figure 4 As shown, in some embodiments, step S103 includes the following steps: S1032. When a first pull-up resistor is connected between the serial line clock pin and the serial line data pin, and the voltage data of the serial line clock pin is less than or equal to a preset voltage threshold, the electronic cigarette is determined to start automatically.
[0043] In application, when a first pull-up resistor is connected between the serial clock pin and the serial data pin in the preset interface, if the preset interface is connected to the shorting connector, the serial clock pin SWC will be shorted to the ground pin GND (or the serial clock pin SWC and the ground pin GND will be directly connected). When there is airflow at the microphone of the electronic cigarette, a low-level signal can be detected at the serial clock pin SWC. That is, when a voltage signal (or electrical signal at the serial clock pin is voltage data) is detected at the serial clock pin and is less than or equal to a preset threshold, it can be determined that the electronic cigarette is in a self-starting state.
[0044] The preset voltage threshold can be set according to actual conditions. For example, the preset voltage threshold can be 0.5V or 0.7V. The first pull-up resistor is used to implement the pull-up and voltage divider functions, and its resistance value can be set according to actual conditions. For example, the resistance value of the first pull-up resistor is 10KΩ.
[0045] Figure 5 The second circuit diagram of the preset interface provided in the embodiments of this application.
[0046] Taking the default interface as TYPE-C as an example, such as Figure 5 As shown, the configuration channel pin CCA1 is divided into three paths after being connected in series with resistor R1. One path is connected in parallel with the configuration channel pin CCB1 and the first pull-up resistor R5, another path is grounded through resistor R4, and the third path is connected to the serial line data pin SWD. The configuration channel pin CCB1 is also divided into three paths after being connected in series with resistor R2. One path is connected in parallel with the configuration channel pin CCA1 and the first pull-up resistor R5, another path is grounded through resistor R3, and the third path is connected to the serial line clock pin SWC.
[0047] When there is airflow at the microphone of the electronic cigarette and the preset interface is connected to the shorting connector, the serial clock pin SWC is shorted to the ground pin GND. When a low-level signal is detected at the serial clock pin SWC, it can be determined that the electronic cigarette is in a self-starting state.
[0048] like Figure 6 As shown, in some embodiments, step S103 further includes the following step: S1033. When the first grounding pin in the preset interface is connected to the second pull-up resistor and the electrical signal of the first grounding pin is a low-level signal, it is determined that the electronic cigarette is self-starting.
[0049] In application, when the first ground pin in the preset interface is connected to the second pull-up resistor, if the preset interface is connected to the shorting connector, the analog-to-digital converter (ADC) pin in the preset interface will be shorted to the first ground pin GND. When there is airflow at the microphone of the electronic cigarette, a low-level signal can be detected at the ADC pin (equivalent to the aforementioned first ground pin GND). That is, when a low-level signal is detected at the first ground pin, it can be determined that the electronic cigarette is in a self-starting state. The second pull-up resistor is used to implement pull-up and voltage division functions, and its resistance value can be specifically set according to the actual situation. For example, the resistance value of the second pull-up resistor is 1MΩ.
[0050] It is understandable that when the first ground pin in the preset interface is connected to the second pull-up resistor, the electronic cigarette can be automatically started by the electrical signal of the first ground pin alone. At this time, the serial line data pin SWD and the serial line clock pin SWC can be in programming mode to configure the electronic cigarette.
[0051] Figure 7 The third circuit diagram of the preset interface provided in the embodiments of this application.
[0052] Taking the default interface as TYPE-C as an example, such as Figure 7 As shown, the ground pin ( Figure 7 Taking the first ground pin GND1 as an example (which can also be replaced by the second ground pin GND2), the configuration is divided into two paths: one path is connected to the battery pin BAT through the second pull-up resistor R6, and the other path is connected to the analog-to-digital converter pin ADC. The channel pin CCA1 is configured to split into two paths after being connected in series with resistor R1: one path is grounded through resistor R4, and the other path is connected to the serial data pin SWD. The channel pin CCB1 is configured to split into two paths after being connected in series with resistor R2: one path is grounded through resistor R3, and the other path is connected to the serial clock pin SWC.
[0053] When there is airflow at the microphone of the electronic cigarette and the preset interface is connected to the shorting connector, the analog-to-digital converter pin ADC is shorted to the first ground pin GND1 (e.g., Figure 5 As shown by the dashed line, when the electrical signal of the analog-to-digital converter pin (ADC, equivalent to the first ground pin) is detected to be low, it can be determined that the electronic cigarette is in a self-starting state.
[0054] S104. Turn off the atomizer of the electronic cigarette to stop the electronic cigarette from working.
[0055] In the application, when it is determined that the e-cigarette is in self-starting mode, the atomizer of the e-cigarette is turned off, and the heating of the e-liquid is stopped, so that the e-cigarette stops working.
[0056] For example, the atomizer can be turned off by disconnecting the metal-oxide-semiconductor field-effect MOSFET.
[0057] In some embodiments, after turning off the atomizer of the electronic cigarette to stop the electronic cigarette from working, the following is included: Switch the working mode of the preset interface to the burning mode to configure the electronic cigarette through the preset interface.
[0058] In application, when the preset interface is connected to the shorting connector and the e-cigarette is in self-starting mode, when the atomizer of the e-cigarette is turned off to stop the e-cigarette from working, it is not necessary to determine whether the e-cigarette is self-starting by detecting the electrical signal of the preset interface. When the airflow is detected to be closed, the working mode of the preset interface can be switched to the burning mode, thereby configuring the e-cigarette through the preset interface.
[0059] By detecting airflow at the microphone and determining the electrical signal of a preset pin when a short-circuit connector is connected via a preset interface, the system identifies whether the e-cigarette is in a self-starting state and stops operating if it is. This method is simple to operate and offers high detection accuracy. It reduces the probability of e-cigarettes self-starting during transportation or long-term storage, thus improving the user experience.
[0060] It is understandable that external factors can cause e-cigarettes to self-start during transportation. For example, during high-altitude transport, the negative pressure can easily cause the microphone to trigger falsely, leading to self-starting. Similarly, during sea transport, high-temperature storage can also cause false triggering. Furthermore, acidic substances in the e-liquid can corrode the microphone surface, causing false triggering and self-starting. By connecting a shorting connector to a preset interface on the e-cigarette and using electrical signals from preset pins to detect self-starting, self-starting during transportation can be effectively prevented without requiring specific locking operations, thus improving the user experience.
[0061] like Figure 8 As shown, in some embodiments, the method further includes the following steps: S201. When the preset interface is not connected to the shorting connector and the electrical signal of the preset pin meets the second preset condition, it is determined that the electronic cigarette is started normally.
[0062] In application, when the preset interface of the electronic cigarette is not connected to the shorting connector and the electrical signal of the preset pin in the preset interface meets the second preset condition, it is determined that the electronic cigarette is not in the self-starting state, that is, the electronic cigarette is in the normal starting state and can maintain the normal working state of the atomizer.
[0063] The second preset condition refers to the triggering condition used to determine whether the e-cigarette meets the normal start-up state, or the threshold used to determine whether the e-cigarette is in the normal start-up state, which can be specifically set according to the actual situation.
[0064] In some embodiments, if the atomizer of the electronic cigarette is not working properly (e.g., the MOS transistor is in an off state) when the preset interface is not connected to the shorting connector and the electrical signal of the preset pin meets the second preset condition, an abnormal prompt is generated, and the abnormal prompt is sent to the user terminal, displayed on the screen, or played through an output device such as a microphone.
[0065] In some embodiments, a first pull-up resistor is connected between the serial line clock pin and the serial line data pin in the preset interface; step S201 includes the following steps: When the preset interface is not connected to the shorting connector and the voltage data of the serial line clock pin is greater than the preset voltage threshold, the electronic cigarette is determined to be started normally.
[0066] In application, when a first pull-up resistor is connected between the serial clock pin and the serial data pin in the preset interface, if the preset interface is not connected to a shorting connector, there will be no short circuit between the serial clock pin (SWC) and the ground pin (GND). Thus, if there is airflow at the microphone of the electronic cigarette and the detected voltage data at the serial clock pin is greater than the preset voltage threshold, it can be determined that the electronic cigarette is in a normal startup state.
[0067] In some embodiments, step S201 further includes the following step: When the preset interface is not connected to the shorting connector and the electrical signal of the serial line clock pin is a low level signal, the electronic cigarette is determined to be started normally.
[0068] In application, when the preset interface of the electronic cigarette is not connected to the shorting connector, the serial line data pin SWD and the serial line clock pin SWC are not shorted. Thus, when airflow is present at the microphone of the electronic cigarette and the electrical signal on the serial line clock pin of the preset interface is detected to be low, it can be determined that the electronic cigarette is in a normal start-up state.
[0069] In some embodiments, the first ground pin in the preset interface is connected to a second pull-up resistor; step S201 includes the following steps: When the preset interface is not connected to the shorting connector and the electrical signal of the first grounding pin is a high-level signal, the electronic cigarette is determined to be started normally.
[0070] In application, if the first ground pin in the preset interface is connected to the second pull-up resistor, and if the preset interface is not connected to the shorting connector, and there is no short circuit between the analog-to-digital conversion pin (ADC) and the first ground pin (GND), then when there is airflow at the microphone of the electronic cigarette and the electrical signal at the first ground pin is detected to be high, it can be determined that the electronic cigarette is in a normal start-up state.
[0071] S202. Switch the working mode of the preset interface to the burning mode to configure the electronic cigarette through the preset interface.
[0072] In application, when the preset interface is not connected to the shorting connector and the electronic cigarette is confirmed to be in normal start-up state, it is not necessary to determine whether the electronic cigarette is self-starting by detecting the electrical signal of the preset interface. When the airflow is detected to be closed, the working mode of the preset pin in the preset interface can be switched to the burning mode, thereby configuring the electronic cigarette through the preset interface.
[0073] It is understandable that when the first ground pin in the preset interface is connected to the second pull-up resistor, the preset interface is not connected to the shorting connector, and the electronic cigarette is in normal start-up state, the first ground pin in the preset interface can be used to realize the voltage detection ADC function.
[0074] In some embodiments, after switching the working mode of the preset interface to the burning mode, the following is included: Return to the previous steps, which involve obtaining the connection status of the preset interface and subsequent steps when airflow is detected, until the self-start detection function of the electronic cigarette is turned off.
[0075] In the application, after switching the working mode of the preset interface to the burning mode, in order to prevent the e-cigarette from restarting again and affecting its lifespan, the system can return to check whether there is airflow in the microphone. If airflow is detected, the system can obtain the connection status of the preset interface and the subsequent steps, so as to detect the working status of the e-cigarette in real time according to the airflow status of the microphone, until the e-cigarette's self-start detection function is turned off.
[0076] For example, when the preset interface is found to be unconnected for a preset duration, the self-start detection function of the electronic cigarette is turned off. The preset duration can be set according to actual conditions. For example, the preset duration can be set to 5 minutes, or 10 minutes.
[0077] The self-start detection method for electronic cigarettes provided in this application determines that the electronic cigarette is self-starting when airflow is detected, based on the connection of a shorting connector to a preset interface and the electrical signal of a preset pin in the preset interface meeting a first preset condition. The method then shuts down the atomizer of the electronic cigarette, causing it to stop working. This achieves automated identification of the self-starting state of the electronic cigarette, improves the identification efficiency of self-starting, simplifies user operation, and enhances the user experience.
[0078] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0079] This application also provides a self-starting detection device for an electronic cigarette, used to execute the steps in the above method embodiments. The self-starting detection device for an electronic cigarette can be a virtual appliance within the electronic cigarette, run by the electronic cigarette's processor, or it can be the electronic cigarette itself. Figure 9 As shown, the self-starting detection device 900 for electronic cigarettes provided in this application embodiment includes: The first acquisition module 901 is used to acquire the connection status of a preset interface when airflow is detected. The second acquisition module 902 is used to acquire the electrical signal of a preset pin in the preset interface when the preset interface is connected to the shorting connector; wherein, the shorting connector is a connector that achieves the circuit short-circuit function through the physical connection of the internal pins. The identification module 903 is used to determine that the electronic cigarette is automatically started when the electrical signal of the preset pin meets the first preset condition; The control module 904 is used to turn off the atomizer of the electronic cigarette so that the electronic cigarette stops working.
[0080] In some embodiments, the identification module includes: The first identification unit is used to determine that the electronic cigarette is self-starting when the electrical signal on the serial line clock pin is voltage data.
[0081] In some embodiments, the identification module includes: The second identification unit is used to connect a first pull-up resistor between the serial line clock pin and the serial line data pin, and to determine that the electronic cigarette is self-starting when the voltage data of the serial line clock pin is less than or equal to a preset voltage threshold. or, The third identification unit is used to determine that the electronic cigarette is self-starting when the first grounding pin in the preset interface is connected to the second pull-up resistor and the electrical signal of the first grounding pin is a low-level signal.
[0082] In some embodiments, the self-starting detection device 900 of the electronic cigarette further includes: The judgment module is used to determine that the electronic cigarette is started normally when the preset interface is not connected to the shorting connector and the electrical signal of the preset pin meets the second preset condition; The update module is used to switch the working mode of the preset interface to the burning mode, so as to configure the electronic cigarette through the preset interface.
[0083] In some embodiments, the determination module includes: The fourth identification unit is used to determine that the electronic cigarette is started normally when the preset interface is not connected to the shorting connector and the electrical signal of the serial line clock pin is a low level signal.
[0084] In some embodiments, a first pull-up resistor is connected between the serial line clock pin and the serial line data pin in the preset interface; the determination module includes: The fifth identification unit is used to determine that the electronic cigarette is started normally when the preset interface is not connected to the shorting connector and the voltage data of the serial line clock pin is greater than the preset voltage threshold.
[0085] In some embodiments, the first ground pin in the preset interface is connected to a second pull-up resistor; the determination module includes: The sixth identification unit is used to determine that the electronic cigarette is started normally when the preset interface is not connected to the shorting connector and the electrical signal of the first grounding pin is a high-level signal.
[0086] The self-start detection device for electronic cigarettes provided in this application embodiment can be used to execute the technical solution of the self-start detection method for electronic cigarettes in the above embodiment. Its implementation principle and technical effect are similar, and will not be described again here.
[0087] In applications, the modules in the self-starting detection device of an electronic cigarette can be software program modules, or they can be implemented through different logic circuits integrated in a processor, or they can be implemented through multiple distributed processors.
[0088] like Figure 10As shown, this application embodiment also provides an electronic cigarette 1000, including: at least one processor 1001 ( Figure 10 The diagram shows only one processor, memory 1002, and computer program 1003 stored in memory 1002 and executable on at least one processor 1001. When processor 1001 executes computer program 1003, it implements the steps in any of the above method embodiments.
[0089] In some embodiments, the electronic cigarette 1000 further includes an atomizer for being turned on or off under the control of the processor 1001.
[0090] In applications, the electronic cigarette 1000 may include, but is not limited to, a processor and memory. Those skilled in the art will understand that... Figure 10 This is merely an example of electronic cigarette 1000 and does not constitute a limitation on electronic cigarette 1000. It may include more or fewer components than shown in the figure, or combine certain components, or different components, such as input / output devices, network access devices, etc.
[0091] In applications, the processor can be a Central Processing Unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.
[0092] In applications, the memory may be an internal storage unit of the electronic cigarette 1000 in some embodiments, such as the hard drive or RAM of the electronic cigarette 1000. In other embodiments, the memory may be an external storage device of the electronic cigarette 1000, such as a plug-in hard drive, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped with the electronic cigarette 1000. Furthermore, the memory may include both internal storage units and external storage devices of the electronic cigarette 1000. The memory is used to store the operating system, applications, boot loader, data, and other programs, such as program code of computer programs. The memory can also be used to temporarily store data that has been output or will be output.
[0093] It should be noted that the information interaction and execution process between the above-mentioned devices / modules are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0094] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is merely an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The functional modules in the embodiments can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules can be implemented in hardware or as software functional modules. Furthermore, the specific names of the functional modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the modules in the above-described device can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0095] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps described in the above-described method embodiments.
[0096] This application provides a computer program product that, when run on an electronic cigarette, enables the electronic cigarette to perform the steps described in the above-described method embodiments.
[0097] If the integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. A computer-readable medium can include at least: any entity or device capable of carrying computer program code to the device / electronic cigarette, a recording medium, a computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.
[0098] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0099] Those skilled in the art will recognize that the modules and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0100] In the embodiments provided in this application, it should be understood that the disclosed apparatus / device and method can be implemented in other ways. For example, the apparatus / device embodiments described above are merely illustrative. For instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or modules may be electrical, mechanical, or other forms.
[0101] The modules described as separate components may or may not be physically separate. Similarly, the components shown as modules may or may not be physical modules; they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0102] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for detecting the self-starting of an electronic cigarette, characterized in that, include: When airflow is detected, the connection status of the preset interface is obtained; When the shorting connector is connected to the preset interface, the electrical signal of the preset pin in the preset interface is obtained; wherein, the shorting connector is a connector that realizes the circuit short-circuit function through the physical connection of the internal pins; When the electrical signal at the preset pin meets the first preset condition, the electronic cigarette is determined to start automatically; Turn off the atomizer of the electronic cigarette to stop it from working.
2. The self-starting detection method for electronic cigarettes as described in claim 1, characterized in that, The preset pin includes a serial line clock pin; determining that the electronic cigarette will automatically start when the electrical signal on the preset pin meets a first preset condition includes: When the electrical signal on the serial line clock pin is voltage data, the electronic cigarette is determined to start automatically.
3. The self-starting detection method for electronic cigarettes as described in claim 1, characterized in that, The step of determining that the electronic cigarette will automatically start when the electrical signal at the preset pin meets a first preset condition includes: When a first pull-up resistor is connected between the serial line clock pin and the serial line data pin, and the voltage data of the serial line clock pin is less than or equal to a preset voltage threshold, the electronic cigarette is determined to start automatically. or, When the first grounding pin in the preset interface is connected to the second pull-up resistor, and the electrical signal of the first grounding pin is a low-level signal, the electronic cigarette is determined to start automatically.
4. The self-starting detection method for an electronic cigarette as described in any one of claims 1 to 3, characterized in that, After obtaining the connection status of the preset interface upon detecting airflow, the process further includes: When the preset interface is not connected to the shorting connector and the electrical signal of the preset pin meets the second preset condition, the electronic cigarette is determined to be started normally. Switch the working mode of the preset interface to the burning mode to configure the electronic cigarette through the preset interface.
5. The self-starting detection method for electronic cigarettes as described in claim 4, characterized in that, The step of determining that the electronic cigarette is normally started when the preset interface is not connected to the shorting connector and the electrical signal of the preset pin meets the second preset condition includes: When the preset interface is not connected to the shorting connector and the electrical signal of the serial line clock pin is a low level signal, the electronic cigarette is determined to be started normally.
6. The self-start detection method for electronic cigarettes as described in claim 4, characterized in that, A first pull-up resistor is connected between the serial line clock pin and the serial line data pin in the preset interface. The step of determining that the electronic cigarette is normally started when the preset interface is not connected to the shorting connector and the electrical signal of the preset pin meets the second preset condition includes: When the preset interface is not connected to the shorting connector and the voltage data of the serial line clock pin is greater than the preset voltage threshold, the electronic cigarette is determined to be started normally.
7. The self-start detection method for electronic cigarettes as described in claim 4, characterized in that, The first grounding pin in the preset interface is connected to the second pull-up resistor; The step of determining that the electronic cigarette is normally started when the preset interface is not connected to the shorting connector and the electrical signal of the preset pin meets the second preset condition includes: When the preset interface is not connected to the shorting connector and the electrical signal of the first grounding pin is a high-level signal, the electronic cigarette is determined to be started normally.
8. A self-starting detection device for an electronic cigarette, characterized in that, include: The first acquisition module is used to acquire the connection status of a preset interface when airflow is detected. The second acquisition module is used to acquire the electrical signal of a preset pin in the preset interface when the preset interface is connected to the shorting connector; wherein, the shorting connector is a connector that achieves the circuit short-circuit function through the physical connection of the internal pins. The identification module is used to determine that the electronic cigarette is automatically started when the electrical signal of the preset pin meets a first preset condition; A control module is used to turn off the atomizer of the electronic cigarette so that the electronic cigarette stops working.
9. An electronic cigarette, 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, it implements the steps of the self-starting detection method for electronic cigarettes according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The method includes a computer program that, when executed by an electronic cigarette, implements the steps of the self-starting detection method for an electronic cigarette as described in any one of claims 1 to 7.