CN116236002A - Atomizer control method and device, atomizer and storage medium - Google Patents
Atomizer control method and device, atomizer and storage medium Download PDFInfo
- Publication number
- CN116236002A CN116236002A CN202211604090.6A CN202211604090A CN116236002A CN 116236002 A CN116236002 A CN 116236002A CN 202211604090 A CN202211604090 A CN 202211604090A CN 116236002 A CN116236002 A CN 116236002A
- Authority
- CN
- China
- Prior art keywords
- atomizer
- mode
- switch
- monitored
- nebulizer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A24—TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
- A24F—SMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
- A24F40/00—Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
- A24F40/50—Control or monitoring
- A24F40/53—Monitoring, e.g. fault detection
-
- A—HUMAN NECESSITIES
- A24—TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
- A24F—SMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
- A24F40/00—Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
- A24F40/40—Constructional details, e.g. connection of cartridges and battery parts
-
- A—HUMAN NECESSITIES
- A24—TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
- A24F—SMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
- A24F40/00—Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
- A24F40/40—Constructional details, e.g. connection of cartridges and battery parts
- A24F40/46—Shape or structure of electric heating means
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4418—Suspend and resume; Hibernate and awake
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B30/00—Energy efficient heating, ventilation or air conditioning [HVAC]
- Y02B30/70—Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Special Spraying Apparatus (AREA)
Abstract
Description
技术领域technical field
本申请涉及电子雾化技术领域,更具体地,涉及一种雾化器控制方法、装置、雾化器及存储介质。The present application relates to the technical field of electronic atomization, and more specifically, to an atomizer control method, device, atomizer and storage medium.
背景技术Background technique
随着电子技术的发展,出现了电子雾化技术,电子雾化技术是指通过电子雾化装置将待雾化基质雾化成气溶胶,以便于用户使用雾化后的气溶胶。With the development of electronic technology, electronic atomization technology has emerged. Electronic atomization technology refers to the atomization of the substrate to be atomized into aerosol through an electronic atomization device, so that users can use the atomized aerosol.
目前,电子雾化装置通常设置开关,用户可以按下开关,电子雾化装置基于用户按下开关的操作,控制电子雾化装置的电热丝发热,从而使得电子雾化装置对电子雾化装置中的基质进行加热以产生气雾。At present, electronic atomization devices are usually equipped with a switch, and the user can press the switch. Based on the operation of the user pressing the switch, the electronic atomization device controls the heating wire of the electronic atomization device to generate heat, so that the electronic atomization device has no effect on the electronic atomization device. The substrate is heated to generate an aerosol.
但是,现有的电子雾化装置存在安全隐患,导致用户体验较差。However, existing electronic atomization devices have potential safety hazards, resulting in poor user experience.
发明内容Contents of the invention
基于此,有必要针对电子雾化装置存在安全隐患的问题,提供一种雾化器控制方法、装置、雾化器及存储介质。Based on this, it is necessary to provide an atomizer control method, device, atomizer, and storage medium for the potential safety hazard of the electronic atomization device.
第一方面,本申请实施例提供了一种雾化器控制方法,方法包括:In the first aspect, the embodiment of the present application provides a nebulizer control method, the method includes:
获取雾化器的运行模式;Obtain the operation mode of the atomizer;
在运行模式为工作模式情况下,若监测到针对雾化器的抽吸动作和/或监测到针对雾化器的开关的开启操作,控制雾化器加热,工作模式为雾化器中所有的模块均可正常工作的模式;When the operation mode is the working mode, if the suction action for the atomizer and/or the opening operation of the switch for the atomizer is detected, the heating of the atomizer is controlled, and the working mode is all in the atomizer. The mode in which all modules can work normally;
在运行模式为深休眠模式的情况下,若监测到针对开关的开启操作,控制雾化器进入唤醒模式,深休眠模式为开关处于工作状态,唤醒模式为用于监测抽吸动作的咪头处于工作状态;When the operation mode is deep sleep mode, if the opening operation of the switch is detected, the nebulizer is controlled to enter the wake-up mode. working status;
在运行模式为唤醒模式的情况下,若监测到针对雾化器的抽吸动作,控制雾化器加热。In the case that the operation mode is the wake-up mode, if the suction action for the atomizer is detected, the heating of the atomizer is controlled.
第二方面,本申请实施例提供了一种雾化器控制装置,装置包括:In the second aspect, the embodiment of the present application provides an atomizer control device, which includes:
获取模块,用于获取雾化器的运行模式;Get the module, used to get the operation mode of the atomizer;
加热模块,用于在运行模式为工作模式情况下,若监测到针对雾化器的抽吸动作和/或监测到针对雾化器的开关的开启操作,控制雾化器加热,工作模式为雾化器中所有的模块均可正常工作的模式;The heating module is used to control the heating of the atomizer when the operation mode is the working mode, if the suction action for the atomizer and/or the opening operation of the switch for the atomizer is detected, and the working mode is mist The mode in which all the modules in the converter can work normally;
第一切换模块,用于在运行模式为深休眠模式的情况下,若监测到针对开关的开启操作,控制雾化器进入唤醒模式,深休眠模式为开关处于工作状态,唤醒模式为用于监测抽吸动作的咪头处于工作状态;The first switching module is used to control the atomizer to enter the wake-up mode if the switch-on operation is detected when the operating mode is the deep sleep mode. The deep sleep mode is when the switch is in the working state, and the wake-up mode is for monitoring The microphone of the pumping action is in working condition;
第二切换模块,用于在运行模式为唤醒模式的情况下,若监测到针对雾化器的抽吸动作,控制雾化器加热。The second switching module is used to control the heating of the atomizer if the suction action for the atomizer is detected when the operation mode is the wake-up mode.
在其中一个实施例中,加热模块,还用于若控制雾化器加热之后的第一时长内,未监测到针对雾化器的抽吸动作,控制雾化器停止加热;在控制雾化器停止加热之后的第二时长内,未监测到针对雾化器的抽吸动作,控制雾化器进入浅休眠模式,浅休眠模式为用于监测抽吸动作的咪头和/或开关处于工作状态。In one of the embodiments, the heating module is also used to control the nebulizer to stop heating if no suction action is detected for the nebulizer within the first period of time after the nebulizer is controlled to be heated; In the second period of time after the heating is stopped, if the pumping action for the nebulizer is not detected, the nebulizer is controlled to enter the shallow sleep mode. The light sleep mode is that the microphone and/or switch used to monitor the pumping action is in the working state .
在其中一个实施例中,加热模块,还用于控制雾化器进入浅休眠模式之后的第三时长之内,未监测到针对雾化器的抽吸动作和/或未监测到针对雾化器的开关的开启操作,控制雾化器进入深休眠模式,第三时长大于第二时长。In one of the embodiments, the heating module is also used to control the atomizer to enter the shallow sleep mode within the third period of time, no suction action for the atomizer is detected and/or no suction action for the atomizer is detected The opening operation of the switch controls the atomizer to enter the deep sleep mode, and the third duration is longer than the second duration.
在其中一个实施例中,加热模块,还用于在运行模式为浅休眠模式的情况下,若监测到针对雾化器的抽吸动作和/或监测到针对雾化器的开关的开启操作,控制雾化器加热,浅休眠模式为用于监测抽吸动作的咪头以及开关处于工作状态。In one of the embodiments, the heating module is also used to monitor the pumping action of the atomizer and/or the opening operation of the switch of the atomizer when the operation mode is the shallow sleep mode, Control the heating of the atomizer, and the shallow sleep mode is to monitor the microphone and switch of the pumping action in the working state.
在其中一个实施例中,加热模块,还用于在运行模式为浅休眠模式的情况下,若未监测到针对雾化器的抽吸动作,且监测到针对开关的开启操作,控制雾化器加热;在控制雾化器加热之后的第四时长内,未监测到针对雾化器的抽吸动作,控制雾化器停止加热;在雾化器进入浅休眠模式之后的时长达到第五时长,且未监测到针对雾化器的抽吸动作,控制雾化器进入深休眠模式,第五时长大于第四时长。In one of the embodiments, the heating module is also used to control the atomizer if the pumping action for the atomizer is not detected and the opening operation for the switch is detected when the operation mode is the shallow sleep mode. Heating; within the fourth time period after controlling the heating of the nebulizer, if no suction action for the nebulizer is detected, the nebulizer is controlled to stop heating; after the time period after the nebulizer enters the shallow sleep mode reaches the fifth time period, And no pumping action on the atomizer is detected, the atomizer is controlled to enter the deep sleep mode, and the fifth duration is longer than the fourth duration.
在其中一个实施例中,装置还包括第一控制模块,用于在运行模式为唤醒模式的情况下,且雾化器进入唤醒模式之后的第六时长内,监测到针对开关的开启操作,监测针对雾化器的抽吸动作;若雾化器进入唤醒模式之后的时长达到第七时长,且未监测到针对雾化器的抽吸动作,控制雾化器进入深休眠模式,第七时长大于第六时长。In one of the embodiments, the device further includes a first control module, which is used to detect the opening operation of the switch within the sixth period of time after the atomizer enters the wake-up mode when the operation mode is the wake-up mode, and monitor For the pumping action of the atomizer; if the time after the atomizer enters the wake-up mode reaches the seventh time, and no suction action for the atomizer is detected, the atomizer is controlled to enter the deep sleep mode, and the seventh time is longer than The sixth hour.
在其中一个实施例中,装置还包括第二控制模块,用于在雾化器处于唤醒模式之后的第八时长内,未监测到针对雾化器的抽吸动作以及针对开关的开启操作,控制雾化器进入深休眠模式。In one of the embodiments, the device further includes a second control module, configured to control the atomizer for the eighth period of time after the atomizer is in the wake-up mode, if no suction action for the atomizer and no opening operation for the switch are detected. The atomizer enters deep sleep mode.
第三方面,本申请实施例还提供了一种雾化器,包括:In the third aspect, the embodiment of the present application also provides an atomizer, including:
一个或多个处理器;one or more processors;
存储器;memory;
一个或多个应用程序,其中一个或多个应用程序被存储在存储器中并被配置为由一个或多个处理器执行,一个或多个程序配置用于执行如第一方面任一项的方法。One or more application programs, wherein one or more application programs are stored in memory and configured to be executed by one or more processors, and one or more programs are configured to perform the method according to any one of the first aspect .
第四方面,本申请实施例还提供了一种计算机可读取存储介质,其特征在于,计算机可读取存储介质中存储有程序代码,程序代码可被处理器调用执行如第一方面任一项的方法。In the fourth aspect, the embodiment of the present application also provides a computer-readable storage medium, which is characterized in that the computer-readable storage medium stores program codes, and the program codes can be invoked by a processor to execute any one of the above aspects of the first aspect. item method.
本申请实施例提供的一种雾化器控制方法、装置、雾化器及存储介质,在雾化器的运行模式为工作模式的情况下,通过监测对开关的开启操作和/或监测抽吸动作两者结合的方式,判定是否对雾化器进行加热,并在雾化器的运行模式为唤醒模式的情况下,监测抽吸动作,判定是否对雾化器进行加热,从而减少了仅通过开关判定是否对雾化器进行加热时,误触开关导致的安全隐患的发生,提高了雾化器的安全性,进而提高了用户体验。The embodiment of the present application provides an atomizer control method, device, atomizer, and storage medium. When the operating mode of the atomizer is the working mode, by monitoring the opening operation of the switch and/or monitoring the suction The combination of the two actions determines whether to heat the nebulizer, and when the operation mode of the nebulizer is the wake-up mode, monitors the pumping action to determine whether to heat the nebulizer, thereby reducing the need to When the switch determines whether to heat the atomizer, a potential safety hazard caused by accidentally touching the switch improves the safety of the atomizer, thereby improving user experience.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1示出了本申请一个实施例提出的一种雾化器控制方法的流程图;Fig. 1 shows a flow chart of an atomizer control method proposed by an embodiment of the present application;
图2示出了本申请又一个实施例提出的一种雾化器控制方法的流程图;Fig. 2 shows a flow chart of an atomizer control method proposed in another embodiment of the present application;
图3示出了本申请再一个实施例提出的一种雾化器控制方法的流程图;Fig. 3 shows a flow chart of an atomizer control method proposed in another embodiment of the present application;
图4示出了本申请再一个实施例提出的一种雾化器控制方法的流程图;Fig. 4 shows a flow chart of an atomizer control method proposed in another embodiment of the present application;
图5示出了本申请实施例中一种雾化器的运行模式切换流程图;Fig. 5 shows a flow chart of operating mode switching of an atomizer in the embodiment of the present application;
图6示出了本申请一个实施例提出的一种雾化器控制装置的框图;Fig. 6 shows a block diagram of an atomizer control device proposed by an embodiment of the present application;
图7示出了本申请一个实施例提出的一种雾化器的结构示意图;Fig. 7 shows a schematic structural diagram of an atomizer proposed by an embodiment of the present application;
图8示出了本申请实施例提供的一种计算机可读存储介质的结构框图。FIG. 8 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图对本发明的具体实施方式做详细的说明。在下面的描述中阐述了很多具体细节以便于充分理解本发明。但是本发明能够以很多不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本发明内涵的情况下做类似改进,因此本发明不受下面公开的具体实施例的限制。In order to make the above objects, features and advantages of the present invention more comprehensible, specific implementations of the present invention will be described in detail below in conjunction with the accompanying drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, the present invention can be implemented in many other ways different from those described here, and those skilled in the art can make similar improvements without departing from the connotation of the present invention, so the present invention is not limited by the specific embodiments disclosed below.
在本发明的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“长度”、“宽度”、“厚度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”、“顺时针”、“逆时针”、“轴向”、“径向”、“周向”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。In describing the present invention, it should be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", " Back", "Left", "Right", "Vertical", "Horizontal", "Top", "Bottom", "Inner", "Outer", "Clockwise", "Counterclockwise", "Axial" , "radial", "circumferential" and other indicated orientations or positional relationships are based on the orientations or positional relationships shown in the drawings, which are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying the referred device or Elements must have certain orientations, be constructed and operate in certain orientations, and therefore should not be construed as limitations on the invention.
在本发明中,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”、“固定”等术语应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系,除非另有明确的限定。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the present invention, unless otherwise clearly specified and limited, terms such as "installation", "connection", "connection" and "fixation" should be understood in a broad sense, for example, it can be a fixed connection or a detachable connection , 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 the present invention according to specific situations.
在本发明中,除非另有明确的规定和限定,第一特征在第二特征“上”或“下”可以是第一和第二特征直接接触,或第一和第二特征通过中间媒介间接接触。而且,第一特征在第二特征“之上”、“上方”和“上面”可是第一特征在第二特征正上方或斜上方,或仅仅表示第一特征水平高度高于第二特征。第一特征在第二特征“之下”、“下方”和“下面”可以是第一特征在第二特征正下方或斜下方,或仅仅表示第一特征水平高度小于第二特征。In the present invention, unless otherwise clearly specified and limited, the first feature may be in direct contact with the first feature or the first and second feature may be in direct contact with the second feature through an intermediary. touch. Moreover, "above", "above" and "above" the first feature on the second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. "Below", "beneath" and "beneath" the first feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is less horizontally than the second feature.
需要说明的是,当元件被称为“固定于”或“设置于”另一个元件,它可以直接在另一个元件上或者也可以存在居中的元件。当一个元件被认为是“连接”另一个元件,它可以是直接连接到另一个元件或者可能同时存在居中元件。本文所使用的术语“垂直的”、“水平的”、“上”、“下”、“左”、“右”以及类似的表述只是为了说明的目的,并不表示是唯一的实施方式。It should be noted that when an element is referred to as being “fixed on” or “disposed on” another element, it may be directly on the other element or there may be an intervening element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or intervening elements may also be present. As used herein, the terms "vertical", "horizontal", "upper", "lower", "left", "right" and similar expressions are for the purpose of illustration only and are not intended to represent the only embodiments.
本发明实施例提供的雾化器用于对气溶胶生成基质进行加热以产生气溶胶供用户使用。其中,加热方式可以为对流、传导、辐射或者其组合(依照实际保护方案选择)。气溶胶生成基质的形态可以是液体、凝胶、膏体或固体(依照实际保护方案选择)等。当气溶胶生成基质为固体时,其可以是粉碎状、颗粒化、粉末状、粒状、条状或片状形式的固体(依照实际保护方案选择)。气溶胶产生基质包括但不限于是用于医疗、养生、健康、美容目的的材料,例如,气溶胶生成基质为药液、油类(依照实际保护方案选择),或者,气溶胶产生基质为植物类材料,例如植物的根、茎、叶、花、芽、种子等(依照实际保护方案选择)。The atomizer provided by the embodiment of the present invention is used to heat the aerosol generating substrate to generate aerosol for use by users. Wherein, the heating method may be convection, conduction, radiation or a combination thereof (selected according to the actual protection scheme). The form of the aerosol-generating substrate can be liquid, gel, paste or solid (selected according to the actual protection scheme) and the like. When the aerosol-generating substrate is solid, it may be in the form of pulverized, granulated, powdered, granular, strip or tablet (selected according to the actual protection scheme). Aerosol-generating substrates include but are not limited to materials used for medical treatment, health preservation, health, and cosmetic purposes. For example, aerosol-generating substrates are medicinal liquids and oils (selected according to the actual protection scheme), or aerosol-generating substrates are plants. Similar materials, such as plant roots, stems, leaves, flowers, buds, seeds, etc. (selected according to the actual protection plan).
请参阅图1,图1示出了本申请一个实施例提出的一种雾化器控制方法的流程图,方法可以用于雾化器,方法可以包括:Please refer to FIG. 1. FIG. 1 shows a flow chart of an atomizer control method proposed by an embodiment of the present application. The method can be used for an atomizer, and the method can include:
S110、获取雾化器的运行模式。S110. Obtain the operation mode of the atomizer.
雾化器的运行模式可以包括工作模式、浅休眠模式、深休眠模式以及唤醒模式,其中,工作模式为雾化器中所有的模块均可正常工作的模式。在工作模式时,雾化器对雾化器中的气溶胶生成基质进行加热以产生气溶胶。The operation mode of the atomizer may include a work mode, a shallow sleep mode, a deep sleep mode and a wake-up mode, wherein the work mode is a mode in which all modules in the atomizer can work normally. In the working mode, the nebulizer heats the aerosol-generating substrate in the nebulizer to generate an aerosol.
浅休眠模式为用于监测抽吸动作的咪头以及开关处于工作状态,其他模块可以不工作的模式。在一些实施方式中,浅休眠模式是指雾化器中第一非相关模块不工作的模式,第一非相关模块包括与咪头以及开关均不相关的模块;咪头用于监测针对雾化器的抽吸动作;咪头监测到用户的抽吸动作,咪头发出触发信号,用于通知雾化器用户触发抽吸动作。例如,第一非相关模块可以包括雾化器的电路板中,除去用于监测对雾化器的抽吸动作的咪头、开关、雾化器处理器(可以是MCU)以及看门狗以外的其他模块,也即,在浅休眠模式,仅仅咪头、开关、雾化器处理器以及看门狗处于运行状态,雾化器整体处于低功耗状态。看门狗是指用于计时的模块,例如可以通过看门狗监测处于浅休眠模式的时长。The shallow sleep mode is a mode in which the microphone and the switch used to monitor the suction action are in the working state, and other modules may not work. In some embodiments, the shallow sleep mode refers to the mode in which the first non-related module in the nebulizer does not work. The first non-related module includes modules that are not related to the microphone and the switch; The pumping action of the atomizer; the microphone detects the user's pumping action, and the microphone sends a trigger signal to notify the user of the nebulizer to trigger the pumping action. For example, the first non-related module can be included in the circuit board of the atomizer, except for the microphone, switch, atomizer processor (may be MCU) and watchdog for monitoring the suction action of the atomizer. Other modules, that is, in light sleep mode, only the microphone, switch, atomizer processor and watchdog are running, and the atomizer as a whole is in a low power consumption state. The watchdog refers to the module used for timing, for example, the duration of the light sleep mode can be monitored through the watchdog.
其中,当咪头监测到气流流动时,确定用户对雾化器发出了抽吸动作,。Wherein, when the microphone detects the air flow, it is determined that the user has issued a pumping action on the nebulizer.
开关可以是虚拟按键也可以是实体按键,用户可以持续按下开关,来发送开启操作,以使雾化器开始加热。用户停止按下开关,表示用户停止发送开启操作。雾化器停止价值。The switch can be a virtual button or a physical button, and the user can keep pressing the switch to send an on operation to make the atomizer start heating. When the user stops pressing the switch, it means that the user stops sending the open operation. Atomizer stop value.
唤醒模式是指用于监测抽吸动作的咪头处于工作状态,其他模块可以不工作的模式。作为一种实施方式是,唤醒模式是指雾化器中第二非相关模块不工作的模式,第二非相关模块包括与咪头不相关的模块。其中,第二非相关模块可以包括雾化器的电路板中,除去用于监测对雾化器的抽吸动作的咪头、雾化器处理器以及看门狗以外的其他模块,也即,在唤醒模式,仅仅咪头、雾化器处理器以及看门狗处于运行状态,雾化器整体处于低功耗状态。The wake-up mode refers to the mode in which the microphone used to monitor the pumping action is in the working state, and other modules may not work. As an implementation manner, the wake-up mode refers to a mode in which the second non-related module in the atomizer does not work, and the second non-related module includes a module not related to the microphone. Wherein, the second non-related module may include other modules in the circuit board of the atomizer except the microphone for monitoring the pumping action of the atomizer, the atomizer processor and the watchdog, that is, In wake-up mode, only the microphone, atomizer processor and watchdog are running, and the atomizer as a whole is in a low power consumption state.
深休眠模式为开关处于工作状态,其他模块可以不工作的模式。作为一种实施方式,深休眠模式是指雾化器中第三非相关模块不工作的模式,第三非相关模块包括与开关不相关的模块。第三非相关模块可以包括雾化器的电路板中,除去开关以及雾化器处理器以外的其他模块,也即,在深休眠模式,仅开关和雾化器处理器处于运行状态,雾化器整体处于极低功耗状态。The deep sleep mode is a mode in which the switch is in the working state and other modules can not work. As an implementation manner, the deep sleep mode refers to a mode in which the third non-related module in the atomizer does not work, and the third non-related module includes a module not related to the switch. The third non-related module can include other modules in the circuit board of the atomizer except the switch and the atomizer processor, that is, in the deep sleep mode, only the switch and the atomizer processor are in the running state, and the atomizer The device as a whole is in a very low power consumption state.
S120、在运行模式为工作模式情况下,若监测到针对雾化器的抽吸动作和/或监测到针对雾化器的开关的开启操作,控制雾化器加热。S120. When the operation mode is the working mode, if the pumping action on the atomizer and/or the opening operation of the switch on the atomizer is detected, control the heating of the atomizer.
在本申请中,若监测到针对雾化器的抽吸动作,将MIC_WORK置位为1,表示监测到抽吸动作,若监测到针对开关的开启操作,将KEY_WORK置位为1,表示监测到按下开关的操作。In this application, if the pumping action of the atomizer is detected, set MIC_WORK to 1, indicating that the pumping action is detected; if the opening operation of the switch is detected, set KEY_WORK to 1, indicating that the The operation of pressing the switch.
在运行模式为工作模式的情况下:When the running mode is working mode:
若MIC_WORK=1和KEY_WORK=1时,确定可以对雾化器进行加热,置位HEAT_ALLOWN为1,保持在工作模式,并对雾化器进行加热;此时,还可以判定开关是否出现卡死,若是开关出现卡死,KEY_STICK置位为1,并在以后的控制过程中,忽略开关的开启操作,仅通过抽吸动作的监测结果判定;If MIC_WORK=1 and KEY_WORK=1, it is determined that the atomizer can be heated, set HEAT_ALLOWN to 1, keep in the working mode, and heat the atomizer; at this time, it can also be determined whether the switch is stuck, If the switch is stuck, KEY_STICK is set to 1, and in the subsequent control process, the opening operation of the switch is ignored, and only the monitoring result of the suction action is used to judge;
当MIC_WORK=1和KEY_WORK=0时,确定可以对雾化器进行加热,置位HEAT_ALLOWN为1(表示允许加热),保持在工作模式,并对雾化器进行加热;When MIC_WORK=1 and KEY_WORK=0, it is determined that the atomizer can be heated, set HEAT_ALLOWN to 1 (indicating that heating is allowed), keep in the working mode, and heat the atomizer;
当MIC_WORK=0(表示未监测到抽吸动作)和KEY_WORK=1时,确定可以对雾化器进行加热,置位HEAT_ALLOWN为1,保持在工作模式,并对雾化器进行加热。When MIC_WORK=0 (meaning no suction action is detected) and KEY_WORK=1, it is determined that the nebulizer can be heated, set HEAT_ALLOWN to 1, keep in the working mode, and heat the nebulizer.
S130、在运行模式为深休眠模式的情况下,若监测到针对开关的开启操作,控制雾化器进入唤醒模式。S130. In the case that the operation mode is the deep sleep mode, if an opening operation for the switch is detected, control the atomizer to enter the wake-up mode.
S140、在运行模式为唤醒模式的情况下,若监测到针对雾化器的抽吸动作,控制雾化器加热。S140. In the case that the operation mode is the wake-up mode, if a pumping action for the atomizer is detected, control heating of the atomizer.
在运行模式为深休眠模式的情况下,若监测到针对开关的开启操作,控制雾化器进入唤醒模式,并继续在唤醒模式监测雾化器是否发生了抽吸动作,若监测到雾化器发生了抽吸动作,则控制雾化器进行加热。When the operation mode is the deep sleep mode, if the opening operation for the switch is detected, control the atomizer to enter the wake-up mode, and continue to monitor whether the atomizer has a suction action in the wake-up mode, if the atomizer is detected When a suction action occurs, the nebulizer is controlled to heat up.
在深休眠模式下:In deep sleep mode:
当MIC_WORK=0和KEY_WORK=1时,确定HEAT_ALLOWN=0,不允许加热雾化器,控制雾化器进入唤醒模式;When MIC_WORK=0 and KEY_WORK=1, determine HEAT_ALLOWN=0, do not allow heating of the atomizer, and control the atomizer to enter the wake-up mode;
当MIC_WORK=0和KEY_WORK=0时,HEAT_ALLOWN=0,不允许加热雾化器,控制雾化器保持在深休眠模式。When MIC_WORK=0 and KEY_WORK=0, HEAT_ALLOWN=0, the nebulizer is not allowed to be heated, and the nebulizer is controlled to remain in deep sleep mode.
在运行模式为唤醒模式的情况下:When the operating mode is wake-up mode:
当MIC_WORK=1和KEY_WORK=1时,确定可以对雾化器进行加热,置位HEAT_ALLOWN为1,控制雾化器进入工作模式,并对雾化器进行加热。When MIC_WORK=1 and KEY_WORK=1, it is determined that the nebulizer can be heated, set HEAT_ALLOWN to 1, control the nebulizer to enter the working mode, and heat the nebulizer.
当MIC_WORK=1和KEY_WORK=0时,确定可以对雾化器进行加热,置位HEAT_ALLOWN为1,控制雾化器进入工作模式,并对雾化器进行加热。When MIC_WORK=1 and KEY_WORK=0, it is determined that the nebulizer can be heated, set HEAT_ALLOWN to 1, control the nebulizer to enter the working mode, and heat the nebulizer.
作为一种实施方式,在获取到雾化器的运行模式之后,方法还包括:在运行模式为浅休眠模式的情况下,若监测到针对雾化器的抽吸动作和/或监测到针对雾化器的开关的开启操作,控制雾化器加热,浅休眠模式为用于监测抽吸动作的咪头以及开关处于工作状态。As an implementation, after acquiring the operation mode of the nebulizer, the method further includes: when the operation mode is the shallow sleep mode, if the suction action for the atomizer is monitored and/or the atomizer is detected The opening operation of the switch of the nebulizer controls the heating of the nebulizer, and the shallow sleep mode is used to monitor the microphone of the pumping action and the switch is in the working state.
在浅休眠模式的情况下;In case of shallow sleep mode;
当MIC_WORK=1和KEY_WORK=1时,确定可以对雾化器进行加热,置位HEAT_ALLOWN为1,可以控制雾化器进行工作模式,并对雾化器进行加热;When MIC_WORK=1 and KEY_WORK=1, it is determined that the atomizer can be heated, and setting HEAT_ALLOWN to 1 can control the atomizer to work and heat the atomizer;
当MIC_WORK=1和KEY_WORK=0时,确定可以对雾化器进行加热,置位HEAT_ALLOWN为1,可以控制雾化器进行工作模式,并对雾化器进行加热;When MIC_WORK=1 and KEY_WORK=0, it is determined that the atomizer can be heated, and setting HEAT_ALLOWN to 1 can control the atomizer to work and heat the atomizer;
当MIC_WORK=0和KEY_WORK=1时,确定可以对雾化器进行加热,置位HEAT_ALLOWN为1,可以控制雾化器进行工作模式,并对雾化器进行加热;When MIC_WORK=0 and KEY_WORK=1, it is determined that the atomizer can be heated, and setting HEAT_ALLOWN to 1 can control the atomizer to work and heat the atomizer;
当MIC_WORK=0和KEY_WORK=0时,确定不对雾化器加热,置位HEAT_ALLOWN为0,此时可以将KEY_STICK置位为0(表示开关未被卡死),并控制雾化器进入浅休眠模式;When MIC_WORK=0 and KEY_WORK=0, it is determined not to heat the atomizer, set HEAT_ALLOWN to 0, at this time, you can set KEY_STICK to 0 (indicating that the switch is not stuck), and control the atomizer to enter light sleep mode ;
当MIC_WORK=0和KEY_WORK=1时,并且KEY_STICK=1(表示开关被卡死)时,确定不允许加热雾化,且置位HEAT_ALLOWN为0,说明开关一直处于误触发状态。此时,若处于浅休眠模式的一定时长内,咪头未监测到抽吸动作,控制雾化器进入深休眠模式;When MIC_WORK=0 and KEY_WORK=1, and KEY_STICK=1 (indicating that the switch is stuck), it is determined that heating atomization is not allowed, and the bit HEAT_ALLOWN is set to 0, indicating that the switch has been in a false trigger state. At this time, if the microphone does not detect the pumping action within a certain period of time in the shallow sleep mode, the atomizer is controlled to enter the deep sleep mode;
当MIC_WORK=0和KEY_WORK=0时,HEAT_ALLOWN=0(表示不允许加热),不允许加热雾化器,若处于浅休眠模式的一定时长内,咪头未监测到抽吸动作,控制雾化器进入深休眠模式。When MIC_WORK=0 and KEY_WORK=0, HEAT_ALLOWN=0 (indicating that heating is not allowed), and heating of the nebulizer is not allowed. If it is in the shallow sleep mode for a certain period of time, the microphone does not detect the suction action, and the nebulizer is controlled Enter deep sleep mode.
在本实施例中,在雾化器的运行模式为工作模式的情况下,通过监测对开关的开启操作和/或监测抽吸动作两者结合的方式,判定是否对雾化器进行加热,并在雾化器的运行模式为唤醒模式的情况下,监测抽吸动作,判定是否对雾化器进行加热,从而减少了仅通过开关判定是否对雾化器进行加热时,误触开关导致的安全隐患的发生,提高了雾化器的安全性,进而提高了用户体验。。In this embodiment, when the operating mode of the atomizer is the working mode, it is determined whether to heat the atomizer by monitoring the combination of the opening operation of the switch and/or monitoring the suction action, and When the operation mode of the nebulizer is the wake-up mode, the pumping action is monitored to determine whether to heat the nebulizer, thereby reducing the safety hazard caused by accidentally touching the switch when only using the switch to determine whether to heat the nebulizer The occurrence of hidden dangers improves the safety of the atomizer, thereby improving the user experience. .
同时,在本申请中,雾化器不需要增加额外的电子电路,不会增加硬件成本,应用场景广。即使出现开关失灵,损毁,卡死等严重问题,采用该方案,通过监测抽吸动作,雾化器亦可照常使用,无影响,提高了用户体验。At the same time, in this application, the atomizer does not need to add additional electronic circuits, does not increase hardware costs, and has a wide range of application scenarios. Even if there are serious problems such as switch failure, damage, jamming, etc., with this solution, the atomizer can still be used as usual by monitoring the pumping action without any impact, which improves the user experience.
请参阅图2,图2示出了本申请又一个实施例提出的一种雾化器控制方法的流程图,方法可以用于雾化器,方法可以包括:Please refer to FIG. 2. FIG. 2 shows a flow chart of an atomizer control method proposed in another embodiment of the present application. The method can be used for an atomizer, and the method can include:
S210、获取雾化器的运行模式。S210. Obtain the operation mode of the atomizer.
S220、在运行模式为工作模式情况下,若监测到针对雾化器的抽吸动作和/或监测到针对雾化器的开关的开启操作,控制雾化器加热。S220. When the operation mode is the working mode, if the suction action of the atomizer and/or the opening operation of the switch of the atomizer is detected, control the heating of the atomizer.
其中,S210-S220的描述参照上文S110-S120的描述,此处不再赘述。Wherein, the description of S210-S220 refers to the description of S110-S120 above, and will not be repeated here.
S230、若控制雾化器加热之后的第一时长内,未监测到针对雾化器的抽吸动作,控制雾化器停止加热。S230. If within the first period of time after controlling the heating of the atomizer, no suction action on the atomizer is detected, control the atomizer to stop heating.
其中,第一时长可以是根据需求设定的,例如,第一时长可以是2s或3s等。Wherein, the first duration may be set according to requirements, for example, the first duration may be 2s or 3s.
当MIC_WORK=0和KEY_WORK=1时,确定HEAT_ALLOWN=1,即控制雾化器进行加热,当控制雾化器加热后,咪头第一时长内未监测到抽吸动作,说明此状态开关的开启器操作为用户误触引发,即第一时长内MIC_WORK依旧等于0时,即停止加热雾化器。从而避免误触导致的雾化器持续加热,从而避免安全隐患的发生。When MIC_WORK=0 and KEY_WORK=1, determine HEAT_ALLOWN=1, that is, control the nebulizer to heat up. After controlling the nebulizer to heat up, the microphone does not detect the pumping action within the first period of time, indicating that the status switch is turned on The device operation is caused by the user's mistaken touch, that is, when the MIC_WORK is still equal to 0 within the first period of time, the heating of the atomizer will be stopped. In this way, the continuous heating of the atomizer caused by false touch is avoided, thereby avoiding the occurrence of potential safety hazards.
若是加热开开关卡死,开关一直处于开启状态,而第一时长内MIC_WORK依旧等于0,可以确定开关卡死,可以停止加热雾化器,并将KEY_STICK置位为1。If the heating switch is stuck, the switch is always on, and the MIC_WORK is still equal to 0 for the first time, it can be confirmed that the switch is stuck, you can stop heating the atomizer, and set KEY_STICK to 1.
需要说明的是,在本申请实施例中,可以通过看门狗对各个时长(例如本申请实施例中的第一时长到第八时长中的各个时长)进行计时。It should be noted that, in the embodiment of the present application, the watchdog may be used to time various durations (for example, each of the first duration to the eighth duration in the embodiment of the present application).
S240、在控制雾化器停止加热之后的第二时长内,未监测到针对雾化器的抽吸动作,控制雾化器进入浅休眠模式。S240. During the second period of time after controlling the nebulizer to stop heating, no pumping action on the nebulizer is detected, and controlling the nebulizer to enter a shallow sleep mode.
当控制雾化器停止加热之后的第二时长内,依旧未监测到针对雾化器的抽吸动作,确定MIC_WORK=0,并控制雾化器进入浅休眠模式,从而节省雾化器的能耗。其中,第二时长可以是2s或3s。When the atomizer is controlled to stop heating within the second period of time, the pumping action for the atomizer is still not detected, determine MIC_WORK=0, and control the atomizer to enter the shallow sleep mode, thereby saving the energy consumption of the atomizer . Wherein, the second duration may be 2s or 3s.
S250、控制雾化器进入浅休眠模式之后的第三时长之内,未监测到针对雾化器的抽吸动作和/或未监测到针对雾化器的开关的开启操作,控制雾化器进入深休眠模式。S250. Within the third period of time after the nebulizer is controlled to enter the shallow sleep mode, if no pumping action for the nebulizer and/or no opening operation of the switch for the nebulizer is detected, control the nebulizer to enter deep sleep mode.
当控制雾化器进入浅休眠模式之后的第三时长内,依旧未监测到针对雾化器的抽吸动作,确定MIC_WORK=0,并控制雾化器进入深休眠模式,从而进一步节省雾化器的能耗。其中,第三时长大于第二时长,可以是10s或15s。When the nebulizer is controlled to enter the shallow sleep mode within the third period of time, the pumping action for the nebulizer is still not detected, determine MIC_WORK=0, and control the nebulizer to enter the deep sleep mode, thereby further saving the nebulizer energy consumption. Wherein, the third duration is longer than the second duration and may be 10s or 15s.
260、在运行模式为唤醒模式的情况下,若监测到针对雾化器的抽吸动作,控制雾化器加热。260. In the case that the operation mode is the wake-up mode, if a pumping action for the atomizer is detected, control heating of the atomizer.
S270、在运行模式为深休眠模式的情况下,若监测到针对开关的开启操作,控制雾化器进入唤醒模式。S270. In the case that the operation mode is the deep sleep mode, if an opening operation for the switch is detected, control the atomizer to enter the wake-up mode.
其中,S260-S270的描述参照上文S130-S140的描述,此处不再赘述。Wherein, the description of S260-S270 refers to the description of S130-S140 above, and will not be repeated here.
在本实施例中,在运行模式为工作模式的情况下,在控制雾化器加热之后的第一时长内,未监测到针对雾化器的抽吸动作,控制雾化器停止加热;从而避免误触导致的安全隐患的而发生,同时,在控制雾化器停止加热之后的第二时长内,未监测到针对雾化器的抽吸动作,控制雾化器进入浅休眠模式,节省雾化器的能耗,并在控制雾化器进入浅休眠模式之后的第三时长内,未监测到针对雾化器的抽吸动作,控制雾化器进入深休眠模式,进一步节省能耗,提高了雾化器的续航和用户体验。In this embodiment, when the operating mode is the working mode, within the first period of time after the heating of the atomizer is controlled, no suction action for the atomizer is detected, and the heating of the atomizer is controlled to stop; thereby avoiding At the same time, within the second time period after the nebulizer is controlled to stop heating, no suction action for the nebulizer is detected, and the nebulizer is controlled to enter a shallow sleep mode to save atomization. The energy consumption of the nebulizer, and within the third period of time after the nebulizer is controlled to enter the shallow sleep mode, no suction action for the nebulizer is detected, and the nebulizer is controlled to enter the deep sleep mode, which further saves energy consumption and improves the The battery life and user experience of the atomizer.
同时,即使用户不关闭雾化器,也能使得雾化器自动进入深休眠模式,实现雾化器的关机,完全杜绝在用户搁置或者携带时电子雾化装置时由于按键误触导致的误点火问题。At the same time, even if the user does not turn off the atomizer, the atomizer can automatically enter the deep sleep mode, realize the shutdown of the atomizer, and completely eliminate the misfire caused by the wrong touch of the button when the user puts the electronic atomizer on hold or carries it. question.
请参阅图3,图3示出了本申请再一个实施例提出的一种雾化器控制方法的流程图,方法可以用于雾化器,方法可以包括:Please refer to Fig. 3, Fig. 3 shows a flow chart of an atomizer control method proposed in another embodiment of the present application, the method can be used in an atomizer, and the method can include:
S310、获取雾化器的运行模式信息。S310. Obtain information about the operation mode of the atomizer.
S320、在运行模式为浅休眠模式的情况下,若监测到针对雾化器的抽吸动作和/或监测到针对雾化器的开关的开启操作,控制雾化器加热。S320. When the operation mode is the shallow sleep mode, if the pumping action on the atomizer and/or the opening operation of the switch on the atomizer is detected, control the heating of the atomizer.
其中,S310-S320的描述参照上文S110-S140的描述,此处不再赘述。Wherein, the description of S310-S320 refers to the description of S110-S140 above, which will not be repeated here.
S330、在控制雾化器加热之后的第四时长内,未监测到针对雾化器的抽吸动作,控制雾化器停止加热;在雾化器进入浅休眠模式之后的时长达到第五时长,且未监测到针对雾化器的抽吸动作,控制雾化器进入深休眠模式,第五时长大于第四时长。S330. Within the fourth time period after controlling the heating of the nebulizer, if no pumping action on the nebulizer is detected, control the nebulizer to stop heating; the time period after the nebulizer enters the shallow sleep mode reaches the fifth time period, And no pumping action on the atomizer is detected, the atomizer is controlled to enter the deep sleep mode, and the fifth duration is longer than the fourth duration.
其中,第四时长可以是2s或3s,第五时长可以是10s或15s。Wherein, the fourth duration may be 2s or 3s, and the fifth duration may be 10s or 15s.
在浅休眠模式下,当MIC_WORK=0和KEY_WORK=1时,并且KEY_STICK=0时,HEAT_ALLOWN=1,则允许加热雾化器,即雾化器进行加热,当抽吸模块第四时长内未监测到抽吸动作,说明开关的开启操作为用户误触引发,即MIC_WORK依旧等于0时,即立刻停止加热雾化器,之后,在雾化器进入浅休眠模式之后的时长达到第五时长,依旧未监测到针对雾化器的抽吸动作,控制雾化器进入深休眠模式。In shallow sleep mode, when MIC_WORK=0 and KEY_WORK=1, and when KEY_STICK=0, HEAT_ALLOWN=1, it is allowed to heat the nebulizer, that is, the nebulizer is heated, and when the suction module is not monitored within the fourth hour When the pumping action is reached, it means that the opening operation of the switch is caused by the user’s mistaken touch, that is, when MIC_WORK is still equal to 0, the heating of the atomizer will be stopped immediately. No suction action for the nebulizer is detected, and the nebulizer is controlled to enter the deep sleep mode.
S340、在运行模式为唤醒模式的情况下,若监测到针对雾化器的抽吸动作,控制雾化器加热。S340. In the case that the operation mode is the wake-up mode, if a pumping action for the atomizer is detected, control heating of the atomizer.
S350、在运行模式为深休眠模式的情况下,若监测到针对开关的开启操作,控制雾化器进入唤醒模式。S350. In the case that the operation mode is the deep sleep mode, if an opening operation for the switch is detected, control the atomizer to enter the wake-up mode.
其中,S340-S350的描述参照上文S130-S140的描述,此处不再赘述,Wherein, the description of S340-S350 refers to the description of S130-S140 above, and will not be repeated here.
在本实施例中,在运行模式为浅休眠模式的情况下,在控制雾化器加热之后的第三时长内,未监测到针对雾化器的抽吸动作,控制雾化器停止加热;从而避免误触导致的安全隐患的而发生,同时,在雾化器进入浅休眠模式之后的时长达到第五时长,且未监测到针对雾化器的抽吸动作,控制雾化器进入深休眠模式,进一步节省能耗,提高了雾化器的续航和用户体验。In this embodiment, when the operating mode is the shallow sleep mode, within the third period of time after the heating of the nebulizer is controlled, no suction action for the nebulizer is detected, and the heating of the nebulizer is controlled to stop; thus To avoid potential safety hazards caused by accidental touches, at the same time, after the nebulizer enters the shallow sleep mode, the length of time reaches the fifth time, and no suction action for the nebulizer is detected, and the nebulizer is controlled to enter the deep sleep mode , to further save energy consumption and improve the battery life and user experience of the atomizer.
请参阅图4,图4示出了本申请再一个实施例提出的一种雾化器控制方法的流程图,方法可以用于雾化器,方法可以包括:Please refer to Fig. 4. Fig. 4 shows a flow chart of an atomizer control method proposed in another embodiment of the present application. The method can be used for an atomizer, and the method can include:
S410、获取雾化器的运行模式。S410. Obtain the operation mode of the atomizer.
S420、在运行模式为工作模式的情况下,若监测到针对雾化器的抽吸动作和/或监测到针对雾化器的开关的开启操作,控制雾化器加热。S420. When the operation mode is the working mode, if the pumping action on the atomizer and/or the opening operation of the switch on the atomizer is detected, control the heating of the atomizer.
其中,S410-S420的描述参照上文S110-S120的描述,此处不再赘述。Wherein, the description of S410-S420 refers to the description of S110-S120 above, and will not be repeated here.
S430、在运行模式为唤醒模式的情况下,且雾化器进入唤醒模式之后的第六时长内,监测到针对开关的开启操作,监测针对雾化器的抽吸动作;若雾化器进入唤醒模式之后的时长达到第七时长,且未监测到针对雾化器的抽吸动作,控制雾化器进入深休眠模式,第七时长大于或等于第六时长。S430. When the operation mode is the wake-up mode, and within the sixth time period after the atomizer enters the wake-up mode, the opening operation for the switch is detected, and the suction action for the atomizer is monitored; if the atomizer enters the wake-up mode The duration after the mode reaches the seventh duration, and no pumping action on the atomizer is detected, the atomizer is controlled to enter the deep sleep mode, and the seventh duration is greater than or equal to the sixth duration.
其中,第六时长可以是2s或3s,第七时长可以是2s或3s。Wherein, the sixth duration may be 2s or 3s, and the seventh duration may be 2s or 3s.
在唤醒模式下,当MIC_WORK=0和KEY_WORK=1时,HEAT_ALLOWN=0,不允许加热雾化器,雾化器依旧处于唤醒模式,并且,通过咪头监测针对雾化器的抽吸动作,若雾化器进入唤醒模式之后的时长达到第七时长,且未监测到针对雾化器的抽吸动作,控制雾化器进入深休眠模式,以节省能耗。In the wake-up mode, when MIC_WORK=0 and KEY_WORK=1, HEAT_ALLOWN=0, the nebulizer is not allowed to be heated, the nebulizer is still in the wake-up mode, and the suction action of the nebulizer is monitored through the microphone, if After the nebulizer enters the wake-up mode, the duration reaches the seventh time, and no suction action on the nebulizer is detected, and the nebulizer is controlled to enter the deep sleep mode to save energy consumption.
S440、在雾化器处于唤醒模式之后的第八时长内,未监测到针对雾化器的抽吸动作以及针对开关的开启操作,控制雾化器进入深休眠模式。S440. During the eighth period of time after the atomizer is in the wake-up mode, no pumping action on the atomizer and no opening operation on the switch are detected, and the atomizer is controlled to enter a deep sleep mode.
其中,第八时长可以是2s或3s,当MIC_WORK=0和KEY_WORK=0时,HEAT_ALLOWN=0,不允许加热雾化器,并且在第八时长内,依旧是MIC_WORK=0和KEY_WORK=0,控制雾化器进入深休眠模式。Among them, the eighth duration can be 2s or 3s, when MIC_WORK=0 and KEY_WORK=0, HEAT_ALLOWN=0, heating the atomizer is not allowed, and in the eighth duration, MIC_WORK=0 and KEY_WORK=0, control The atomizer enters deep sleep mode.
S450、在运行模式为唤醒模式的情况下,若监测到针对雾化器的抽吸动作,控制雾化器加热。S450. In the case that the operation mode is the wake-up mode, if a pumping action for the atomizer is detected, control heating of the atomizer.
S460、在运行模式为深休眠模式的情况下,若监测到针对开关的开启操作,控制雾化器进入唤醒模式。S460. In the case that the operating mode is the deep sleep mode, if an opening operation for the switch is detected, control the atomizer to enter the wake-up mode.
其中,S450-S460的描述参照上文S130-S140的描述,此处不再赘述。Wherein, the description of S450-S460 refers to the description of S130-S140 above, which will not be repeated here.
在本实施例中,在运行模式为唤醒模式的情况下,未监测到针对雾化器的抽吸动作,控制雾化器进入深休眠模式,从而降低雾化器的能耗,节省能源,提高用户体验。In this embodiment, when the operation mode is the wake-up mode, no suction action for the atomizer is detected, and the atomizer is controlled to enter the deep sleep mode, thereby reducing the energy consumption of the atomizer, saving energy, and improving user experience.
请参阅图5,图5示出了本申请实施例中一种雾化器的运行模式切换流程图。Please refer to FIG. 5 . FIG. 5 shows a flow chart of operating mode switching of an atomizer in an embodiment of the present application.
在雾化器处于工作模式时,若监测到抽吸动作,确定MIC_WORK=1,继续保持工作模式;若持续一段时间(例如第一时长内)未监测到抽吸动作(无论是否监测到开关的开启操作),确定MIC_WORK=0,进入浅休眠模式。When the atomizer is in the working mode, if the pumping action is detected, determine MIC_WORK=1, and continue to maintain the working mode; if the pumping action is not detected for a period of time (for example, within the first period of time) (whether the switch is detected or not) Start operation), confirm MIC_WORK=0, enter light sleep mode.
在雾化器处于浅休眠模式时,若监测到抽吸动作,确定MIC_WORK=1,进入工作模式;若持续一段时间(例如第五时长内)未监测到抽吸动作(无论是否监测到开关的开启操作),确定MIC_WORK=0,进入深休眠模式。When the nebulizer is in light sleep mode, if the pumping action is detected, determine MIC_WORK=1 and enter the working mode; if the pumping action is not detected for a period of time (for example, within the fifth time period) (whether the switch is detected or not) Start operation), confirm MIC_WORK=0, enter deep sleep mode.
在雾化器处于深休眠模式时,若先监测到开关的开启操作,之后监测到抽吸动作,确定MIC_WORK=1,进入工作模式;若先监测到开关的开启操作之后,确定KEY_WORK=1,进入唤醒模式。When the nebulizer is in deep sleep mode, if the opening operation of the switch is detected first, and then the pumping action is detected, confirm MIC_WORK=1 and enter the working mode; if the opening operation of the switch is detected first, confirm KEY_WORK=1, Enter wake-up mode.
在雾化器处于唤醒模式时,若监测到抽吸动作,确定MIC_WORK=1,进入工作模式;若持续一段时间(例如第七时长内)未监测到抽吸动作(无论是否监测到开关的开启操作),确定MIC_WORK=0,进入深休眠模式。When the atomizer is in the wake-up mode, if the pumping action is detected, determine MIC_WORK=1 and enter the working mode; if the pumping action is not detected for a period of time (for example, within the seventh time) (whether the switch is detected or not) Operation), confirm MIC_WORK=0, enter deep sleep mode.
雾化器通过监测开关的确定操作以及抽吸动作,对雾化器的运行模式进行切换,以使雾化器可以在不同的情况下,工作于不同的模式,既提高了雾化器的安全性,又了节省能耗。多个模式之间的无缝切换,在解决误触发的同时,也实现了用户在抽吸时没有延时或者断续等问题,不会对用户的抽吸体验产生影响,从而提高了用户体验。The atomizer switches the operation mode of the atomizer by monitoring the determined operation of the switch and the suction action, so that the atomizer can work in different modes under different circumstances, which improves the safety of the atomizer performance, and save energy consumption. The seamless switching between multiple modes solves the problem of false triggering, and also realizes that there is no delay or intermittent problem when the user is pumping, and will not affect the user's pumping experience, thereby improving the user experience .
请参阅图6,图6示出了本申请一个实施例提出的一种雾化器控制装置的框图,装置500可以用于雾化器,装置可以包括:Please refer to Fig. 6. Fig. 6 shows a block diagram of an atomizer control device proposed by an embodiment of the present application. The device 500 can be used in an atomizer, and the device can include:
获取模块510,用于获取雾化器的运行模式;An
加热模块520,用于在运行模式为工作模式情况下,若监测到针对雾化器的抽吸动作和/或监测到针对雾化器的开关的开启操作,控制雾化器加热,工作模式为雾化器中所有的模块均可正常工作的模式;The
第一切换模块530,用于在运行模式为深休眠模式的情况下,若监测到针对开关的开启操作,控制雾化器进入唤醒模式,深休眠模式为开关处于工作状态,唤醒模式为用于监测抽吸动作的咪头处于工作状态;The
第二切换模块540,用于在运行模式为唤醒模式的情况下,若监测到针对雾化器的抽吸动作,控制雾化器加热。The
在其中一个实施例中,加热模块520,还用于若控制雾化器加热之后的第一时长内,未监测到针对雾化器的抽吸动作,控制雾化器停止加热;在控制雾化器停止加热之后的第二时长内,未监测到针对雾化器的抽吸动作,控制雾化器进入浅休眠模式,浅休眠模式为用于监测抽吸动作的咪头和/或开关处于工作状态。In one of the embodiments, the
在其中一个实施例中,加热模块520,还用于控制雾化器进入浅休眠模式之后的第三时长之内,未监测到针对雾化器的抽吸动作和/或未监测到针对雾化器的开关的开启操作,控制雾化器进入深休眠模式,第三时长大于第二时长。In one of the embodiments, the
在其中一个实施例中,第一加热模块520,还用于在运行模式为浅休眠模式的情况下,若监测到针对雾化器的抽吸动作和/或监测到针对雾化器的开关的开启操作,控制雾化器加热,浅休眠模式为用于监测抽吸动作的咪头以及开关处于工作状态。In one of the embodiments, the
在其中一个实施例中,加热模块520,还用于在运行模式为浅休眠模式的情况下,若未监测到针对雾化器的抽吸动作,且监测到针对开关的开启操作,控制雾化器加热;在控制雾化器加热之后的第四时长内,未监测到针对雾化器的抽吸动作,控制雾化器停止加热;在雾化器进入浅休眠模式之后的时长达到第五时长,且未监测到针对雾化器的抽吸动作,控制雾化器进入深休眠模式,第五时长大于第四时长。In one of the embodiments, the
在其中一个实施例中,装置还包括第一控制模块,用于在运行模式为唤醒模式的情况下,且雾化器进入唤醒模式之后的第六时长内,监测到针对开关的开启操作,监测针对雾化器的抽吸动作;若雾化器进入唤醒模式之后的时长达到第七时长,且未监测到针对雾化器的抽吸动作,控制雾化器进入深休眠模式,第七时长大于第六时长。In one of the embodiments, the device further includes a first control module, which is used to detect the opening operation of the switch within the sixth period of time after the atomizer enters the wake-up mode when the operation mode is the wake-up mode, and monitor For the pumping action of the atomizer; if the time after the atomizer enters the wake-up mode reaches the seventh time, and no suction action for the atomizer is detected, the atomizer is controlled to enter the deep sleep mode, and the seventh time is longer than The sixth hour.
在其中一个实施例中,装置还包括第二控制模块,用于在雾化器处于唤醒模式之后的第八时长内,未监测到针对雾化器的抽吸动作以及针对开关的开启操作,控制雾化器进入深休眠模式。In one of the embodiments, the device further includes a second control module, configured to control the atomizer for the eighth period of time after the atomizer is in the wake-up mode, if no suction action for the atomizer and no opening operation for the switch are detected. The atomizer enters deep sleep mode.
需要说明的是,本申请中装置实施例与前述方法实施例是相互对应的,装置实施例中具体的原理可以参见前述方法实施例中的内容,此处不再赘述。It should be noted that the device embodiments in this application correspond to the foregoing method embodiments, and the specific principles in the device embodiments can refer to the content in the foregoing method embodiments, which will not be repeated here.
请参阅图7,其示出了本申请实施例提供的一种雾化器600的结构框图。本申请中的雾化器600可以包括一个或多个如下部件:开关640、咪头630、处理器610、存储器620以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器620中并被配置为由一个或多个处理器610执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。Please refer to FIG. 7 , which shows a structural block diagram of an atomizer 600 provided by an embodiment of the present application. The atomizer 600 in the present application may include one or more of the following components: a
其中,处理器610可以包括一个或者多个处理核。处理器610利用各种接口和线路连接整个雾化器600内的各个部分,通过运行或执行存储在存储器620内的指令、程序、代码集或指令集,以及调用存储在存储器620内的数据,执行雾化器600的各种功能和处理数据。可选地,处理器610可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(ProgrammableLogic Array,PLA)中的至少一种硬件形式来实现。Wherein, the
存储器620可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器620可用于存储指令、程序、代码、代码集或指令集。存储器620可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储雾化器600在使用中所创建的数据(比如雾化器的运行模式)等。The
请参阅图8,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质700中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。Please refer to FIG. 8 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. Program codes are stored in the computer-readable medium 700, and the program codes can be invoked by a processor to execute the methods described in the foregoing method embodiments.
计算机可读存储介质700可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质700包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质700具有执行上述方法中的任何方法步骤的程序代码710的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码710可以例如以适当形式进行压缩。The computer readable storage medium 700 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 700 includes a non-transitory computer-readable storage medium (non-transitory computer-readable storage medium). The computer-readable storage medium 700 has a storage space for
本领域技术人员在考虑说明书及实践这里公开的实施方式后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。Other embodiments of the present application will be readily apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any modification, use or adaptation of the application, these modifications, uses or adaptations follow the general principles of the application and include common knowledge or conventional technical means in the technical field not disclosed in the application . It should be understood that the present application is not limited to the precise constructions which have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not drive the essence of the corresponding technical solutions away from the spirit and scope of the technical solutions of the various embodiments of the present application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211604090.6A CN116236002A (en) | 2022-12-13 | 2022-12-13 | Atomizer control method and device, atomizer and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211604090.6A CN116236002A (en) | 2022-12-13 | 2022-12-13 | Atomizer control method and device, atomizer and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116236002A true CN116236002A (en) | 2023-06-09 |
Family
ID=86633864
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211604090.6A Pending CN116236002A (en) | 2022-12-13 | 2022-12-13 | Atomizer control method and device, atomizer and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116236002A (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106037023A (en) * | 2016-08-17 | 2016-10-26 | 卓尔悦欧洲控股有限公司 | Electronic cigarette and control method and system thereof |
| CN109832677A (en) * | 2019-03-26 | 2019-06-04 | 深圳市合元科技有限公司 | The control method and electronic cigarette of electronic cigarette |
| CN112189905A (en) * | 2020-09-24 | 2021-01-08 | 深圳市吉迩科技有限公司 | Method for preventing misoperation of electronic cigarette, storage and electronic cigarette |
| CN112326101A (en) * | 2020-11-20 | 2021-02-05 | 深圳市康泓威科技有限公司 | Electronic atomization device with digital air pressure sensing chip and control method thereof |
| WO2021203350A1 (en) * | 2020-04-09 | 2021-10-14 | 昂纳自动化技术(深圳)有限公司 | Electronic cigarette energy saving control method and device, and electronic cigarette |
| CN114762541A (en) * | 2021-01-15 | 2022-07-19 | 深圳市卓力能技术有限公司 | Electronic atomization device and control method thereof |
| CN114947234A (en) * | 2022-06-06 | 2022-08-30 | 海南摩尔兄弟科技有限公司 | Atomization control method and electronic atomizer |
-
2022
- 2022-12-13 CN CN202211604090.6A patent/CN116236002A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106037023A (en) * | 2016-08-17 | 2016-10-26 | 卓尔悦欧洲控股有限公司 | Electronic cigarette and control method and system thereof |
| CN109832677A (en) * | 2019-03-26 | 2019-06-04 | 深圳市合元科技有限公司 | The control method and electronic cigarette of electronic cigarette |
| WO2021203350A1 (en) * | 2020-04-09 | 2021-10-14 | 昂纳自动化技术(深圳)有限公司 | Electronic cigarette energy saving control method and device, and electronic cigarette |
| CN112189905A (en) * | 2020-09-24 | 2021-01-08 | 深圳市吉迩科技有限公司 | Method for preventing misoperation of electronic cigarette, storage and electronic cigarette |
| CN112326101A (en) * | 2020-11-20 | 2021-02-05 | 深圳市康泓威科技有限公司 | Electronic atomization device with digital air pressure sensing chip and control method thereof |
| CN114762541A (en) * | 2021-01-15 | 2022-07-19 | 深圳市卓力能技术有限公司 | Electronic atomization device and control method thereof |
| CN114947234A (en) * | 2022-06-06 | 2022-08-30 | 海南摩尔兄弟科技有限公司 | Atomization control method and electronic atomizer |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110223691A (en) | Voice wakes up the method for handover control and device of identification | |
| CN103257708B (en) | Method for waking up mobile terminal screen and mobile terminal | |
| WO2018053714A1 (en) | Single-chip microcomputer system, and reset method for single-chip microcomputer system | |
| CN102437917B (en) | A kind of network wake-up method, network wake-up device and computer | |
| CN109831700A (en) | A kind of standby mode switching method, device, electronic equipment and storage medium | |
| CN106197468B (en) | Method and system for updating step number of pedometer | |
| CN103546804A (en) | Power management method and device of digital set-top box | |
| CN111290565A (en) | Doze mode control method, device, terminal and storage medium | |
| WO2021077260A1 (en) | Power consumption information processing method, device, electronic apparatus and storage medium | |
| CN105100125B (en) | A kind of dormancy control method of virtual desktop, apparatus and system | |
| CN116236002A (en) | Atomizer control method and device, atomizer and storage medium | |
| CN101441449A (en) | Method for automatically switching power supply state | |
| CN109933419B (en) | Control method and device | |
| CN102566727A (en) | Starting control device and method | |
| CN106547334B (en) | Handheld device and the method for controlling handheld device wake-up and suspend mode | |
| TW202008109A (en) | Computer wake-up method and computer power saving method | |
| JP7231535B2 (en) | Smart device control method, smart device control device, electronic device, and storage medium | |
| CN105676999B (en) | A kind of method and system of processing terminal application | |
| CN209562638U (en) | An ultrasonic wake-up module and an ultrasonic wake-up microphone system | |
| CN203522853U (en) | Mobile phone mainboard circuit | |
| CN114924639B (en) | Electronic device and method for waking up micro control unit | |
| CN118819312A (en) | A keyboard voice-based offline wake-up method and system | |
| CN105141774A (en) | Method and mobile terminal for solving problem of unavailable starting due to corrosion of side key | |
| CN106126209A (en) | A wake-up statistics method of a terminal system and a terminal | |
| CN113721754B (en) | Control method, device and electronic equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |