Electronic cigarette control method based on sensor, electronic cigarette and storage medium

By using sensors in e-cigarettes to detect motion status, automatic opening and interface/picture switching are realized, which solves the problem of insufficient convenience of existing e-cigarettes and improves user experience and intelligence.

CN118648734APending Publication Date: 2024-09-17SHENZHEN YOUME NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410774758.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Existing e-cigarettes are not convenient enough to use. Operations need to be done manually and cannot be completed automatically, causing inconvenience to users.

Method used

By installing sensors in the e-cigarette to detect motion status, automatically turn on and light up the screen, and switch display interfaces or pictures by turning, achieving automated control without manual operation.

Benefits of technology

It realizes the automatic startup and convenient operation of electronic cigarettes, improves the convenience and intelligence of use, and eliminates the steps of manually opening and switching interfaces or pictures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118648734A
    Figure CN118648734A
Patent Text Reader

Abstract

The invention discloses an electronic cigarette control method based on a sensor, an electronic cigarette and a storage medium. The electronic cigarette control method based on the sensor is applied to the electronic cigarette and comprises the steps that the motion state of the electronic cigarette is detected through the sensor, and whether the electronic cigarette is picked up or not is judged according to the detected motion state; if the electronic cigarette is picked up, the electronic cigarette is controlled to be turned on and / or a screen is turned on; detecting the motion state of the electronic cigarette through a sensor under the condition that the screen of the electronic cigarette is turned on, and judging whether the electronic cigarette rotates or not according to the detected motion state; if the electronic cigarette rotates in the screen-on state, an interface or a picture displayed on the screen of the electronic cigarette is controlled to be switched according to the rotation direction. According to the electronic cigarette control method based on the sensor, the electronic cigarette can be opened or the screen of the electronic cigarette can be awakened by taking up the electronic cigarette, and the display interface of the electronic cigarette or the displayed picture can be switched by rotating the electronic cigarette.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic cigarettes, and in particular to a sensor-based electronic cigarette control method, an electronic cigarette, and a storage medium. Background Art

[0002] Electronic cigarettes are electronic products that heat the e-liquid to form smoke for users to inhale, and are used to replace traditional burning cigarettes, avoiding the tar produced by the burning of traditional cigarettes. Existing electronic cigarettes are not convenient enough to use, and many operations need to be done manually and cannot be completed automatically, causing inconvenience to users. Summary of the invention

[0003] The present application provides a sensor-based electronic cigarette control method, an electronic cigarette, and a storage medium that can automatically start or wake up the screen after the user picks up the electronic cigarette, and can switch the electronic cigarette display interface or switch the electronic cigarette display picture by rotation.

[0004] In order to achieve the above objectives, the following technical solutions are provided:

[0005] A sensor-based electronic cigarette control method, applied to electronic cigarettes, comprises the following steps:

[0006] The sensor detects the motion state of the electronic cigarette, and determines whether the electronic cigarette is picked up according to the detected motion state;

[0007] If the electronic cigarette is picked up, the electronic cigarette is controlled to turn on and / or light up the screen;

[0008] When the screen of the electronic cigarette is on, the sensor is used to detect the motion state of the electronic cigarette, and whether the electronic cigarette is rotating is determined according to the detected motion state;

[0009] If the electronic cigarette rotates when the screen is on, the interface or picture displayed on the screen of the electronic cigarette is controlled to switch according to the direction of rotation.

[0010] In some embodiments, the sensor is a gravity sensor.

[0011] In some embodiments, the method for determining whether the electronic cigarette is picked up includes:

[0012] If the acceleration of the electronic cigarette in the X direction, Y direction and Z direction all reach the first acceleration threshold V1, and the rotation angle of the electronic cigarette in any direction of the X direction, Y direction and Z direction reaches the first angle threshold W1, it is determined that the electronic cigarette is picked up.

[0013] In some embodiments, the value range of the first acceleration threshold V1 is: 1.5 m / s 2 ≤V1≤6.5m / s 2, the value range of the first angle threshold W1 is: 20°≤W1≤90°.

[0014] In some embodiments, if the electronic cigarette is picked up, in the step of controlling the electronic cigarette to turn on and / or lighting up the screen, lighting up the screen includes lighting up the screen from an off state, or the screen becoming brighter from a dark state.

[0015] In some embodiments, a method for determining whether the electronic cigarette is rotating includes:

[0016] If the acceleration of the electronic cigarette in the X direction reaches the second acceleration threshold V2, and the rotation angle of the electronic cigarette in the X direction reaches the second angle threshold W2, or if the acceleration of the electronic cigarette in the Y direction reaches the second acceleration threshold V2, and the rotation angle of the electronic cigarette in the Y direction reaches the second angle threshold W2, it is determined that the electronic cigarette is rotating.

