Patent Publication Number: US-2020288781-A1

Title: Electronic cigarette, electronic cigarette display method, and indicator light group

Description:
This application claims priority to a China application No. 201910185149.4 filed Mar. 12, 2019, a China application No. 201910184663.6 filed Mar. 12, 2019, and a China application No. 201910183851.7 filed Mar. 12, 2019. 
     TECHNICAL FIELD 
     The present invention relates to the field of electronic cigarette technology, and in particular, to an electronic cigarette, an electronic cigarette display method, an indicator light group, and a computer readable storage medium. 
     BACKGROUND 
     Electronic cigarette, also known as virtual cigarette, is an electronic product that imitates cigarettes and has the same appearance, smoke, taste and feel as cigarettes. The electronic cigarette on the market generally includes an indicator light, which is used to display electric quantity, a charging state or a working state of the electronic cigarette battery. 
     Currently, most of the electronic cigarette indicator lights are triggered by manual control, which results in inconvenient display and low intelligence. 
     SUMMARY 
     In order to solve the problems of the related art, an embodiment of the present invention provides an electronic cigarette, an electronic cigarette display method, an indicator light group, and a computer readable storage medium. The technical solution is as follows: 
     In a first aspect, an electronic cigarette is provided. The electronic cigarette includes: an electronic cigarette body; an indicator light group arranged in the electronic cigarette body; an angle detection device arranged in the electronic cigarette body, for detecting angle information of the electronic cigarette body; a control device, arranged in the electronic cigarette body, and connected to the indicator light group and the angle detection device, for controlling the indicator light group to display electric quantity according to the angle information of the electronic cigarette body. 
     In a second aspect, an electronic cigarette is provided. The electronic cigarette includes: an electronic cigarette body; an indicator light group arranged in the electronic cigarette body; a shake detection device which is arranged in the electronic cigarette body and is for detecting moving state of the electronic cigarette body, the control device which is connected to the shake detection device and is for controlling the indicator light group to display in a preset mode when the electronic cigarette body is in a shake state. 
     In a third aspect, an electronic cigarette display method is provided. The method includes: obtaining angle information of an electronic cigarette body; if the angle information of the electronic cigarette body meets a preset condition, obtaining current electric quantity parameter of the electronic cigarette, wherein, the electric quantity parameter indicates current electric quantity condition of the electronic cigarette; controlling an indicator light group to display in a preset mode according to the current electric quantity parameter of the electronic cigarette. 
     In a fourth aspect, an electronic cigarette display method is provided. The method includes: monitoring moving state parameter of an electronic cigarette body; if the moving state parameter meeting a shake condition, an indicator light group is controlled to display in a preset mode, wherein, the shake condition indicates that the electronic cigarette body is in a shake state. 
     In a fifth aspect, an indicator light group is provided. The indicator light group includes: a memory and a processor; wherein the memory stores therein at least one program instruction; the processor, by executing the at least one program instruction, implements the electronic cigarette management method of the second and third aspects of the present invention. 
     The beneficial effects brought by the technical solutions provided by the embodiments of the present invention are: 
     The electronic cigarette and method are provided can control the indicator light group to display electric quantity according to obtained angle information of the electronic cigarette body. The electric quantity display of the electronic cigarette provided by the embodiment does not be triggered by a manual switch, but only changes the angle of the electronic cigarette body to display the electric quantity. Therefore, the electronic cigarette provided in the embodiment improves the intelligence of electric quantity display and convenient display. In addition, user can easily check remaining electric quantity of the electronic cigarette at any time, which 
    
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
       In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings may also be obtained in light of these drawings without any creative efforts. 
         FIG. 1  is a schematic structural diagram of an electronic cigarette according to an embodiment of the present invention; 
         FIG. 2  is an exploded structural diagram of an electronic cigarette according to an embodiment of the present invention; 
         FIG. 3  is a structural diagram of a control device according to an embodiment of the present invention; 
         FIG. 4A  is a schematic structural diagram of an electronic cigarette according to an embodiment of the present invention; 
         FIG. 4B  is a structural diagram of a control device according to an embodiment of the present invention; 
         FIG. 5  is a flowchart of a display method of an electronic cigarette according to an embodiment of the present invention; 
         FIG. 6  is a flowchart which shows that the indicator lights are controlled to display in a preset mode based on current electric quantity parameters of the electronic cigarette according to an embodiment of the present invention; 
         FIG. 7  is a flowchart which shows that the indicator lights are controlled to display based on serial numbers and display colors of indicator lights to be displayed according to an embodiment of the present invention; 
         FIG. 8  is a flowchart which shows that the indicator lights are controlled to display based on serial numbers and display orders of indicator lights to be displayed according to an embodiment of the present invention; 
         FIG. 9  is a flowchart which shows that the indicator lights are controlled to display based on serial numbers and display frequencies of indicator lights to be displayed according to an embodiment of the present invention; 
         FIG. 10  is a flowchart which shows that the indicator lights are controlled to display based on serial numbers and display brightnesses of indicator lights to be displayed according to an embodiment of the present invention; 
         FIG. 11  is a flowchart which shows that the total number of indicator lights to be displayed is obtained based on current electric quantity parameters according to an embodiment of the present invention; 
         FIG. 12  is a flowchart which shows that the total number of indicator lights to be displayed is obtained based on current electric quantity parameters according to an embodiment of the present invention; 
         FIG. 13  is a flowchart which shows that the total number of indicator lights to be displayed is obtained based on ratio between current electric quantity value and rated electric quantity according to an embodiment of the present invention; 
         FIG. 14  is a flowchart of a display method of an electronic cigarette according to an embodiment of the present invention; 
         FIG. 15  is a flowchart which shows that if moving parameter meets shake condition, the indicator lights are controlled to display in a preset mode according to an embodiment of the present invention; 
         FIG. 16  is a flowchart a flowchart which shows that determining whether the electronic cigarette body moves back and forth along the first coordinate axis in a preset time period according to the moving displacement and moving time interval of the electronic cigarette body along the first coordinate axis according to an embodiment of the present invention; 
         FIG. 17  is a flowchart a flowchart which shows that if the moving displacement along the first direction of the first coordinate axis, the moving displacement along the second direction of the first coordinate axis, and the first moving time interval meet preset condition, it is determined that the electronic cigarette body moves back and forth according to an embodiment of the present invention; 
         FIG. 18  is a flowchart which shows that if moving parameter meets shake condition, the indicator lights are controlled to display in a preset mode according to an embodiment of the present invention. 
     
    
    
     DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS 
     In order to make the objects, the technical solution and the advantages of the present invention much clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings. 
     Referring to  FIG. 1 , the electronic cigarette  10  includes an electronic cigarette body  100 , an indicator light group  200 , an angle detection device  300 , and a control device  400 . Wherein, the indicator light group  200 , the angle detection device  300 , and the control device  400  are all arranged in the electronic cigarette body  100 . The angle detection device  300  is for detecting angle information of the electronic cigarette body  100 . The angle information of the electronic cigarette body  100  refers to rotation angle or deflection angle of the electronic cigarette body  100  relative to a preset direction. The control device  400  is connected to the indicator light group  200  and the angle detection device  300 . The control device  400  is for controlling the indicator light group  200  to display electric quantity according to the angle information of the electronic cigarette body  100 . 
     Referring to  FIG. 2 , the electronic cigarette  10  may include a cigarette holder  110 , an atomizer  120 , the electronic cigarette body  100 , and a support base  140  which are connected in turn. 
     In one embodiment, the electronic cigarette body  100  includes a housing  130 , a cigarette rod body  101 , an insulating bracket  170 , a circuit board  160  and a battery  150 . The cigarette rod body  101  and the insulating bracket  170  are arranged in the housing  130 . The insulating bracket  170  can be made of insulating material. The insulating bracket  170  can have a frame structure. The insulating bracket  170  is set inside the cigarette rod body  101 . The insulating bracket  170  is for supporting the cigarette rod body  101 . In addition, the insulating bracket  170  is also for providing an insulating function between the housing  130  and the cigarette rod body  101 . The indicator light group  200  is arranged in the cigarette rod body  101 , passes through the insulating bracket  170  and the housing  130 , and exposes outside the housing  130 . The circuit board  160 , the battery  150 , the angle detection device  300  and the control device  400  are all arranged in the cigarette rod body  101 . The battery  150  is connected to the circuit board  160 , the indicator light group  200  and the control device  400 , and is for providing electric energy to the circuit board  160 , the indicator light group  200 , and the control device  400 . 
     The indicator light group  200  can be at least one of the inorganic light emitting diode (LED), organic light emitting diode (OLED), liquid crystal display (LCD), cold light sheet EL(electric luminescent). It can be understood that the total number of the indicator lights in the indicator light group  200  may be one or more. When arranging many indicator lights  220 , arrangement shapes of many indicator lights  200  include, but are not limited to, a circle shape, a bar shape or other irregular shapes. 
     The angle detection device  300  can be any device that can detect angles. The angle detection device  300  may include, but is not limited to, an angle meter, a gyroscope, and so on. The angle detection device  300  can be used to measure the rotation angle of the electronic cigarette body  100 , and can also be used to measure the deflection angle of the electronic cigarette body  100 . The structure and model of the angle detection device  300  are not limited in this application, and can be selected according to actual demands. The angle detection device  300  can be arranged in the housing  130 , and be connected to the circuit board  160 . 
     The control device  400  can be a control chip, a microprocessor or a PLC (programmable logic controller). The control device  400  can be controlled by logical operation or by software program. The control device  400  can be connected to the circuit board  160 . The control device  400  is also connected to the indicator light group  200  and the angle detection device  300 . The angle detection device  300  detects and sends angle information of the electronic cigarette body  100  to the control device  400 . The control device  400  is for obtaining angle information of the electronic cigarette  10 , and controlling the indicator light group  200  to display according to a preset control algorithm, and display of the indicator light group  200  can form a corresponding relationship with the current electric quantity of the battery  150 . That is to say, the control device  400  controls the indicator light group  200  to display to indicate remaining electric quantity of the current battery  150 . The application does not limit structure and control mode of the control device  400 , as long as its function can be realized. 
     Control condition of the control device  400  for the indicator light group  200  can be set according to actual demands. In a specific embodiment, if the angle detection device  300  detects when the electronic cigarette body  100  rotates or deflects an angle greater the preset angle, the control device  400  controls the indicator light group  200  to display current electric quantity of the battery  150 . The indicator light group  200  can display different electric quantities according to different colors, different brightnesses, etc. of the indicator light group  200 . When the total number of the indicator lights in the indicator light group  200  is more than one, different electric quantity can also be displayed according to the display total number, display positions, etc. of the indicator lights in the indicator light group  200 . 
     In this embodiment, the electronic cigarette  10  includes the electronic cigarette body  100 , the indicator light group  200 , the angle detection device  300  and the control device  400 . The angle detection device  300  can detect the angle information of the electronic cigarette body  100 , so that the control device  400  can control the indicator light group  200  to display electric quantity according to the angle information of the electronic cigarette body  100 . The electric quantity display of the electronic cigarette  10  provided by the embodiment does not be triggered by a manual switch, but only changes the angle of the electronic cigarette body  100  to display the electric quantity. Therefore, the electronic cigarette  10  provided in the embodiment improves the intelligence of electric quantity display and convenient display. In addition, the electric quantity can be displayed by changing the angle of the electronic cigarette body  100 , so that user can easily check remaining electric quantity of the electronic cigarette  10  at any time, which provides a best user experience. 
     In one embodiment, the total number of the indicator lights in the indicator light group  200  is more than one. More than one indicator light  220  is arranged along an extension direction of the electronic cigarette body  100  in a strip shape. The indicator light group  200  can be arranged on one side or two sides of the electronic cigarette body  100 . More than one indicator light  220  can be connected in parallel in circuit of the electronic cigarette  10 . By setting more than one indicator light  220 , it can provide various display effects. At the same time, more than one indicator light  220  is arranged on one side or two sides of the electronic cigarette body  10  to facilitate uses to check various display effects. 
     In one embodiment, the housing  13  is correspondingly provided with an installation groove  180  along the extension direction of the electronic cigarette body  100 . The position and size of the installation groove  180  can be consistent with light belt formed by more than one indicator light  220 . More than one indicator light  220  passes through the insulating bracket  170  and is arranged in the installation groove  180 . The indicator light group  200  is connected to the circuit board  160  and is arranged in the installation groove  180 . In the embodiment, more than one indicator light  220  is arranged in the installation groove  180 , which effectively saves installation space and reduces volume of the electronic cigarette  10 . 
     In one embodiment, the indicator light group  200  is light-emitting diode (hereinafter referred to as an LED light). The LED light can be a chip LED light or a pin LED light. The LED light is a multicolor light. In one specific embodiment, the LED light is a three-color LED light. The LED light can display red, yellow and white colors. The multicolor LED light can realize different display effects, so that display effects of the electronic cigarette  10  and user experience can be improved. 
     In one embodiment, the electronic cigarette  10  also includes a light transmitting lampshade  210 . The light transmitting lampshade  210  is arranged outside the indicator light group  200 , and the light transmitting lampshade is clamped in the installation groove  180 . Material and shape of the light transmitting lampshade  210  are not limited, and can be selected according to actual demands. The light transmitting lampshade  210  can protect the indicator light group  200 , prevent the indicator light group  200  from being damaged, and improve structural stability of the electronic cigarette  10 . 
     In one embodiment, the light transmitting lampshade  210  may be a light guide sheet. Material of the light guide sheet is not limited. The light guide sheet can play the role of astigmatism, so that light emitted by the indicator light group  200  is evenly distributed, and display effect of the indicator light group  200  can be further improved. 
     In one embodiment, the circuit board  160  is a flexible printed circuit (FPC) board. The FPC board is folded inside the housing  130  to save space and reduce volume of the electronic cigarette  10 . 
     In one embodiment, the battery  150  is a rechargeable battery. The battery  150  is provided with a charging interface for charging. In one embodiment, the battery  150  is a rechargeable lithium-ion battery, which makes the electronic cigarette  10  more convenient to be used without replacing battery. 
     In one embodiment, the angle detection device  300  includes a gyroscope sensor. The gyroscope sensor can be arranged on the circuit board  160 . The gyroscope sensor is connected to the control device  400 . The gyroscope sensor is for detecting rotation angle of the electronic cigarette body  100  around X-axis, Y-axis and/or Z-axis. The angle information detected by the gyroscope sensor is sent to the control device  400 . The control device  400  makes a judgment. When the angle information meets a preset condition, the indicator light group  200  is controlled to display electric quantity. For example, for the gyroscope sensor, it takes a length extension direction of the electronic cigarette body  100  as Z-axis, a perpendicular direction to the circuit board  160  plane as X-axis, and a perpendicular direction to the X-axis and the Z-axis as Y-axis. When the gyroscope sensor detects that the rotation angle of the electronic cigarette body  100  around the Z-axis is greater than 45 degrees and less than or equal to 90 degrees, the control device  400  controls the indicator light group  200  to display the current electric quantity. Therefore, when user deflects the electronic cigarette  10  to make the indicator light group on the side of the electronic cigarette body  100  face up, the electric quantity can be displayed. 
     In the embodiment, the gyroscope sensor is used to detect the angle information of the electronic cigarette body  100 , so as to control the electronic cigarette  10  to display electric quantity. Not only structure of the electronic cigarette is simple and the accuracy is high, but also user experience is improved. 
     Referring to  FIG. 3 , in one embodiment, the control device  400  includes an angle receiving component  410 , an electric quantity obtaining component  420 , and a processing component  430 . The angle receiving component  410  is connected to the angle detection device  300 . The electric quantity obtaining component  420  is connected to the battery  150 . The processing component  430  is connected to the angle receiving component  410 , the electric quantity obtaining component  420  and the indicator light group  200 . The angle receiving component  410  is for receiving angle information of the electronic cigarette body  100 . The electric quantity obtaining component  420  is for detecting current electric quantity parameter of the electronic cigarette  10 . Wherein, the current electric quantity parameter indicates the current electric quantity condition of the electronic cigarette. The electric quantity parameter includes current electric quantity value or current voltage value of the electronic cigarette. The processing component  430  is for controlling the indicator light group  200  to display according to the angle information and the current electric quantity parameter of the electronic cigarette body  100 . The angle receiving component  410 , the electric quantity obtaining component  420  and the processing component  430  can be realized by circuit elements and line layout. The angle receiving component  410 , the electric quantity obtaining component  420  and the processing component  430  can also be integrated into a control chip or a microcontroller. 
     The angle receiving component  410  receives and sends the angle information of the electronic cigarette body  100  detected by the angle detection device  300  to the processing component  430 . The electric quantity obtaining component  420  obtains and sends current voltage or current electric quantity of the battery  150  to the processing component  430 . The processing component  430  determines whether to control display of the indicator light group  200  according to the angle information. If it is determined to control display of the indicator light group  200 , the electric quantity parameter is obtained, and display of the indicator light group  200  is controlled according to a preset algorithm, so that the display of the indicator light group  200  can form a corresponding relationship with the current electric quantity value or the current voltage value. In other words, the indicator light group  200  can display current electric quantity condition. 
     In the embodiment, the control device  400  can control the indicator light group  200  to display the current electric quantity of the electronic cigarette, which effectively and intuitively displaying the current remaining electric quantity, and improving display effects. 
     The electronic cigarette further includes a shake detection device  500  which is arranged in the electronic cigarette body  100  compared to  FIG. 1 . Or, referring to  FIG. 4A , the electronic cigarette  10  includes an electronic cigarette body  100 , an indicator light group  200 , a shake detection device  500 , and a control device  400 . The shake detection device  500  is for detecting moving state of the electronic cigarette body  100 . The moving state refers to the moving speed and moving direction of the electronic cigarette body  100  relative to the preset coordinate axis. The moving state can be characterized by the moving state parameters, which include but are not limited to the moving speed, moving time, moving direction, moving distance or moving displacement of the electronic cigarette body  100 . The control device  400  is connected to the shake detection device  500 . The control device  400  is for controlling the indicator light group  200  to display in a preset mode when the electronic cigarette body  100  is in a shake state. 
     The shake detection device  500  is any device that can detect the moving state of the electronic cigarette body  100 . The specific structure and model of the shake detection device  500  are not limited in this application, and can be selected according to actual demands. The shake detection device  500  can be arranged in the housing  130 , and be connected to the circuit board  160 . According to the moving state, it can be determined whether the electronic cigarette body  100  is in a shake state. There are various ways to determine whether the electronic cigarette body  100  is in a shake state, and the application does not limited. 
     The control device  400  is connected to the shake detection device  500 . The shake detection device  500  detects the motion state of the electronic cigarette body  100  and transmits it to the control device  400 . The control device  400  obtains the moving state of the electronic cigarette  100 , and determines whether the electronic cigarette body  100  is in the shake state according to the preset algorithm. When the electronic cigarette body  100  is in a shake state, the control device  400  controls the indicator lights  220  to display in a preset mode. The application does not limit the structure, control mode, control algorithm and preset display method of the control device  400 , as long as its functions can be realized. 
     The control condition of the control device  400  for the indicator lights  220  can be set according to actual demands. In a specific embodiment, when the shake detection device  500  detects that the electronic cigarette body  100  shakes in a certain direction more than twice in a unit time, the control device  400  controls the indicator lights  200  to display. The display mode can be: blue light is displayed and flickers at the frequency of 2 times per second. 
     In this embodiment, the shake detection device  500  can detect the moving state of the electronic cigarette body  100 , so that the control device  400  can control the indicator lights  220  to display in a preset mode when the electronic cigarette body  100  is in a shake state. The electronic cigarette  10  provided in the embodiment can trigger the indicator lights  220  to display only by shaking the electronic cigarette body  100  instead of manual switch operation. Therefore, the electronic cigarette  10  provided in the embodiment has high intelligence and convenient display. In addition, the display of the indicator lights  220  can be realized by shaking the electronic cigarette body  100 , so that the user can conveniently provide light for user in a dark environment, improving user experience. 
     In one embodiment, the shake detection device  500  includes at least one of a shake switch, an accelerometer sensor, and a gyroscope sensor. 
     Wherein, the shake switch refers to a device which can sense and send shake of the electronic cigarette body  100  to the control device  400 , and control circuit of the indicator lights  220  to work. The shake switch includes but is not limited to a shake device, a vibration sensor, etc. The specific structure, model and the like of the shake switch are not limited in this application, and can be selected according to actual demands. The shake switch can be arranged on the circuit board  160 , and is connected to related devices on the circuit board  160 . 
     The accelerometer sensor refers to a device capable of measuring linear acceleration of the electronic cigarette body  100 . The accelerometer sensor can also be arranged in the housing  130  and connected to the circuit board  160 . The linear acceleration detected by the accelerometer sensor is sent to the control device  400 , the control device  400  determines whether the electronic cigarette body  100  is in a shake state according to the linear acceleration, so as to control display of the indicator lights  220 . 
     The gyroscope sensor can be arranged on the circuit board  160 . The gyroscope sensor is connected to the control device  400 . The gyroscope sensor is for detecting the moving displacement of the electronic cigarette body  100  in various directions. The moving displacement detected by the gyroscope sensor is sent to the control device  400 . The control device  400  determines whether the electronic cigarette body  100  is in a shake state according to the moving displacement, so as to control the display of the indicator lights  220 . For example, the gyroscope sensor detects the moving displacement of the electronic cigarette body  100  along X-axis, Y-axis and Z-axis. When the electronic cigarette body  100  moves back and forth along any axis of X-axis, Y-axis or Z-axis, the control device  400  controls the indicator light  220  to flash, so that the electronic cigarette  10  can be used as a fluorescent rod for entertainment scenes such as concerts. 
     In the embodiment, at least one of the shake switch, the accelerometer sensor and the gyroscope sensor is used to detect the moving state of the electronic cigarette body  100 , so as to realize to control display of the indicator lights  200 . The structure is simple, and can be applied to different scenes, increase the practicability of the electronic cigarette  10 , and improve user experience. 
     Referring to  FIG. 4B , in one embodiment, the control device  400  includes a moving state receiving component  440  and the processing component  430 . The angle receiving component is connected to the shake detection device  300 , the processing component  430  is connected to the moving state receiving component  440  and the indicator lights  220 . The moving state receiving component  440  is for receiving the moving state of the electronic cigarette body  100 . The processing component  420  is for controlling the indicator lights  220  to display in a preset mode when the electronic cigarette body  100  is in a shake state. 
     The moving state receiving component  440  is connected to the shake detection device, and is for receiving and sending the moving state of the electronic cigarette body  100  detected by the shake detection device  300  to the processing component  430 . The processing component  430  determines whether the electronic cigarette body  100  is in a shake state according to a preset algorithm. When the electronic cigarette body  100  is determined in a shake state, the processing component  430  controls the indicator lights  220  to display in a preset display mode. In this embodiment, the control device  400  can trigger the indicator lights  220  to display in the preset mode when the electronic cigarette body  100  shakes, which is highly intelligent. 
     Please referring to  FIG. 5 , an embodiment of the present application provides a display method of an electronic cigarette. It should be noted that, the method can be implemented by the control device  400  of the above-mentioned embodiment. Correspondingly, each step can be implemented by components of the control device  400 . The method includes: 
     S 10 , obtaining angle information of an electronic cigarette body  100 . 
     The angle information of the electronic cigarette body  100  can be obtained by the angle detection device  300  of the above-mentioned embodiment, which will not be described here. The control device  400  receives the angle information of the electronic cigarette body  100 . 
     S 20 , if the angle information of the electronic cigarette body  100  meets a preset condition, obtaining current electric quantity parameter of the electronic cigarette  10 . Wherein, the electric quantity parameter indicates current electric quantity condition of the electronic cigarette. The electric quantity parameter includes at least one of current electric quantity value and current voltage value of the electronic cigarette  10 . The unit of the current electricity value is Coulomb (C) or ampere hour (A·h) or milliampere hour (MA·h), and the unit of the current voltage value is volt (V). The current electric quantity parameter of the electronic cigarette can be obtained by an electric quantity detection device or a voltage detection device and then sent to a processor of the electronic cigarette  10 . 
     The control device  400  determines whether the angle information of the electronic cigarette body  100  meets the preset condition according to a preset algorithm. The preset condition can be set according to actual demands. If the angle information of the electronic cigarette body  100  meets the preset condition, the control device  400  further obtains the current electric quantity parameter. 
     S 30 , controlling an indicator light group  200  to display in a preset mode according to the current electric quantity parameter of the electronic cigarette. 
     The control device  400  determines display mode of the indicator light group  200  according to the current electric quantity parameter of the electronic cigarette, so that the display of the indicator light group  200  can correspondingly indicate the current electric quantity of the battery  150 . 
     The preset mode can include at least one of display color, display brightness, display total number, display order, and display frequency of the indicator lights in the indicator light group  200 . That is to say, at least one of the display total number, display frequencies, display orders and display colors of the indicator lights  220  are preset. For example, the display frequencies and the display total number of the indicator lights  220  are preset to match the current electric quantity parameter. Assuming that the total number of the indicator lights  220  is 8, the matching relationship is: when the current electric quantity is the total electric quantity, all the indicator lights  220  are displayed at the frequency of 0.5 Hz; when the current electric quantity is 80% of the total electric quantity, six indicator lights  220  are displayed at the frequency of 1 Hz; when the current electric quantity is 60% of the total electric quantity, four indicator lights  220  are displayed at the frequency of 1.5 Hz; when the current electric quantity is 40% of the total electric quantity, two indicator lights  220  are displayed at a frequency of 2 Hz; when the current electric quantity is less than 20% of the total electric quantity, one indicator light  220  is displayed at a frequency of 2.5 hz. The display colors and the display total number of the indicator lights  220  can also be preset to match with the current electric quantity parameter. Then, according to the preset corresponding relationship and the current electric quantity parameter, the display colors of the indicator lights  220  are obtained and displayed. It can be understood that the current electric quantity parameter can match with a display mode of the indicator light  220 , and the current electric quantity parameter can match with a variety of display modes of the indicator light  220 , and the indicator lights  220  are displayed through a combination of multiple display modes, so as to reflect the current electric quantity situation of the electronic cigarette  100  according to various display of the indicator lights  220 . 
     The method provided in the embodiment, firstly the angle information of the electronic cigarette body  100  is obtained. When the angle information of the electronic cigarette meets a preset condition, the indicator light group  200  is controlled to display current electric quantity of the electronic cigarette  10 . The method provided in the embodiment can be triggered to display electric quantity only by changing the angle of the electronic cigarette body  100 , without operating by a manual switch. Therefore, the method provided in the embodiment improves the intelligence and convenient display for electric quantity. In addition, the method provided in the embodiment enables user to easily check remaining electric quantity of the electronic cigarette  10  at any time, which is convenient to use and provides a best user experience. 
     In one embodiment, step S 10  includes: 
     S 110 , obtaining a moving angle of the electronic cigarette body  100  relative to a first coordinate axis, to obtain a first angle. 
     The first angle can be a deflection angle or a rotation angle. The first coordinate axis can be an X-axis, a Y-axis or a Z-axis. Then, the first angle can be a rotation angle around the X-axis, Y-axis or Z-axis, and the first angle can also be a deflection angle in any plane relative to the X-axis, Y-axis or Z-axis. 
     In one embodiment, step S 20  includes: 
     S 210 , if the first angle is greater than a first preset angle and less than a second preset angle, obtaining the current electric quantity parameter of the electronic cigarette. 
     The first preset angle and the second preset angle can also be set according to actual demands. In a specific embodiment, the first angle is the rotation angle of the electronic cigarette body  100  around the Z-axis, wherein Z-axis is a length extension direction of the electronic cigarette body  100 . Suppose the first preset angle is 45 degrees and the second preset angle is 100 degrees. When the rotation angle of the electronic cigarette body  100  around the Z-axis is greater than 45 degrees and less than 100 degrees, the control device  400  controls the indicator light group  200  to display the current electric quantity, so as to achieve that the current electric quantity of the electronic cigarette  10  is displayed when rotating the electronic cigarette  10  to make the indicator light group  200  towards to user. The method provided in the embodiment further improves the intelligence of electric quantity display and improves user experience. 
     Referring to  FIG. 6 , in one embodiment, total number of indicator lights in the indicator light group  200  is more than one, step S 30  includes: 
     S 310 , obtaining total number of indicator lights in the indicator light group to be displayed according to the current electric quantity parameter. 
     The total number of indicator lights in indicator light group to be displayed refers to the total number of indicator lights in indicator light group  200  to be lighted that matches the current electric quantity parameter. The total number of indicator lights in indicator light group to be displayed indicates the current remaining electric quantity of the battery  150 . For example, suppose the total number of indicator lights in indicator light group  200  is six, when the battery  150  has 50% electric quantity left, the total number of indicator lights in indicator light group to be displayed is three. 
     S 320 , obtaining serial numbers of indicator lights to be displayed according to the total number of indicator lights to be displayed. 
     Each indicator light in the indicator light group  200  can be preset with a serial number to indicate a relative position of each indicator light  220  on the electronic cigarette  10 . For example, the indicator light group  200  is arranged on one side of the electronic cigarette  10  in a strip shape. From the atomizer  120  to the support base  140 , the indicator light  220  are numbered  1 ,  2 ,  3 ,  4 ,  5 ,  6  in turn. That is to say, the indicator light  220  closest to the atomizer  120  is numbered  1 , and the indicator light  220  closest to the support base  140  is numbered  6 . For another example, serial numbers of the plurality of the indicator lights  220  are respectively PIN numbers connected to the chip. The indicator light  220  connected to pin  1  of the chip is numbered  1 , and the indicator light  200  connected to pin  2  of the chip is numbered  2 , and so on. The control device  400  obtains serial numbers of indicator lights to be displayed according to the total number of indicator lights to be displayed and preset display rule. For example, the preset rule is that the total number of indicator lights to be displayed is three, serial numbers of indicator lights to be displayed are  4 ,  5 ,  6  according to the preset rule. 
     S 330 , controlling the indicator lights to be displayed in the preset mode according to the total number of the indicator lights to be displayed and the serial numbers of the indicator lights to be displayed. 
     The control device  400  controls the indicator lights  200  with serial numbers of  4 ,  5  and  6  to display in a preset mode. The preset mode includes display colors, display brightnesses, display frequencies, and so on. For example, according to the preset mode, the indicator lights  220  numbered  4 ,  5 ,  6  are displayed to show yellow color, a constant lighting state, and in a second level brightness, respectively. 
     In this embodiment, the total number of indicator lights to be displayed is obtained according to the current electric quantity parameter, and the serial numbers of indicator lights to be displayed are obtained according to the current electric quantity parameter. Therefore, the indicator lights are controlled to be displayed in a preset mode according to the total number of the indicator lights to be displayed and the serial numbers of the indicator lights to be displayed, so as to display the current electric quantity of the battery  150  intuitively and effectively. The method provided in the embodiment improves display effects, thereby improving user experience. 
     Referring to  FIG. 7 , in one embodiment, current electric quantity can be displayed further according to total number of the indicator lights to be displayed and display colors of the indicator lights to be displayed, step S 330  includes: 
     S 331 A, obtaining display colors of the indicator lights in the indicator light group  200  to be displayed. 
     The display colors of the indicator lights  220  are obtained respectively. The display color of each indicator light  220  may be the same or different. Each indicator light  220  can display a fixed color or a plurality of changeable colors. 
     S 332 A, controlling the indicator lights  220  in the indicator light group to display according to the serial numbers of the indicator lights to be displayed and the display colors of the indicator lights to be displayed. 
     Each indicator light can display an on or off state and display color according to the above steps. 
     In this embodiment, further obtaining the display colors of the indicator lights  220 , a plurality of the indicator lights  200  are controlled to display according to the serial numbers of the indicator lights to be displayed and the display colors, so as to display current electric quantity according to the display total number and the display colors. The method provided in the embodiment increases display colors of the indicator lights  200 , thus increasing display diversity of the current electric quantity and further improving electric quantity display effects. 
     Referring to  FIG. 8 , in one embodiment, the current electric quantity can be correspondingly displayed further according to the display total number and display orders of the indicator lights  220 , step S 330  includes: 
     S 331 B, obtaining display orders of the indicator lights in the indicator light group  200  to be displayed. 
     The display orders refer to the display orders of the indicator lights  220  to be displayed. For example, the display orders can be from large serial number to small serial number, from small serial number to large serial number, or from the middle serial number to both sides of serial number according to the indicator light serial numbers. 
     S 332 B, controlling indicator lights  220  in the indicator light group to display one by one according to the serial numbers of indicator lights to be displayed and the display orders of the indicator lights to be displayed. 
     In this embodiment, the display orders of the indicator lights  220  can be obtained, a plurality of the indicator lights  220  are controlled to display one by one according to the serial numbers of the indicator lights to be displayed and the display orders of the indicator lights to be displayed, so as to achieve dynamic display effects. The method provided by the embodiment can control the indicator lights  200  to display one by one according to the serial numbers and display orders, which can remind user of current electric quantity situation more intuitively, attract user&#39;s attention, interact with user, further improve electric quantity display effects of the electronic cigarette  10 , and improve user experience. 
     Referring to  FIG. 9 , in one embodiment, the current electric quantity situation is displayed further according to display total number and display frequencies of the indicator lights  220 , step S 330  includes: 
     S 331 C, obtaining display frequencies of the indicator lights  220 . 
     The display frequency refers to frequencies of each indicator light  220  to be displayed. For example, the display frequency of the indicator light  220  numbered  1  is 1 Hz, and the display frequency of the indicator light  220  numbered  5  is 3 Hz. 
     S 332 C, controlling the indicator lights  220  in the indicator light group  200  to display according to the serial numbers of indicator lights to be displayed and the display frequencies of indicator lights to be displayed. 
     In this embodiment, by obtaining the display frequencies of the indicator light  220 , controlling a plurality of indicator lights  220  to display according to the serial numbers and the display frequencies of the indicator lights to be displayed, different frequencies of the indicator lights  220  are displayed to achieve dynamic display effects. The method provided by the embodiment can control the display of the indicator lights  220  according to the serial numbers and display frequencies of the indicator lights, so that the user can see the current electricity situation more intuitively. Different frequencies correspond to different electric quantities, making user feel more intuitive about the remaining electric quantities, and further improving the electric quantity display effects of the electronic cigarette  10 , and improving user experience. 
     Referring to  FIG. 10 , in one embodiment, the current electric quantity situation is displayed further according to display total number and display brightnesses of the indicator lights  220 , step S 330  includes: 
     S 331 D, obtaining display brightnesses of the indicator lights  220 . 
     The display brightness refers to the brightness of each indicator light to be displayed in the indicator light group  200 . For example, the display brightness of indicator lights  220  numbered  1  and  2  is at a first level, the display brightness of the indicator lights  220  numbered  3  and  4  is at a second level, and the display brightness of the indicator lights  220  numbered  5  and  6  is at a third level. 
     S 332 D, controlling indicator lights  220  to display according to the serial numbers and the display brightnesses of the indicator lights to be displayed. 
     In this embodiment, by obtaining the display brightnesses of the indicator lights  220 , and controlling a plurality of indicator lights  220  to display according to the serial numbers and the display brightnesses of the indicator lights to be displayed, realizing display of different brightnesses of the indicator lights  220  corresponding to different electric quantity conditions. The method provided by the embodiment controls the display of the indicator lights  220  according to serial numbers and display brightnesses of the indicator lights, so that user can not only know the current electric quantity from the display total number, but also intuitively obtain the current electric quantity from the brightnesses of the indicator lights  220 , further improving electric quantity display effects of the electronic cigarette  10  and improving user experience. 
     It should be noted that, the above-mentioned embodiments which use preset display colors, display brightnesses, display frequencies, display orders and display total number can be combined with each other to achieve different display effects. There is no specific limitation on the preset mode in this application, which can be selected according to actual demands. 
     Referring to  FIG. 11 , step S 310  includes: 
     S 311 A, obtaining a corresponding relationship between the current electric quantity parameter and the display total number of indicator lights. 
     A memory of the electronic cigarette  10  can store the corresponding relationship in advance. The corresponding relationship can be between current voltage value and the display total number of indicator lights. For example, when the current electric quantity parameter is current voltage value, assuming the rated voltage of the battery  150  is 4.2V, the total number of the indicator lights  220  is 6. The corresponding relationship between the current electric quantity parameter and the display total number of indicator lights can includes: when the current voltage value is greater than 4.0V and less than or equal to 4.2V, the display total number of indicator lights to be displayed is 6; when the current voltage value is greater than 3.8V and less than or equal to 4.0V, the total number of indicator lights to be displayed is 5; when the current voltage value is greater than 3.6V and less than or equal to 3.8, the total number of indicator lights to be displayed  4 ; when the current voltage value is greater than 3.4V and less than or equal to 3.6V, the total number of indicator lights to be displayed is 3; when the current voltage value is greater than 3.2V and less than or equal to 3.4V, the total number of indicator lights to be displayed is 2; when the current voltage value is greater than 3V and less than or equal to 3.2V, the total number of indicator lights to be displayed is 1. When the current voltage value is less than or equal to 3V, the total number of indicator lights to be displayed is 0. It can be understood that, the above corresponding relationship is only an example and is not limited the method. The corresponding relationship between the current electric quantity parameters and the display total number of indicator lights can be set according to actual demands. 
     S 312 A, obtaining the total number of indicator lights to be displayed according to the corresponding relationship. 
     According to the current electric quantity parameter and the above-mentioned corresponding relationship, the total number of indicator lights to be displayed can be obtained. 
     In this embodiment, it is simple and fast to obtain the total number of indicator lights to be displayed according to the corresponding relationship between the current electric quantity parameter and the total number of indicator lights to be displayed, which can improve the obtaining speed of the total number of indicator lights to be displayed, so as to improve the control efficiency of the electric quantity display of the electronic cigarette  10 . 
     Referring to  FIG. 12 , in one embodiment, the current electric quantity parameter is current electric quantity value, and step S 310  includes: 
     S 311 B, obtaining a rated electric quantity value; 
     S 312 B, calculating a ratio between current electric quantity value and the rated electric quantity value, wherein the current electric quantity parameter is the current electric quantity value; 
     S 313 B, obtaining the total number of indicator lights to be displayed according to the ratio between the current electric quantity value and the rated electric quantity value. 
     The rated electric quantity value refers to the rated electric quantity of the battery  150 , that is, the total capacity of the battery  150 . The rated electric quantity value can be obtained according to model parameter of the battery  150  and stored in the memory of the electronic cigarette  10  in advance. The total number of indicator lights to be displayed corresponds to the ratio between current electric quantity value and rated electric quantity value. For example, if the current electric quantity value is 150 mAh and the rated electric quantity value is 300 mAh, the ratio between the current electric quantity value and the rated electric quantity value is 0.5. If the total number of the indicator lights  220  is 6, the total number of indicator lights to be displayed is 3. By obtaining the ratio between the current electric quantity value and the rated electric quantity value, the total number of the indicator lights to be displayed is obtained, so that the ratio can be obtained according to the display total number of the indicator lights  220 , making the display effects more intuitive. 
     Referring to  FIG. 13 , in one embodiment, step S 313 B includes: 
     S 3131 , obtaining total number of the indicator lights  220 ; 
     S 3132 , obtaining the total number of the indicator lights to be displayed according to the ratio between the current electric quantity value and the rated electric quantity value, and the total number of the indicator lights  220 . 
     In a specific embodiment, the ratio between the current electric quantity value and the rated electric quantity value can be multiplied by the total number of the indicator lights  220 , and the total number of the indicator lights to be displayed can be obtained according to a preset rounding rule. For example, the total number of the indicator lights  220  is 6, and the ratio between the current electric quantity value and the rated electric quantity value is 0.4, 6×0.4=2.4, so the total number of indicator lights to be displayed is 2 according to the preset rounding rule. 
     Please referring to  FIG. 14 , an embodiment of the present application provides a display method of electronic cigarette. The method is described below. It should be noted that, the method can be implemented by the control device  400  in the above-mentioned embodiment. Correspondingly, each step can be implemented by a component or the like of the control device  400 . The method includes: 
     S 50 , monitoring moving state parameter of an electronic cigarette body  100 . 
     The moving state parameter includes but is not limited to at least one of moving speed, moving time, moving direction, moving distance or moving displacement of the electronic cigarette body  100 . The moving state parameter of the electronic cigarette body  100  can be obtained by the shake detection device  300  in the above-mentioned embodiment. The specific structure of the shake detection device  300  and the process of obtaining the moving state parameter will not be described here. 
     S 60 , if the moving state parameter meeting a shake condition, an indicator light group  200  is controlled to display in a preset mode. Wherein, the shake condition indicates that the electronic cigarette body  100  is in a shake state. 
     The control device  400  determines the moving state parameter according to a preset algorithm. When the moving state parameter meets a shake condition, it indicates that the electronic cigarette body  100  is in a shake state. The control device  400  obtains the display mode of the indicator lights  220  and controls the indicator lights  220  to display. 
     In this embodiment, the moving state parameter of the electronic cigarette body  100  is monitored, when the moving state parameter meets the shake condition, the indicator light group  200  is controlled to display in a preset mode. The method provided by the embodiment can control the display of the indicator lights  220  according to the moving state parameter of the electronic cigarette body  100 , and achieve that the indicator light group  200  can be triggered to display by shaking the electronic cigarette body  100 , which provides high intelligence and convenient display. In addition, the display of the indicator lights  220  can be realized by shaking the electronic cigarette body  100 , so that it can conveniently provide light for user in a dark environment, improving user experience. 
     In one embodiment, the preset mode includes at least one of preset display order, display frequency, display color, display brightness and display total number. 
     That is to say, the control device  400  presets at least one of the display total number, display frequency, display order, display brightness and display color of the indicator light group  220 . For example, when the total number of the indicator lights  220  is multiple, detects that the electronic cigarette body  100  is in a shake state, the indicator lights  220  are controlled to light up, show blue color, and flash three times at the frequency of one time per second from small serial number to large serial number in turn. Repeat the above process after all indicator lights flash. The indicator lights  220  are displayed in such a display mode, and display effect in turn can be realized. When users walk in a dark environment or cross roads at night, it can play a warning role for vehicles and pedestrians, and ensure safety of users. 
     In this embodiment, the indicator lights  220  are controlled in a preset mode, different display effects can be realized, and the flexibility of the use of the electronic cigarette  10  is improved. The electronic cigarette  10  can not only realize function of general electronic cigarette, but also can be used in various scenarios, improving practicability of the electronic cigarette  10 . 
     In one embodiment, step S 50  includes: 
     S 510 , monitoring moving displacement of the electronic cigarette body along a first coordinate axis, a second coordinate axis and a third coordinate axis , respectively and monitoring moving time interval of the electronic cigarette body along the first coordinate axis, the second coordinate axis and the third coordinate axis, respectively. 
     The shake detection device  500  can obtain the moving displacement and moving time interval of the electronic cigarette body  100  along a first positive direction and a negative direction of the first coordinate axis, along a second positive direction and a negative direction of the second coordinate axis, along a positive direction and a negative direction of the third coordinate axis in real time. Wherein, the first coordinate axis, the second coordinate axis and the third coordinate axis can be set as X-axis, Y-axis and Z-axis according to demands. The moving displacement includes a moving distance and a moving direction of the electronic cigarette body  100 . The moving time interval refers to time interval between two adjacent movement times. 
     Referring to  FIG. 15 , in one embodiment, step S 60  includes: 
     S 610 A, determining whether the electronic cigarette body  100  moves back and forth along the first coordinate axis, the second coordinate axis and the third coordinate axis in a preset time period according to the moving displacement of the electronic cigarette body and moving time interval of the electronic cigarette body  100  along the first coordinate axis, the second coordinate axis and the third coordinate axis, respectively. 
     The preset time period refers to preset unit time. According to demands, the preset time period can be one second, 0.5 second, 2 second, etc. The back and forth motion means that the electronic cigarette body  100  moves from a first point to a second point along a positive direction, and then back to the first point along a negative direction, or the electronic cigarette body  100  moves from the first point to the second point along a negative direction, and then back to the first point along a positive direction. It can be understood that the direction, moving displacement, etc. do not indicate a fixed direction or a fixed value, and a certain error range can be set as required. 
     S 620 A, if the electronic cigarette body  100  moving back and forth in the preset time period along any one of the first coordinate axis, the second coordinate axis and the third coordinate axis, the indicator lights  220  are controlled to display in the preset mode. 
     For example, suppose that the length extension direction of the electronic cigarette body  100  is Z-axis, the direction perpendicular to the circuit board  160  plane is X-axis, and the direction perpendicular to the X-axis and the Z-axis is Y-axis. The control device  400  obtains that the electronic cigarette body  100  moves back and forth within one second along the X-axis direction, then the control device  400  controls all the indicator lights  220  to display blue, and flash once per second. 
     According to the method provided in the embodiment, determining whether the electronic cigarette body  100  moves back and forth along the first coordinate axis, the second coordinate axis and the third coordinate axis in a preset time period according to the moving displacement and moving time interval of the electronic cigarette body  100  along the first coordinate axis, the second coordinate axis and the third coordinate axis, respectively, and further controlling the indicator lights  220  to display. The method provided by the embodiment can effectively determine whether the electronic cigarette body  10  is in a shake state, which improving detection accuracy, and control accuracy of the indicator lights  220 . 
     Referring to  FIG. 16 , in one embodiment, step S 610 A includes: 
     S 611 , determining whether the electronic cigarette body  100  moves back and forth along the first coordinate axis in a preset time period according to the moving displacement and moving time interval of the electronic cigarette body  100  along the first coordinate axis; 
     S 612 , determining whether the electronic cigarette body  100  moves back and forth along the second coordinate axis in a preset time period according to the moving displacement and moving time interval of the electronic cigarette body  100  along the second coordinate axis; 
     S 613 , determining whether the electronic cigarette body  100  moves back and forth along the third coordinate axis in a preset time period according to the moving displacement and moving time interval of the electronic cigarette body  100  along the third coordinate axis. 
     Referring to  FIG. 17 , in one embodiment, step S 611  includes: 
     S 6111 , obtaining moving displacement of the electronic cigarette body  100  along a first direction of the first coordinate axis; 
     S 6112 , obtaining the moving displacement of the electronic cigarette body  100  along a second direction of the first coordinate axis, wherein the first direction is opposite to the second direction; 
     S 6113 , obtaining a first moving time interval between moving time of the electronic cigarette body  100  along a first direction of the first coordinate axis and moving time of the electronic cigarette body  100  along a second direction of the first coordinate axis; 
     S 6114 , if moving displacement along the first direction of the first coordinate axis, the moving displacement along the second direction of the first coordinate axis and the first moving time interval meet preset condition, it is determined that the electronic cigarette body  100  moves back and forth along the first coordinate axis within the preset time period. 
     The specific steps of S 612  and S 613  are similar to those of S 6111 , S 6112  and S 6113 , and will not be repeated here. 
     In one embodiment, step S 6114  includes: 
     If the moving displacement along the first direction of the first coordinate axis meets first preset displacement range, the moving displacement along the second direction of the first coordinate axis is greater than the preset multiple of the moving displacement along the first direction of the first coordinate axis, and the first moving time interval is less than or equal to the preset time period, it is determined that the electronic cigarette body  100  moves back and forth. 
     Give an example of the above-mentioned steps. For example, the first coordinate axis is X-axis, and the first direction of the first coordinate axis is the positive direction of the X-axis. The second direction of the first coordinate axis is the negative direction of the X-axis. The preset time period is one second. Further, suppose that the first preset displacement range is 8 cm-30 cm, and the preset multiple is ½. 
     The obtained moving displacement of the electronic cigarette body  100  along the positive direction of X-axis is 10 cm, that is, the moving displacement along the first direction of the first coordinate axis is 10 cm. 
     The obtained moving displacement of the electronic cigarette body  100  along the negative direction of the X axis is 8 cm, that is, the moving displacement along the second direction of the first coordinate axis is 8 cm. 
     The obtained time interval between the moving time of the electronic cigarette body  100  along the positive direction of the X-axis and the moving time of the electronic cigarette body  100  along the negative direction of the X-axis is 0.8 s. 
     Then, because the moving displacement along first direction of the first coordinate axis is  10 cm meets the first preset displacement range of 8 cm-30 cm, the moving displacement of  8 cm along the second direction of the first coordinate axis is greater than the moving displacement (10 cm) along the first direction of the first coordinate axis multiple the preset ½ times. And the time interval between the two movements is 0.8 s, which is less than the preset time period of one second. Therefore, it is determined that the electronic cigarette body  100  moves back and forth in the preset time period along the X-axis. 
     A similar method can be used to determine whether the electronic cigarette body  100  moves back and forth along the Y-axis and Z-axis in a preset time period. 
     Further, when the electronic cigarette body  100  moves back and forth along any of X-axis, Y-axis and Z-axis, the control device  400  controls the indicator lights  220  to display in a preset mode. 
     The method provided in the embodiment can accurately and rapidly obtain the moving state of the electronic cigarette body  100 , and can further accurately determine whether the electronic cigarette body  100  is in a shake state. The method provided in the embodiment improves the determining accuracy of the shake state, thereby improving the accuracy of controlling the indicator lights  220 . 
     It can be understood that the above-mentioned embodiment provided can determine whether the electronic cigarette body  100  is in a shake state, which is not to limit the method. As required, various methods can be selected to determine whether the electronic cigarette body  100  is in a shake state. 
     Referring to  FIG. 18 , in one embodiment, step S 60  includes: 
     S 610 B, determining whether the electronic cigarette body  100  moves back and forth along the first coordinate axis in a preset time period according to the moving displacement and moving time interval of the electronic cigarette body  100  along the first coordinate axis; 
     S 620 B, if the electronic cigarette body  100  moves back and forth in the preset time period along the first coordinate axis, the indicator lights  220  are controlled to display in the preset mode. 
     In one embodiment, the method further includes: 
     S 630 B, if the electronic cigarette body  100  does not move back and forth along the first coordinate axis in the preset time period, determining whether the electronic cigarette body  100  moves back and forth in the preset time period along the second coordinate axis according to moving displacement and moving time interval of the electronic cigarette body  100  along the second coordinate axis; 
     S 640 B, if the electronic cigarette body  100  moves back and forth in the preset time period along the second coordinate axis, the indicator lights  220  are controlled to display in the preset mode; 
     In one embodiment, the method further includes: 
     S 650 B, if the electronic cigarette body  100  does not move back and forth in the preset time period along the second coordinate axis, determining whether the electronic cigarette body  100  moves back and forth in the preset time period along the third coordinate axis according to moving displacement and moving time interval of the electronic cigarette body  100  along the third coordinate axis; 
     S 660 B, if the electronic cigarette body  100  moves back and forth in the preset time period along the third coordinate axis, the indicator lights  220  are controlled to display in the preset mode. 
     That is to say, according to the moving displacement and moving time interval of the electronic cigarette body  100  along the first coordinate axis, the second coordinate axis and the third coordinate axis, it is successively determined whether the electronic cigarette body  100  moves back and forth along the first coordinate axis, the second coordinate axis and the third coordinate axis within the preset time period. In the determining process, if the electronic cigarette body  100  moves back and forth along current coordinate axis, the indicator lights  220  are controlled to display in a preset mode, otherwise the determining process continues. The method provided in the embodiment can effectively simplify algorithm, save operation time of the algorithm, and improve control efficiency of the indicator lights  220 . 
     An embodiment of the present invention also provides another electronic cigarette. The electronic cigarette includes a processor and a memory. The processor is configured for executing computer program instructions to complete various processes and methods. The memory is configured for storing program instructions. By executing the program instructions, the processor can implement the electronic cigarette display method as described in any of the above embodiments. 
     An embodiment of the present invention also provides an indicator light group. The indicator light group includes a processor and a memory. The processor is configured for executing computer program instructions to complete various processes and methods. The memory is configured for storing program instructions. By executing the program instructions, the processor can implement the electronic cigarette display method as described in any of the above embodiments. 
     An embodiment of the present invention further provides a computer readable storage medium. The computer readable storage medium has stored therein one or more instructions. When the one or more instructions is implemented by the processor in the electronic cigarette, the indicator light display method, and the indicator light group in any of the above embodiments is realized. 
     A person skilled in the art may understand that implementing all or part of the steps in the above embodiments may be completed by hardware, or may be executed by a computer program to instruct related hardware, and the computer program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk, an optical disk, and the like. 
     The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, improvements, etc., which are within the scope of the present invention, should be included in the protection scope of the present invention.