WO2023116935A1 - Electronic atomization device, switching control method and apparatus therefor, and storage medium - Google Patents

Electronic atomization device, switching control method and apparatus therefor, and storage medium Download PDF

Info

Publication number
WO2023116935A1
WO2023116935A1 PCT/CN2022/142084 CN2022142084W WO2023116935A1 WO 2023116935 A1 WO2023116935 A1 WO 2023116935A1 CN 2022142084 W CN2022142084 W CN 2022142084W WO 2023116935 A1 WO2023116935 A1 WO 2023116935A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
duration
reminder
electronic atomization
instruction
Prior art date
Application number
PCT/CN2022/142084
Other languages
French (fr)
Chinese (zh)
Inventor
郭浩航
徐升阳
金扬云
高文晨
宋扬
Original Assignee
深圳雾芯科技有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 深圳雾芯科技有限公司 filed Critical 深圳雾芯科技有限公司
Publication of WO2023116935A1 publication Critical patent/WO2023116935A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A24TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
    • A24FSMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
    • A24F40/00Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
    • A24F40/50Control or monitoring
    • AHUMAN NECESSITIES
    • A24TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
    • A24FSMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
    • A24F40/00Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
    • A24F40/10Devices using liquid inhalable precursors
    • AHUMAN NECESSITIES
    • A24TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
    • A24FSMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
    • A24F40/00Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
    • A24F40/40Constructional details, e.g. connection of cartridges and battery parts
    • AHUMAN NECESSITIES
    • A24TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
    • A24FSMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
    • A24F40/00Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
    • A24F40/40Constructional details, e.g. connection of cartridges and battery parts
    • A24F40/46Shape or structure of electric heating means

Abstract

An electronic atomization device, a switching control method and apparatus therefor, and a storage medium. The switching control method comprises: in an initial locked state, acquiring a first duration in which a device is vaped (S101); and determining, according to the acquired first duration, whether the device meets an unlocking condition, or whether it is necessary to re-acquire the first duration in which the device is vaped (S102).

Description

电子雾化设备及其开关控制方法、装置、存储介质Electronic atomization device and its switch control method, device, and storage medium
相关申请的交叉引用Cross References to Related Applications
本申请基于申请号为202111601739.4,申请日为2021年12月24日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on a Chinese patent application with application number 202111601739.4 and a filing date of December 24, 2021, and claims the priority of this Chinese patent application. The entire content of this Chinese patent application is hereby incorporated by reference into this application.
技术领域technical field
本申请涉及雾化设备技术领域,尤其涉及一种电子雾化设备的开关控制方法、一种电子雾化设备的开关控制装置、一种计算机可读存储介质和一种电子雾化设备。The present application relates to the technical field of atomization equipment, in particular to a switch control method for electronic atomization equipment, a switch control device for electronic atomization equipment, a computer-readable storage medium, and an electronic atomization equipment.
背景技术Background technique
目前大部分的电子烟均是通过气压传感器来识别负压作为电子烟的开关,用户拿起电子烟即可抽吸出烟,该方式虽然可以提高用户抽吸的便利性,但是会存在一些安全隐患,例如缺少防误触功能导致在某些环境中误触电子烟造成一定的安全隐患,或者缺少童锁功能导致儿童误抽吸的安全隐患。At present, most electronic cigarettes use the air pressure sensor to identify the negative pressure as the switch of the electronic cigarette. The user can inhale the electronic cigarette by picking up the electronic cigarette. Although this method can improve the convenience of the user’s smoking, there will be some safety hazards. Hidden dangers, such as the lack of anti-mis-touch function that leads to certain safety hazards in certain environments, or the lack of child lock function that leads to safety hazards in children’s accidental smoking.
相关技术中,通过在电子烟的烟杆上设置实体按键,通过操作实体按键来实现防误触功能或童锁功能,但是该方式的硬件成本高,且用户交互步骤多,影响用户抽吸的便利性,导致用户体验感较差。In the related technology, by setting physical buttons on the cigarette rod of the electronic cigarette, the anti-mistouch function or the child lock function is realized by operating the physical buttons, but the hardware cost of this method is high, and there are many user interaction steps, which affect the user's puffing experience. Convenience leads to poor user experience.
申请内容application content
本申请旨在至少在一定程度上解决相关技术中的技术问题之一。为此,本申请的第一个目的在于提出一种电子雾化设备的开关控制方法,通过根据设备被抽吸的持续时间判断设备是否满足解锁条件,不仅能够实现设备的防误触功能和童锁功能,而且省去了用户手动解锁的繁琐过程,保证了用户抽吸的便利性,且不增加硬件成本。This application aims to solve one of the technical problems in the related art at least to a certain extent. Therefore, the first purpose of this application is to propose a switch control method for an electronic atomization device. By judging whether the device satisfies the unlocking condition according to the duration of the device being sucked, it can not only realize the anti-mistouch function of the device and child-friendly The lock function saves the cumbersome process of manual unlocking by the user, ensuring the convenience of suction for the user without increasing hardware costs.
本申请的第二个目的在于提出一种电子雾化设备的开关控制装置。The second purpose of the present application is to provide a switch control device for an electronic atomization device.
本申请的第三个目的在于提出一种计算机可读存储介质。The third object of the present application is to provide a computer-readable storage medium.
本申请的第四个目的在于提出一种电子雾化设备。The fourth purpose of the present application is to provide an electronic atomization device.
为达到上述目的,本申请第一方面实施例提出一种电子雾化设备的开关控制方法,包括:在初始锁定状态下,获取设备被抽吸的第一持续时间;根据获取的第一持续时间判断设备是否满足解锁条件,或者是否需要重新获取设备被抽吸的第一持续时间。In order to achieve the above purpose, the embodiment of the first aspect of the present application proposes a switch control method of an electronic atomization device, including: in the initial locked state, obtaining the first duration of the device being puffed; according to the obtained first duration It is judged whether the device satisfies the unlocking condition, or whether it is necessary to reacquire the first duration of the device being sucked.
根据本申请实施例的电子雾化设备的开关控制方法,在初始锁定状态下,通过获取设备被抽吸的第一持续时间,并根据获取的第一持续时间判断设备是否满足解锁条件,不仅能够 实现设备的防误触功能和童锁功能,而且省去了用户手动解锁的繁琐过程,保证了用户抽吸的便利性,且不增加硬件成本。According to the switch control method of the electronic atomization device according to the embodiment of the present application, in the initial locked state, by obtaining the first duration of the device being inhaled, and judging whether the device meets the unlocking condition according to the obtained first duration, not only can Realize the anti-mistouch function and child lock function of the device, and save the cumbersome process of manual unlocking by the user, ensuring the convenience of the user's suction without increasing the hardware cost.
根据本申请的一个实施例,电子雾化设备的开关控制方法还包括:判断第一持续时间是否达到第一时间阈值;如果第一持续时间未达到第一时间阈值,则判断设备不满足解锁条件,不发出解锁指令以控制设备保持锁定状态;如果第一持续时间达到第一时间阈值,则判断设备满足解锁条件,发出解锁指令以控制设备处于解锁状态。According to an embodiment of the present application, the switch control method of the electronic atomization device further includes: judging whether the first duration reaches the first time threshold; if the first duration does not reach the first time threshold, judging that the device does not meet the unlocking condition , no unlock instruction is issued to control the device to remain in the locked state; if the first duration reaches the first time threshold, it is determined that the device meets the unlocking condition, and an unlock instruction is issued to control the device to be in the unlocked state.
根据本申请的一个实施例,在发出解锁指令以控制设备处于解锁状态时,方法还包括:发出解锁提醒指令以控制设备进行解锁提醒。According to an embodiment of the present application, when the unlocking instruction is issued to control the device to be in an unlocked state, the method further includes: sending an unlocking reminder instruction to control the device to perform an unlocking reminder.
根据本申请的一个实施例,发出解锁提醒指令以控制设备进行解锁提醒,包括:发出第一解锁提醒指令以控制设备的马达长震,直至长震时间达到第二时间阈值;和/或,发出第二解锁提醒指令以控制设备的第一指示灯长亮,直至长亮时间达到第二时间阈值;和/或,发出第三解锁提醒指令以控制设备的第二指示灯长亮,直至判断设备未被抽吸。According to an embodiment of the present application, issuing the unlock reminder instruction to control the device to perform unlock reminder includes: issuing the first unlock reminder instruction to control the motor of the device to vibrate until the long vibration time reaches the second time threshold; and/or, issuing The second unlocking reminder command is used to control the first indicator light of the device to stay on until the long-on time reaches the second time threshold; and/or, issue the third unlocking reminder command to control the second indicator light of the device to stay on until it is determined that the device Not pumped.
根据本申请的一个实施例,在发出解锁指令以控制设备处于解锁状态时,方法还包括:发出工作指令以控制设备进行雾化,直至判断设备未被抽吸。According to an embodiment of the present application, when the unlocking instruction is issued to control the device to be in the unlocked state, the method further includes: issuing an operating instruction to control the device to perform atomization until it is determined that the device is not inhaled.
根据本申请的一个实施例,在判断设备不满足解锁条件时,方法还包括:判断设备是否未被抽吸;如果设备被抽吸,则继续获取设备被抽吸的第一持续时间;如果设备未被抽吸,则重新获取设备被抽吸的第一持续时间。According to an embodiment of the present application, when judging that the device does not meet the unlocking condition, the method further includes: judging whether the device is not inhaled; if the device is inhaled, continue to obtain the first duration of inhalation of the device; if the device is not pumped, the first duration that the device was pumped is retrieved.
根据本申请的一个实施例,电子雾化设备的开关控制方法还包括:判断第一持续时间是否达到设定时间,其中,设定时间小于第一时间阈值;如果第一持续时间达到设定时间,则发出解锁过程提醒指令以控制设备进行解锁过程提醒。According to an embodiment of the present application, the switch control method of the electronic atomization device further includes: judging whether the first duration reaches the set time, wherein the set time is less than the first time threshold; if the first duration reaches the set time , an unlocking process reminder instruction is issued to control the device to perform an unlocking process reminder.
根据本申请的一个实施例,发出解锁过程提醒指令以控制设备进行解锁过程提醒,包括:发出第一解锁过程提醒指令以控制设备的马达短震;和/或,发出第二解锁过程提醒指令以控制设备的第一指示灯短亮;和/或,发出第三解锁过程提醒指令以控制设备的第二指示灯短亮。According to an embodiment of the present application, issuing an unlocking process reminder instruction to control the device to perform an unlocking process reminder includes: issuing a first unlocking process reminder instruction to control a short vibration of a motor of the device; and/or sending a second unlocking process reminder instruction to The first indicator light of the control device is short-lighted; and/or, a third unlocking process reminder instruction is sent to control the second indicator light of the device to be short-lighted.
根据本申请的一个实施例,设定时间包括间隔设置的多个,控制设备的第二指示灯短亮,包括:控制第二指示灯以不同的颜色在多个设定时间交替短亮。According to an embodiment of the present application, the set time includes a plurality of set intervals, and controlling the second indicator light of the device to be short-lighted includes: controlling the second indicator light to be alternately short-lighted at multiple set times in different colors.
根据本申请的一个实施例,电子雾化设备的开关控制方法还包括:获取设备未被抽吸的第二持续时间;根据获取的第二持续时间判断设备是否满足锁定条件,或者是否需要重新获取设备未被抽吸的第二持续时间。According to an embodiment of the present application, the switch control method of the electronic atomization device further includes: obtaining the second duration of time that the device is not inhaled; judging whether the device meets the locking condition according to the obtained second duration, or whether it needs to be reacquired The second duration that the device is not pumped.
根据本申请的一个实施例,电子雾化设备的开关控制方法还包括:判断第二持续时间是否达到第三时间阈值;如果第二持续时间未达到第三时间阈值,则判断设备不满足锁定条件,不发出锁定指令以控制设备保持解锁状态;如果第二持续时间达到第三时间阈值,则判断设 备满足锁定条件,发出锁定指令以控制设备处于锁定状态。According to an embodiment of the present application, the switch control method of the electronic atomization device further includes: judging whether the second duration reaches the third time threshold; if the second duration does not reach the third time threshold, judging that the device does not meet the locking condition , no locking instruction is issued to control the device to remain in the unlocked state; if the second duration reaches the third time threshold, it is determined that the device meets the locking condition, and a locking instruction is issued to control the device to be in the locked state.
根据本申请的一个实施例,在发出锁定指令以控制设备处于锁定状态时,方法还包括:发出锁定提醒指令以控制设备进行锁定提醒。According to an embodiment of the present application, when sending a locking instruction to control the device to be in a locked state, the method further includes: sending a locking reminder instruction to control the device to perform a locking reminder.
根据本申请的一个实施例,发出锁定提醒指令以控制设备进行锁定提醒,包括:发出第一锁定提醒指令以控制设备的第一指示灯长亮,直至长亮时间达到第四时间阈值;和/或,发出第二锁定提醒指令以控制设备的第二指示灯长亮,直至长亮时间达到第四时间阈值。According to an embodiment of the present application, issuing a lock reminder instruction to control the device to perform a lock reminder includes: sending a first lock reminder instruction to control the first indicator light of the device to be on continuously until the long-on time reaches the fourth time threshold; and/ Or, send out the second lock reminder instruction to control the second indicator light of the device to be on continuously until the long-on time reaches the fourth time threshold.
根据本申请的一个实施例,电子雾化设备的开关控制方法还包括:获取设备的雾化部和控制部相对运动的次数,其中,相对运动包括可分离相对运动和非可分离相对运动;根据获取的次数判断设备是否满足关机条件,或者是否需要重新获取设备的雾化部和控制部相对运动的次数。According to an embodiment of the present application, the switch control method of the electronic atomization device further includes: acquiring the number of relative movements of the atomization part and the control part of the device, wherein the relative movements include separable relative movements and non-separable relative movements; according to The number of acquisitions determines whether the device meets the shutdown conditions, or whether it is necessary to re-acquire the relative movement times of the atomizing part and the control part of the device.
根据本申请的一个实施例,电子雾化设备的开关控制方法还包括:判断次数是否达到次数阈值;如果次数未达到次数阈值,则判断设备不满足关机条件,不发出关机指令以控制设备保持解锁状态;如果次数达到次数阈值,则判断设备满足关机条件,发出锁关机指令以控制设备处于关机状态。According to an embodiment of the present application, the switch control method of the electronic atomization device further includes: judging whether the number of times reaches the number threshold; if the number of times does not reach the number threshold, judging that the device does not meet the shutdown condition, and not issuing a shutdown command to control the device to keep unlocking state; if the number of times reaches the number threshold, it is judged that the device meets the shutdown condition, and a lock shutdown command is issued to control the device to be in the shutdown state.
根据本申请的一个实施例,在发出关机指令以控制设备处于关机状态时,方法还包括:发出关机提醒指令以控制设备进行关机提醒。According to an embodiment of the present application, when sending a shutdown instruction to control the device to be in a shutdown state, the method further includes: sending a shutdown reminder instruction to control the device to perform a shutdown reminder.
根据本申请的一个实施例,发出关机提醒指令以控制设备进行关机提醒,包括:发出第一关机提醒指令以控制设备的第一指示灯长亮,直至长亮时间达到第五时间阈值;和/或,发出第二关机提醒指令以控制设备的第二指示灯长亮,直至长亮时间达到第五时间阈值;和/或,发出第三关机提醒指令以控制设备的马达长震,直至长震时间达到第五时间阈值。According to an embodiment of the present application, issuing a power-off reminder command to control the device to perform a power-off reminder includes: sending a first power-off reminder command to control the first indicator light of the device to be on continuously until the long-on time reaches the fifth time threshold; and/ Or, issue a second shutdown reminder command to control the second indicator light of the device to stay on until the long-brightness time reaches the fifth time threshold; and/or send a third shutdown reminder command to control the motor of the device to vibrate for a long time until it vibrates for a long time Time reaches a fifth time threshold.
为达到上述目的,本申请第二方面实施例提出一种电子雾化设备的开关控制装置,包括:获取模块,用于在初始锁定状态下,获取设备被抽吸的第一持续时间;控制模块,用于根据获取的第一持续时间判断设备是否满足解锁条件,或者是否需要重新获取设备被抽吸的第一持续时间。In order to achieve the above purpose, the embodiment of the second aspect of the present application proposes a switch control device for an electronic atomization device, including: an acquisition module, used to acquire the first duration of the device being inhaled in the initial locking state; a control module , which is used to determine whether the device meets the unlocking condition according to the obtained first duration, or whether it is necessary to re-acquire the first duration for which the device is inhaled.
根据本申请实施例的电子雾化设备的开关控制装置,通过获取模块在初始锁定状态下,获取设备被抽吸的第一持续时间,并通过控制模块根据获取的第一持续时间判断设备是否满足解锁条件,不仅能够实现设备的防误触功能和童锁功能,而且省去了用户手动解锁的繁琐过程,保证了用户抽吸的便利性,且不增加硬件成本。According to the switch control device of the electronic atomization device according to the embodiment of the present application, the acquisition module acquires the first duration of inhalation of the device in the initial locking state, and the control module judges whether the device satisfies the requirements according to the obtained first duration. The unlocking conditions can not only realize the anti-mistouch function and child lock function of the device, but also save the cumbersome process of manual unlocking by the user, ensuring the convenience of the user's suction without increasing the hardware cost.
为达到上述目的,本申请第三方面实施例提出一种计算机可读存储介质,其上存储有电子雾化设备的开关控制程序,该电子雾化设备的开关控制程序被处理器执行时实现前述的电子雾化设备的开关控制方法。In order to achieve the above purpose, the embodiment of the third aspect of the present application proposes a computer-readable storage medium, on which is stored the switch control program of the electronic atomization device. When the switch control program of the electronic atomization device is executed by the processor, the aforementioned A switch control method for an electronic atomization device.
根据本申请实施例的计算机可读存储介质,基于前述的电子雾化设备的开关控制方法, 通过根据设备被抽吸的持续时间判断设备是否满足解锁条件,不仅能够实现设备的防误触功能和童锁功能,而且省去了用户手动解锁的繁琐过程,保证了用户抽吸的便利性,且不增加硬件成本。According to the computer-readable storage medium of the embodiment of the present application, based on the switch control method of the aforementioned electronic atomization device, by judging whether the device satisfies the unlocking condition according to the duration of the device being sucked, not only the anti-mistouch function of the device and The child lock function saves the cumbersome process of manual unlocking by the user, ensuring the convenience of pumping for the user without increasing hardware costs.
为达到上述目的,本申请第四方面实施例提出一种电子雾化设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的电子雾化设备的开关控制程序,处理器执行程序时,实现前述的电子雾化设备的开关控制方法。In order to achieve the above purpose, the embodiment of the fourth aspect of the present application proposes an electronic atomization device, including: a memory, a processor, and a switch control program of the electronic atomization device stored in the memory and running on the processor, and the processor When the program is executed, the aforementioned switch control method of the electronic atomization device is realized.
根据本申请实施例的电子雾化设备,基于前述的电子雾化设备的开关控制方法,通过根据设备被抽吸的持续时间判断设备是否满足解锁条件,不仅能够实现设备的防误触功能和童锁功能,而且省去了用户手动解锁的繁琐过程,保证了用户抽吸的便利性,且不增加硬件成本。According to the electronic atomization device of the embodiment of the present application, based on the switch control method of the electronic atomization device mentioned above, by judging whether the device meets the unlocking condition according to the duration of the device being sucked, not only the anti-mistouch function of the device and child-friendly The lock function saves the cumbersome process of manual unlocking by the user, ensuring the convenience of suction for the user without increasing hardware costs.
本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
附图说明Description of drawings
图1为根据本申请一个实施例的电子雾化设备的开关控制方法的流程图;FIG. 1 is a flowchart of a switch control method for an electronic atomization device according to an embodiment of the present application;
图2为根据本申请一个实施例的电子烟的结构示意图;Fig. 2 is a schematic structural diagram of an electronic cigarette according to an embodiment of the present application;
图3为根据本申请一个实施例的电子雾化设备的解锁过程示意图;Fig. 3 is a schematic diagram of an unlocking process of an electronic atomization device according to an embodiment of the present application;
图4为根据本申请一个实施例的电子雾化设备的开关控制装置的方框示意图。Fig. 4 is a schematic block diagram of a switch control device of an electronic atomization device according to an embodiment of the present application.
具体实施方式Detailed ways
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary, and are intended to explain the present application, and should not be construed as limiting the present application.
需要说明的是,本申请的电子雾化设备的开关控制方法可应用于封闭式电子雾化设备(如烟油不能更换的封闭式雾化电子烟)、开放式电子雾化设备(如烟油能够更换的开放式雾化电子烟)以及特殊用途电子雾化设备(如应用于医疗场景的雾化器),即不对本申请的电子雾化设备的类型以及结构等进行限制,只要能够基于该开关控制方法实现电子雾化设备的开关控制即可。It should be noted that the electronic atomization device switch control method of the present application can be applied to closed electronic atomization devices (such as closed atomized electronic cigarettes whose e-liquid cannot be replaced), open electronic atomization devices (such as e-liquid Replaceable open atomization electronic cigarette) and special-purpose electronic atomization equipment (such as atomizers used in medical scenes), that is, there are no restrictions on the type and structure of the electronic atomization equipment of this application, as long as it can be based on the The switch control method only needs to realize the switch control of the electronic atomization device.
图1为根据本申请一个实施例的电子雾化设备的开关控制方法的流程图。参考图1所示,该电子雾化设备的开关控制方法可包括:Fig. 1 is a flow chart of a method for controlling a switch of an electronic atomization device according to an embodiment of the present application. Referring to Figure 1, the switch control method of the electronic atomization device may include:
步骤S101,在初始锁定状态下,获取设备被抽吸的第一持续时间。Step S101 , in an initial locked state, acquire a first duration of suction for the device.
具体地,在设备处于初始锁定状态下,判断设备是否被抽吸,如果设备被抽吸,则记录 设备被抽吸的时间,并记为第一持续时间。可选的,可根据设备被抽吸时产生的抽吸气流判断设备是否被抽吸,若设备被抽吸,则开始持续记录抽吸时间,从而得到第一持续时间。Specifically, when the device is in the initial locked state, it is judged whether the device is inhaled, and if the device is inhaled, the time when the device is inhaled is recorded and recorded as the first duration. Optionally, it may be determined whether the device is inhaled according to the suction airflow generated when the device is inhaled, and if the device is inhaled, start to continuously record the inhalation time, so as to obtain the first duration.
步骤S102,根据获取的第一持续时间判断设备是否满足解锁条件,或者是否需要重新获取设备被抽吸的第一持续时间。Step S102, judging whether the device satisfies the unlocking condition according to the obtained first duration, or whether it is necessary to reacquire the first duration for which the device is inhaled.
具体地,在获得设备被抽吸的第一持续时间时,还对该第一持续时间进行判断,以判断该第一持续时间是否满足解锁条件,即判断是否控制设备进行解锁,或者是否需要重新获取设备被抽吸的第一持续时间。可以理解的是,通常误触产生的抽吸或者儿童等误抽吸产生的持续抽吸时间会比较短,而正常抽吸产生抽吸的时间会比较长,因此通过根据第一持续时间判断设备是否满足解锁条件,能够实现设备的防误触功能和童锁功能,同时可省去用户手动解锁的繁琐过程,保证了用户抽吸的便利性,且不增加硬件成本。Specifically, when obtaining the first duration that the device is inhaled, a judgment is also made on the first duration to determine whether the first duration satisfies the unlocking condition, that is, to judge whether to control the device to be unlocked, or whether it needs to be restarted. Gets the first duration for which the device was pumped. It can be understood that, usually, the continuous suction time caused by accidental suction or children's suction will be relatively short, while the time for normal suction will be relatively long, so by judging the device based on the first duration Whether the unlocking conditions are met can realize the anti-mistouch function and child lock function of the device, and at the same time save the cumbersome process of manual unlocking by the user, ensuring the convenience of the user's suction without increasing the hardware cost.
可选的,在一些实施例中,可判断第一持续时间是否达到第一时间阈值;如果第一持续时间未达到第一时间阈值,则判断设备不满足解锁条件,不发出解锁指令以控制设备保持锁定状态;如果第一持续时间达到第一时间阈值,则判断设备满足解锁条件,发出解锁指令以控制设备处于解锁状态。其中,第一时间阈值可根据实际情况进行设置,如第一时间阈值为1.5s。Optionally, in some embodiments, it may be determined whether the first duration reaches the first time threshold; if the first duration does not reach the first time threshold, it is determined that the device does not meet the unlocking condition, and no unlocking instruction is issued to control the device The locked state is maintained; if the first duration reaches the first time threshold, it is determined that the device meets the unlocking condition, and an unlocking instruction is issued to control the device to be in the unlocked state. Wherein, the first time threshold may be set according to actual conditions, for example, the first time threshold is 1.5s.
具体来说,在获得设备被抽吸的第一持续时间时,还判断该第一持续时间是否大于或等于第一时间阈值,若是,则说明设备被抽吸的时间较长,有正常抽吸需求,满足设备解锁条件,此时发出解锁指令以控制设备进行解锁;若否,则说明设备被抽吸的时间较短,可能是设备被误触发或者儿童等误抽吸,不满足设备解锁条件,此时不发出解锁指令,即设备仍处于锁定状态。Specifically, when obtaining the first duration of the device being sucked, it is also judged whether the first duration is greater than or equal to the first time threshold, and if so, it means that the device has been sucked for a long time, and there is normal suction Requirements, meet the device unlocking conditions, at this time issue an unlocking command to control the device to unlock; if not, it means that the device has been sucked for a short time, it may be that the device was triggered by mistake or a child sucked by mistake, and the device unlocking condition is not met , no unlock command is issued at this time, that is, the device is still locked.
进一步的,在一些实施例中,在判断设备不满足解锁条件时,方法还包括:判断设备是否未被抽吸;如果设备被抽吸,则继续获取设备被抽吸的第一持续时间;如果设备未被抽吸,则重新获取设备被抽吸的第一持续时间。Further, in some embodiments, when judging that the device does not satisfy the unlocking condition, the method further includes: judging whether the device is not inhaled; if the device is inhaled, continue to obtain the first duration of inhalation of the device; if If the device is not pumped, the first duration that the device was pumped is retrieved.
也就是说,在第一持续时间小于第一时间阈值时,若停止了对设备的抽吸,则需要重新获取设备被抽吸的第一持续时间,以重新根据获取的第一持续时间判断设备是否满足解锁条件。例如,当设备被误触发或者儿童等误抽吸时,由于误触发或者儿童误抽吸的抽吸时间较短,因此在第一持续时间未达到第一时间阈值时就停止了对设备的抽吸,此时需要重新获取设备被抽吸的第一持续时间,以根据重新获取的第一持续时间进行下一次的设备解锁判断。That is to say, when the first duration is less than the first time threshold, if the pumping of the device is stopped, it is necessary to re-acquire the first duration of the device being sucked, so as to judge the device again based on the obtained first duration. Whether the unlocking condition is met. For example, when the device is mis-triggered or mispuffed by a child, the suction time of the mis-triggered or mispuffed by a child is short, so the pumping of the device is stopped when the first duration does not reach the first time threshold At this time, it is necessary to reacquire the first duration of the device being sucked, so as to perform the next device unlocking judgment according to the reacquired first duration.
由此,通过根据第一持续时间与时间阈值的比较判断,即可快速、便捷地实现对设备的解锁,且能够在不增加硬件成本的条件下,实现设备的防误触功能和童锁功能,避免设备对周围环境或人员等带来安全隐患。Therefore, by comparing and judging based on the first duration and the time threshold, the device can be unlocked quickly and conveniently, and the device's anti-mistouch function and child lock function can be realized without increasing hardware costs , to prevent the equipment from bringing safety hazards to the surrounding environment or personnel.
进一步的,在一些实施例中,在发出解锁指令以控制设备处于解锁状态时,方法还包括: 发出工作指令以控制设备进行雾化,直至判断设备未被抽吸。Further, in some embodiments, when the unlocking instruction is issued to control the device to be in the unlocked state, the method further includes: issuing a work instruction to control the device to perform atomization until it is determined that the device is not inhaled.
也就是说,在发出解锁指令以控制设备解锁时,还发出工作指令至设备的雾化部,以控制雾化部开始雾化,直至第一次抽吸结束,从而在满足解锁条件后直接控制设备进行雾化工作,而非先解锁再在设备的第二次被抽吸时再控制设备进行雾化,可有效提高用户体验。That is to say, when the unlocking command is issued to control the unlocking of the device, a working command is also sent to the atomizing part of the device to control the atomizing part to start atomizing until the first suction ends, so that the device can be directly controlled after the unlocking condition is met. The device performs atomization instead of unlocking it first and then controlling the device to atomize when the device is inhaled for the second time, which can effectively improve the user experience.
可选的,在一些实施例中,在发出解锁指令以控制设备处于解锁状态时,方法还包括:发出解锁提醒指令以控制设备进行解锁提醒。也就是说,在控制设备进行解锁的同时,还控制设备进行解锁提醒,以告知用户当前正在解锁。Optionally, in some embodiments, when sending the unlock instruction to control the device to be in the unlocked state, the method further includes: sending an unlock reminder instruction to control the device to perform an unlock reminder. That is to say, while the device is controlled to be unlocked, the device is also controlled to perform an unlock reminder, so as to inform the user that the device is currently being unlocked.
进一步的,在一些实施例中,发出解锁提醒指令以控制设备进行解锁提醒,包括:发出第一解锁提醒指令以控制设备的马达长震,直至长震时间达到第二时间阈值;和/或,发出第二解锁提醒指令以控制设备的第一指示灯长亮,直至长亮时间达到第二时间阈值;和/或,发出第三解锁提醒指令以控制设备的第二指示灯长亮,直至判断设备未被抽吸。其中,第二时间阈值可根据实际情况进行设置,例如第二时间阈值为2s。Further, in some embodiments, issuing an unlock reminder instruction to control the device to perform an unlock reminder includes: issuing a first unlock reminder instruction to control a long vibration of a motor of the device until the long vibration time reaches a second time threshold; and/or, Issue a second unlock reminder instruction to control the first indicator light of the device to stay on until the long-on time reaches the second time threshold; and/or issue a third unlock reminder instruction to control the second indicator light of the device to stay on until it is judged The device is not pumped. Wherein, the second time threshold may be set according to actual conditions, for example, the second time threshold is 2s.
具体来说,可以在设备上设置马达、指示灯等进行设备的解锁相关提醒。可选的,可在设备上设置马达或指示灯,通过控制马达或指示灯来进行解锁提醒,或者,在设备上设置马达和指示灯,通过控制马达和指示灯中的部分来进行解锁提醒,其中,马达和指示灯的类型以及个数等均不受限制,只要能够进行合理、有效地提醒即可,例如马达可为震动马达,可实现轻震、短震、长震等功能,指示灯可为第一指示灯和/或第二指示灯,第一指示灯可进一步为RGB灯等,第二指示灯可进一步为双色灯以实现双色交替闪烁功能。Specifically, a motor, an indicator light, etc. can be set on the device to remind about unlocking the device. Optionally, a motor or an indicator light can be set on the device, and the unlocking reminder can be performed by controlling the motor or the indicator light, or, the motor and the indicator light can be set on the device, and the unlocking reminder can be performed by controlling the part of the motor and the indicator light, Among them, the type and number of motors and indicator lights are not limited, as long as they can be reasonably and effectively reminded, for example, the motor can be a vibration motor, which can realize functions such as light vibration, short vibration, and long vibration. It can be a first indicator light and/or a second indicator light, and the first indicator light can further be an RGB light, etc., and the second indicator light can be further a two-color light to realize the two-color alternate flashing function.
在一些具体示例中,可在设备上设置马达(如震动马达),在控制设备进行解锁的同时,发出第一解锁提醒指令至马达以控制马达长震,直至长震时间达到第二时间阈值;或者,在设备上设置第一指示灯,在控制设备进行解锁的同时,发出第二解锁提醒指令至第一指示灯以控制第一指示灯(如RGB灯)以第一颜色(如紫色)点亮,直至点亮时间达到第二时间阈值;或者,在设备上设置第二指示灯,在控制设备进行解锁的同时,发出第三解锁提醒指令至第二指示灯以控制第二指示灯以第二颜色(如白色)点亮,直至设备未被抽吸,即本次抽吸结束;或者,在设备上同时设置马达、第一指示灯和第二指示灯,并在控制设备进行解锁的同时,发出第一解锁提醒指令至马达以控制马达长震,直至长震时间达到第二时间阈值,并发出第二解锁提醒指令至第一指示灯以控制第一指示灯(如RGB灯)以第一颜色(如紫色)点亮,直至点亮时间达到第二时间阈值,以及发出第三解锁提醒指令至第二指示灯以控制第二指示灯以第二颜色(如白色)点亮,直至设备未被抽吸,即本次抽吸结束。In some specific examples, a motor (such as a vibration motor) can be set on the device, and while the device is being unlocked, a first unlock reminder command is sent to the motor to control the motor for a long vibration until the long vibration time reaches the second time threshold; Alternatively, a first indicator light is set on the device, and while the device is unlocked, a second unlocking reminder instruction is sent to the first indicator light to control the first indicator light (such as RGB light) to point in the first color (such as purple) until the lighting time reaches the second time threshold; or, set a second indicator light on the device, and at the same time control the unlocking of the device, send a third unlock reminder command to the second indicator light to control the second indicator light to the second indicator light The second color (such as white) lights up until the device is not pumped, that is, the current suction is over; or, set the motor, the first indicator light and the second indicator light on the device at the same time, and control the device while unlocking , send the first unlocking reminder command to the motor to control the long vibration of the motor until the long vibration time reaches the second time threshold, and send the second unlocking reminder command to the first indicator light to control the first indicator light (such as RGB lights) with the second A color (such as purple) is lit until the lighting time reaches the second time threshold, and a third unlock reminder command is sent to the second indicator light to control the second indicator light to be lit with the second color (such as white) until the device If it is not sucked, that is, the suction is over.
需要说明的是,这里仅是部分示例说明,当然还存在其它组合情况,例如,同时设置马达和第一指示灯,或者同时设置第一指示灯和第二指示灯,等等,具体这里就不再一一列举了。It should be noted that this is only a partial illustration, and of course there are other combinations, for example, setting the motor and the first indicator light at the same time, or setting the first indicator light and the second indicator light at the same time, etc. Listed one by one again.
由此,在控制设备进行解锁的同时,还控制设备进行解锁提醒,以告知用户当前正在解锁,使得用户能够通过视觉和/或触觉清楚地了解设备的状态。Thus, while the device is controlled to be unlocked, the device is also controlled to be unlocked to remind the user that it is currently being unlocked, so that the user can clearly understand the status of the device through vision and/or touch.
可选的,在一些实施例中,电子雾化设备的开关控制方法还包括:判断第一持续时间是否达到设定时间,其中,设定时间小于第一时间阈值;如果第一持续时间达到设定时间,则发出解锁过程提醒指令以控制设备进行解锁过程提醒。其中,设定时间的个数以及设定时间的具体值可根据实际情况进行设置,且该设定时间小于第一时间阈值,以便基于设定时间进行解锁过程提醒,例如,当第一时间阈值为1.5s时,设定时间可以为0.8s,或者设定时间为0.5s和1s,或者,设定时间为0.5s、1s和1.4s等。Optionally, in some embodiments, the switch control method of the electronic atomization device further includes: judging whether the first duration reaches the set time, wherein the set time is less than the first time threshold; if the first duration reaches the set time If the time is set, an unlocking process reminder instruction is issued to control the device to perform an unlocking process reminder. Wherein, the number of the set time and the specific value of the set time can be set according to the actual situation, and the set time is less than the first time threshold, so as to remind the unlocking process based on the set time, for example, when the first time threshold When the time is 1.5s, the setting time can be 0.8s, or the setting time is 0.5s and 1s, or the setting time is 0.5s, 1s and 1.4s, etc.
具体来说,在获得设备被抽吸的第一持续时间时,还判断该第一持续时间是否等于设定时间,若第一持续时间等于设定时间,则发出解锁过程提醒指令以控制设备进行解锁过程提醒,从而在第一持续时间未满足设备的解锁条件时,根据第一持续时间进行解锁过程的提醒,以告知用户当前处于解锁过程中。Specifically, when obtaining the first duration of the device being sucked, it is also judged whether the first duration is equal to the set time, and if the first duration is equal to the set time, an unlocking process reminder command is issued to control the device to perform The unlocking process reminder, so that when the first duration does not meet the unlocking condition of the device, the unlocking process is reminded according to the first duration, so as to inform the user that the unlocking process is currently in progress.
举例来说,假设设定时间为0.8s,那么当第一持续时间达到0.8s时,则发出解锁过程提醒指令以控制设备进行短暂的解锁过程提醒,即在第一持续时间达到第一时间阈值之前进行一次解锁过程提醒;又如,假设设定时间为0.5s和1s,那么当第一持续时间达到0.5s时,则发出解锁过程提醒指令以控制设备进行短暂的解锁过程提醒,并且当第一持续时间达到1s时,再次发出解锁过程提醒指令以控制设备进行短暂的解锁过程提醒,即在第一持续时间达到第一时间阈值之前进行两次解锁过程提醒。For example, assuming that the set time is 0.8s, then when the first duration reaches 0.8s, an unlocking process reminder instruction is issued to control the device to perform a short unlocking process reminder, that is, the first time threshold is reached within the first duration An unlocking process reminder was performed before; as another example, assuming that the set time is 0.5s and 1s, then when the first duration reaches 0.5s, an unlocking process reminder command is issued to control the device for a short unlocking process reminder, and when the second When the first duration reaches 1 second, the unlocking process reminder instruction is issued again to control the device to perform a brief unlocking process reminder, that is, two unlocking process reminders are performed before the first duration reaches the first time threshold.
由此,通过在第一持续时间达到第一时间阈值之前,通过设置至少一个设定时间进行解锁过程提醒,能够使得用户清楚地了解当前是否处于解锁过程,即使得设备对用户具有解锁过程反馈功能,以避免在无任何反馈的情况,用户可能认为设备损坏等情况发生。Therefore, before the first duration reaches the first time threshold, by setting at least one set time to remind the unlocking process, the user can clearly understand whether it is currently in the unlocking process, that is, the device has an unlocking process feedback function for the user To avoid situations where the user may think that the device is damaged without any feedback.
可选的,在一些实施例中,发出解锁过程提醒指令以控制设备进行解锁过程提醒,包括:发出第一解锁过程提醒指令以控制设备的马达短震;和/或,发出第二解锁过程提醒指令以控制设备的第一指示灯短亮;和/或,发出第三解锁过程提醒指令以控制设备的第二指示灯短亮。Optionally, in some embodiments, issuing an unlocking process reminder instruction to control the device to perform an unlocking process reminder includes: issuing a first unlocking process reminder instruction to control a short vibration of a motor of the device; and/or issuing a second unlocking process reminder Instructions to control the short light of the first indicator light of the device; and/or, issuing a third unlocking process reminder instruction to control the short light of the second indicator light of the device.
具体来说,可以在设备上设置马达、指示灯等进行设备的解锁过程相关提醒。可选的,可在设备上设置马达或指示灯,通过控制马达或指示灯来进行解锁过程提醒,或者,在设备上设置马达和指示灯,通过控制马达和指示灯中的部分来进行解锁过程提醒,其中,马达和指示灯的类型以及个数等均不受限制,只要能够进行合理、有效地提醒即可,例如马达可为震动马达,可实现轻震、短震、长震等功能,指示灯可为第一指示灯和/或第二指示灯,第一指示灯可进一步为RGB灯等,第二指示灯可进一步为双色灯以实现双色交替闪烁功能。Specifically, a motor, an indicator light, etc. can be set on the device to remind about the unlocking process of the device. Optionally, a motor or an indicator light can be set on the device, and the unlocking process can be reminded by controlling the motor or the indicator light, or, the motor and the indicator light can be set on the device, and the unlocking process can be carried out by controlling the part of the motor and the indicator light Reminder, among them, the type and number of motors and indicator lights are not limited, as long as it can be reasonably and effectively reminded, for example, the motor can be a vibration motor, which can realize functions such as light vibration, short vibration, long vibration, etc. The indicator light can be a first indicator light and/or a second indicator light, and the first indicator light can further be an RGB light, etc., and the second indicator light can be further a two-color light to realize the dual-color alternate flashing function.
在一些具体示例中,可在设备上设置马达(如震动马达),在第一持续时间等于设定时 间时,发出第一解锁过程提醒指令至马达以控制马达短震(或轻震);或者,在设备上设置第一指示灯,在第一持续时间等于设定时间时,发出第二解锁过程提醒指令至第一指示灯以控制第一指示灯(如RGB灯)以第一颜色(如紫色)闪烁一下;或者,在设备上设置第二指示灯,在第一持续时间等于设定时间时,发出第三解锁过程提醒指令至第二指示灯以控制第二指示灯(如双色灯)以第二颜色(如白色)或第三颜色(如红色)闪烁一下;或者,在设备上同时设置马达、第一指示灯和第二指示灯,并在第一持续时间等于设定时间时,发出第一解锁过程提醒指令至马达以控制马达短震(或轻震),并发出第二解锁过程提醒指令至第一指示灯以控制第一指示灯(如RGB灯)以第一颜色(如紫色)闪烁一下,以及发出第三解锁过程提醒指令至第二指示灯以控制第二指示灯以第二颜色(如白色)或第三颜色(如红色)闪烁一下。In some specific examples, a motor (such as a vibration motor) can be set on the device, and when the first duration is equal to the set time, a first unlocking process reminder command is sent to the motor to control the motor to vibrate shortly (or lightly); or , set the first indicator light on the device, and when the first duration is equal to the set time, send a second unlocking process reminder command to the first indicator light to control the first indicator light (such as RGB light) in the first color (such as Purple) flash once; or, set a second indicator light on the device, and when the first duration is equal to the set time, send a third unlocking process reminder command to the second indicator light to control the second indicator light (such as a two-color light) Flash once with the second color (such as white) or the third color (such as red); or, set the motor, the first indicator light and the second indicator light on the device at the same time, and when the first duration is equal to the set time, Send the first unlocking process reminder command to the motor to control the short vibration (or light vibration) of the motor, and send the second unlocking process reminder command to the first indicator light to control the first indicator light (such as RGB light) in the first color (such as Purple) to flash once, and send a third unlocking process reminder command to the second indicator light to control the second indicator light to flash once with the second color (such as white) or the third color (such as red).
需要说明的是,这里仅是部分示例说明,当然还存在其它组合情况,例如,同时设置马达和第一指示灯,或者同时设置第一指示灯和第二指示灯,等等,具体这里就不再一一列举了。It should be noted that this is only a partial illustration, and of course there are other combinations, for example, setting the motor and the first indicator light at the same time, or setting the first indicator light and the second indicator light at the same time, etc. Listed one by one again.
进一步的,当设定时间包括间隔设置的多个时,控制设备的第二指示灯短亮,包括:控制第二指示灯以不同的颜色在多个设定时间交替短亮。例如,假设设定时间为0.5s、1s和1.4s,那么当第一持续时间达到0.5s时,控制第二指示灯以第三颜色(如红色)闪烁一下,当第一持续时间达到1s时,控制第二指示灯以第二颜色(如白色)闪烁一下,当第一持续时间达到1.4s时,控制第二指示灯以第三颜色(如红色)闪烁一下,由此实现红白交替闪烁。Further, when the set time includes a plurality of set intervals, controlling the second indicator light of the device to turn on briefly includes: controlling the second indicator light to alternately turn on in different colors for a plurality of set times. For example, assuming that the set time is 0.5s, 1s and 1.4s, then when the first duration reaches 0.5s, control the second indicator light to flash with a third color (such as red), and when the first duration reaches 1s , control the second indicator light to flash once with the second color (such as white), and when the first duration reaches 1.4s, control the second indicator light to flash once with the third color (such as red), thereby realizing the alternate flashing of red and white .
由此,在第一持续时间未达到第一时间阈值之前,还控制设备进行解锁过程提醒,以告知用户当前正处于解锁过程中,使得用户能够通过视觉和/或触觉清楚地了解设备的状态,实现了用户与设备的交互。Therefore, before the first duration does not reach the first time threshold, the device is also controlled to remind the unlocking process to inform the user that it is currently in the unlocking process, so that the user can clearly understand the status of the device through vision and/or touch. The interaction between the user and the device is realized.
进一步的,在一些实施例中,电子雾化设备的开关控制方法还包括:获取设备未被抽吸的第二持续时间;根据获取的第二持续时间判断设备是否满足锁定条件,或者是否需要重新获取设备未被抽吸的第二持续时间。Further, in some embodiments, the switch control method of the electronic atomization device further includes: obtaining the second duration of time that the device is not inhaled; judging whether the device meets the locking condition according to the obtained second duration, or whether it needs to be restarted. Gets the second duration that the device has not been pumped.
具体来说,在设备处于解锁状态后,还判断设备是否未被抽吸,如果设备未被抽吸,则记录设备未被抽吸的时间,并记为第二持续时间。可选的,可根据设备被抽吸时产生的抽吸气流判断设备是否未被抽吸,若设备未被抽吸,则开始持续记录未被抽吸时间,从而得到第二持续时间。在获得设备未被抽吸的第二持续时间时,还对该第二持续时间进行判断,以判断该第二持续时间是否满足设备的锁定条件,即判断是否控制设备进行锁定,或者是否需要重新获取设备未被抽吸的第二持续时间。可以理解的是,当设备长时间未被抽吸时,说明用户可以不需要抽吸该设备,因此可基于设备未被抽吸的第二持续时间判断设备是否满足锁定 条件,从而达到自动锁定的功能,无需用户手动操作,保证了用户抽吸的便利性,且不增加硬件成本。Specifically, after the device is in the unlocked state, it is also judged whether the device is not inhaled, and if the device is not inhaled, record the time that the device is not inhaled, and record it as the second duration. Optionally, it may be determined whether the device is not being sucked according to the suction airflow generated when the device is being sucked, and if the device is not being sucked, start to record the time of not being sucked continuously, so as to obtain the second duration. When obtaining the second duration that the device is not inhaled, the second duration is also judged to determine whether the second duration satisfies the locking condition of the device, that is, to judge whether to control the device to be locked, or whether it needs to be restarted. Gets the second duration that the device has not been pumped. It can be understood that when the device has not been sucked for a long time, it means that the user does not need to suck the device, so it can be judged whether the device meets the locking condition based on the second duration of the device not being sucked, so as to achieve automatic locking function, without the need for manual operation by the user, which ensures the convenience of suction for the user and does not increase the cost of hardware.
可选的,在一些实施例中,可判断第二持续时间是否达到第三时间阈值;如果第二持续时间未达到第三时间阈值,则判断设备不满足锁定条件,不发出锁定指令以控制设备保持解锁状态;如果第二持续时间达到第三时间阈值,则判断设备满足锁定条件,发出锁定指令以控制设备处于锁定状态。其中,第三时间阈值可根据实际情况进行设置,如第三时间阈值为20m。Optionally, in some embodiments, it may be determined whether the second duration reaches the third time threshold; if the second duration does not reach the third time threshold, it is determined that the device does not meet the locking condition, and no locking instruction is issued to control the device Keep the unlocked state; if the second duration reaches the third time threshold, it is judged that the device meets the locking condition, and a locking instruction is issued to control the device to be in the locked state. Wherein, the third time threshold may be set according to actual conditions, for example, the third time threshold is 20m.
具体来说,在获得设备未被抽吸的第二持续时间时,还判断该第二持续时间是否大于或等于第三时间阈值,若是,则说明设备未被抽吸的时间较长,用户当前不需要抽吸,满足设备锁定条件,此时发出锁定指令以控制设备进行锁定;若否,则说明设备未被抽吸的时间较短,可能是用户中间休息调整等,不满足设备锁定条件,此时不发出锁定指令,即设备仍处于解锁状态。Specifically, when obtaining the second duration that the device is not inhaled, it is also judged whether the second duration is greater than or equal to the third time threshold, if so, it means that the device has not been inhaled for a long time, and the user currently No suction is required, and the device lock condition is met. At this time, a lock command is issued to control the device to lock; if not, it means that the device has not been pumped for a short time, which may be due to the user taking a break to adjust, etc., which does not meet the device lock condition. At this time, no lock command is issued, that is, the device is still in the unlocked state.
可选的,在一些实施例中,在发出锁定指令以控制设备处于锁定状态时,方法还包括:发出锁定提醒指令以控制设备进行锁定提醒。也就是说,在控制设备进行锁定的同时,还控制设备进行锁定提醒,以告知用户当前正在锁定。Optionally, in some embodiments, when sending the lock instruction to control the device to be in the locked state, the method further includes: sending a lock reminder instruction to control the device to perform a lock reminder. That is to say, while the device is controlled to be locked, the device is also controlled to perform a lock reminder, so as to inform the user that the device is currently being locked.
进一步的,在一些实施例中,发出锁定提醒指令以控制设备进行锁定提醒,包括:发出第一锁定提醒指令以控制设备的第一指示灯长亮,直至长亮时间达到第四时间阈值;和/或,发出第二锁定提醒指令以控制设备的第二指示灯长亮,直至长亮时间达到第四时间阈值。其中,第四时间阈值可根据实际情况进行设置,例如第四时间阈值为2s。Further, in some embodiments, issuing a lock reminder instruction to control the device to perform a lock reminder includes: issuing a first lock reminder instruction to control the first indicator light of the device to be on continuously until the long-on time reaches a fourth time threshold; and /or, sending out a second lock reminder instruction to control the second indicator light of the device to be on continuously until the long-on time reaches a fourth time threshold. Wherein, the fourth time threshold may be set according to actual conditions, for example, the fourth time threshold is 2s.
具体来说,可以在设备上设置指示灯等进行设备的锁定相关提醒。可选的,指示灯可为第一指示灯和/或第二指示灯,第一指示灯可进一步为RGB灯等,第二指示灯可进一步为双色灯以实现双色交替闪烁功能。Specifically, an indicator light or the like may be set on the device to remind about device locking. Optionally, the indicator light can be a first indicator light and/or a second indicator light, the first indicator light can further be an RGB light, etc., and the second indicator light can be further a two-color light to realize the function of two-color alternate flashing.
在一些具体示例中,可在设备上设置第一指示灯,在控制设备进行锁定的同时,发出第一锁定提醒指令至第一指示灯以控制第一指示灯(如RGB灯)以第一颜色(如紫色)点亮,直至点亮时间达到第四时间阈值;或者,在设备上设置第二指示灯,在控制设备进行锁定的同时,发出第二锁定提醒指令至第二指示灯以控制第二指示灯以第二颜色(如白色)点亮,直至点亮时间达到第四时间阈值;或者,在设备上同时设置第一指示灯和第二指示灯,并在控制设备进行锁定的同时,发出第一锁定提醒指令至第一指示灯以控制第一指示灯(如RGB灯)以第一颜色(如紫色)点亮,直至点亮时间达到第四时间阈值,以及发出第二锁定提醒指令至第二指示灯以控制第二指示灯以第二颜色(如白色)点亮,直至点亮时间达到第四时间阈值。In some specific examples, a first indicator light can be set on the device, and while the device is locked, a first lock reminder instruction is sent to the first indicator light to control the first indicator light (such as an RGB light) to display in the first color (such as purple) lights up until the lighting time reaches the fourth time threshold; or, set a second indicator light on the device, and while controlling the device to lock, send a second lock reminder command to the second indicator light to control the second indicator light The two indicator lights are lit with the second color (such as white) until the lighting time reaches the fourth time threshold; or, the first indicator light and the second indicator light are set on the device at the same time, and while the control device is locked, Send the first lock reminder command to the first indicator light to control the first indicator light (such as RGB light) to light up in the first color (such as purple) until the lighting time reaches the fourth time threshold, and send the second lock reminder command to the second indicator light to control the second indicator light to light up with a second color (eg, white) until the lighting time reaches the fourth time threshold.
需要说明的是,这里仅是部分示例说明,当然还存在其它组合情况,例如,同时设置马 达和第一指示灯,或者同时设置马达和第二指示灯,等等,具体这里就不再一一列举了。It should be noted that this is only a partial illustration, and of course there are other combinations, for example, setting the motor and the first indicator light at the same time, or setting the motor and the second indicator light at the same time, etc., which will not be detailed here. listed.
由此,在控制设备进行锁定的同时,还控制设备进行锁定提醒,以告知用户当前正在锁定,使得用户能够通过视觉和/或触觉清楚地了解设备的状态。Thus, while the device is controlled to be locked, the device is also controlled to perform a lock reminder, so as to inform the user that it is currently being locked, so that the user can clearly understand the status of the device through vision and/or touch.
可选的,在一些实施例中,电子雾化设备的开关控制方法还包括:获取设备的雾化部和控制部相对运动的次数,其中,相对运动包括可分离相对运动和非可分离相对运动;根据获取的次数判断设备是否满足关机条件,或者是否需要重新获取设备的雾化部和控制部相对运动的次数。Optionally, in some embodiments, the switch control method of the electronic atomization device further includes: acquiring the number of relative movements of the atomization part and the control part of the device, wherein the relative movements include separable relative movements and non-separable relative movements ; Judging whether the device meets the shutdown condition according to the number of acquisitions, or whether it is necessary to re-acquire the number of relative movements of the atomization part and the control part of the device.
需要说明的是,在一些示例中,电子雾化设备可包括雾化部和控制部,雾化部分可包括雾化芯以进行雾化工作,控制部可包括控制器等,以控制雾化芯进行雾化工作。雾化部和控制部可采用能够相对运动的结构设计,进一步的,在相对运动时,两者可完全脱离,也可以不完全脱离,具体这里不做限制。It should be noted that, in some examples, the electronic atomization device may include an atomization part and a control part, the atomization part may include an atomization core to perform atomization work, and the control part may include a controller, etc. Do atomization work. The atomizing part and the control part can adopt a structural design capable of relative movement. Furthermore, during the relative movement, the two can be completely separated or not completely separated, which is not limited here.
在设备处于解锁状态后,还可判断设备的雾化部和控制部是否发生了相对运动,如雾化部是否被从控制部拔出再插入,若是,则记录相对运动的次数,并根据次数判断设备是否满足关机条件,即判断是否控制设备关机。After the device is in the unlocked state, it can also be judged whether the atomization part and the control part of the device have relative movement, such as whether the atomization part has been pulled out from the control part and inserted again, if so, record the number of relative movements, and according to the number Judging whether the device meets the shutdown conditions, that is, judging whether to control the shutdown of the device.
可选的,在一些实施例中,可判断次数是否达到次数阈值;如果次数未达到次数阈值,则判断设备不满足关机条件,不发出关机指令以控制设备保持解锁状态;如果次数达到次数阈值,则判断设备满足关机条件,发出锁关机指令以控制设备处于关机状态。其中,次数阈值可根据实际情况进行设置,如次数阈值为3次。Optionally, in some embodiments, it can be judged whether the number of times reaches the number threshold; if the number of times does not reach the number threshold, it is determined that the device does not meet the shutdown condition, and no shutdown instruction is issued to control the device to remain in the unlocked state; if the number of times reaches the number threshold, Then it is judged that the device meets the shutdown condition, and a lock shutdown command is issued to control the device to be in the shutdown state. Wherein, the number of times threshold can be set according to the actual situation, for example, the number of times threshold is 3 times.
具体来说,在获得雾化部和控制部相对运动的次数后,还判断该次数是否大于或等于次数阈值,若是,则说明用户期望设备关机,满足设备关机条件,此时发出关机指令以控制设备进行关机;若否,则说明可能是用户误操作或者时更换雾化部(如,雾化部可更换),不满足设备关机条件,此时不发出关机指令,即设备仍处于解锁状态。Specifically, after obtaining the number of relative movements of the atomization part and the control part, it is also judged whether the number of times is greater than or equal to the number threshold. The device is shut down; if not, it means that the user may have mis-operated or replaced the atomization part (for example, the atomization part can be replaced), which does not meet the shutdown conditions of the device. At this time, no shutdown command is issued, that is, the device is still in the unlocked state.
可选的,在一些实施例中,在发出关机指令以控制设备处于关机状态时,方法还包括:发出关机提醒指令以控制设备进行关机提醒。也就是说,在控制设备进行关机的同时,还控制设备进行关机提醒,以告知用户当前正在关机。Optionally, in some embodiments, when sending the shutdown instruction to control the device to be in the shutdown state, the method further includes: sending a shutdown reminder instruction to control the device to perform a shutdown reminder. That is to say, while the device is controlled to be shut down, the device is also controlled to perform a shutdown reminder, so as to inform the user that the device is currently being shut down.
进一步的,在一些实施例中,发出关机提醒指令以控制设备进行关机提醒,包括:发出第一关机提醒指令以控制设备的第一指示灯长亮,直至长亮时间达到第五时间阈值;和/或,发出第二关机提醒指令以控制设备的第二指示灯长亮,直至长亮时间达到第五时间阈值;和/或,发出第三关机提醒指令以控制设备的马达长震,直至长震时间达到第五时间阈值。其中,第五时间阈值可根据实际情况进行设置,如第五时间阈值为2s。Further, in some embodiments, issuing a shutdown reminder instruction to control the device to perform a shutdown reminder includes: sending a first shutdown reminder instruction to control the first indicator light of the device to stay on until the duration of the shutdown reaches the fifth time threshold; and /or, issue a second shutdown reminder instruction to control the second indicator light of the device to stay on until the long-brightness time reaches the fifth time threshold; and/or send a third shutdown reminder instruction to control the long vibration of the motor of the device until it lasts for a long time The shock time reaches the fifth time threshold. Wherein, the fifth time threshold may be set according to actual conditions, for example, the fifth time threshold is 2s.
具体来说,可以在设备上设置马达、指示灯等进行设备的关机相关提醒。可选的,可在设备上设置马达或指示灯,通过控制马达或指示灯来进行关机提醒,或者,在设备上设置马 达和指示灯,通过控制马达和指示灯中的部分来进行关机提醒,其中,马达和指示灯的类型以及个数等均不受限制,只要能够进行合理、有效地提醒即可,例如马达可为震动马达,可实现轻震、短震、长震等功能,指示灯可为第一指示灯和/或第二指示灯,第一指示灯可进一步为RGB灯等,第二指示灯可进一步为双色灯以实现双色交替闪烁功能。Specifically, a motor, an indicator light, etc. may be set on the device to remind the device of shutting down. Optionally, a motor or an indicator light can be set on the device, and a shutdown reminder can be provided by controlling the motor or indicator light, or a motor and an indicator light can be set on the device, and a shutdown reminder can be performed by controlling a part of the motor and the indicator light, Among them, the type and number of motors and indicator lights are not limited, as long as they can be reasonably and effectively reminded, for example, the motor can be a vibration motor, which can realize functions such as light vibration, short vibration, and long vibration. It can be a first indicator light and/or a second indicator light, and the first indicator light can further be an RGB light, etc., and the second indicator light can be further a two-color light to realize the two-color alternate flashing function.
在一些具体示例中,可在设备上设置马达(如震动马达),在控制设备进行关机的同时,发出第三关机提醒指令至马达以控制马达长震,直至长震时间达到第五时间阈值;或者,在设备上设置第一指示灯,在控制设备进行关机的同时,发出第一关机提醒指令至第一指示灯以控制第一指示灯(如RGB灯)以第一颜色(如紫色)点亮,直至点亮时间达到第五时间阈值;或者,在设备上设置第二指示灯,在控制设备进行关机的同时,发出第二关机提醒指令至第二指示灯以控制第二指示灯以第二颜色(如白色)点亮,直至点亮时间达到第五时间阈值;或者,在设备上同时设置马达、第一指示灯和第二指示灯,并在控制设备进行关机的同时,发出第三关机提醒指令至马达以控制马达长震,直至长震时间达到第五时间阈值,并发出第一关机提醒指令至第一指示灯以控制第一指示灯(如RGB灯)以第一颜色(如紫色)点亮,直至点亮时间达到第五时间阈值,以及发出第二关机提醒指令至第二指示灯以控制第二指示灯以第二颜色(如白色)点亮,直至点亮时间达到第五时间阈值。In some specific examples, a motor (such as a vibrating motor) can be set on the device, and while the device is being shut down, a third shutdown reminder command is sent to the motor to control the long vibration of the motor until the long vibration time reaches the fifth time threshold; Or, set the first indicator light on the device, and while controlling the device to shut down, send the first shutdown reminder command to the first indicator light to control the first indicator light (such as RGB light) to point with the first color (such as purple) until the lighting time reaches the fifth time threshold; or, set a second indicator light on the device, and at the same time control the shutdown of the device, send a second shutdown reminder command to the second indicator light to control the second indicator light to the second indicator light Two colors (such as white) are lit until the lighting time reaches the fifth time threshold; or, the motor, the first indicator light and the second indicator light are set on the device at the same time, and when the control device is shut down, a third signal is sent. The shutdown reminder command is sent to the motor to control the long vibration of the motor until the long vibration time reaches the fifth time threshold, and the first shutdown reminder command is sent to the first indicator light to control the first indicator light (such as RGB light) with a first color (such as Purple) to light up until the lighting time reaches the fifth time threshold, and send a second shutdown reminder command to the second indicator light to control the second indicator light to light up in a second color (such as white) until the lighting time reaches the fifth time threshold Five time thresholds.
需要说明的是,这里仅是部分示例说明,当然还存在其它组合情况,例如,同时设置马达和第一指示灯,或者同时设置第一指示灯和第二指示灯,等等,具体这里就不再一一列举了。It should be noted that this is only a partial illustration, and of course there are other combinations, for example, setting the motor and the first indicator light at the same time, or setting the first indicator light and the second indicator light at the same time, etc. Listed one by one again.
由此,在控制设备进行关机的同时,还控制设备进行关机提醒,以告知用户当前正在关机,使得用户能够通过视觉和/或触觉清楚地了解设备的状态。Thus, while the device is controlled to be powered off, the device is also controlled to perform a shutdown reminder to inform the user that the device is currently being powered off, so that the user can clearly understand the status of the device through vision and/or touch.
为使本领域技术人员能够清楚的了解本申请,下面以图2所示的电子雾化设备为电子烟这一具体示例进行说明。In order to enable those skilled in the art to clearly understand the present application, the specific example that the electronic atomization device shown in FIG. 2 is an electronic cigarette is described below.
参考图2所示,电子烟包括烟杆和烟弹,烟杆和烟弹可拆卸地连接。烟弹包括吸嘴、贮液腔和雾化芯,贮液腔用于存放烟油,雾化芯用于对烟油加热气化以产生雾状颗粒,从而模仿传统烟草燃烧后的烟雾效果。烟杆包括电池、气压传感器、控制板和指示灯,电池用于给整个电子烟供电,气压传感器用于检测电子烟被抽吸时的抽吸气流并传递给控制板,控制板上设置有控制器和马达,控制器记录抽吸气流变化和抽吸气流时间,并基于内置的控制方法输出控制指令给雾化芯、指示灯以及马达以对电子烟进行控制,进而实现电子烟的解锁、锁定、出烟以及对指示灯和马达等的控制。其中,指示灯包括RGB灯和双色灯,马达为微型震动马达。Referring to FIG. 2 , the electronic cigarette includes a cigarette rod and a cartridge, and the cigarette rod and the cartridge are detachably connected. The pod includes a suction nozzle, a liquid storage chamber and an atomizing core. The liquid storage chamber is used to store e-liquid, and the atomizing core is used to heat and vaporize the e-liquid to produce mist particles, thereby imitating the smoke effect of traditional tobacco after burning. The cigarette rod includes a battery, an air pressure sensor, a control board and an indicator light. The battery is used to power the entire electronic cigarette. The air pressure sensor is used to detect the suction airflow when the electronic cigarette is sucked and transmit it to the control board. The control board is equipped with a control panel. The controller records the change of the suction airflow and the time of the suction airflow, and based on the built-in control method, outputs control commands to the atomizing core, indicator light and motor to control the electronic cigarette, and then realize the unlocking and locking of the electronic cigarette , smoke and control of indicator lights and motors. Among them, the indicator lights include RGB lights and two-color lights, and the motor is a miniature vibration motor.
通常初始状态下烟杆和烟弹处于分离状态(也可能处于连接状态)、且烟杆处于锁定状态,在使用时,用户先将烟弹与烟杆相连(如,将烟弹插入烟杆),而后通过吸嘴开始第一 次抽吸。在抽吸时,抽吸气流通过气道传递给气压传感器,气压传感器感应抽吸气流并输出相应的气流信号给控制器,控制器根据气流信号确定用户开始抽吸时,开始记录抽吸时间,并基于气流信号获取电子烟第一次被抽吸的持续时间,记为第一持续时间,并对该第一持续时间进行判断。Usually, in the initial state, the device and the pod are separated (or connected), and the device is locked. When using it, the user first connects the pod to the device (for example, inserting the device into the device) , and start the first puff through the mouthpiece. When inhaling, the suction airflow is transmitted to the air pressure sensor through the airway, and the air pressure sensor senses the suction airflow and outputs the corresponding airflow signal to the controller. The controller determines that when the user starts to inhale according to the airflow signal, it starts to record the inhalation time. Based on the airflow signal, the duration of the first puff of the electronic cigarette is obtained, recorded as the first duration, and the first duration is judged.
参考图3所示,当判断第一持续时间等于设定时间0.5s时,控制器则控制马达轻震,并控制RGB灯以紫色闪烁一下,以及控制双色灯以红色闪烁一下;当判断第一持续时间等于设定时间1s时,控制器则控制马达轻震,并控制RGB灯以紫色闪烁一下,以及控制双色灯以白色闪烁一下;当判断第一持续时间等于设定时间1.4s时,控制器则控制马达轻震,并控制RGB灯以紫色闪烁一下,以及控制双色灯以红色闪烁一下。接着,当判断第一持续时间等于第一时间阈值1.5s时,说明第一持续时间满足电子烟的解锁条件,此时控制器控制雾化芯工作并出烟,直至气压传感器检测不到抽吸气流,说明第一次抽吸结束,控制雾化芯停止工作即停止出烟,同时控制马达长震,直至长震时间达到1.5s停止震动,并控制RGB灯以紫色长亮,直至长亮时间达到1.5s逐渐熄灭,以及控制双色灯以白色长亮,直至第一次抽吸结束逐渐熄灭。Referring to Figure 3, when it is judged that the first duration is equal to the set time of 0.5s, the controller controls the motor to vibrate slightly, and controls the RGB light to flash once in purple, and controls the two-color light to flash once in red; when judging the first When the duration is equal to the set time of 1s, the controller will control the motor to vibrate lightly, and control the RGB light to flash once in purple, and control the two-color light to flash in white; when it is judged that the first duration is equal to the set time of 1.4s, control The controller controls the motor to vibrate slightly, and controls the RGB light to flash once in purple, and controls the two-color light to flash once in red. Next, when it is judged that the first duration is equal to the first time threshold of 1.5s, it means that the first duration satisfies the unlocking condition of the electronic cigarette. At this time, the controller controls the atomizing core to work and emit smoke until the air pressure sensor detects no puffing. The airflow indicates that the first suction is over, control the atomizing core to stop working and stop the smoke, and at the same time control the motor to vibrate until the long vibration time reaches 1.5s to stop vibrating, and control the RGB light to stay on in purple until it lasts for a long time It will gradually turn off after 1.5s, and control the two-color light to stay on in white until the end of the first puff and gradually turn off.
需要说明的是,在第一持续时间小于第一时间阈值1.5s时,若气压传感器检测不到抽吸气流,说明第一次抽吸结束,此时需要重新获取第一持续时间,以根据重新获取的第一持续时间进行电子烟的解锁。It should be noted that when the first duration is less than the first time threshold of 1.5s, if the air pressure sensor does not detect the suction flow, it means that the first suction is over. The first duration obtained is to unlock the electronic cigarette.
在第一次抽吸结束后,控制器还记录电子烟未被抽吸的时间,记为第二持续时间,并对该第二持续时间进行判断,若第二持续时间等于第二时间阈值,说明第二持续时间满足电子烟的锁定条件,此时控制器控制烟杆锁定,同时控制控制RGB灯以紫色长亮,直至长亮时间达到2s逐渐熄灭,并控制双色灯以白色长亮,直至长亮时间达到2s逐渐熄灭。After the first puff is finished, the controller also records the time when the electronic cigarette is not puffed, which is recorded as the second duration, and judges the second duration. If the second duration is equal to the second time threshold, It shows that the second duration meets the locking condition of the electronic cigarette. At this time, the controller controls the locking of the cigarette rod, and at the same time controls the RGB light to be on continuously in purple until the long on time reaches 2s and gradually turns off, and controls the two-color light to be on continuously in white until The long bright time reaches 2s and gradually turns off.
或者,在第一次抽吸结束后,控制器还记录烟弹被插拔的次数,并对该次数进行判断,若次数等于次数阈值,说明次数满足电子烟的关机条件,此时控制器控制电子烟关机,同时控制控制RGB灯以紫色长亮,直至长亮时间达到2s逐渐熄灭,并控制双色灯以白色长亮,直至长亮时间达到2s逐渐熄灭,以及控制马达长震,直至长震时间达到2s停止震动。Or, after the end of the first puff, the controller also records the number of times the pod is inserted and pulled out, and judges the number of times. If the number of times is equal to the number threshold, it means that the number of times meets the shutdown conditions of the electronic cigarette. At this time, the controller controls Turn off the electronic cigarette, and at the same time control the RGB light to stay on in purple until the long on time reaches 2s and gradually turn off, and control the two-color light to keep on in white until the long on time reaches 2s and gradually turn off, and control the motor to vibrate for a long time until it vibrates for a long time When the time reaches 2s, the vibration stops.
由此,通过根据电子烟第一次被抽吸的持续时间控制电子烟解锁,不仅能够实现防误触功能和童锁功能,而且省去了用户手动解锁的繁琐过程,保证了用户抽吸的便利性,且不增加硬件成本;同时,在解锁前通过马达、RGB灯和双色灯的多次同步短时提醒,可使用户能够清楚了解设备当前是否处于解锁过程中,以及在解锁时通过马达、RGB灯和双色灯的提醒,可使用户能够清楚了解设备当前已经解锁,以及在解锁后通过双色灯继续提醒,可使用户能够清楚了解设备当前雾化芯是否处于工作状态,从而实现设备的全面、有效提醒;同时,通过电子烟未被抽吸的持续时间控制电子烟锁定,可实现电子烟的自动锁定,或者通过烟弹被 插拔的次数实现电子烟的关机。Therefore, by controlling the unlocking of the electronic cigarette according to the duration of the first puff of the electronic cigarette, not only the anti-mistouch function and the child lock function can be realized, but also the cumbersome process of manual unlocking by the user is saved, and the user's puffing time is ensured. Convenience without increasing hardware cost; at the same time, multiple synchronous short-term reminders through the motor, RGB light and two-color light before unlocking enable the user to clearly understand whether the device is currently in the unlocking process, and when unlocking through the motor , RGB light and two-color light reminders, so that users can clearly understand that the device is currently unlocked, and continue to remind through two-color lights after unlocking, so that users can clearly understand whether the current atomizing core of the device is in working condition, so as to realize the device Comprehensive and effective reminder; at the same time, the e-cigarette lock can be controlled by the duration of the e-cigarette not being smoked, which can realize the automatic locking of the e-cigarette, or the shutdown of the e-cigarette can be realized by the number of times the pod is inserted and pulled out.
图4为根据本申请一个实施例的电子雾化设备的开关控制装置的方框示意图。参考图4所示,电子雾化设备的开关控制装置可包括:获取模块10和控制模块20。其中,获取模块10用于用于在初始锁定状态下,获取设备被抽吸的第一持续时间;控制模块20用于用于根据获取的第一持续时间判断设备是否满足解锁条件,或者是否需要重新获取设备被抽吸的第一持续时间。Fig. 4 is a schematic block diagram of a switch control device of an electronic atomization device according to an embodiment of the present application. Referring to FIG. 4 , the switch control device of the electronic atomization device may include: an acquisition module 10 and a control module 20 . Wherein, the obtaining module 10 is used for obtaining the first duration of the device being sucked in the initial locked state; the control module 20 is used for judging whether the device meets the unlocking condition according to the obtained first duration, or whether it needs to Retrieves the first duration for which the device was pumped.
在一些实施例中,控制模块20还用于:判断第一持续时间是否达到第一时间阈值;如果第一持续时间未达到第一时间阈值,则判断设备不满足解锁条件,不发出解锁指令以控制设备保持锁定状态;如果第一持续时间达到第一时间阈值,则判断设备满足解锁条件,发出解锁指令以控制设备处于解锁状态。In some embodiments, the control module 20 is also used to: determine whether the first duration reaches the first time threshold; if the first duration does not reach the first time threshold, then determine that the device does not meet the unlocking condition, and do not issue an unlocking instruction to The control device remains in the locked state; if the first duration reaches the first time threshold, it is determined that the device meets the unlocking condition, and an unlocking instruction is issued to control the device in the unlocked state.
在一些实施例中,控制模块20还用于在发出解锁指令以控制设备处于解锁状态时,发出解锁提醒指令以控制设备进行解锁提醒。In some embodiments, the control module 20 is further configured to send an unlock reminder instruction to control the device to perform an unlock reminder when the unlock instruction is sent to control the device to be in an unlocked state.
在一些实施例中,控制模块20具体用于:发出第一解锁提醒指令以控制设备的马达长震,直至长震时间达到第二时间阈值;和/或,发出第二解锁提醒指令以控制设备的第一指示灯长亮,直至长亮时间达到第二时间阈值;和/或,发出第三解锁提醒指令以控制设备的第二指示灯长亮,直至判断设备未被抽吸。In some embodiments, the control module 20 is specifically configured to: issue a first unlock reminder instruction to control the motor of the device for a long vibration until the long vibration time reaches the second time threshold; and/or issue a second unlock reminder instruction to control the device The first indicator light of the device is always on until the long-on time reaches the second time threshold; and/or, a third unlock reminder instruction is issued to control the second indicator light of the device to be on until it is determined that the device is not inhaled.
在一些实施例中,控制模块20还用于在发出解锁指令以控制设备处于解锁状态时,发出工作指令以控制设备进行雾化,直至判断设备未被抽吸。In some embodiments, the control module 20 is further configured to issue a work instruction to control the device to perform atomization when the unlock command is issued to control the device to be in an unlocked state until it is determined that the device is not inhaled.
在一些实施例中,控制模块20还用于在判断设备不满足解锁条件时,判断设备是否未被抽吸;如果设备被抽吸,则继续获取设备被抽吸的第一持续时间;如果设备未被抽吸,则重新获取设备被抽吸的第一持续时间。In some embodiments, the control module 20 is also used to determine whether the device is not inhaled when it is determined that the device does not meet the unlocking condition; if the device is inhaled, continue to obtain the first duration of inhalation of the device; if the device is not pumped, the first duration that the device was pumped is retrieved.
在一些实施例中,控制模块20还用于:判断第一持续时间是否达到设定时间,其中,设定时间小于第一时间阈值;如果第一持续时间达到设定时间,则发出解锁过程提醒指令以控制设备进行解锁过程提醒。In some embodiments, the control module 20 is also used to: judge whether the first duration reaches the set time, wherein the set time is less than the first time threshold; if the first duration reaches the set time, then issue a reminder of the unlocking process Command to control the device to remind the unlocking process.
在一些实施例中,控制模块20具体用于:发出第一解锁过程提醒指令以控制设备的马达短震;和/或,发出第二解锁过程提醒指令以控制设备的第一指示灯短亮;和/或,发出第三解锁过程提醒指令以控制设备的第二指示灯短亮。In some embodiments, the control module 20 is specifically configured to: issue a first unlocking process reminder command to control the short vibration of the motor of the device; and/or issue a second unlocking process reminder command to control the first indicator light of the device to be short; And/or, send out a third unlocking process reminder instruction to control the second indicator light of the device to be short.
在一些实施例中,设定时间包括间隔设置的多个,控制模块20还用于:控制第二指示灯以不同的颜色在多个设定时间交替短亮。In some embodiments, the set time includes a plurality of set intervals, and the control module 20 is further configured to: control the second indicator light to alternately light up in different colors at a plurality of set times.
在一些实施例中,获取模块10还用于获取设备未被抽吸的第二持续时间;控制模块20还用于根据获取的第二持续时间判断设备是否满足锁定条件,或者是否需要重新获取设备未被抽吸的第二持续时间。In some embodiments, the obtaining module 10 is also used to obtain the second duration of the device not being sucked; the control module 20 is also used to judge whether the device meets the locking condition according to the obtained second duration, or whether the device needs to be re-acquired The second duration of not being drawn.
在一些实施例中,控制模块20还用于:判断第二持续时间是否达到第三时间阈值;如果第二持续时间未达到第三时间阈值,则判断设备不满足锁定条件,不发出锁定指令以控制设备保持解锁状态;如果第二持续时间达到第三时间阈值,则判断设备满足锁定条件,发出锁定指令以控制设备处于锁定状态。In some embodiments, the control module 20 is also used to: determine whether the second duration reaches the third time threshold; if the second duration does not reach the third time threshold, then determine that the device does not meet the locking condition, and do not issue a locking instruction to The control device remains in the unlocked state; if the second duration reaches the third time threshold, it is determined that the device meets the locking condition, and a locking instruction is issued to control the device in the locked state.
在一些实施例中,控制模块20还用于在发出锁定指令以控制设备处于锁定状态时,发出锁定提醒指令以控制设备进行锁定提醒。In some embodiments, the control module 20 is further configured to issue a lock reminder instruction to control the device to perform a lock reminder when the lock instruction is sent to control the device to be in a locked state.
在一些实施例中,控制模块20具体用于:发出第一锁定提醒指令以控制设备的第一指示灯长亮,直至长亮时间达到第四时间阈值;和/或,发出第二锁定提醒指令以控制设备的第二指示灯长亮,直至长亮时间达到第四时间阈值。In some embodiments, the control module 20 is specifically configured to: send out a first lock reminder instruction to control the first indicator light of the device to stay on until the long-bright time reaches the fourth time threshold; and/or send a second lock reminder instruction The second indicator light of the control device is kept on until the long-on time reaches the fourth time threshold.
在一些实施例中,获取模块10还用于获取设备的雾化部和控制部相对运动的次数,其中,相对运动包括可分离相对运动和非可分离相对运动;控制模块20还用于根据获取的次数判断设备是否满足关机条件,或者是否需要重新获取设备的雾化部和控制部相对运动的次数。In some embodiments, the obtaining module 10 is also used to obtain the number of relative movements of the atomization part and the control part of the device, wherein the relative movements include separable relative movements and non-separable relative movements; the control module 20 is also used to obtain The number of times to determine whether the device meets the shutdown conditions, or whether it is necessary to reacquire the relative movement times of the atomization part and the control part of the device.
在一些实施例中,控制模块20具体用于:判断次数是否达到次数阈值;如果次数未达到次数阈值,则判断设备不满足关机条件,不发出关机指令以控制设备保持解锁状态;如果次数达到次数阈值,则判断设备满足关机条件,发出锁关机指令以控制设备处于关机状态。In some embodiments, the control module 20 is specifically used to: determine whether the number of times reaches the number threshold; if the number of times does not reach the number threshold, then determine that the device does not meet the shutdown condition, and not issue a shutdown command to control the device to remain in the unlocked state; if the number of times reaches the number of times threshold, it is judged that the device meets the shutdown condition, and a lock shutdown command is issued to control the device to be in the shutdown state.
在一些实施例中,控制模块20还用于在发出关机指令以控制设备处于关机状态时,发出关机提醒指令以控制设备进行关机提醒。In some embodiments, the control module 20 is further configured to issue a shutdown reminder instruction to control the device to perform a shutdown reminder when the shutdown instruction is issued to control the device to be in the shutdown state.
在一些实施例中,控制模块20具体用于:发出第一关机提醒指令以控制设备的第一指示灯长亮,直至长亮时间达到第五时间阈值;和/或,发出第二关机提醒指令以控制设备的第二指示灯长亮,直至长亮时间达到第五时间阈值;和/或,发出第三关机提醒指令以控制设备的马达长震,直至长震时间达到第五时间阈值。In some embodiments, the control module 20 is specifically configured to: issue a first shutdown reminder instruction to control the first indicator light of the device to stay on until the duration of the lighting reaches the fifth time threshold; and/or issue a second shutdown reminder instruction To control the second indicator light of the device to stay on until the long-on time reaches the fifth time threshold; and/or send a third shutdown reminder command to control the long vibration of the motor of the device until the long vibration time reaches the fifth time threshold.
需要说明的是,本申请中关于电子雾化设备的开关控制装置的描述,请参考本申请中关于电子雾化设备的开关控制方法的描述,具体这里不再赘述。It should be noted that, for the description of the switch control device of the electronic atomization device in this application, please refer to the description of the switch control method of the electronic atomization device in this application, and details will not be repeated here.
根据本申请实施例的电子雾化设备的开关控制装置,通过获取模块在初始锁定状态下,获取设备被抽吸的第一持续时间,并通过控制模块根据获取的第一持续时间判断设备是否满足解锁条件,不仅能够实现设备的防误触功能和童锁功能,而且省去了用户手动解锁的繁琐过程,保证了用户抽吸的便利性,且不增加硬件成本。According to the switch control device of the electronic atomization device according to the embodiment of the present application, the acquisition module acquires the first duration of inhalation of the device in the initial locking state, and the control module judges whether the device satisfies the requirements according to the obtained first duration. The unlocking conditions can not only realize the anti-mistouch function and child lock function of the device, but also save the cumbersome process of manual unlocking by the user, ensuring the convenience of the user's suction without increasing the hardware cost.
本申请的实施例还提出一种计算机可读存储介质,其上存储有电子雾化设备的开关控制程序,该电子雾化设备的开关控制程序被处理器执行时实现前述的电子雾化设备的开关控制方法。The embodiment of the present application also proposes a computer-readable storage medium, on which is stored a switch control program of an electronic atomization device, and when the switch control program of the electronic atomization device is executed by a processor, the aforementioned electronic atomization device can be realized. switch control method.
根据本申请实施例的计算机可读存储介质,基于前述的电子雾化设备的开关控制方法, 通过根据设备被抽吸的持续时间判断设备是否满足解锁条件,不仅能够实现设备的防误触功能和童锁功能,而且省去了用户手动解锁的繁琐过程,保证了用户抽吸的便利性,且不增加硬件成本。According to the computer-readable storage medium of the embodiment of the present application, based on the switch control method of the aforementioned electronic atomization device, by judging whether the device satisfies the unlocking condition according to the duration of the device being sucked, not only the anti-mistouch function of the device and The child lock function saves the cumbersome process of manual unlocking by the user, ensuring the convenience of pumping for the user without increasing hardware costs.
本申请的实施例还提出一种电子雾化设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的电子雾化设备的开关控制程序,处理器执行程序时,实现前述的电子雾化设备的开关控制方法。The embodiment of the present application also proposes an electronic atomization device, including: a memory, a processor, and a switch control program of the electronic atomization device stored on the memory and operable on the processor. When the processor executes the program, the aforementioned A switch control method for an electronic atomization device.
根据本申请实施例的电子雾化设备,基于前述的电子雾化设备的开关控制方法,通过根据设备被抽吸的持续时间判断设备是否满足解锁条件,不仅能够实现设备的防误触功能和童锁功能,而且省去了用户手动解锁的繁琐过程,保证了用户抽吸的便利性,且不增加硬件成本。According to the electronic atomization device of the embodiment of the present application, based on the switch control method of the electronic atomization device mentioned above, by judging whether the device meets the unlocking condition according to the duration of the device being sucked, not only the anti-mistouch function of the device and child-friendly The lock function saves the cumbersome process of manual unlocking by the user, ensuring the convenience of suction for the user without increasing hardware costs.
需要说明的是,在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。It should be noted that the logic and/or steps shown in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, apparatus, or device and execute instructions), or in combination with these Instructions are used to execute systems, devices, or equipment. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use in or in conjunction with an instruction execution system, device or device. More specific examples (non-exhaustive list) of computer-readable media include the following: electrical connection with one or more wires (electronic device), portable computer disk case (magnetic device), random access memory (RAM), Read Only Memory (ROM), Erasable and Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, as it may be possible, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or other suitable processing if necessary. The program is processed electronically and stored in computer memory.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that each part of the present application may be realized by hardware, software, firmware or a combination thereof. In the embodiments described above, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques known in the art: Discrete logic circuits, ASICs with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的 是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of the present application, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.
在本申请中,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”、“固定”等术语应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系,除非另有明确的限定。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本申请中的具体含义。In this application, terms such as "installation", "connection", "connection" and "fixation" should be interpreted in a broad sense, for example, it can be a fixed connection or a detachable connection, unless otherwise clearly specified and limited. , or integrated; it may be mechanically connected or electrically connected; it may be directly connected or indirectly connected through an intermediary, and it may be the internal communication of two components or the interaction relationship between two components, unless otherwise specified limit. Those of ordinary skill in the art can understand the specific meanings of the above terms in this application according to specific situations.
尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limitations on the present application, and those skilled in the art can make the above-mentioned The embodiments are subject to changes, modifications, substitutions and variations.

Claims (20)

  1. 一种电子雾化设备的开关控制方法,其中,包括:A switch control method for an electronic atomization device, including:
    在初始锁定状态下,获取设备被抽吸的第一持续时间;In the initial lock state, obtain a first duration for which the device has been pumped;
    根据获取的所述第一持续时间判断所述设备是否满足解锁条件,或者是否需要重新获取所述设备被抽吸的第一持续时间。According to the acquired first duration, it is judged whether the device satisfies the unlocking condition, or whether it is necessary to reacquire the first duration during which the device is inhaled.
  2. 根据权利要求1所述的电子雾化设备的开关控制方法,其中,还包括:The switch control method of the electronic atomization device according to claim 1, further comprising:
    判断所述第一持续时间是否达到第一时间阈值;judging whether the first duration reaches a first time threshold;
    如果所述第一持续时间未达到所述第一时间阈值,则判断所述设备不满足解锁条件,不发出解锁指令以控制所述设备保持锁定状态;If the first duration does not reach the first time threshold, it is judged that the device does not meet the unlocking condition, and no unlocking instruction is issued to control the device to maintain the locked state;
    如果所述第一持续时间达到所述第一时间阈值,则判断所述设备满足解锁条件,发出解锁指令以控制所述设备处于解锁状态。If the first duration reaches the first time threshold, it is determined that the device meets an unlocking condition, and an unlocking instruction is issued to control the device to be in an unlocked state.
  3. 根据权利要求2所述的电子雾化设备的开关控制方法,其中,在发出解锁指令以控制所述设备处于解锁状态时,所述方法还包括:The switch control method of an electronic atomization device according to claim 2, wherein, when an unlock command is issued to control the device to be in an unlocked state, the method further comprises:
    发出解锁提醒指令以控制所述设备进行解锁提醒。Sending out an unlocking reminder instruction to control the device to perform unlocking reminders.
  4. 根据权利要求3所述的电子雾化设备的开关控制方法,其中,所述发出解锁提醒指令以控制所述设备进行解锁提醒,包括:The switch control method for an electronic atomization device according to claim 3, wherein the sending an unlock reminder instruction to control the device to perform an unlock reminder includes:
    发出第一解锁提醒指令以控制所述设备的马达长震,直至长震时间达到第二时间阈值;和/或,Sending out a first unlock reminder instruction to control the motor of the device to vibrate until the long vibration time reaches a second time threshold; and/or,
    发出第二解锁提醒指令以控制所述设备的第一指示灯长亮,直至长亮时间达到所述第二时间阈值;和/或,Sending out a second unlocking reminder instruction to control the first indicator light of the device to stay on until the long-on time reaches the second time threshold; and/or,
    发出第三解锁提醒指令以控制所述设备的第二指示灯长亮,直至判断所述设备未被抽吸。Sending a third unlock reminder command to control the second indicator light of the device to stay on until it is determined that the device is not inhaled.
  5. 根据权利要求2所述的电子雾化设备的开关控制方法,其中,在发出解锁指令以控制所述设备处于解锁状态时,所述方法还包括:The switch control method of an electronic atomization device according to claim 2, wherein, when an unlock command is issued to control the device to be in an unlocked state, the method further comprises:
    发出工作指令以控制所述设备进行雾化,直至判断所述设备未被抽吸。Issue a work order to control the device for nebulization until it is judged that the device is not inhaled.
  6. 根据权利要求2所述的电子雾化设备的开关控制方法,其中,在判断所述设备不满足解锁条件时,所述方法还包括:The switch control method of the electronic atomization device according to claim 2, wherein, when it is judged that the device does not satisfy the unlocking condition, the method further comprises:
    判断所述设备是否未被抽吸;determining whether the device has not been pumped;
    如果所述设备被抽吸,则继续获取所述设备被抽吸的第一持续时间;If the device is pumped, continue to obtain the first duration that the device is pumped;
    如果所述设备未被抽吸,则重新获取所述设备被抽吸的第一持续时间。If the device is not pumped, re-acquiring the first duration that the device was pumped.
  7. 根据权利要求2所述的电子雾化设备的开关控制方法,其中,还包括:The switch control method of the electronic atomization device according to claim 2, further comprising:
    判断所述第一持续时间是否达到设定时间,其中,所述设定时间小于所述第一时间阈值;judging whether the first duration reaches a set time, wherein the set time is less than the first time threshold;
    如果所述第一持续时间达到所述设定时间,则发出解锁过程提醒指令以控制所述设备进行解锁过程提醒。If the first duration reaches the set time, an unlocking process reminder instruction is issued to control the device to perform an unlocking process reminder.
  8. 根据权利要求7所述的电子雾化设备的开关控制方法,其中,所述发出解锁过程提醒指令以控制所述设备进行解锁过程提醒,包括:The switch control method for an electronic atomization device according to claim 7, wherein the issuing an unlocking process reminder instruction to control the device to perform an unlocking process reminder includes:
    发出第一解锁过程提醒指令以控制所述设备的马达短震;和/或,issuing a first unlocking process reminder command to control the short vibration of the motor of the device; and/or,
    发出第二解锁过程提醒指令以控制所述设备的第一指示灯短亮;和/或,Sending out a second unlocking process reminder instruction to control the short light of the first indicator light of the device; and/or,
    发出第三解锁过程提醒指令以控制所述设备的第二指示灯短亮。Sending out a third unlocking process reminder instruction to control the short light of the second indicator light of the device.
  9. 根据权利要求8所述的电子雾化设备的开关控制方法,其中,所述设定时间包括间隔设置的多个,控制所述设备的第二指示灯短亮,包括:The switch control method of the electronic atomization device according to claim 8, wherein the set time includes a plurality of intervals, and controlling the second indicator light of the device to be on shortly includes:
    控制所述第二指示灯以不同的颜色在多个所述设定时间交替短亮。The second indicator light is controlled to be alternately short in different colors for a plurality of the set times.
  10. 根据权利要求1所述的电子雾化设备的开关控制方法,其中,还包括:The switch control method of the electronic atomization device according to claim 1, further comprising:
    获取所述设备未被抽吸的第二持续时间;obtaining a second duration of time that the device has not been pumped;
    根据获取的所述第二持续时间判断所述设备是否满足锁定条件,或者是否需要重新获取所述设备未被抽吸的第二持续时间。It is judged according to the acquired second duration whether the device satisfies the locking condition, or whether it is necessary to reacquire the second duration during which the device is not inhaled.
  11. 根据权利要求10所述的电子雾化设备的开关控制方法,其中,还包括:The switch control method of the electronic atomization device according to claim 10, further comprising:
    判断所述第二持续时间是否达到第三时间阈值;judging whether the second duration reaches a third time threshold;
    如果所述第二持续时间未达到所述第三时间阈值,则判断所述设备不满足锁定条件,不发出锁定指令以控制所述设备保持解锁状态;If the second duration does not reach the third time threshold, it is judged that the device does not meet the locking condition, and no locking instruction is issued to control the device to remain in the unlocked state;
    如果所述第二持续时间达到所述第三时间阈值,则判断所述设备满足锁定条件,发出锁定指令以控制所述设备处于锁定状态。If the second duration reaches the third time threshold, it is determined that the device meets a locking condition, and a locking instruction is issued to control the device to be in a locked state.
  12. 根据权利要求11所述的电子雾化设备的开关控制方法,其中,在发出锁定指令以控制所述设备处于锁定状态时,所述方法还包括:The switch control method of an electronic atomization device according to claim 11, wherein, when issuing a locking instruction to control the device to be in a locked state, the method further comprises:
    发出锁定提醒指令以控制所述设备进行锁定提醒。Sending out a lock reminder instruction to control the device to perform a lock reminder.
  13. 根据权利要求12所述的电子雾化设备的开关控制方法,其中,所述发出锁定提醒指令以控制所述设备进行锁定提醒,包括:The switch control method for an electronic atomization device according to claim 12, wherein the issuing a lock reminder instruction to control the device to perform a lock reminder includes:
    发出第一锁定提醒指令以控制所述设备的第一指示灯长亮,直至长亮时间达到第四时间阈值;和/或,Sending out a first lock reminder instruction to control the first indicator light of the device to be on continuously until the long-on time reaches a fourth time threshold; and/or,
    发出第二锁定提醒指令以控制所述设备的第二指示灯长亮,直至长亮时间达到所述第四时间阈值。Sending out a second lock reminding instruction to control the second indicator light of the device to be on continuously until the long-on time reaches the fourth time threshold.
  14. 根据权利要求1所述的电子雾化设备的开关控制方法,其中,还包括:The switch control method of the electronic atomization device according to claim 1, further comprising:
    获取所述设备的雾化部和控制部相对运动的次数,其中,所述相对运动包括可分离相对 运动和非可分离相对运动;Obtain the number of relative movements of the atomization part and the control part of the device, wherein the relative movements include separable relative movements and non-separable relative movements;
    根据获取的所述次数判断所述设备是否满足关机条件,或者是否需要重新获取所述设备的雾化部和控制部相对运动的次数。According to the acquired times, it is judged whether the device satisfies the shutdown condition, or whether it is necessary to reacquire the relative movement times of the atomizing part and the control part of the device.
  15. 根据权利要求14所述的电子雾化设备的开关控制方法,其中,还包括:The switch control method of the electronic atomization device according to claim 14, further comprising:
    判断所述次数是否达到次数阈值;Judging whether the number of times reaches a number threshold;
    如果所述次数未达到所述次数阈值,则判断所述设备不满足关机条件,不发出关机指令以控制所述设备保持解锁状态;If the number of times does not reach the number of times threshold, it is judged that the device does not meet the shutdown condition, and no shutdown instruction is issued to control the device to remain in the unlocked state;
    如果所述次数达到所述次数阈值,则判断所述设备满足关机条件,发出锁关机指令以控制所述设备处于关机状态。If the number of times reaches the number threshold, it is determined that the device meets the shutdown condition, and a lock shutdown command is issued to control the device to be in a shutdown state.
  16. 根据权利要求15所述的电子雾化设备的开关控制方法,其中,在发出关机指令以控制所述设备处于关机状态时,所述方法还包括:The switch control method of an electronic atomization device according to claim 15, wherein, when a shutdown command is issued to control the device to be in a shutdown state, the method further comprises:
    发出关机提醒指令以控制所述设备进行关机提醒。Sending out a shutdown reminder command to control the device to perform a shutdown reminder.
  17. 根据权利要求16所述的电子雾化设备的开关控制方法,其中,所述发出关机提醒指令以控制所述设备进行关机提醒,包括:The switch control method of the electronic atomization device according to claim 16, wherein the sending a shutdown reminder command to control the device to perform a shutdown reminder includes:
    发出第一关机提醒指令以控制所述设备的第一指示灯长亮,直至长亮时间达到第五时间阈值;和/或,Sending out a first shutdown reminder instruction to control the first indicator light of the device to be on continuously until the long-on time reaches a fifth time threshold; and/or,
    发出第二关机提醒指令以控制所述设备的第二指示灯长亮,直至长亮时间达到所述第五时间阈值;和/或,Sending out a second shutdown reminder instruction to control the second indicator light of the device to be on continuously until the long-on time reaches the fifth time threshold; and/or,
    发出第三关机提醒指令以控制所述设备的马达长震,直至长震时间达到所述第五时间阈值。A third power-off reminder command is sent to control the motor of the device to vibrate for a long time until the long-vibration time reaches the fifth time threshold.
  18. 一种电子雾化设备的开关控制装置,其中,包括:A switch control device for an electronic atomization device, including:
    获取模块,用于在初始锁定状态下,获取设备被抽吸的第一持续时间;An acquisition module, configured to acquire the first duration of the device being sucked in the initial locking state;
    控制模块,用于根据获取的所述第一持续时间判断所述设备是否满足解锁条件,或者是否需要重新获取所述设备被抽吸的第一持续时间。A control module, configured to judge whether the device satisfies an unlocking condition according to the obtained first duration, or whether it is necessary to reacquire the first duration for which the device is inhaled.
  19. 一种计算机可读存储介质,其中,其上存储有电子雾化设备的开关控制程序,该电子雾化设备的开关控制程序被处理器执行时实现权利要求1-17中任一项所述的电子雾化设备的开关控制方法。A computer-readable storage medium, wherein a switch control program of an electronic atomization device is stored thereon, and when the switch control program of the electronic atomization device is executed by a processor, the method described in any one of claims 1-17 is realized. A switch control method for an electronic atomization device.
  20. 一种电子雾化设备,其中,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的电子雾化设备的开关控制程序,所述处理器执行所述程序时,实现权利要求1-17中任一项所述的电子雾化设备的开关控制方法。An electronic atomization device, including: a memory, a processor, and a switch control program of the electronic atomization device stored on the memory and operable on the processor, when the processor executes the program , realizing the switch control method of the electronic atomization device according to any one of claims 1-17.