[0017] In some embodiments, the value range of the second acceleration threshold V2 is: 3m / s 2 ≤V2≤8m / s 2 , the value range of the second angle threshold W2 is: 5°≤W2≤45°.

[0018] In some embodiments, if the electronic cigarette rotates in the screen-on state, the step of controlling the interface or picture displayed on the screen of the electronic cigarette to switch according to the direction of rotation includes:

[0019] The electronic cigarette stores multiple interfaces and / or multiple pictures, and each interface and each picture is marked with a display order. When the electronic cigarette rotates forward in the screen-on state, each interface or each picture switches in the forward order. When the electronic cigarette rotates reversely in the screen-on state, each interface or each picture switches in the reverse order.

[0020] An electronic cigarette comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the above-mentioned sensor-based electronic cigarette control method when executing the computer program.

[0021] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the sensor-based electronic cigarette control method as described above.

[0022] The sensor-based electronic cigarette control method of the embodiment of the present application detects the motion state of the electronic cigarette in real time through the sensor, and automatically turns on the electronic cigarette and / or automatically lights up the screen when it detects that the electronic cigarette is picked up, so there is no need to manually turn on the electronic cigarette or manually light up the screen. At the same time, when the screen of the electronic cigarette is lit, the display interface of the electronic cigarette can be switched by rotating the electronic cigarette, or the picture displayed by the electronic cigarette can be switched, without manually sliding the screen to switch, which is easy to use and highly intelligent. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 This is a flow chart of a sensor-based electronic cigarette control method in one embodiment of the present application;

[0024] Figure 2 Schematic diagram of the spatial coordinate axis position of the electronic cigarette in one embodiment of the present application.

[0025] In the figure:

[0026] 10. Electronic cigarettes; 11. Screen. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0028] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by those skilled in the art of the technical field of the present application. The terms used herein in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. It is understood that the terms "first", "second", etc. used in the present application can be used to describe various elements in this article, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element.

[0029] In one embodiment, Figure 1 As shown, a sensor-based electronic cigarette control method is disclosed.

[0030] like Figure 1 As shown, the sensor-based electronic cigarette control method of the embodiment of the present application includes the following steps:

[0031] S100: Detecting the motion state of the electronic cigarette through a sensor, and determining whether the electronic cigarette is picked up according to the detected motion state.

[0032] Specifically, the sensor may be a gravity sensor, and of course, may also be other sensors, such as an acceleration sensor or a gyroscope, etc. In the embodiment of the present application, a gravity sensor is used, and the gravity sensor is installed in the electronic cigarette to detect the motion state of the electronic cigarette, specifically, to detect the motion state of the electronic cigarette such as acceleration and rotation angle.

[0033] After the motion state of the electronic cigarette is detected by the gravity sensor, it is then determined whether the electronic cigarette is picked up based on the detected motion state. In one embodiment, the method for determining whether the electronic cigarette is picked up includes:

[0034] If the acceleration of the electronic cigarette in the X direction, Y direction and Z direction all reach the first acceleration threshold V1, and the rotation angle of the electronic cigarette in any direction of the X direction, Y direction and Z direction reaches the first angle threshold W1, it is determined that the electronic cigarette is picked up.

[0035] like Figure 2 As shown, a coordinate system is constructed with the lower left corner of the screen 11 of the electronic cigarette 10 as the origin, the direction parallel to the screen to the right is the X direction, the direction parallel to the screen upward is the Y direction, the direction perpendicular to the screen forward is the Z direction, the direction pointed by the arrow is positive, and the opposite direction pointed by the arrow is negative. When the electronic cigarette is picked up, acceleration will be generated. The acceleration is decomposed into three directions, X, Y and Z, that is, the acceleration in each direction. The acceleration in each direction is detected by the gravity sensor, and it is judged whether the acceleration in each direction meets the corresponding speed threshold to determine whether the electronic cigarette is picked up. At the same time, after the electronic cigarette is picked up from a static state, the electronic cigarette rotates a certain angle, and the state after picking up has an angle difference with the static state. This angle difference is combined with the acceleration in each direction to comprehensively judge whether the electronic cigarette is picked up. The detection of the angle difference can be calculated based on the acceleration detected by the gravity sensor, or it can be detected by setting a gyroscope. The appropriate method can be selected according to the needs.

