CN110973721A - Control method and device of electronic cigarette - Google Patents
Control method and device of electronic cigarette Download PDFInfo
- Publication number
- CN110973721A CN110973721A CN201811136131.7A CN201811136131A CN110973721A CN 110973721 A CN110973721 A CN 110973721A CN 201811136131 A CN201811136131 A CN 201811136131A CN 110973721 A CN110973721 A CN 110973721A
- Authority
- CN
- China
- Prior art keywords
- electronic cigarette
- airflow
- user
- asthma
- cigarette
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/161—Detection; Localisation; Normalisation
- G06V40/165—Detection; Localisation; Normalisation using facial parts and geometric relationships
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/172—Classification, e.g. identification
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H50/00—ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
- G16H50/20—ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for computer-aided diagnosis, e.g. based on medical expert systems
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- Oral & Maxillofacial Surgery (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Public Health (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Theoretical Computer Science (AREA)
- Biomedical Technology (AREA)
- Medical Informatics (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Pathology (AREA)
- Geometry (AREA)
- Epidemiology (AREA)
- Primary Health Care (AREA)
- Medicines Containing Plant Substances (AREA)
Abstract
The invention discloses a control method and device of an electronic cigarette, and belongs to the technical field of simulated smoking. The method comprises the following steps: detecting by using a detection component to obtain indication information, wherein the indication information is used for indicating whether an electronic cigarette user has asthma symptoms; determining whether the electronic cigarette user has asthma symptoms according to the indication information; if the user of the electronic cigarette has asthma symptoms, executing a preset step; the preset step comprises the steps of generating prompt information, and/or reducing the output power of the electronic cigarette, and/or controlling the atomizer to stop atomizing; when the step of reserving comprises the step of generating the prompt message, the step of reserving further comprises displaying the prompt message and/or sending the prompt message to the electronic equipment bound with the electronic cigarette; the problem that the asthma symptom is aggravated due to the fact that a user suffering from asthma uses too much electronic cigarette at present is solved; the effect of promoting asthma users to reasonably use the electronic cigarette is achieved.
Description
Technical Field
The invention relates to the technical field of simulated smoking, in particular to a control method and a control device of an electronic cigarette.
Background
With the development of economy, air quality is becoming worse and more patients suffering from asthma are growing.
Asthma is known to be a chronic airway inflammation involving various cells and cell components, and the inflammation is often accompanied by the increase of airway reactivity, resulting in repeated attacks of wheezing, shortness of breath, chest distress, cough and other symptoms. Therefore, if a user suffering from asthma uses the electronic cigarette too much, the asthma symptoms of the user are certainly aggravated.
Disclosure of Invention
In order to solve the problem that the asthma symptom is aggravated due to the fact that a user suffering from asthma uses an electronic cigarette too much, the embodiment of the invention provides a control method and a control device of the electronic cigarette. The technical scheme is as follows:
in a first aspect, a method for controlling an electronic cigarette is provided, the method including:
detecting by using a detection component to obtain indication information, wherein the indication information is used for indicating whether an electronic cigarette user has asthma symptoms;
determining whether the electronic cigarette user has asthma symptoms according to the indication information;
if the user of the electronic cigarette has asthma symptoms, executing a preset step;
the preset step comprises the steps of generating prompt information, and/or reducing the output power of the electronic cigarette, and/or controlling the atomizer to stop atomizing; when the step of reserving comprises the step of generating the prompt message, the step of reserving further comprises displaying the prompt message and/or sending the prompt message to the electronic equipment bound with the electronic cigarette.
Optionally, the prompt information is used for at least one of prompting reduction of the output power of the electronic cigarette, replacement of low-concentration tobacco juice, suspension of smoking, stopping use of the electronic cigarette, adjustment of the output power of the electronic cigarette to recommended power, and smoking according to recommended smoking frequency.
Optionally, when the predetermined step includes generating the prompt message, the prompt message includes adjusting the output power of the electronic cigarette to a recommended power and/or performing smoking according to a recommended smoking frequency, before the predetermined step is performed, the recommended power and/or the recommended smoking frequency are determined according to the indication message.
Optionally, the detecting component is an airflow detecting component in an airflow channel in the electronic cigarette, the airflow detecting component being communicated with a cigarette holder, and the determining whether the electronic cigarette user has asthma symptoms according to the indication information includes:
determining first airflow information of reverse airflow in the airflow channel after a single puff according to the indication information, wherein the reverse airflow is airflow moving towards the interior of the electronic cigarette from the cigarette holder in the airflow channel, and the first airflow information comprises at least one of whether the reverse airflow is detected, the frequency of the detected reverse airflow, the flow rate of the reverse airflow, the number of times of the detected reverse airflow and the strength of the reverse airflow;
determining whether the user of the electronic cigarette has asthma symptoms according to the first airflow information.
Optionally, the detecting component is a shooting component for shooting the nose of the electronic cigarette user when the electronic cigarette user uses the electronic cigarette for smoking, the indication information is an image or image shot by the shooting component, and determining whether the electronic cigarette user has asthma symptoms according to the indication information includes:
collecting the nose wing change information of the electronic cigarette user from the indication information;
and if the change of the wing of the nose of the electronic cigarette user is determined to accord with a preset rule according to the wing of the nose change information, determining that the electronic cigarette user has asthma symptoms.
Optionally, the determining whether the user of the electronic cigarette has asthma symptoms according to the indication information includes: determining a grade of the asthma symptom according to the indication information;
if the user of the electronic cigarette has asthma symptoms, executing a predetermined step comprising: if the level of the asthma symptom indicates that the user of the electronic cigarette is mild asthma, executing the step of generating the prompt message and/or executing the step of reducing the output power of the electronic cigarette; and if the grade of the asthma symptom indicates that the user of the electronic cigarette is severely asthmatic, executing the step of controlling the atomizer to stop atomizing.
Optionally, the detecting component is a shooting component for shooting the nose of the electronic cigarette user during the electronic cigarette user smoking process, the indication information is an image or image shot by the shooting component, and the determining the level of the asthma symptom according to the indication information includes:
collecting the nasal alar opening and closing amplitude of the electronic cigarette user from the indication information;
and determining the grade of asthma symptoms according to the nasal alar opening and closing amplitude of the electronic cigarette user, wherein the grade of asthma symptoms is positively correlated with the nasal alar opening and closing amplitude.
Optionally, the detecting component is an airflow detecting component in an airflow channel in the electronic cigarette, the airflow detecting component being communicated with a cigarette holder, and the determining the level of the asthma symptom according to the indication information includes:
determining second airflow information of a reverse airflow in the airflow channel after a single puff, wherein the reverse airflow is airflow moving towards the interior of the electronic cigarette from the cigarette holder in the airflow channel, and the second airflow information comprises at least one of frequency of detected reverse airflow, flow rate of the reverse airflow, number of times of detected reverse airflow and strength of the reverse airflow;
determining the grade of the asthma symptom according to the second airflow information, wherein the second airflow information is positively correlated with the grade of the asthma symptom.
In a second aspect, there is provided a computer-readable storage medium having one or more instructions stored therein, which when executed by a processor within an electronic cigarette, implement the first aspect and a method of controlling an electronic cigarette according to any one of the optional embodiments of the first aspect.
In a third aspect, there is provided a control device for an electronic cigarette, the control device comprising:
a memory and a processor;
at least one program instruction is stored in the memory;
the processor is configured to load and execute the at least one program instruction to implement the control method for the electronic cigarette according to the first aspect and any optional embodiment of the first aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
obtaining indication information by utilizing the detection component for detection, wherein the indication information is used for indicating whether asthma symptoms appear on the user of the electronic cigarette; determining whether the electronic cigarette user has asthma symptoms according to the indication information; if the user of the electronic cigarette has asthma symptoms, executing a preset step, wherein the preset step comprises generating a prompt message, and/or reducing the output power of the electronic cigarette, and/or controlling the atomizer to stop atomizing; the problem that the asthma symptom is aggravated due to the fact that a user suffering from asthma uses too much electronic cigarette at present is solved; the effect of promoting asthma users to reasonably use the electronic cigarette is achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Figure 1 is a flow chart of a method of controlling an electronic cigarette according to an embodiment of the present invention;
fig. 2 is a flowchart of a method of controlling an electronic cigarette according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
In order to facilitate understanding of the following examples, the present application first describes the physiological response of an e-cigarette when a user of the e-cigarette suffering from asthma uses the e-cigarette to cause asthma. For example, a user of an e-cigarette with asthma may be prone to cough when smoked too much. As another example, the opening and closing amplitude of the wings of the nose of a user of an e-cigarette suffering from asthma is different from the opening and closing amplitude of the wings of the e-cigarette during normal breathing when suffering from asthma.
Referring to fig. 1, a method flowchart of a control method of an electronic cigarette according to an embodiment of the present invention is shown. As shown in fig. 1, the control method of the electronic cigarette may include:
and step 110, detecting by using the detection component to obtain indication information, wherein the indication information is used for indicating whether asthma symptoms appear on the user of the electronic cigarette.
This step can be achieved in several ways:
first, this detection subassembly is including setting up the air current detection subassembly in the air current passageway with the cigarette holder intercommunication in the electron cigarette, and this air current detection subassembly can be used to detect at least one in air current flow direction, air current velocity of flow, the air current intensity.
Second, this detection component is including shooing the subassembly, and this shooting component is used for shooing the electron cigarette user and uses electron cigarette suction in-process electron cigarette user's nose, and this shooting component can shoot image or image.
This application does not do specific limit to the mounted position and the shooting direction of shooing the subassembly to shoot the subassembly and can shoot the nose that the electron cigarette user is as the standard. For example, a developer may set the mounting position of the capture component in the electronic cigarette based on the type of electronic cigarette and the hand-held posture that is typically employed by a user holding that type of electronic cigarette. For example, box cigarettes typically include an e-cigarette case and a mouthpiece mounted on the top end of the e-cigarette case, and the e-cigarette user typically holds the e-cigarette case for smoking, so that the developer can place the camera assembly on the top end of the e-cigarette case.
The points to be explained are: when image acquisition is performed by using the shooting assembly, images can be acquired once every first interval.
Optionally, the detection component may be continuously used to detect the electronic cigarette after the electronic cigarette is turned on, so as to obtain the indication information. In the case where the detection assembly includes an airflow detection assembly, the indication information may be obtained by detecting with the airflow detection assembly after a single puff, or may be obtained by detecting with the airflow detection assembly within a predetermined time after a single puff.
Wherein the predetermined time is typically a short time set by a system developer, such as 1 second, 1.5 seconds, or less.
In addition, the detection of whether a single aspiration is over may be performed by: when the on-off key on the electronic cigarette is detected to be released, determining that single suction is finished (when the on-off key is pressed, the atomizer is controlled to atomize); alternatively, the end of a single puff is determined when the airflow detecting component detects the disappearance of the forward airflow, which is the airflow in the airflow channel from the interior of the e-cigarette to the mouthpiece of the e-cigarette.
Optionally, under the condition that the detection assembly includes the shooting assembly, can utilize the shooting assembly to shoot the nasal part of electron cigarette user when the suction and obtain instruction information, also can utilize the shooting assembly to shoot the nasal part of electron cigarette user and obtain instruction information when the atomizer carries out atomizing work.
It should be noted that: in the present embodiment, the detection assembly includes any one of the airflow detection assembly and the shooting assembly. In practical implementation, the detection component can also be other detection components capable of acquiring the indication information, such as a sound collection component, and the electronic cigarette determines whether the electronic cigarette user coughs or not according to the voice collected by the sound collection component; determining that the electronic cigarette user has an asthmatic condition if the cough is detected; for another example, when the electronic cigarette is detected to shake violently after being started, the electronic cigarette indicates that the electronic cigarette user coughs, and the electronic cigarette user is determined to have asthma; for other detection components capable of acquiring the indication information, detailed description is omitted here.
And step 120, determining whether the electronic cigarette user has asthma symptoms according to the indication information.
The implementation of step 120 is illustrated in two cases as follows:
in the first case, the indication information includes the airflow information detected by the airflow detecting component in the airflow channel, then step 120 may be implemented as: determining first airflow information of reverse airflow in the airflow channel after single suction according to the indication information, wherein the reverse airflow is airflow moving from the cigarette holder to the inside of the electronic cigarette in the airflow channel, and the first airflow information comprises at least one of whether the airflow detection component detects the reverse airflow, the frequency of the detected reverse airflow, the flow rate of the reverse airflow, the number of times of the detected reverse airflow and the strength of the reverse airflow; when the reverse airflow is detected, determining that the electronic cigarette user has cough, and determining that the electronic cigarette user has asthma symptoms; or, in order to avoid the occurrence of misjudgment, if any type of first airflow information reaches the type corresponding first threshold except for the information of whether the reverse airflow is detected, the electronic cigarette user is judged to have asthma symptoms.
The first threshold corresponding to each type of the first airflow information may be set by a system developer, for example, the system developer may determine, through multiple experiments, a flow rate of the reverse airflow detected by the airflow detecting component when an asthma user uses the electronic cigarette to generate asthma, and determine the first threshold corresponding to the flow rate of the reverse airflow according to the flow rate.
In the second case, the indication information includes an image or video captured by the capturing component, then the step 120 can be implemented as: collecting the nose wing change information of the electronic cigarette user from the indication information; and if the change of the wing of the nose of the electronic cigarette user is determined to meet the preset rule according to the wing of the nose change information, determining that the electronic cigarette user has asthma symptoms.
The predetermined rule is set by a system developer and can be customized by a user. The predetermined rule may be that the increase rate of the nasal alar coaptation amplitude reaches a second threshold, and it is detected that the nasal alar coaptation amplitude continuously increases for a predetermined number of times, and the predetermined rule is not specifically limited in this embodiment.
And step 130, if the user of the electronic cigarette has asthma symptoms, executing a preset step, wherein the preset step comprises generating a prompt message, and/or reducing the output power of the electronic cigarette, and/or controlling the atomizer to stop atomizing.
And when the predetermined step comprises generating the prompt message, the predetermined step also comprises displaying the prompt message and/or sending the prompt message to the electronic equipment bound with the electronic cigarette.
Optionally, the prompt information related to the present application may be used to prompt at least one of reducing the output power of the electronic cigarette, replacing low-concentration tobacco juice, suspending smoking, stopping using the electronic cigarette, adjusting the output power of the electronic cigarette to the recommended power, and smoking according to the recommended smoking frequency. Wherein the recommended power and recommended pumping frequency may be set by a system developer.
Optionally, the implementation of reducing the output power of the electronic cigarette may be: and reducing the output power of the electronic cigarette by a basic step length, or directly reducing the output power of the electronic cigarette to a preset recommended power suitable for asthma patients. The basic step length can be set by a system developer or customized by a user.
The electronic device related to the present application may include a smart phone, a tablet computer, a smart television, an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III, motion Picture Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion Picture Experts compression standard Audio Layer 4), a laptop portable computer, a desktop computer, and the like.
Optionally, in the case that step 130 includes generating a prompt message, and the prompt message includes adjusting the output power of the electronic cigarette to the recommended power and/or performing smoking according to the recommended smoking frequency, before step 130 is performed, the recommended power and/or the recommended smoking frequency may be determined according to the prompt message, and the recommended power and the recommended smoking frequency are negatively correlated with the prompt message. The specific implementation can be as follows: according to the corresponding relation between the indication information and the recommended power (or recommended pumping frequency), the recommended power (or recommended pumping frequency) corresponding to the indication information currently detected by the detection assembly is determined, and the corresponding relation can be set by a system developer.
In summary, in the method provided by the embodiment of the present invention, the detection module is used for detecting to obtain the indication information, where the indication information is used to indicate whether the user of the electronic cigarette has asthma symptoms; determining whether the electronic cigarette user has asthma symptoms according to the indication information; if the user of the electronic cigarette has asthma symptoms, executing a preset step, wherein the preset step comprises generating a prompt message, and/or reducing the output power of the electronic cigarette, and/or controlling the atomizer to stop atomizing; the problem that the asthma symptom is aggravated due to the fact that a user suffering from asthma uses too much electronic cigarette at present is solved; the effect of promoting asthma users to reasonably use the electronic cigarette is achieved.
Referring to fig. 2, a flowchart of a method for controlling an electronic cigarette according to another embodiment of the present invention is shown. As shown in fig. 2, the control method of the electronic cigarette may include:
and step 210, detecting by using a detection component to obtain indication information, wherein the indication information is used for indicating whether the electronic cigarette user has asthma symptoms.
The implementation of this step can refer to the implementation of step 110, and is not described here again.
Based on the indication, the level of asthma symptoms is determined, step 220.
The implementation of step 220 is illustrated in two cases as follows:
in the first case, the indication information includes the airflow information detected by the airflow detecting component in the airflow channel, then step 220 may be implemented as: determining second airflow information of the reverse airflow in the airflow channel after single suction according to the indication information, wherein the second airflow information comprises one of the frequency of the reverse airflow detected by the airflow detection assembly, the flow rate of the reverse airflow, the number of times of detecting the reverse airflow and the strength of the reverse airflow; determining a grade of the asthma symptom according to the second airflow information, wherein the second airflow information is positively correlated with the grade of the asthma symptom.
Wherein determining the level of the asthma symptom from the second airflow information may be performed by: determining the magnitude relation among second airflow information, a first threshold corresponding to the type of the second airflow information and a third threshold corresponding to the type of the second airflow information, wherein the third threshold is larger than the first threshold; if the second airflow information is lower than the first threshold value, determining that the user of the electronic cigarette has no asthma symptom; if the second airflow information reaches the first threshold and is lower than the second threshold, judging that the grade of asthma symptoms of the electronic cigarette user is first grade, wherein the grade of asthma symptoms is positively correlated with the asthma degree, and the grade of asthma symptoms is first grade, which indicates that the electronic cigarette user is slightly asthmatic; and if the second airflow information is higher than a second threshold value, judging the grade of the asthma symptoms of the electronic cigarette user to be second grade, and indicating that the electronic cigarette user is severely asthmatic when the grade of the asthma symptoms is second grade.
In the second case, the indication information includes an image or video captured by the capturing component, then the step 220 can be implemented as: collecting the opening and closing amplitude of the nasal ala of the electronic cigarette user from the indication information; the grade of the asthma symptom is determined according to the nasal alar opening and closing amplitude of the electronic cigarette user, and the grade of the asthma symptom is positively correlated with the nasal alar opening and closing amplitude.
The implementation of determining the grade of the asthma symptom according to the opening and closing amplitude of the nasal ala of the user of the electronic cigarette can be as follows: the nasal alar opening and closing amplitude is in size relation with a fourth threshold value and a fifth threshold value, and the fifth threshold value is larger than the fourth threshold value; if the nasal alar opening and closing amplitude is lower than a fourth threshold value, judging that the electronic cigarette user has no asthma symptom; if the second airflow information reaches the fourth threshold and is lower than the fifth threshold, judging that the grade of asthma symptoms of the electronic cigarette user is first grade, wherein the grade of asthma symptoms is positively correlated with the asthma degree, and the grade of asthma symptoms is first grade, which indicates that the electronic cigarette user is slightly asthmatic; and if the nasal alar opening and closing amplitude is higher than a fifth threshold value, judging the grade of the asthma symptoms of the electronic cigarette user to be second grade, and indicating that the electronic cigarette user is severely asthmatic when the grade of the asthma symptoms is second grade.
After step 220 is performed, step 230 may be performed, or step 240 may be performed.
If the level of the asthma symptom is used to indicate that the user of the electronic cigarette is mild asthma, a prompt message is generated, and/or the output power of the electronic cigarette is reduced, step 230.
Optionally, after the prompt message is generated, the prompt message is displayed, and/or the prompt message is sent to the electronic device bound to the electronic cigarette. Optionally, the prompt information may be used to prompt at least one of reducing the output power of the electronic cigarette, replacing low-concentration tobacco juice, suspending smoking, stopping using the electronic cigarette, adjusting the output power of the electronic cigarette to the recommended power, and smoking according to the recommended smoking frequency.
Wherein, the realization of reducing the output power of the electronic cigarette can be as follows: and reducing the output power of the electronic cigarette by a basic step length, or directly reducing the output power of the electronic cigarette to a preset recommended power suitable for asthma patients. The basic step length can be set by a system developer or customized by a user.
Optionally, the recommended power and/or recommended pumping frequency is determined based on the level of asthma symptoms prior to performing step 230. Wherein the recommended power is inversely related to the level of asthma symptoms and the recommended pumping frequency is inversely related to the level of asthma symptoms. Specifically, the recommended power (or recommended smoking frequency) corresponding to the level of the asthma symptom of the current electronic cigarette user may be determined according to a corresponding relationship between the level of the asthma symptom and the recommended power (or recommended smoking frequency), and the corresponding relationship may be set by a system developer.
And step 240, if the grade of the asthma symptom is used for indicating that the user of the electronic cigarette is severely asthmatic, controlling the atomizer to stop atomizing.
In this embodiment, only the grades of asthma symptoms are divided into mild asthma and severe asthma, and then different operations are performed according to the asthma grade control.
In summary, in the method provided by the embodiment of the present invention, the detection module is used for detecting to obtain the indication information, where the indication information is used to indicate whether the user of the electronic cigarette has asthma symptoms; determining a grade of asthma symptoms based on the indication; if the grade of the asthma symptom is used for indicating that the user of the electronic cigarette is mild asthma, generating a prompt message and/or reducing the output power of the electronic cigarette; if the grade of the asthma symptom is used for indicating that the electronic cigarette user is severely asthmatic, controlling the atomizer to stop atomizing; the problem that the asthma symptom is aggravated due to the fact that a user suffering from asthma uses too much electronic cigarette at present is solved; the effect of promoting asthma users to reasonably use the electronic cigarette is achieved.
An embodiment of the present invention further provides a computer-readable storage medium, in which one or more instructions are stored, and when executed by a processor in an electronic cigarette, the one or more instructions implement the method for controlling an electronic cigarette in any of the above embodiments.
An embodiment of the present invention further provides a control device for an electronic cigarette, where the control device includes: a memory and a processor; at least one program instruction is stored in the memory; the processor is configured to load and execute the at least one program instruction to implement the control method of the electronic cigarette according to any one of the embodiments.
The terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying a number of the indicated technical features. Thus, a defined feature of "first", "second", may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless otherwise specified.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (10)
1. A method of controlling an electronic cigarette, the method comprising:
detecting by using a detection component to obtain indication information, wherein the indication information is used for indicating whether an electronic cigarette user has asthma symptoms;
determining whether the electronic cigarette user has asthma symptoms according to the indication information;
if the user of the electronic cigarette has asthma symptoms, executing a preset step;
the preset step comprises the steps of generating prompt information, and/or reducing the output power of the electronic cigarette, and/or controlling the atomizer to stop atomizing; when the step of reserving comprises the step of generating the prompt message, the step of reserving further comprises displaying the prompt message and/or sending the prompt message to the electronic equipment bound with the electronic cigarette.
2. The method of claim 1, wherein the prompting message is used to prompt at least one of a reduction in output power of the e-cigarette, a change to a low concentration of smoke, a suspension of smoking, a cessation of use of the e-cigarette, an adjustment of the output power of the e-cigarette to a recommended power, and a smoking at a recommended smoking frequency.
3. The method of claim 2, wherein when the predetermined step comprises generating the alert message comprising adjusting the output power of the e-cigarette to a recommended power and/or drawing at a recommended drawing frequency, the recommended power and/or the recommended drawing frequency is determined based on the indication message prior to performing the predetermined step.
4. The method of claim 1, wherein the detection component is an airflow detection component in an airflow channel in communication with a mouthpiece in the electronic cigarette, and wherein determining whether the electronic cigarette user has asthma symptoms based on the indication comprises:
determining first airflow information of reverse airflow in the airflow channel after a single puff according to the indication information, wherein the reverse airflow is airflow moving towards the interior of the electronic cigarette from the cigarette holder in the airflow channel, and the first airflow information comprises at least one of whether the reverse airflow is detected, the frequency of the detected reverse airflow, the flow rate of the reverse airflow, the number of times of the detected reverse airflow and the strength of the reverse airflow;
determining whether the user of the electronic cigarette has asthma symptoms according to the first airflow information.
5. The method of claim 1, wherein the detection component is a camera component for capturing a picture or image of the nose of the user of the electronic cigarette during the user of the electronic cigarette smoking the electronic cigarette, and the determining whether the user of the electronic cigarette has asthma symptoms according to the indication information comprises:
collecting the nose wing change information of the electronic cigarette user from the indication information;
and if the change of the wing of the nose of the electronic cigarette user is determined to accord with a preset rule according to the wing of the nose change information, determining that the electronic cigarette user has asthma symptoms.
6. The method of claim 1, wherein determining whether the electronic cigarette user is experiencing asthma symptoms based on the indication comprises: determining a grade of the asthma symptom according to the indication information;
if the user of the electronic cigarette has asthma symptoms, executing a predetermined step comprising: if the level of the asthma symptom indicates that the user of the electronic cigarette is mild asthma, executing the step of generating the prompt message and/or executing the step of reducing the output power of the electronic cigarette; and if the grade of the asthma symptom indicates that the user of the electronic cigarette is severely asthmatic, executing the step of controlling the atomizer to stop atomizing.
7. The method of claim 6, wherein the detection component is a camera component for capturing a picture or image of the nose of the user of the electronic cigarette while the user of the electronic cigarette is smoking the electronic cigarette, and the determining the level of the asthma symptom according to the indication information comprises:
collecting the nasal alar opening and closing amplitude of the electronic cigarette user from the indication information;
and determining the grade of asthma symptoms according to the nasal alar opening and closing amplitude of the electronic cigarette user, wherein the grade of asthma symptoms is positively correlated with the nasal alar opening and closing amplitude.
8. The method of claim 6, wherein the detection component is an airflow detection component in an airflow channel in the electronic cigarette in communication with a mouthpiece, and wherein determining the level of the asthma symptom based on the indication comprises:
determining second airflow information of a reverse airflow in the airflow channel after a single puff, wherein the reverse airflow is airflow moving towards the interior of the electronic cigarette from the cigarette holder in the airflow channel, and the second airflow information comprises at least one of frequency of detected reverse airflow, flow rate of the reverse airflow, number of times of detected reverse airflow and strength of the reverse airflow;
determining the grade of the asthma symptom according to the second airflow information, wherein the second airflow information is positively correlated with the grade of the asthma symptom.
9. A computer readable storage medium having one or more instructions stored therein, wherein the one or more instructions, when executed by a processor within an electronic cigarette, implement the method of controlling an electronic cigarette of any of claims 1-8.
10. A control device of an electronic cigarette, the control device comprising:
a memory and a processor;
at least one program instruction is stored in the memory;
the processor, by loading and executing the at least one program instruction, implements the control method of the electronic cigarette of any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811136131.7A CN110973721B (en) | 2018-09-28 | 2018-09-28 | Control method and device of electronic cigarette |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811136131.7A CN110973721B (en) | 2018-09-28 | 2018-09-28 | Control method and device of electronic cigarette |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110973721A true CN110973721A (en) | 2020-04-10 |
CN110973721B CN110973721B (en) | 2022-04-05 |
Family
ID=70059769
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811136131.7A Active CN110973721B (en) | 2018-09-28 | 2018-09-28 | Control method and device of electronic cigarette |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110973721B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020069887A1 (en) * | 2000-12-11 | 2002-06-13 | Ko Un Mam | Oral Mugwort-moxibustion pipe |
CN103584285A (en) * | 2013-10-16 | 2014-02-19 | 王立平 | Electronic cigarette |
CN203986116U (en) * | 2014-06-27 | 2014-12-10 | 深圳市艾维普思科技有限公司 | A kind of two electronic cigarette of sending out |
CN104939318A (en) * | 2014-03-31 | 2015-09-30 | 惠州市吉瑞科技有限公司 | Electronic cigarette with vital capacity detecting function and control method |
CN105167752A (en) * | 2015-09-21 | 2015-12-23 | 深圳圆机科技有限公司 | Mouth smell health monitoring method and device, electronic cigarette and system |
US20160255878A1 (en) * | 2015-03-05 | 2016-09-08 | Wisenstech Inc. | Smart Electronic Vaporizer |
CN106037014A (en) * | 2016-07-25 | 2016-10-26 | 卓尔悦欧洲控股有限公司 | E-cigarette and control method thereof |
CN106174705A (en) * | 2016-08-02 | 2016-12-07 | 卓尔悦欧洲控股有限公司 | Suction-type apparatus control system and method |
CN106527315A (en) * | 2016-11-15 | 2017-03-22 | 墨宝股份有限公司 | Environmental protection equipment remote monitoring system based on Internet of things |
-
2018
- 2018-09-28 CN CN201811136131.7A patent/CN110973721B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020069887A1 (en) * | 2000-12-11 | 2002-06-13 | Ko Un Mam | Oral Mugwort-moxibustion pipe |
CN103584285A (en) * | 2013-10-16 | 2014-02-19 | 王立平 | Electronic cigarette |
CN104939318A (en) * | 2014-03-31 | 2015-09-30 | 惠州市吉瑞科技有限公司 | Electronic cigarette with vital capacity detecting function and control method |
CN203986116U (en) * | 2014-06-27 | 2014-12-10 | 深圳市艾维普思科技有限公司 | A kind of two electronic cigarette of sending out |
US20160255878A1 (en) * | 2015-03-05 | 2016-09-08 | Wisenstech Inc. | Smart Electronic Vaporizer |
CN105167752A (en) * | 2015-09-21 | 2015-12-23 | 深圳圆机科技有限公司 | Mouth smell health monitoring method and device, electronic cigarette and system |
CN106037014A (en) * | 2016-07-25 | 2016-10-26 | 卓尔悦欧洲控股有限公司 | E-cigarette and control method thereof |
CN106174705A (en) * | 2016-08-02 | 2016-12-07 | 卓尔悦欧洲控股有限公司 | Suction-type apparatus control system and method |
CN106527315A (en) * | 2016-11-15 | 2017-03-22 | 墨宝股份有限公司 | Environmental protection equipment remote monitoring system based on Internet of things |
Non-Patent Citations (1)
Title |
---|
李霁 等: "针刺治疗支气管哮喘的机理研究", 《中国中西医结合杂志》 * |
Also Published As
Publication number | Publication date |
---|---|
CN110973721B (en) | 2022-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3520434B1 (en) | Method for detecting wrong positioning of earphone, and electronic device and storage medium therefor | |
CN112489648B (en) | Awakening processing threshold adjusting method, voice household appliance and storage medium | |
JP6365939B2 (en) | Sleep assist system | |
CN110865705B (en) | Multi-mode fusion communication method and device, head-mounted equipment and storage medium | |
WO2017080264A1 (en) | Method and system for adjusting mood state | |
CN109788388A (en) | Earphone noise-reduction method, smart bluetooth earphone and computer readable storage medium | |
CN106488031B (en) | A kind of use based reminding method and the terminal of terminal | |
US10461712B1 (en) | Automatic volume leveling | |
CN103426275A (en) | Device, desk lamp and method for detecting eye fatigue | |
CN106126177A (en) | The sound volume regulating system of a kind of target sound and method | |
CN105407217A (en) | Mobile terminal music playing method and mobile terminal | |
CN106226904A (en) | VR glasses circuit | |
CN107483813B (en) | Method and device for tracking recording and broadcasting according to gestures and storage device | |
CN104394286A (en) | Echo cancellation method and device | |
CN107316651A (en) | Audio-frequency processing method and device based on microphone | |
CN103366744B (en) | Based on the method and apparatus of Voice command portable terminal | |
WO2018032895A1 (en) | Air supply method for fan device and fan device | |
WO2020220180A1 (en) | Media content recommendation method and device | |
CN110558946A (en) | Method for recording abnormal sleep state of user and sleep instrument | |
CN110973721B (en) | Control method and device of electronic cigarette | |
CN114543313A (en) | Air conditioner control method, server, air conditioner and user terminal | |
US11170760B2 (en) | Detecting speech activity in real-time in audio signal | |
CN107613420A (en) | Earpiece volume automatic control system | |
CN112422828A (en) | Image processing method, image processing apparatus, electronic device, and readable storage medium | |
CN109671425B (en) | Audio classification method, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |