摘要 |
The invention is related to a voice control method for an electronic cigarette and the electronic cigarette, used for performing vocal praising when a one-time smoking duration exceeds a longest one-time smoking duration. The method executes the following steps when a smoking signal is received: S1, start an atomization operation for an electronic cigarette, and time a current one-time smoking duration; S2, determine whether the current one-time smoking duration is greater than a longest one-time smoking duration recorded in the electronic cigarette, and if yes, proceed to step S3, otherwise, proceed to step S4; S3, a voice praising a user is played, and the longest one-time smoking duration is updated using the current one-time smoking duration, and the method enters step S4; S4, the method waits for the smoking signal to be received once again, and when the smoking signal is received, proceeds to step S1. |
主权项 |
1. A voice control method for an electronic cigarette, wherein the method comprises following steps when a smoking signal is received:
S1. start an atomization operation for an electronic cigarette, and time a current one-time smoking duration, after timing, proceed step S2, the one-time smoking represents a process of receiving an one-time smoking signal; S2. determine whether the current one-time smoking duration is greater than a longest one-time smoking duration recorded in the electronic cigarette, if yes, then proceed to step S3; otherwise, proceed to step S4; S3. play compliment voice to a user, and use the current one-time smoking duration to update the longest one-time smoking duration, proceed to the step S4; S4. wait for receiving the smoking signal again, and proceed to the step S1 when receiving the smoking signal. |