[0036] In this embodiment, if the acceleration of the electronic cigarette in the X direction, Y direction and Z direction all reaches the first acceleration threshold value V1, and the rotation angle of the electronic cigarette in any direction of the X direction, Y direction and Z direction reaches the first angle threshold value W1, then it is determined that the electronic cigarette is picked up. In one embodiment, the value range of the first acceleration threshold value V1 is: 1.5m / s 2 ≤V1≤6.5m / s 2 , the value range of the first angle threshold W1 is: 20°≤W1≤90°. The value ranges of the first acceleration threshold V1 and the first angle threshold W1 here refer to absolute values. When the electronic cigarette moves forward, the acceleration and angle values ​​are positive, and when the electronic cigarette moves backward, the acceleration and angle values ​​are negative.

[0037] like Figure 1 As shown, the sensor-based electronic cigarette control method of the embodiment of the present application also includes the following steps:

[0038] S200: If the electronic cigarette is picked up, control the electronic cigarette to turn on and / or light up the screen.

[0039] Specifically, in the embodiment of the present application, when the electronic cigarette is picked up, the electronic cigarette is controlled to turn on, and the function of automatically starting when the electronic cigarette is picked up is realized. When the electronic cigarette is picked up, the electronic cigarette automatically turns on, which can save the user the step of manually turning on the electronic cigarette, and is convenient for the user to use. Specifically, when the existing electronic cigarette is used, the mechanical switch of the electronic cigarette is generally turned on first, so that the circuit in the electronic cigarette can be connected, and then when the user starts to inhale, the pneumatic switch in the electronic cigarette can sense the suction airflow, and the pneumatic switch controls the atomization core in the electronic cigarette to officially power on and work, and the electronic cigarette starts to work, heating the smoke oil to atomize the smoke oil to form smoke. In the embodiment of the present application, the pick-up start function is equivalent to eliminating the step of turning on the mechanical switch in the existing electronic cigarette. Of course, the electronic cigarette in the embodiment of the present application can still retain the mechanical switch function, and the user can choose whether to turn on the pick-up start function or turn off the pick-up start function and turn on the electronic cigarette through the mechanical switch. A selection button for picking up and automatically starting can be set on the electronic cigarette screen, and the button can be clicked to choose to turn on the pick-up automatic start function or turn off the pick-up automatic start function.

[0040] In addition, in the embodiment of the present application, when the electronic cigarette is picked up, the screen can also be controlled to light up, realizing the pick up and light up function. Specifically, when the electronic cigarette is stationary, the screen is turned off, thereby saving power. When it is detected that the electronic cigarette is picked up, the screen is controlled to light up automatically, thereby facilitating user observation and use. The pick up and light up function in the embodiment of the present application saves the user from the step of clicking the screen to wake up the screen, making it more convenient to use, more intelligent, and providing a better user experience.

[0041] In step S200, lighting up the screen includes lighting up the screen from the off state, or the screen becoming brighter from a dark state. Specifically, when the electronic cigarette is at rest, the screen state may be off, or it may not be off but displayed at a darker brightness, because there is no need to watch the screen or use the electronic cigarette when it is at rest, so the screen does not need to be displayed very brightly. In the embodiment of the present application, when the electronic cigarette is picked up from the rest state, if the screen of the electronic cigarette is off, the screen of the electronic cigarette is controlled to light up, and if the screen of the electronic cigarette is displayed at a darker brightness, the screen brightness is controlled to be displayed brighter.

[0042] like Figure 1 As shown, the sensor-based electronic cigarette control method of the embodiment of the present application also includes the following steps:

[0043] S300, when the screen of the electronic cigarette is on, detecting the motion state of the electronic cigarette through a sensor, and judging whether the electronic cigarette is rotating according to the detected motion state;

[0044] S400: If the electronic cigarette rotates in the screen-on state, the interface or picture displayed on the screen of the electronic cigarette is controlled to switch according to the direction of rotation.

[0045] Specifically, in step S300, the motion state of the electronic cigarette is detected by a gravity sensor, or by an acceleration sensor or a gyroscope, etc. In the embodiment of the present application, a gravity sensor is used for detection.

[0046] And the detection of the rotation of the electronic cigarette in step S300 is performed when the screen of the electronic cigarette is on, because the detection of rotation in step S300 is to control the switching of the electronic cigarette interface, or the switching of the pictures displayed by the electronic cigarette. If the screen of the electronic cigarette is off, the screen does not display any interface or picture, so there is no need to switch the interface or picture. Therefore, when the screen of the electronic cigarette is off, there is no need to detect the rotation to switch the interface or picture, which can save power and avoid meaningless detection and switching of interfaces and pictures by the electronic cigarette, which wastes power.