PCT/CN2022/142084 2021-12-24 2022-12-26 Electronic atomization device, switching control method and apparatus therefor, and storage medium WO2023116935A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111601739.4A CN116326848A (en) 2021-12-24 2021-12-24 Electronic atomizing equipment, switch control method and device thereof and storage medium
CN202111601739.4 2021-12-24

Publications (1)

Publication Number Publication Date
WO2023116935A1 true WO2023116935A1 (en) 2023-06-29

Family

ID=86875150

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/142084 WO2023116935A1 (en) 2021-12-24 2022-12-26 Electronic atomization device, switching control method and apparatus therefor, and storage medium

Country Status (2)

Country Link
CN (1) CN116326848A (en)
WO (1) WO2023116935A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104921305A (en) * 2014-03-20 2015-09-23 惠州市吉瑞科技有限公司 Method for preventing child from smoking electronic cigarette accidentally
WO2017031662A1 (en) * 2015-08-24 2017-03-02 惠州市吉瑞科技有限公司深圳分公司 Electronic cigarette atomization control method and control circuit
US20170135400A1 (en) * 2014-03-20 2017-05-18 Kimree Hi-Tech Inc. Method for preventing a child from accidentally puffing an electronic cigarette
CN109717518A (en) * 2019-03-13 2019-05-07 常州市派腾电子技术服务有限公司 The control method and device of electronic cigarette
US20190133191A1 (en) * 2017-10-25 2019-05-09 Joyetech Europe Holding Gmbh Electronic cigarette
US20200305510A1 (en) * 2017-09-04 2020-10-01 Joyetech Europe Holding Gmbh Electronic cigarette control method and device, and electronic cigarette
CN112772987A (en) * 2021-02-03 2021-05-11 惠州市大亚湾区新鹏城科技发展有限公司 Electronic cigarette unlocking method, device and system based on holding posture detection
CN113615882A (en) * 2021-09-27 2021-11-09 中国烟草总公司郑州烟草研究院 Electronic cigarette preventing opening by children

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104921305A (en) * 2014-03-20 2015-09-23 惠州市吉瑞科技有限公司 Method for preventing child from smoking electronic cigarette accidentally
US20170135400A1 (en) * 2014-03-20 2017-05-18 Kimree Hi-Tech Inc. Method for preventing a child from accidentally puffing an electronic cigarette
WO2017031662A1 (en) * 2015-08-24 2017-03-02 惠州市吉瑞科技有限公司深圳分公司 Electronic cigarette atomization control method and control circuit
CN107105788A (en) * 2015-08-24 2017-08-29 惠州市吉瑞科技有限公司深圳分公司 A kind of electronic cigarette atomizing control method and control circuit
US20200305510A1 (en) * 2017-09-04 2020-10-01 Joyetech Europe Holding Gmbh Electronic cigarette control method and device, and electronic cigarette
US20190133191A1 (en) * 2017-10-25 2019-05-09 Joyetech Europe Holding Gmbh Electronic cigarette
CN109717518A (en) * 2019-03-13 2019-05-07 常州市派腾电子技术服务有限公司 The control method and device of electronic cigarette
CN112772987A (en) * 2021-02-03 2021-05-11 惠州市大亚湾区新鹏城科技发展有限公司 Electronic cigarette unlocking method, device and system based on holding posture detection
CN113615882A (en) * 2021-09-27 2021-11-09 中国烟草总公司郑州烟草研究院 Electronic cigarette preventing opening by children

