CN108371352B - Control method and device of electronic cigarette - Google Patents
Control method and device of electronic cigarette Download PDFInfo
- Publication number
- CN108371352B CN108371352B CN201810159038.1A CN201810159038A CN108371352B CN 108371352 B CN108371352 B CN 108371352B CN 201810159038 A CN201810159038 A CN 201810159038A CN 108371352 B CN108371352 B CN 108371352B
- Authority
- CN
- China
- Prior art keywords
- control
- electronic cigarette
- information
- control function
- control element
- 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.)
- Active
Links
- 239000003571 electronic cigarette Substances 0.000 title claims abstract description 175
- 238000000034 method Methods 0.000 title claims abstract description 41
- 235000019504 cigarettes Nutrition 0.000 claims abstract description 10
- 230000006870 function Effects 0.000 claims description 141
- 230000001133 acceleration Effects 0.000 claims description 15
- 238000012790 confirmation Methods 0.000 claims description 5
- 230000000694 effects Effects 0.000 abstract description 4
- 238000010438 heat treatment Methods 0.000 description 8
- 230000004913 activation Effects 0.000 description 3
- 238000000889 atomisation Methods 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- A24F47/004—
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- User Interface Of Digital Computer (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a control method and device of an electronic cigarette, and belongs to the technical field of electronic cigarettes. The method comprises the following steps: acquiring first information, and determining whether a starting condition corresponding to a control function of a control element is met or not according to the first information, wherein the first information comprises information acquired when a main control key is operated or information acquired by the control element when the control function of the control element is closed; when the starting condition is met, starting the control function of the control piece; and under the condition that the control function of the control element is in an open state, controlling the electronic cigarette according to the collected second information, wherein the second information is the information acquired by the control element under the condition that the control function of the control element is open. The problem of too single control mode of electron cigarette among the correlation technique is solved, the effect of richening the control mode of electron cigarette has been reached.
Description
Technical Field
The invention relates to the technical field of electronic cigarettes, in particular to a control method and device of an electronic cigarette.
Background
Generally, an electronic cigarette is provided with a physical push button, and the electronic cigarette controls the electronic cigarette according to a push signal generated when the push button is pushed, including controlling the electronic cigarette to start and stop, and controlling an atomizing device in the electronic cigarette to perform atomizing work. Therefore, the user can control the electronic cigarette by pressing the press type key on the electronic cigarette.
However, the electronic cigarette in the market only provides the control mode of controlling the electronic cigarette by pressing the press-type key, and the control mode of the electronic cigarette is too single.
Disclosure of Invention
In order to solve the problem that the control mode of the electronic cigarette is too single in the prior art, 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:
acquiring first information, and determining whether a starting condition corresponding to a control function of a control element is met or not according to the first information, wherein the first information comprises information acquired when a main control key is operated or information acquired by the control element when the control function is closed;
when the starting condition is met, starting a control function of the control piece;
and under the condition that the control function of the control element is in an open state, controlling the electronic cigarette according to collected second information, wherein the second information is acquired by the control element under the condition that the control function is open.
Optionally, the control element includes at least one of a pressure key, a virtual key, a touch key, an entity touch key, a touch screen, a push key, and a sensor component.
Optionally, the sensor assembly includes at least one of an acceleration sensor, a gyroscope, a voice acquisition device, and an inertial navigation device.
Optionally, the determining whether the starting condition corresponding to the control function of the control element is met according to the first information includes:
if third information meets a starting precondition corresponding to the control function of the control element, acquiring an operation signal generated when the main control key is operated, wherein the third information is acquired by the control element under the condition that the control function is closed;
and if the operation signal meets the starting confirmation condition, determining that the starting condition corresponding to the control function of the control element is met.
Optionally, after the control function of the control element is turned on, the method further includes:
and if the fourth information meets the starting precondition corresponding to the control function of other control elements according to fourth information, starting the control function of the other control elements, wherein the other control elements are any control elements of which the control function is not started, and the fourth information is the information acquired by the other control elements.
Optionally, after the control function of the control element is started, when a first closing condition is met, the control function of the control element is closed;
or,
when a second closing condition is met and the control function of at least one control element on the electronic cigarette is turned on, closing the control function of the at least one control element.
Optionally, the controlling the electronic cigarette according to the collected second information includes:
and controlling the working mode of the electronic cigarette and/or whether the atomizer of the electronic cigarette works or not according to the second information, wherein the working mode comprises at least one of a working mode, the output power of the atomizer during working and the temperature of the atomizer during working, and the working mode of the electronic cigarette comprises at least one of an automatic mode, a manual mode, a power mode and a temperature control mode.
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 method for controlling an electronic cigarette according to the first aspect and any optional embodiment of the first aspect.
In a fourth aspect, there is provided an electronic cigarette comprising the control device of the electronic cigarette according to the third aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
determining whether a starting condition corresponding to a control function of a control element is met or not according to first information acquired by collecting the first information, wherein the first information comprises information acquired when a main control key is operated or information acquired by the control element when the control function of the control element is closed; when the starting condition is met, starting the control function of the control piece; under the condition that the control function of the control piece is in an opening state, the electronic cigarette is controlled according to the collected second information; the second information is acquired by the control element when the control function of the control element is started; the electronic cigarette control method comprises the steps that a user can control the electronic cigarette to meet a starting condition corresponding to a control function of a control piece, the control function of the control piece is triggered to be started, and therefore the control piece is used for controlling the electronic cigarette; the problem of too single control mode of electron cigarette among the correlation technique is solved, the effect of richening the control mode of electron cigarette has been reached.
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 one embodiment of the present invention;
figure 2 is a flow chart of a method of controlling an e-cigarette according to another embodiment of the invention;
fig. 3 is a flowchart for determining whether an activation condition corresponding to a control function of the control member is satisfied according to the third information and a first operation signal generated when the main control key is operated according to another embodiment of the present invention;
FIG. 4 is a flow chart of another control element provided in accordance with another embodiment of the present invention wherein after activating the control function of the control element, the quick start control function is not activated.
Detailed Description
Before describing the embodiments of the present invention in detail, the electronic cigarette related to the embodiments of the present invention will be described as follows: the electronic cigarette is provided with a solid main control key, the main control key is electrically connected with a processor in the electronic cigarette, and the main control key can be any one of a pressure key, a touch screen, a touch key, a solid touch key and a press key.
The electronic cigarette is also provided with at least one control piece. Optionally, each of the at least one control member is of a type different from the master key. For example, when the main control key is a push-type key, all the control elements on the electronic cigarette are not push-type keys.
The pressure button acquires a pressure signal through a pressure sensor, and the pressure signal can be used for indicating the strength of the pressure button pressed by a user; the physical touch key can be a capacitive sensing touch key, and the processor can acquire a touch signal generated when the physical touch key is touched by a user; the processor can acquire a touch signal generated when the touch screen is touched by a user; the processor can acquire a touch signal generated when the touch key is touched by a user; the processor can obtain a pressing signal generated when the pressing type key is pressed.
The processor of the electronic cigarette can control the electronic cigarette according to the operation signal generated when the main control key is operated, and the operation signal comprises at least one of controlling whether the atomizer of the electronic cigarette works, controlling the working mode of the electronic cigarette, controlling the output power of the atomizer of the electronic cigarette when the atomizer works, controlling the highest temperature of the atomizer when the atomizer works and the like. In addition, the processor of the electronic cigarette can also control the electronic cigarette to be turned off according to an operation signal generated when the main control key is operated.
Optionally, the working mode of the electronic cigarette includes an automatic mode and a manual mode, the electronic cigarette in the manual mode controls whether the atomizer of the electronic cigarette works according to an operation signal generated when the main control key is operated, the electronic cigarette in the automatic mode controls whether the atomizer of the electronic cigarette works according to an airflow signal detected by a sensor component in the electronic cigarette, and the sensor component is arranged in an air passage communicated with a cigarette holder of the electronic cigarette. That is, the user can control the electronic cigarette in the manual mode by operating the main control key; the user triggers the electronic cigarette to light by drawing at the mouthpiece. Optionally, the working mode of the electronic cigarette further includes a comprehensive mode, and the electronic cigarette in the comprehensive mode controls the atomizer of the electronic cigarette to work according to an operation signal or an airflow signal generated when the main control key is operated.
Optionally, the operation mode of the e-cigarette may comprise a temperature control mode and/or a power mode.
In the process of carrying out atomization work on the electronic cigarette in the power mode, the atomizer in the electronic cigarette continuously carries out atomization work with preset output power. The preset output power can be set by a system developer or a user by operating a main control key.
The temperature of the heating component in the atomizer is controlled to be a preset temperature in the process of atomization work of the electronic cigarette in the temperature control mode. The preset temperature can be set by a system developer or a user by operating a main control key. For example, when the temperature of the heating component is lower than a preset temperature, the heating component is controlled to continuously heat; when the temperature of the heating component is higher than the preset temperature, the heating component can be controlled to stop heating or reduce the output power of the heating component, or other operations capable of reducing the temperature of the heating component can be taken.
In addition, it should be noted that the control element on the electronic cigarette may include at least one of a pressure button, a virtual button displayed on the display screen, a touch button, a physical touch button, a push button, and a sensor element.
Optionally, the sensor assembly described herein includes at least one of an acceleration sensor, a gyroscope, a voice capture device, an inertial navigation device, and an airflow sensor.
The control method provided by the embodiment of the invention is exemplified by taking the main control key on the electronic cigarette as the press-type key and taking all the control elements not as the press-type keys. 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.
Referring to fig. 1, a flowchart of a control method of an electronic cigarette according to an embodiment of the present invention is shown. The control method can be applied to the electronic cigarette, and the control method can comprise the following steps.
And step 110, acquiring first information, and determining whether a starting condition corresponding to a control function of the control element is met or not according to the first information.
The first information comprises third information or a first operation signal generated when the main control key is operated; the third information is information acquired by the control element when the control function of the control element is turned off, and the information acquired by the control element may be a second operation signal generated when the control element is operated or information acquired by the control element.
And step 120, when the starting condition corresponding to the control function of the control element is met, starting the control function of the control element.
And step 130, controlling the electronic cigarette according to the collected second information under the condition that the control function of the control piece is in an opening state.
And the second information is the information acquired by the control element under the condition that the control function is started. Specifically, if the third information in this embodiment is the second operation signal generated when the control element is operated when the control function of the control element is turned off, the second information is the second operation signal generated when the control element is operated when the control function of the control element is turned on; if the third information in this embodiment is information collected by the control element when the control function of the control element is turned off, the second information is information collected by the control element when the control function of the control element is turned on.
In summary, in the method provided in the embodiment of the present invention, by acquiring first information, it is determined whether a starting condition corresponding to a control function of a control element is satisfied according to the first information, where the first information includes information acquired when a main control key is operated or information acquired by the control element when the control function of the control element is turned off; when the starting condition is met, starting the control function of the control piece; under the condition that the control function of the control piece is in an opening state, the electronic cigarette is controlled according to the collected second information; the second information is acquired by the control element when the control function of the control element is started; the electronic cigarette control method comprises the steps that a user can control the electronic cigarette to meet a starting condition corresponding to a control function of a control piece, the control function of the control piece is triggered to be started, and therefore the control piece is used for controlling the electronic cigarette; the problem of too single control mode of electron cigarette among the correlation technique is solved, the effect of richening the control mode of electron cigarette has been reached.
Referring to fig. 2, a flowchart of a control method of an electronic cigarette according to another embodiment of the present invention is shown. The control method can be applied to the electronic cigarette, and the control method can comprise the following steps.
The first information comprises third information or a first operation signal generated when the main control key is operated; the third information is information acquired by the control element when the control function of the control element is turned off, and the information acquired by the control element may be a second operation signal generated when the control element is operated or information acquired by the control element.
The electronic cigarette is provided with at least one control element, and the control function of each control element refers to a function that a user can control the electronic cigarette by operating the control element, such as whether an atomizer of the electronic cigarette works or not and the working mode of the electronic cigarette, where the working mode of the electronic cigarette includes at least one of the working mode of the electronic cigarette, the output power of the atomizer during working and the temperature of the atomizer during working. After the control function of the control piece in the at least one control piece is started, the user can control the electronic cigarette by operating the control piece. Optionally, the user can also control the electronic cigarette to be turned off by operating the control piece.
The control function of each control element in the electronic cigarette corresponds to one starting condition. And when the starting condition corresponding to the control function of one control piece is met, the electronic cigarette starts the control function of the control piece. The starting condition corresponding to the control function of each control element can be set by a system developer or can be customized by a user.
Specifically, this step can be implemented in several ways:
first, by the implementation of several steps as shown in fig. 3.
In the case where the control member is a device operable by a user to generate a second operation signal, the third information is the second operation signal generated when the user is operated. For example, when the control element is a press key, the third information is a pressure signal generated when the press key is operated; for another example, when the control element is a virtual key displayed on the display screen, the third information is a second operation signal generated when the virtual key is pressed; for another example, when the control element is a touch screen, a touch key, or an entity touch key, the third information is a touch signal.
When the control element is a sensor, the third information is the information collected by the control element. For example, in the case that the control element is an acceleration sensor, the third information is the acceleration information collected by the control element; for another example, in the case that the control element is a voice acquisition device, the third information is a voice signal acquired by the control element; for another example, in the case that the control element is a gyroscope, the third information is angular velocity information acquired by the control element; for another example, in the case that the control element is an inertial navigation device, the third information is that the control element collects inertial navigation information, the inertial navigation information includes an angular velocity and an acceleration, and the inertial navigation information can be used to determine a moving velocity and a moving track of the electronic cigarette body.
In step 212, if the third information satisfies the starting precondition corresponding to the control function of the control element, a first operation signal generated when the main control key is operated is obtained.
The control function of each control element in the electronic cigarette corresponds to a starting precondition, and the starting precondition corresponding to the control function of each control element can be set by a system developer or can be customized by a user.
Taking the control element as a pressure button for example, the activation precondition corresponding to the control element may be that the pressure exerted on the pressure button exceeds a predetermined pressure threshold. That is, the user may satisfy the activation precondition for the control function of the pressure key by exerting a force on the pressure key that exceeds a predetermined pressure threshold.
For example, the control element is taken as an entity touch key, and the starting precondition corresponding to the control element may be that a time interval between two continuously detected touch signals is less than a preset time length. That is, the user may satisfy the starting precondition of the control function of the physical touch key by touching the physical touch key twice in succession.
Taking the control element as an acceleration sensor for example, the starting precondition corresponding to the control element can be that the electronic cigarette body is shaken back and forth three times within the preset time. The processor in the electronic cigarette can determine whether the electronic cigarette body is shaken back and forth for three times within preset time according to the acceleration information detected by the acceleration sensor. That is, the user can satisfy the starting precondition of the control function of the acceleration sensor by shaking the electronic cigarette back and forth three times.
Taking the control element as the touch screen for example, the starting precondition corresponding to the control element may be that the sliding track on the touch screen is a predetermined shape, and the predetermined shape may be a shape such as a triangle, a circle, and the like. The processor in the electronic cigarette can determine whether a sliding track formed on the touch screen is in a preset shape according to the touch signal detected by the touch screen. And under the condition that the preset shape is a triangle, the user controls the index finger to slide on the touch screen to form a triangle to meet the starting precondition of the control function of the touch screen.
The control element is taken as a voice acquisition device for illustration, and the starting precondition corresponding to the control element can be that the acquired voice signal comprises a preset voice instruction. The processor in the electronic cigarette can recognize the voice content in the voice signal and determine whether the voice content comprises a preset voice instruction, wherein the voice instruction can be set by a system developer and can also be customized by a user. For example, when the preset voice command is "start the voice control function", the user speaks "start the voice control function" to the electronic cigarette to satisfy the starting precondition of the control function of the voice collecting device.
In step 213, if the first operation signal satisfies the start-up confirmation condition, it is determined that the start-up condition corresponding to the control function of the control element is satisfied, and step 220 is executed.
The starting condition can be set by a system developer or customized by a user. For example, the condition for confirming the start may be that 3 pressing signals are received within a preset time, and each pressing signal is a signal generated when the main control key is pressed.
The example is given by confirming that the starting condition is that 3 pressing signals are received within the preset time, and the control element is a pressing button. The user can satisfy the starting precondition of the control function of the pressure button by exerting the force exceeding the preset pressure threshold value on the pressure button, and then continuously presses the main control button for 3 times to satisfy the starting confirmation condition, so as to trigger the electronic cigarette to start the control function of the pressure button.
And secondly, acquiring third information, and determining whether the starting condition corresponding to the control function of the control element is met or not according to the third information.
Taking the control element as an example of a voice collecting device, the processor in the electronic cigarette can identify the voice content of the voice signal collected by the processor. And when the voice content is 'directly starting the voice control function', determining that the starting condition corresponding to the control function of the voice acquisition device is met.
And thirdly, acquiring a first operation signal generated when the main control key is operated, and determining whether the starting condition corresponding to the control element is met or not according to the first operation signal.
Taking the control element as the voice acquisition device for example, when the first operation signal is a pressing signal generated when the main control key is continuously pressed for 10 seconds, it is determined that the starting condition corresponding to the control function of the voice acquisition device is satisfied. That is, the user can directly start the control function of the voice collecting device by continuously pressing the main control key for 10 seconds.
And step 220, when the starting condition corresponding to the control function of the control element is met, starting the control function of the control element.
After performing step 220, either step 230 or step 240 or step 250 may be performed.
And step 230, controlling the electronic cigarette according to the acquired second information under the condition that the control function of the control element is in an open state.
And the second information is the information acquired by the control element under the condition that the control function is started. Specifically, if the third information in this embodiment is the second operation signal generated when the control element is operated when the control function of the control element is turned off, the second information is the second operation signal generated when the control element is operated when the control function of the control element is turned on; if the third information in this embodiment is information collected by the control element when the control function of the control element is turned off, the second information is information collected by the control element when the control function of the control element is turned on.
Optionally, where the control element is an acceleration sensor, the processor of the e-cigarette may control the e-cigarette in accordance with the second information (i.e. its detected acceleration information). For example, when the electronic cigarette is determined to shake back and forth for 2 times according to the acceleration information, the working mode of the electronic cigarette is switched; for another example, when the acceleration information of the electronic cigarette is higher than a preset acceleration threshold, the electronic cigarette is controlled to be turned off, so that the user controls the electronic cigarette to be turned off by shaking the electronic cigarette with strength.
Optionally, in a case that the control element is a voice collecting device, the processor of the electronic cigarette may identify a voice instruction in the second information (i.e., the voice signal collected by the voice collecting device) collected by the voice collecting device, and control the electronic cigarette according to the voice instruction. For example, when the voice signal is detected to comprise a voice instruction of 'turning off', the electronic cigarette is controlled to be turned off; for another example, when the voice signal is detected to include a voice instruction "switch to manual mode", the electronic cigarette is controlled to enter the manual mode.
Optionally, in a case that the control element is a touch screen, the processor of the electronic cigarette may determine a sliding track on the touch screen according to the second information (i.e., the collected touch signal) collected by the touch screen, and control the electronic cigarette according to the sliding track. For example, when the sliding track is triangular, the electronic cigarette is controlled to be turned off; for another example, when the sliding track is square, the electronic cigarette is controlled to switch the working mode.
Optionally, under the condition that the control element is a gyroscope, the processor of the electronic cigarette may determine the movement track of the electronic cigarette body according to the second information acquired by the gyroscope, and control the electronic cigarette according to the movement track. For example, when the moving track of the electronic cigarette is circular, the working mode of the electronic cigarette is switched; for another example, when the moving track of the electronic cigarette is hooked, the electronic cigarette is controlled to be turned off.
Optionally, in a case that the control element is an inertial navigation device, the processor of the electronic cigarette may determine a movement track and a posture of the electronic cigarette body according to the second information acquired by the inertial navigation device, and control the electronic cigarette according to the movement track and/or the posture. For example, when the moving track of the electronic cigarette is circular, the working mode of the electronic cigarette is switched; for another example, when the electronic cigarette is placed upside down, the electronic cigarette is controlled to be turned off.
And step 240, when the first closing condition is met, closing the control function of the control part.
The first closing condition may be customized by a user or set by a developer. For example, the first off condition may be that the main control key is pressed a first predetermined number of times at a first predetermined time.
For example, the first predetermined time is 4s, and the first predetermined number of times is 4 times, after the control function of the pressure button on the electronic cigarette is started, the user may close the control function of the pressure button by continuously pressing the main control button for 4 times within 4 s.
The specific implementation of this step may be: and when the first closing condition is met, determining the control element with the shortest continuous opening time of the control function, and closing the control function of the control element.
And step 250, when the second closing condition is met and the control function of at least one control element on the electronic cigarette is started, closing the control function of the at least one control element.
The second closing condition may be customized by a user or set by a developer. For example, the second off condition may be that the main control key is pressed a second predetermined number of times at a second predetermined time.
It should be noted that, when the control functions of all the control elements of the electronic cigarette are turned off, the processor in the electronic cigarette controls the electronic cigarette according to the first operation signal generated when the main control key is operated, and the electronic cigarette is not controlled according to the third information corresponding to any one of the control elements, that is, at this time, the user can only control the electronic cigarette by operating the main control key, and cannot control the electronic cigarette by operating any one of the control elements.
In summary, in the method provided in this embodiment, by acquiring first information, it is determined whether a starting condition corresponding to a control function of a control element is satisfied according to the first information, where the first information includes information acquired when a main control key is operated or information acquired by the control element when the control function of the control element is turned off; when the starting condition is met, starting the control function of the control piece; under the condition that the control function of the control piece is in an opening state, the electronic cigarette is controlled according to the collected second information; the second information is acquired by the control element when the control function of the control element is started; the electronic cigarette control method comprises the steps that a user can control the electronic cigarette to meet a starting condition corresponding to a control function of a control piece, the control function of the control piece is triggered to be started, and therefore the control piece is used for controlling the electronic cigarette; the problem of too single control mode of electron cigarette among the correlation technique is solved, the effect of richening the control mode of electron cigarette has been reached.
In one example, the electronic cigarette determines whether to rapidly start the control function of the other control element according to fourth information collected by the electronic cigarette within a preset time after the control function of any control element is started, wherein the fourth information is information acquired by the control element. For a specific implementation, please refer to several steps shown in fig. 4.
And step 402, acquiring information acquired by other control elements to obtain fourth information, wherein the other control elements are any control elements of which the control functions are not started.
It should be noted that, in the case that the other control element is a device that can be operated by the user to generate the third operation signal, step 401 is executed first, then step 403 is executed, and step 402 is not executed; if the other control element is a sensor, step 402 is executed first, step 403 is executed, and step 401 is not executed.
And 403, if the fourth information meets the starting precondition corresponding to the other control element, starting the control function of the other control element.
Taking the preset time as 3s for example, the user firstly applies a force exceeding the preset pressure threshold value to the pressure key to meet the starting precondition of the control function of the pressure key, then continuously presses the main control key for 3 times to meet the starting confirmation condition, and triggers the electronic cigarette to start the control function of the pressure key. Within 3s after continuously pressing the main control key for 3 times, the user continuously touches the entity touch key for two times again to meet the starting precondition of the control function of the entity touch key, the electronic cigarette quickly starts the control function of the entity touch key, and the user is not required to press the main control key for 3 times to determine to start the control function of the entity touch key. After that, the user can control the electronic cigarette by operating the pressure key and the physical touch key.
And step 404, controlling the electronic cigarette according to the acquired fifth information.
In the case of executing step 401, the fifth information in step 404 is a third operation signal generated when the other control element is operated when the control function of the other control element is turned on; in the case of executing step 402, the fifth information in step 404 is the information collected by the other control element when the control function of the other control element is turned on.
In step 404, the specific implementation of controlling the electronic cigarette according to the fifth information may refer to the implementation of controlling the electronic cigarette according to the collected second information in step 230, and details are not repeated here.
In one example, after the control function of a certain control element is turned on, the user can also turn off the control function of the control element by operating the control element. The specific implementation can be as follows: when the control function of a control element is started, determining whether a closing condition corresponding to the control function of the control element is met or not according to second information; and when the closing condition corresponding to the control function of the control element is met, closing the control function of the control element.
Taking the control element as a voice acquisition device for example, a processor in the electronic cigarette can identify the voice content of the voice signal acquired by the processor. And when the voice content is 'voice control function closing', determining that a closing condition corresponding to the control function of the voice acquisition device is met, and closing the control function of the voice acquisition device.
In one example, after the control function of a certain control element is turned on, the user can also turn off the control function of the control element by operating the main control key. The specific implementation can be as follows: when the control function of a control element is started, determining whether a closing condition corresponding to the control function of the control element is met or not according to a first operation signal generated when a main control key is operated; and when the closing condition corresponding to the control function of the control element is met, closing the control function of the control element.
Optionally, the closing conditions corresponding to the control functions of the control elements on the electronic cigarette are different; or the closing conditions corresponding to the control functions of the control elements on the electronic cigarette are not completely the same; or the closing conditions corresponding to the control functions of the control elements on the electronic cigarette are different.
An embodiment of the present invention also 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 according to any of the above embodiments.
An embodiment of the present invention further provides a control device for an electronic cigarette, which includes a processor and a memory, where the memory stores at least one program instruction; 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.
An embodiment of the invention further provides an electronic cigarette, which comprises the control device.
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.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
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 (7)
1. A method of controlling an electronic cigarette, the method comprising:
acquiring first information, and determining whether a starting condition corresponding to a control function of a control element is met or not according to the first information; the first information comprises third information or a first operation signal generated when the main control key is operated;
the determining whether the starting condition corresponding to the control function of the control element is met according to the first information includes:
if third information meets a starting precondition corresponding to the control function of the control element, acquiring an operation signal generated when the main control key is operated, wherein the third information is acquired by the control element under the condition that the control function is closed;
if the operation signal meets the starting confirmation condition, determining that the starting condition corresponding to the control function of the control element is met; the starting condition corresponding to the control function is preset;
when the starting condition is met, starting a control function of the control piece;
under the condition that the control function of the control element is in an open state, controlling the electronic cigarette according to collected second information, wherein the second information is information acquired by the control element under the condition that the control function is open;
when a first closing condition is met, closing the control function of the control piece; the first closing condition is preset; when a second closing condition is met and the control function of at least one control piece on the electronic cigarette is started, closing the control function of the at least one control piece; the second closing condition is preset;
under the condition that the control functions of all control pieces of the electronic cigarette are closed, a processor in the electronic cigarette controls the electronic cigarette according to a first operation signal generated when the main control key is operated, and the electronic cigarette cannot be controlled according to third information corresponding to any control piece;
the second information control electron cigarette according to gathering includes:
controlling a working mode of the electronic cigarette and whether an atomizer of the electronic cigarette works or not according to the second information, wherein the working mode comprises at least one of a working mode, output power of the atomizer during working and temperature of the atomizer during working, and the working mode of the electronic cigarette comprises at least one of an automatic mode, a manual mode, a power mode and a temperature control mode;
wherein after the turning on of the control function of the control, the method further comprises:
acquiring a third operation signal generated when other control elements are operated to obtain fourth information;
and if the fourth information meets the starting precondition corresponding to the control function of other control elements according to fourth information, starting the control function of the other control elements, wherein the other control elements are any control elements of which the control function is not started, and the fourth information is the information acquired by the other control elements.
2. The method of claim 1, wherein the control comprises at least one of a pressure button, a touch screen, and a sensor assembly.
3. The method of claim 1, wherein the control comprises at least one of a push button, a virtual button, and a physical touch button.
4. The method of claim 2, wherein the sensor assembly comprises at least one of an acceleration sensor, a gyroscope, a voice capture device, and an inertial navigation device.
5. 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-4.
6. 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 4.
7. An electronic cigarette, characterized in that the electronic cigarette comprises the control device of the electronic cigarette of claim 6.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711367780 | 2017-12-18 | ||
CN2017113677803 | 2017-12-18 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108371352A CN108371352A (en) | 2018-08-07 |
CN108371352B true CN108371352B (en) | 2022-02-11 |
Family
ID=63018097
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810159038.1A Active CN108371352B (en) | 2017-12-18 | 2018-02-26 | Control method and device of electronic cigarette |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108371352B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108741240A (en) * | 2018-09-17 | 2018-11-06 | 深圳市庚诚达科技有限公司 | Electronic cigarette enters the method, storage device, electronic cigarette of setting state |
CN109497623A (en) * | 2018-12-17 | 2019-03-22 | 苏州席正通信科技有限公司 | A kind of duration control method of electronic cigarette |
CN112214120A (en) * | 2019-06-25 | 2021-01-12 | 深圳市艾维普思科技有限公司 | Control method of electronic cigarette, storage medium and electronic cigarette |
CN112493563B (en) * | 2019-08-26 | 2024-06-04 | 湖南中烟工业有限责任公司 | Electronic cigarette control circuit and control method |
CN110604344B (en) * | 2019-10-18 | 2023-08-01 | 惠州市新泓威科技有限公司 | Electronic cigarette capable of being automatically preheated after smoking pre-judgment and control method thereof |
CN113439886B (en) * | 2020-03-28 | 2023-03-14 | 常州市派腾电子技术服务有限公司 | Control method and device of electronic cigarette |
CN112043010B (en) * | 2020-09-02 | 2024-05-28 | 深圳市云熙智能有限公司 | Low-temperature smoking set and method and device for collecting user data based on low-temperature smoking set |
CN114403512A (en) * | 2020-10-28 | 2022-04-29 | 深圳市赛尔美电子科技有限公司 | Electronic cigarette |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105266207A (en) * | 2015-11-06 | 2016-01-27 | 李富华 | Touch type temperature control intelligent electronic device |
CN105394818A (en) * | 2015-12-09 | 2016-03-16 | 卓尔悦欧洲控股有限公司 | Electronic cigarette battery, electronic cigarette and control method of electronic cigarette |
CN205624478U (en) * | 2016-04-27 | 2016-10-12 | 深圳市思拓微电子有限公司 | Integrated speech control type electron cigarette |
CN106136324A (en) * | 2016-07-09 | 2016-11-23 | 刘团芳 | A kind of electronic cigarette battery box with button |
CN107280072A (en) * | 2017-06-19 | 2017-10-24 | 深圳市合元科技有限公司 | Electronic cigarette and its control method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105354452A (en) * | 2015-09-28 | 2016-02-24 | 卓尔悦欧洲控股有限公司 | Electronic cigarette control method, apparatus and system and electronic cigarette |
CN105942583A (en) * | 2016-07-05 | 2016-09-21 | 深圳市合元科技有限公司 | Electronic cigarette and application method thereof |
CN107455799B (en) * | 2017-09-05 | 2024-02-27 | 惠州市新泓威科技有限公司 | Electronic cigarette capable of controlling smoke quantity and control method thereof |
-
2018
- 2018-02-26 CN CN201810159038.1A patent/CN108371352B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105266207A (en) * | 2015-11-06 | 2016-01-27 | 李富华 | Touch type temperature control intelligent electronic device |
CN105394818A (en) * | 2015-12-09 | 2016-03-16 | 卓尔悦欧洲控股有限公司 | Electronic cigarette battery, electronic cigarette and control method of electronic cigarette |
CN205624478U (en) * | 2016-04-27 | 2016-10-12 | 深圳市思拓微电子有限公司 | Integrated speech control type electron cigarette |
CN106136324A (en) * | 2016-07-09 | 2016-11-23 | 刘团芳 | A kind of electronic cigarette battery box with button |
CN107280072A (en) * | 2017-06-19 | 2017-10-24 | 深圳市合元科技有限公司 | Electronic cigarette and its control method |
Also Published As
Publication number | Publication date |
---|---|
CN108371352A (en) | 2018-08-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108371352B (en) | Control method and device of electronic cigarette | |
CN107519641B (en) | Method and device for controlling game skill release, storage medium and mobile terminal | |
US8760432B2 (en) | Finger pointing, gesture based human-machine interface for vehicles | |
KR100995130B1 (en) | The system for recogniging of user touch pattern using touch sensor and accelerometer sensor | |
CN105468282B (en) | A kind of the starting method and terminal device of icon editor | |
WO2018076380A1 (en) | Electronic device, and method for generating video thumbnail in electronic device | |
CN104769533A (en) | Using finger touch types to interact with electronic devices | |
US11669164B2 (en) | Augmenting the functionality of user input devices using a digital glove | |
EP2645218A1 (en) | Method for operating an electronic device | |
CN105045495B (en) | A kind of control method and mobile terminal of mobile terminal | |
CN104793884A (en) | Touch screenshot method and device | |
JP2015153325A (en) | information processing apparatus, operation support method and operation support program | |
CN105159494A (en) | Information display method and device | |
CN105844241A (en) | Method and terminal for detecting touch control pressure | |
WO2015131590A1 (en) | Method for controlling blank screen gesture processing and terminal | |
WO2020117539A1 (en) | Augmenting the functionality of user input devices using a digital glove | |
KR20160120560A (en) | Apparatus and method for recognizing user interface | |
JP2012242924A (en) | Touch panel device and method for controlling touch panel device | |
US11301059B2 (en) | Gesture recognition system having origin resetting means | |
CN104423925B (en) | A kind of information processing method and electronic equipment | |
TW201740271A (en) | Application program data processing method and device | |
JP2015028765A (en) | Input control method and input controller | |
CN106325471B (en) | Device and control method | |
CN106873836A (en) | The control method and device of terminal | |
JP2016066254A (en) | Electronic device with touch detection apparatus |
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 |