[0047] In step S400, if the electronic cigarette rotates in the screen-on state, the interface or picture displayed on the screen of the electronic cigarette is controlled to switch according to the direction of rotation. Specifically, since the electronic cigarette is sometimes a displayed interface, such as the remaining power interface, the setting interface, etc., sometimes the user may use the electronic cigarette to play pictures and watch them, and needs to switch pictures. Whether it is a displayed interface or a picture, it can be switched by rotating the electronic cigarette. If the interface displayed by the electronic cigarette, when the user needs to switch the interface, it can be achieved by rotating the electronic cigarette, and the electronic cigarette switches one interface once. If the electronic cigarette is playing a picture, when the user needs to switch the picture, it can be achieved by rotating the electronic cigarette, and the electronic cigarette switches one picture once. Of course, it is understandable that other files can also be switched, such as switching folders, etc., which are not listed here one by one.

[0048] In one embodiment, the method for determining whether the electronic cigarette rotates in step S300 and step S400 includes:

[0049] If the acceleration of the electronic cigarette in the X direction reaches the second acceleration threshold V2, and the rotation angle of the electronic cigarette in the X direction reaches the second angle threshold W2, or if the acceleration of the electronic cigarette in the Y direction reaches the second acceleration threshold V2, and the rotation angle of the electronic cigarette in the Y direction reaches the second angle threshold W2, it is determined that the electronic cigarette is rotating.

[0050] Specifically, as mentioned above, the gravity sensor can detect acceleration in the X, Y and Z directions. If it is detected that the acceleration of the electronic cigarette in the X direction reaches the second acceleration threshold V2, and the rotation angle of the electronic cigarette in the X direction reaches the second angle threshold W2, or if the acceleration of the electronic cigarette in the Y direction reaches the second acceleration threshold V2, and the rotation angle of the electronic cigarette in the Y direction reaches the second angle threshold W2, then it is judged that the electronic cigarette has rotated. The rotation of the electronic cigarette when switching screens is generally left and right, or up and down. If it rotates left and right, it can be judged by the acceleration and rotation angle in the X direction, and if it rotates up and down, it can be judged by the acceleration and rotation angle in the Y direction. Therefore, if the acceleration and rotation angle in the X direction reach the threshold, or the acceleration and rotation angle in the Y direction reach the threshold, it can be judged that the electronic cigarette has rotated.

[0051] In one embodiment, the value range of the second acceleration threshold V2 is: 3m / s 2 ≤V2≤8m / s 2 , the value range of the second angle threshold W2 is: 5°≤W2≤45°.

[0052] Step S400 specifically includes:

[0053] The electronic cigarette stores multiple interfaces and / or multiple pictures, and each interface and each picture is marked with a display order. When the electronic cigarette rotates forward in the screen-on state, each interface or each picture switches in the forward order. When the electronic cigarette rotates reversely in the screen-on state, each interface or each picture switches in the reverse order.

[0054] Specifically, the electronic cigarette has multiple interfaces and / or multiple pictures, so that the interfaces or pictures can be switched. When storing, multiple interfaces can be stored in the interface library, and multiple pictures can be stored in the picture library. Since the electronic cigarette needs to determine what the next interface or the next picture is and display it when switching, the display order of each interface and each picture can be marked and arranged in order, so that it can be switched in sequence when switching. If the electronic cigarette is rotated forward, it will switch forward in sequence according to the arranged order, and if the electronic cigarette is rotated reversely, it will switch reversely in sequence according to the arranged order. The specific meanings of the electronic cigarette rotating forward and the electronic cigarette rotating reverse are: if the electronic cigarette is defined as rotating from left to right as forward, then the electronic cigarette is rotated from right to left as reverse; if the electronic cigarette is defined as rotating from top to bottom as forward, then the electronic cigarette is rotated from bottom to top as reverse.

[0055] In one embodiment, an electronic cigarette is disclosed. The electronic cigarette includes a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, a sensor-based electronic cigarette control method is implemented. The sensor-based electronic cigarette control method includes the following steps:

[0056] S100, detecting the motion state of the electronic cigarette by a sensor, and determining whether the electronic cigarette is picked up according to the detected motion state;

[0057] S200: If the electronic cigarette is picked up, control the electronic cigarette to turn on and / or light up the screen;

[0058] S300, when the screen of the electronic cigarette is on, detecting the motion state of the electronic cigarette through a sensor, and judging whether the electronic cigarette is rotating according to the detected motion state;

[0059] S400: If the electronic cigarette rotates in the screen-on state, the interface or picture displayed on the screen of the electronic cigarette is controlled to switch according to the direction of rotation.