Also Published As

Publication number Publication date
CN116326848A (en) 2023-06-27

Similar Documents

Publication Publication Date Title
JP6175561B2 (en) Non-burning flavor inhaler
JP6840186B2 (en) Non-combustible flavor aspirator and computer readable medium
TWI700998B (en) Inhaling device, and method and program product for running the same
WO2020038184A1 (en) Electronic cigarette having double air pressure sensors and control method therefor
WO2016175320A1 (en) Non-combustion flavor suction apparatus
WO2020199634A1 (en) Atomization device capable of controlling administration amount, and control method for same
JP6661598B2 (en) Non-burning type flavor inhaler
WO2021073228A1 (en) Electronic cigarette capable of controlling dose, and control method therefor
WO2021184964A1 (en) Electronic cigarette of which start-up and power adjustment are controlled by means of touch pressure sensor, and control method therefor
TW201826953A (en) Inhaling device, and method and program for running the same
JP2019518441A (en) Method of controlling a device for vapor suction and device for vapor suction implementing the method
WO2021017629A1 (en) Electronic cigarette with manual and automatic double start and stop functions and control method therefor
WO2020038183A1 (en) Electronic cigarette having analog air pressure sensor and control method therefor
EP3695736B1 (en) Electronic cigarette, and control method thereof
KR20190057399A (en) A photodetector for measuring an aerosol precursor composition in an aerosol dispensing device
WO2015165146A1 (en) Electronic cigarette control method and electronic cigarette
CN109619696A (en) Aerosol generating device and its suction output control method
WO2022028098A1 (en) Automatic temperature control method for baking smoking set and baking smoking set thereof
CN113100501B (en) Electronic cigarette control method and control system
WO2019200559A1 (en) Electronic cigarette, atomizing core, atomizer, and electronic cigarette control method
WO2019113836A1 (en) Aerosol generation device and control method therefor, and microprocessor for aerosol generation device
WO2021036765A1 (en) Electronic cigarette having electronic child safety lock and control method therefor
CN115942886A (en) Aerosol-generating device providing gesture-initiated status query
WO2023116935A1 (en) Electronic atomization device, switching control method and apparatus therefor, and storage medium
CN115715159A (en) Aerosol-generating device providing visual feedback through progress of use procedure

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22910241

Country of ref document: EP

Kind code of ref document: A1