[0060] Of course, the electronic cigarette provided in the embodiment of the present application, whose processor executes the computer program is not limited to implementing the method operations described above, but can also execute the relevant operations in the sensor-based electronic cigarette control method provided in any embodiment of the present application.

[0061] In one embodiment, a computer-readable storage medium is disclosed, on which a computer program is stored. When the computer program is executed by a processor, a sensor-based electronic cigarette control method is implemented. The sensor-based electronic cigarette control method includes the following steps:

[0062] S100, detecting the motion state of the electronic cigarette by a sensor, and determining whether the electronic cigarette is picked up according to the detected motion state;

[0063] S200: If the electronic cigarette is picked up, control the electronic cigarette to turn on and / or light up the screen;

[0064] S300, when the screen of the electronic cigarette is on, detecting the motion state of the electronic cigarette through a sensor, and judging whether the electronic cigarette is rotating according to the detected motion state;

[0065] S400: If the electronic cigarette rotates in the screen-on state, the interface or picture displayed on the screen of the electronic cigarette is controlled to switch according to the direction of rotation.

[0066] Of course, a computer-readable storage medium provided in an embodiment of the present application, whose computer program is executed by a processor is not limited to implementing the method operations described above, but can also execute related operations in the sensor-based electronic cigarette control method provided in any embodiment of the present application.

[0067] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0068] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims

1. A sensor-based electronic cigarette control method, characterized in that: The steps include: The sensor detects the motion state of the electronic cigarette, and determines whether the electronic cigarette is picked up according to the detected motion state; If the electronic cigarette is picked up, the electronic cigarette is controlled to turn on and / or light up the screen; When the screen of the electronic cigarette is on, the sensor is used to detect the motion state of the electronic cigarette, and whether the electronic cigarette is rotating is determined according to the detected motion state; If the electronic cigarette rotates when the screen is on, the interface or picture displayed on the screen of the electronic cigarette is controlled to switch according to the direction of rotation.

2. The sensor-based electronic cigarette control method according to claim 1, characterized in that: The sensor is a gravity sensor.

3. The sensor-based electronic cigarette control method according to claim 1, characterized in that: Methods for determining whether an e-cigarette has been picked up include: If the acceleration of the electronic cigarette in the X direction, Y direction and Z direction all reach the first acceleration threshold V1, and the rotation angle of the electronic cigarette in any direction of the X direction, Y direction and Z direction reaches the first angle threshold W1, it is determined that the electronic cigarette is picked up.

4. The sensor-based electronic cigarette control method according to claim 4, characterized in that: The value range of the first acceleration threshold V1 is: 1.5m / s 2 ≤V1≤6.5m / s 2 , the value range of the first angle threshold W1 is: 20°≤W1≤90°.

5. The sensor-based electronic cigarette control method according to claim 1, characterized in that: If the electronic cigarette is picked up, in the step of controlling the electronic cigarette to turn on and / or lighting up the screen, lighting up the screen includes lighting up the screen from an off state, or the screen becoming brighter from a dark state.

6. The sensor-based electronic cigarette control method according to claim 1, characterized in that: Methods for judging whether the electronic cigarette is rotating include: If the acceleration of the electronic cigarette in the X direction reaches the second acceleration threshold V2, and the rotation angle of the electronic cigarette in the X direction reaches the second angle threshold W2, or if the acceleration of the electronic cigarette in the Y direction reaches the second acceleration threshold V2, and the rotation angle of the electronic cigarette in the Y direction reaches the second angle threshold W2, it is determined that the electronic cigarette is rotating.

7. The sensor-based electronic cigarette control method according to claim 6, characterized in that: The value range of the second acceleration threshold V2 is: 3m / s 2 ≤V2≤8m / s 2 , the value range of the second angle threshold W2 is: 5°≤W2≤45°.

8. The sensor-based electronic cigarette control method according to claim 1, characterized in that: If the electronic cigarette rotates in the screen-on state, the step of controlling the interface or picture displayed on the screen of the electronic cigarette to switch according to the direction of rotation includes: The electronic cigarette stores multiple interfaces and / or multiple pictures, and each interface and each picture is marked with a display order. When the electronic cigarette rotates forward in the screen-on state, each interface or each picture switches in the forward order. When the electronic cigarette rotates reversely in the screen-on state, each interface or each picture switches in the reverse order.

9. An electronic cigarette, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the sensor-based electronic cigarette control method according to any one of claims 1 to 8 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, a sensor-based electronic cigarette control method as described in any one of claims 1 to 8 is implemented.