[go: up one dir, main page]

WO2018191911A1 - Electronic cigarette and unlocking method therefor - Google Patents

Electronic cigarette and unlocking method therefor Download PDF

Info

Publication number
WO2018191911A1
WO2018191911A1 PCT/CN2017/081244 CN2017081244W WO2018191911A1 WO 2018191911 A1 WO2018191911 A1 WO 2018191911A1 CN 2017081244 W CN2017081244 W CN 2017081244W WO 2018191911 A1 WO2018191911 A1 WO 2018191911A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic cigarette
data
unlocking
behavior data
preset
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.)
Ceased
Application number
PCT/CN2017/081244
Other languages
French (fr)
Chinese (zh)
Inventor
陈志平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Smoore Technology Ltd
Original Assignee
Shenzhen Smoore Technology Ltd
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 Shenzhen Smoore Technology Ltd filed Critical Shenzhen Smoore Technology Ltd
Priority to PCT/CN2017/081244 priority Critical patent/WO2018191911A1/en
Publication of WO2018191911A1 publication Critical patent/WO2018191911A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

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
    • A24F40/53Monitoring, e.g. fault detection
    • 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/60Devices with integrated user interfaces
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • 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/49Child proofing

Definitions

  • the present invention relates to the field of electronic product technology, and in particular, to an electronic cigarette and an unlocking method thereof.
  • E-cigarettes are a relatively mature alternative to smoking on the market. After unlocking and starting the electronic cigarette, the battery heating heating element atomizes the smoke oil in the atomizer to form a smoke that is harmless to the human body, and the smoker does not absorb the tar and other harmful substances in the traditional cigarette when experiencing the smoking fun. . Therefore, with the improvement of people's health awareness, e-cigarettes are highly respected by smokers.
  • Conventional electronic cigarettes generally adopt a button unlocking method, for example, all provide an unlocking button, and after receiving the pressing of the unlocking button, the electronic cigarette is unlocked.
  • this unlocking method causes the electronic cigarette to be easily misused, especially for children, and the child can easily complete the unlocking operation of the electronic cigarette, which will cause a safety hazard in the use of the electronic cigarette.
  • an electronic cigarette and an unlocking method thereof are provided.
  • a method for unlocking an electronic cigarette comprising:
  • An electronic cigarette includes a memory and a processor, wherein the memory stores instructions that, when executed by the processor, cause the processor to perform the following steps:
  • An electronic cigarette comprising:
  • a behavior data detecting component for detecting behavior data acting on the electronic cigarette
  • a memory in communication with the behavioral data component, for storing preset unlocking data
  • a microcontroller in communication with the behavior data detecting component and the memory, for receiving an unlocking command for the electronic cigarette, acquiring behavior data detected by the behavior data detecting component according to the unlocking instruction, and determining the Whether the behavior data matches the preset unlocking data, and if so, unlocking the electronic cigarette.
  • FIG. 1 is a schematic view showing the internal structure of an electronic cigarette device in an embodiment
  • FIG. 2 is a flow chart of a method for unlocking an electronic cigarette in an embodiment
  • FIG. 3 is a schematic diagram of an unlocking action of the electronic cigarette up and down in an embodiment
  • FIG. 4 is a schematic view of an electronic cigarette equipped with a display screen in one embodiment
  • Figure 5 is a schematic view of an electronic cigarette equipped with a touch screen in one embodiment
  • FIG. 6 is a flow chart of a method for unlocking an electronic cigarette in another embodiment
  • FIG. 7 is a flow chart showing an unlocking action of setting an electronic cigarette in one embodiment
  • Figure 8 is a schematic structural view of an electronic cigarette in an embodiment
  • FIG. 9 is a schematic structural view of an electronic cigarette in another embodiment
  • Figure 10 is a schematic view showing the structure of an electronic cigarette in still another embodiment.
  • the electronic cigarette device includes a processor connected through a system bus, a non-volatile storage medium, an internal memory, and a display screen.
  • the non-volatile storage medium of the electronic cigarette device stores an operating system and computer-executable instructions for implementing an unlocking method of the electronic cigarette provided by the following embodiments.
  • the processor is used to provide computing and control capabilities to support the operation of the entire electronic cigarette device.
  • the internal memory in the electronic cigarette provides an environment for the operation of the unlocking device of the electronic cigarette in the storage medium.
  • the input device includes a button for receiving a command or data input by the user, and the display screen is used for displaying a prompt interface, such as displaying an electronic cigarette.
  • a prompt interface such as displaying an electronic cigarette.
  • the display screen of the electronic cigarette device can be a touch screen, such as a capacitive screen or an electronic screen, and can be used to receive a click operation on a space displayed on the touch screen to generate a corresponding command, receive touch track information acting on the electronic cigarette, and the like.
  • FIG. 1 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the terminal to which the solution of the present application is applied.
  • the specific terminal may include a ratio. More or fewer components are shown in the figures, or some components are combined, or have different component arrangements.
  • the electronic cigarette device in the figure may not include a display screen or the like.
  • the electronic cigarette device may not include a display screen, and the electronic cigarette device further includes a signal indicator light, and the user may determine the electronic cigarette according to any one or a combination of the color, frequency and brightness of the signal indicator light. The state in which it is or the action that can be taken.
  • a method of unlocking an electronic cigarette is provided.
  • the method can be applied to the electronic cigarette device shown in FIG. 1 and includes the following steps:
  • Step S210 receiving an unlocking command that acts on the electronic cigarette.
  • the electronic cigarette device is preset with an inertial sensor, wherein the inertial sensor may be a gyro sensor and/or an acceleration sensor, etc., but is not limited thereto.
  • the inertial sensor can be used to detect and measure the acceleration, slope, impact, vibration, and rotation of the electronic cigarette, and convert the physical quantity into an available electrical signal.
  • the unlocking command acting on the electronic cigarette may be an instruction triggered by receiving motion data of the electronic cigarette or a touch operation of the input device of the electronic cigarette.
  • the motion data of the electronic cigarette may be data of a combined behavior of any one or more of tapping, rotation, swaying, linear motion, non-linear motion, etc., which are received by the inertial sensor.
  • Touch operations on the input device include, but are not limited to, pressing of a button of the electronic cigarette device or clicking, sliding, etc. on the electronic cigarette touch screen. Or when the detection of the electronic cigarette is turned on, the unlocking command is triggered.
  • Step S220 acquiring behavior data acting on the electronic cigarette according to the unlocking instruction.
  • the inertial sensor in the electronic cigarette acquires behavior data acting on the electronic cigarette.
  • the feature data in the behavior data may be extracted, wherein the feature data may be a combination of one or more of an acceleration, an angular velocity, a slope, and the like of the electronic cigarette, if the behavior data is applied to the electronic cigarette touch screen
  • the touch data, the feature data may be a touch trajectory or a position, a number of times, etc. of the electronic cigarette, but is not limited thereto.
  • the acquired behavior data may be directly matched, or the extracted feature data may be imported into an internal memory for matching, wherein the internal memory stores characteristic data of one or more preset unlocking data.
  • the unlocking action may be randomly acquired from the unlocking action set pre-existing in the electronic cigarette device, and corresponding prompt information is generated according to the unlocking action.
  • the unlocking action may be one or a combination of one or more of "eating up and down the electronic cigarette, holding an electronic cigarette in the air, holding an electronic cigarette in the air, and writing an 8-word".
  • the number of unlocking actions may be one. Or multiple.
  • the prompt information of the unlocking action may be displayed on the display screen by text, a schematic icon, a demonstration video, or the like, or by a combination of one or more of the color, frequency and brightness of the signal indicator.
  • the unlocking action may include a prescribed completion time and a sequence of completion.
  • the unlocking action can be randomly determined, the interaction between the user and the electronic cigarette during the unlocking process is increased, the interest of the unlocking process is increased, and the difficulty of completing the unlocking action is improved, thereby improving the security of the electronic cigarette unlocking.
  • step S230 it is determined whether the behavior data matches the preset unlock data.
  • the obtained behavior data for the electronic cigarette can be directly compared with the preset unlock data, or after the feature data of the behavior data is extracted, the extracted feature data and the preset unlock data are compared. Whether the feature data is the same.
  • the touch trajectory data acting on the electronic cigarette can be directly compared with the preset touch trajectory data.
  • the characteristic data such as the displacement, acceleration and frequency of the electronic cigarette can be extracted, and the characteristic data is compared with the displacement, acceleration and frequency of the preset up and down swaying unlocking action. If the acquired behavior data for the electronic cigarette matches the preset unlock data, the process proceeds to step S240. If the e-cigarette does not obtain behavior data that matches the preset unlock data, it is not processed and cannot be unlocked.
  • the feature data may be dynamic data, and the trend of the change of the feature data with the preset unlock data may be the same as the trend of the change of the feature data. Specifically, if the action of holding the electronic cigarette circle, the characteristic data of the electronic cigarette includes the trajectory of the movement in the air is continuous, and if there is a sudden change, or the change trend does not conform to the corresponding trend feature, the The feature data does not match the feature data of the preset unlock data.
  • the error range of the unlock data may be preset to avoid an obstacle to the electronic cigarette unlocking caused by the nuances that may be generated by the user each time the unlocking action is performed.
  • the value of the behavior data of the electronic cigarette is within the error range of the preset unlocking data, it may be determined that the behavior data matches the preset unlocking data, and the process proceeds to step S240.
  • step S240 the electronic cigarette is unlocked.
  • the electronic cigarette when the acquired behavior data for the electronic cigarette matches the preset unlock data, the electronic cigarette is unlocked.
  • the above method for unlocking the electronic cigarette acquires behavior data acting on the electronic cigarette by receiving an unlocking command acting on the electronic cigarette, and unlocks the electronic cigarette when the behavior data matches the preset unlocking data. Since the user needs to perform a corresponding unlocking action on the electronic cigarette after the unlocking command is triggered, and the unlocking action can be a random action, the interest of the unlocking is increased, and the interaction between the user and the electronic cigarette during the unlocking process is increased, thereby improving the interaction. The difficulty of unlocking avoids the safety hazard of electronic cigarette being misused by others.
  • the behavior data acting on the electronic cigarette includes motion data of the electronic cigarette
  • the feature data of the motion data may be a movement trajectory and a moving speed, etc.
  • step S230 includes determining whether the movement trajectory and the movement speed in the motion data are Matches the movement trajectory and movement speed in the preset unlock data.
  • the moving trajectory can be a trajectory in which the electronic cigarette moves in three dimensions. If the user draws a circle in the air with the electronic cigarette, the circle is the movement track of the electronic cigarette.
  • the moving speed may be a combination of one or more of linear speed, angular velocity, acceleration, and the like of the electronic cigarette, and the value of the moving speed is dynamic data, which may vary with time.
  • the moving trajectory of the electronic cigarette has a downward moving path h1, and then an upward moving path h2, and the electronic
  • the moving speed of the smoke is first accelerated and then decelerated to zero speed, the moving path h1 is completed, and then the acceleration is decelerated to zero speed, and the moving path h2 is completed.
  • the user uses the arm as the axis to shake the electronic cigarette, and the electronic cigarette can have an angular velocity centered on the user's elbow.
  • the prompt information for unlocking the electronic cigarette can be displayed on the display screen, such as the arrow and the text prompt moving downward.
  • the unlocking data is pre-set in the electronic cigarette and the unlocking data may be a touch trajectory
  • step S230 includes determining whether the touch trajectory in the touch trajectory data acting on the electronic cigarette is pre- The touch trajectories in the unlock data are matched.
  • the preset touch track may be one or more, and the touch track required to be input by the user each time unlocking may be a combination of one or more touch tracks preset in advance, or may be in a randomly generated preset touch track. anyone.
  • the electronic cigarette can display the prompt information of the touch track through the touch screen. Specifically, as shown in FIG. 5, for the unlocking action of unlocking by sliding on the touch screen, the touched unlocked touch can be prompted by the dotted arrow on the touch screen. Track and sliding direction.
  • the step of acquiring behavior data for the electronic cigarette includes: obtaining behavior data that acts on the electronic cigarette within a preset duration according to the unlocking instruction.
  • the behavior data acting on the electronic cigarette within the preset duration may be acquired as valid behavior data according to the unlocking instruction.
  • the preset duration may be preset to be longer than the length of time required to complete the unlocking action, such as any length of time such as 3 seconds or 5 seconds. Effective behavioral data can be completed at any time within the preset duration.
  • the electronic cigarette can display preset time information, and the display mode can be one or a combination of flashing lights, vibrations, screen displays, and the like.
  • the flash mode may display the duration information according to a preset blinking frequency, brightness, color, and the like.
  • the vibration mode may be based on a preset vibration frequency and a vibration amplitude to display duration information.
  • the electronic cigarette may prompt the unlocking failure information, and the prompting manner may be one or more of a flashing light, a vibration, a screen display, and the like.
  • the flashing mode may be to prompt the unlocking failure information according to the preset blinking frequency, brightness, color, and the like.
  • the vibration mode may be to prompt the unlock failure information according to the preset vibration frequency and the vibration amplitude.
  • the electronic cigarette may display the preset time length to display the unlocking failure information by flashing, vibrating, screen display, etc., and enter a temporary frozen state, and cannot receive the function of the electronic Behavior data of smoke.
  • the flashing mode may be to display a temporary freezing state according to a preset blinking frequency, brightness, color, and the like.
  • the vibration mode may be to display the temporary freezing state according to the preset vibration frequency and the vibration amplitude.
  • the electronic cigarette device is pre-configured with more than one unlocking method. As shown in FIG. 6, the method for unlocking the electronic cigarette includes:
  • Step S610 receiving an unlocking command acting on the electronic cigarette.
  • step S620 one or several preset unlocking modes are selected, and the prompt information of the selected unlocking mode is displayed.
  • the electronic cigarette device can provide an interface for selecting an unlocking manner for different unlocking modes, and the interface includes a corresponding control for receiving an unlocking instruction, and triggering a corresponding action when detecting a click operation acting on the control The unlocking instructions for the e-cigarette. Step S630, acquiring behavior data acting on the electronic cigarette according to the unlocking instruction.
  • step S640 it is determined whether the behavior data matches the unlock data corresponding to any one of the selected unlocking modes.
  • the unlocking data corresponding to the unlocking mode selected in step S620 is read, and the two are matched, and if yes, the process proceeds to step S650; otherwise, the processing is not performed, and the unlocking cannot be performed. .
  • the electronic cigarette that is pre-installed with two kinds of unlocking methods, including sliding unlocking and unlocking the electronic cigarette
  • the electronic cigarette acts on the electronic cigarette.
  • the behavior data cannot match the unlock data, and the e-cigarette cannot be unlocked.
  • step S650 the electronic cigarette is unlocked.
  • the flexibility of the user to unlock is increased, and the user can select the unlocking mode according to the preference or convenience, thereby improving the efficiency of the user unlocking.
  • the step of setting an unlocking action of the electronic cigarette includes:
  • Step S710 receiving an unlocking action setting instruction that acts on the electronic cigarette.
  • the electronic cigarette before receiving the unlocking command acting on the electronic cigarette, the electronic cigarette may perform the setting of the unlocking action according to the received unlocking action setting command acting on the electronic cigarette.
  • the unlocking action setting command acting on the electronic cigarette may be an operation mode such as a button or a screen menu selection.
  • an interface for setting an unlocking action may be provided, where the interface includes a corresponding control for receiving an unlocking action setting instruction, and when detecting a click operation acting on the control, triggering the corresponding electronic The unlocking command of the cigarette, the electronic cigarette enters the unlocking action setting mode.
  • Step S720 acquiring behavior data of the electronic cigarette in the unlocking action setting mode.
  • the user needs to make an unlocking action that is desired to be set within a preset time period, such as "putting an electronic cigarette up and down, holding an electronic cigarette to draw a circle in the air, and holding an electronic cigarette to write a word in the air.” "A combination of one or more of them.
  • an unlocking action that is desired to be set within a preset time period, such as "putting an electronic cigarette up and down, holding an electronic cigarette to draw a circle in the air, and holding an electronic cigarette to write a word in the air.” "A combination of one or more of them.
  • the user needs to make a corresponding unlocking action.
  • step S730 the behavior data in the unlocking action setting mode is set as the unlocking data.
  • the behavior data received by the electronic cigarette in the unlocking action setting mode is stored in the internal memory of the electronic cigarette as the unlocking data.
  • the unlock data can be more than one.
  • the behavior data of the electronic cigarette in the unlocking action setting mode is acquired, and the behavior data of the user acting on the electronic cigarette is set as the unlocking data, thereby increasing the user and the electronic cigarette.
  • the interaction between the two makes the unlocking of electronic cigarettes more interesting, and makes the unlocking data more personalized, reducing the possibility of electronic cigarettes being misused by others.
  • an electronic cigarette including a memory and a processor, wherein the memory stores instructions that, when executed by the processor, cause the processor to perform the following steps:
  • the behavior data of the electronic cigarette includes motion data of the electronic cigarette
  • the step of determining whether the behavior data is matched with the preset unlocking data comprises: determining whether the movement trajectory and the movement speed in the motion data are The movement trajectory in the preset unlock data matches the moving speed.
  • the behavior data of the electronic cigarette includes touch trajectory data acting on the electronic cigarette
  • the step of determining whether the behavior data is matched with the preset unlocking data comprises: determining a movement trajectory in the motion data and Whether the moving speed matches the moving trajectory and moving speed in the preset unlocking data.
  • the step of obtaining behavior data that acts on the electronic cigarette includes: obtaining, according to the unlocking instruction, behavior data that acts on the electronic cigarette within a preset duration.
  • the processor after performing the receiving the unlocking command acting on the electronic cigarette, the processor further implements the following steps when executing the program:
  • the step of determining whether the behavior data matches the preset unlock data includes:
  • the processor further implements the following steps when executing the program before receiving the unlocking command for the electronic cigarette:
  • the behavior data in the unlock action setting mode is set to unlock data.
  • the preset unlocking data includes an error range
  • the implemented determining behavior data matches the preset unlocking data, including:
  • the processor after performing the determination of whether the behavior data matches the preset unlock data, the processor further implements the following steps when executing the program:
  • an electronic cigarette including: a behavior data detecting component 802 for detecting behavior data acting on the electronic cigarette; and a memory 804 communicatively coupled to the behavior data detecting component 802.
  • the microcontroller 806 is in communication with the behavior data detecting component 802 and the memory 804 for receiving an unlocking command acting on the electronic cigarette, and acquiring the behavior detected by the behavior data detecting component 802 according to the unlocking command.
  • the data determines whether the behavior data matches the unlock data stored in the memory 804, and if so, unlocks the electronic cigarette.
  • the behavioral data includes motion data for the electronic cigarette; the behavioral data detection component 802 includes an inertial sensor for detecting motion data acting on the electronic cigarette.
  • the inertial sensor is a gyro sensor and/or an acceleration sensor.
  • the gyro sensor is a positioning and control system based on free-space movement and gestures, which can be used to detect physical quantities such as angular velocity.
  • Accelerometers can be used to measure physical quantities such as acceleration. For example, when a user draws a circle in the air with an electronic cigarette, the gyro sensor can be used to detect the angular velocity of the electronic cigarette. For example, when the user shakes the electronic cigarette up and down, the acceleration sensor can be used to detect the acceleration of the electronic cigarette.
  • the behavioral data includes touch trajectory data that acts on the electronic cigarette; the behavioral data detection component 802 includes a touch sensor for detecting touch trajectory data acting on the electronic cigarette.
  • the touch sensor includes one or a combination of a single-chip touch sensor, a resistive sensor, and a capacitive touch sensor. For example, when the user performs a slide unlocking operation on the touch screen of the electronic cigarette, the capacitive touch sensor can be used to detect the touch trajectory of the user on the touch screen.
  • the electronic cigarette further includes a timer 808 coupled to the microcontroller 806 for setting a preset duration.
  • the preset duration may be greater than the length of time required to complete the unlocking action, such as any length of time such as 3 seconds or 5 seconds.
  • the microcontroller 806 is further configured to acquire, according to the unlocking instruction, behavior data that acts on the electronic cigarette within a preset duration by controlling the behavior data detecting component 802.
  • the electronic cigarette further includes a prompting component 810 coupled to the microcontroller 806 for presenting prompt information for a predetermined duration.
  • the prompting component 810 includes, but is not limited to, a combination of one or more of a vibrator, a flash, a display, and the like.
  • the duration information can be displayed by preset the blinking frequency, brightness, and color of the flash. Or display the duration information by preset the vibration frequency and vibration amplitude of the vibrator.
  • the storage medium may be a magnetic disk, an optical disk, or a read-only storage memory (Read-Only) Memory, ROM), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

An unlocking method for an electronic cigarette, comprising: receiving an unlock instruction acting on an electronic cigarette (S210); acquiring, on the basis of the unlock instruction, behavioral data acting on the electronic cigarette (S220); determining whether the behavioral data matches preset unlock data (S230); and if yes, then unlocking the electronic cigarette (S240).

Description

电子烟及其解锁方法Electronic cigarette and its unlocking method

【技术领域】[Technical Field]

本发明涉及一种电子产品技术领域,特别是涉及一种电子烟及其解锁方法。The present invention relates to the field of electronic product technology, and in particular, to an electronic cigarette and an unlocking method thereof.

【背景技术】【Background technique】

电子烟是市场上的一种比较成熟的吸烟替代品。在解锁启动电子烟后,电池加热发热元件将雾化器中的烟油雾化,从而形成对人体无害的烟雾,吸烟者在体验吸烟乐趣时不会吸收传统香烟中的焦油等其他有害物质。因此,随着人们健康意识的提升,电子烟受到吸烟者的推崇。E-cigarettes are a relatively mature alternative to smoking on the market. After unlocking and starting the electronic cigarette, the battery heating heating element atomizes the smoke oil in the atomizer to form a smoke that is harmless to the human body, and the smoker does not absorb the tar and other harmful substances in the traditional cigarette when experiencing the smoking fun. . Therefore, with the improvement of people's health awareness, e-cigarettes are highly respected by smokers.

传统电子烟普遍采用的是按键解锁方式,例如都是提供一个解锁按钮,在接收到对该解锁按钮的按压之后,则对电子烟进行解锁。然而,这种解锁方式导致电子烟容易被人误用,尤其是对于儿童防护性不高,儿童能够轻易完成电子烟的解锁操作,这将会造成电子烟使用上的安全隐患。Conventional electronic cigarettes generally adopt a button unlocking method, for example, all provide an unlocking button, and after receiving the pressing of the unlocking button, the electronic cigarette is unlocked. However, this unlocking method causes the electronic cigarette to be easily misused, especially for children, and the child can easily complete the unlocking operation of the electronic cigarette, which will cause a safety hazard in the use of the electronic cigarette.

【发明内容】 [Summary of the Invention]

根据本申请的各种实施例,提供一种电子烟及其解锁方法。According to various embodiments of the present application, an electronic cigarette and an unlocking method thereof are provided.

一种电子烟的解锁方法,所述方法包括:A method for unlocking an electronic cigarette, the method comprising:

接收作用于电子烟的解锁指令;Receiving an unlocking command acting on the electronic cigarette;

根据所述解锁指令获取作用于所述电子烟的行为数据;及Obtaining behavior data acting on the electronic cigarette according to the unlocking instruction; and

判断所述行为数据是否和预设的解锁数据相匹配,若是,则解锁所述电子烟。Determining whether the behavior data matches the preset unlock data, and if so, unlocking the electronic cigarette.

一种电子烟,包括存储器和处理器,所述存储器中储存有指令,所述指令被所述处理器执行时,使得所述处理器执行以下步骤:An electronic cigarette includes a memory and a processor, wherein the memory stores instructions that, when executed by the processor, cause the processor to perform the following steps:

接收作用于电子烟的解锁指令;Receiving an unlocking command acting on the electronic cigarette;

根据所述解锁指令获取作用于所述电子烟的行为数据;及Obtaining behavior data acting on the electronic cigarette according to the unlocking instruction; and

判断所述行为数据是否和预设的解锁数据相匹配,若是,则解锁所述电子烟。Determining whether the behavior data matches the preset unlock data, and if so, unlocking the electronic cigarette.

一种电子烟,包括:An electronic cigarette comprising:

行为数据检测元件,用于检测作用于电子烟的行为数据;a behavior data detecting component for detecting behavior data acting on the electronic cigarette;

存储器,与行为数据元件通讯连接,用于存储预设的解锁数据;a memory, in communication with the behavioral data component, for storing preset unlocking data;

微控制器,与所述行为数据检测元件和所述存储器通讯连接,用于接收作用于电子烟的解锁指令,根据所述解锁指令获取所述行为数据检测元件检测到的行为数据,判断所述行为数据是否和所述预设的解锁数据相匹配,若是,则解锁所述电子烟。a microcontroller, in communication with the behavior data detecting component and the memory, for receiving an unlocking command for the electronic cigarette, acquiring behavior data detected by the behavior data detecting component according to the unlocking instruction, and determining the Whether the behavior data matches the preset unlocking data, and if so, unlocking the electronic cigarette.

本发明的一个或多个实施例的细节在下面的附图和描述中提出。本发明的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。Details of one or more embodiments of the invention are set forth in the accompanying drawings and description below. Other features, objects, and advantages of the invention will be apparent from the description and appended claims.

【附图说明】[Description of the Drawings]

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings to be used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present application, and other drawings can be obtained according to the drawings without any creative work for those skilled in the art.

图1为一个实施例中电子烟设备的内部结构示意图;1 is a schematic view showing the internal structure of an electronic cigarette device in an embodiment;

图2为一个实施例中电子烟的解锁方法的流程图;2 is a flow chart of a method for unlocking an electronic cigarette in an embodiment;

图3为一个实施例中上下甩动电子烟解锁动作的示意图;FIG. 3 is a schematic diagram of an unlocking action of the electronic cigarette up and down in an embodiment; FIG.

图4为一个实施例中配有显示屏的电子烟的示意图;4 is a schematic view of an electronic cigarette equipped with a display screen in one embodiment;

图5为一个实施例中配有触摸屏的电子烟的示意图;Figure 5 is a schematic view of an electronic cigarette equipped with a touch screen in one embodiment;

图6为另一个实施例中电子烟的解锁方法的流程图;6 is a flow chart of a method for unlocking an electronic cigarette in another embodiment;

图7为一个实施例中设置电子烟的解锁动作的流程图;7 is a flow chart showing an unlocking action of setting an electronic cigarette in one embodiment;

图8为一个实施例中电子烟的结构示意图;Figure 8 is a schematic structural view of an electronic cigarette in an embodiment;

图9为另一个实施例中电子烟的结构示意图;9 is a schematic structural view of an electronic cigarette in another embodiment;

图10为又一个实施例中电子烟的结构示意图。Figure 10 is a schematic view showing the structure of an electronic cigarette in still another embodiment.

【具体实施方式】 【detailed description】

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

图1为一个实施例中电子烟设备的内部结构示意图。如图1所示,该电子烟设备包括通过系统总线连接的处理器、非易失性存储介质、内存储器和显示屏。其中,电子烟设备的非易失性存储介质存储有操作系统和计算机可执行指令,该计算机可执行指令用于实现以下各实施例提供的一种电子烟的解锁方法。该处理器用于提供计算和控制能力,支撑整个电子烟设备的运行。电子烟中的内存储器为存储介质中的电子烟的解锁装置的运行提供环境,输入设备包括按键,用于接收用户输入的命令或数据,显示屏用于显示提示界面等,如显示电子烟的解锁动作的示意图标等。该电子烟设备的显示屏可以是触摸屏,比如为电容屏或电子屏,可用于接收作用于该触摸屏上显示的空间的点击操作生成相应的指令、接收作用于电子烟的触摸轨迹信息等。1 is a schematic view showing the internal structure of an electronic cigarette device in an embodiment. As shown in FIG. 1, the electronic cigarette device includes a processor connected through a system bus, a non-volatile storage medium, an internal memory, and a display screen. The non-volatile storage medium of the electronic cigarette device stores an operating system and computer-executable instructions for implementing an unlocking method of the electronic cigarette provided by the following embodiments. The processor is used to provide computing and control capabilities to support the operation of the entire electronic cigarette device. The internal memory in the electronic cigarette provides an environment for the operation of the unlocking device of the electronic cigarette in the storage medium. The input device includes a button for receiving a command or data input by the user, and the display screen is used for displaying a prompt interface, such as displaying an electronic cigarette. A schematic icon for unlocking the action, etc. The display screen of the electronic cigarette device can be a touch screen, such as a capacitive screen or an electronic screen, and can be used to receive a click operation on a space displayed on the touch screen to generate a corresponding command, receive touch track information acting on the electronic cigarette, and the like.

本领域技术人员可以理解,图1中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的终端的限定,具体的终端可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。比如,该图中的电子烟设备还可不包括显示屏等。A person skilled in the art can understand that the structure shown in FIG. 1 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the terminal to which the solution of the present application is applied. The specific terminal may include a ratio. More or fewer components are shown in the figures, or some components are combined, or have different component arrangements. For example, the electronic cigarette device in the figure may not include a display screen or the like.

在一个实施例中,电子烟设备可不包括显示屏,电子烟设备还包括信号指示灯,用户可根据信号指示灯的颜色、频率和亮度等其中的任意一种或几种的组合来判断电子烟所处的状态或可以进行的操作。In an embodiment, the electronic cigarette device may not include a display screen, and the electronic cigarette device further includes a signal indicator light, and the user may determine the electronic cigarette according to any one or a combination of the color, frequency and brightness of the signal indicator light. The state in which it is or the action that can be taken.

在一个实施例中,如图2所示,提供了一种电子烟的解锁方法。该方法可应用于图1所示的电子烟设备中,包括以下步骤:In one embodiment, as shown in FIG. 2, a method of unlocking an electronic cigarette is provided. The method can be applied to the electronic cigarette device shown in FIG. 1 and includes the following steps:

步骤S210,接收作用于电子烟的解锁指令。Step S210, receiving an unlocking command that acts on the electronic cigarette.

本实施例中,电子烟设备预置有惯性传感器,其中,惯性传感器可为陀螺仪传感器和/或加速度传感器等,但并不局限于此。该惯性传感器可用于检测和测量电子烟的加速度、斜率、冲击、震动和旋转等,将物理量转化为可利用的电信号。作用于电子烟的解锁指令可以是,通过接收电子烟的运动数据或对电子烟的输入设备的触碰操作等,而触发的指令。其中,电子烟的运动数据可以是,通过惯性传感器接收的作用于电子烟的敲击、旋转、甩动、直线运动、非直线运动等其中的任意一种或几种的组合行为的数据。对输入设备的触碰操作包括但不限于对电子烟设备的按键的按压或作用于电子烟触摸屏的点击、滑动等。或者在检测到电子烟开启时,即触发了解锁指令。In this embodiment, the electronic cigarette device is preset with an inertial sensor, wherein the inertial sensor may be a gyro sensor and/or an acceleration sensor, etc., but is not limited thereto. The inertial sensor can be used to detect and measure the acceleration, slope, impact, vibration, and rotation of the electronic cigarette, and convert the physical quantity into an available electrical signal. The unlocking command acting on the electronic cigarette may be an instruction triggered by receiving motion data of the electronic cigarette or a touch operation of the input device of the electronic cigarette. The motion data of the electronic cigarette may be data of a combined behavior of any one or more of tapping, rotation, swaying, linear motion, non-linear motion, etc., which are received by the inertial sensor. Touch operations on the input device include, but are not limited to, pressing of a button of the electronic cigarette device or clicking, sliding, etc. on the electronic cigarette touch screen. Or when the detection of the electronic cigarette is turned on, the unlocking command is triggered.

步骤S220,根据解锁指令获取作用于电子烟的行为数据。Step S220, acquiring behavior data acting on the electronic cigarette according to the unlocking instruction.

本实施例中,当解锁指令被触发之后,电子烟中的惯性传感器将获取作用于电子烟的行为数据。在获取该行为数据之后可提取该行为数据中的特征数据,其中,特征数据可为电子烟的加速度、角速度、斜率等其中一种或几种的组合,若该行为数据为作用于电子烟触摸屏的触摸数据,特征数据可为作用于电子烟的触摸轨迹或点击的位置、次数等,但不限于此。可将获取的行为数据直接进行匹配,或者将提取的特征数据导入到内存储器中进行匹配,其中,内存储器中存储有一个或多个预设的解锁数据的特征数据。In this embodiment, after the unlock command is triggered, the inertial sensor in the electronic cigarette acquires behavior data acting on the electronic cigarette. After acquiring the behavior data, the feature data in the behavior data may be extracted, wherein the feature data may be a combination of one or more of an acceleration, an angular velocity, a slope, and the like of the electronic cigarette, if the behavior data is applied to the electronic cigarette touch screen The touch data, the feature data may be a touch trajectory or a position, a number of times, etc. of the electronic cigarette, but is not limited thereto. The acquired behavior data may be directly matched, or the extracted feature data may be imported into an internal memory for matching, wherein the internal memory stores characteristic data of one or more preset unlocking data.

在一个实施例中,当解锁指令被触发之后,可以从预存在电子烟设备的解锁动作集中随机获取解锁动作,并根据该解锁动作生成对应的提示信息。解锁动作可为“上下甩动电子烟,拿着电子烟在空中画个圈,拿着电子烟在空中写个8字”等其中的一种或几种的组合,解锁动作的数量可为一个或多个。解锁动作的提示信息可通过文字、示意图标、示范视频等形式在显示屏显示,或者通过信号指示灯的颜色、频率和亮度等其中的一种或几种的组合来提示。解锁动作可包括规定的完成时间和完成的顺序。由于解锁的动作可随机确定,增加了解锁过程中用户与电子烟的互动,增加了解锁过程的趣味性,并且提高了完成解锁动作的难度,从而提高了电子烟解锁的安全性。 In an embodiment, after the unlocking instruction is triggered, the unlocking action may be randomly acquired from the unlocking action set pre-existing in the electronic cigarette device, and corresponding prompt information is generated according to the unlocking action. The unlocking action may be one or a combination of one or more of "eating up and down the electronic cigarette, holding an electronic cigarette in the air, holding an electronic cigarette in the air, and writing an 8-word". The number of unlocking actions may be one. Or multiple. The prompt information of the unlocking action may be displayed on the display screen by text, a schematic icon, a demonstration video, or the like, or by a combination of one or more of the color, frequency and brightness of the signal indicator. The unlocking action may include a prescribed completion time and a sequence of completion. Since the unlocking action can be randomly determined, the interaction between the user and the electronic cigarette during the unlocking process is increased, the interest of the unlocking process is increased, and the difficulty of completing the unlocking action is improved, thereby improving the security of the electronic cigarette unlocking.

步骤S230,判断行为数据是否和预设的解锁数据相匹配。In step S230, it is determined whether the behavior data matches the preset unlock data.

本事实施例中,可将获取的作用于电子烟的行为数据直接与预设的解锁数据进行比较,也可以是,提取得到行为数据的特征数据之后,比较提取的特征数据与预设的解锁数据的特征数据是否相同。In the embodiment, the obtained behavior data for the electronic cigarette can be directly compared with the preset unlock data, or after the feature data of the behavior data is extracted, the extracted feature data and the preset unlock data are compared. Whether the feature data is the same.

举例来说,如对电子烟进行滑动解锁的解锁动作时,可将作用于电子烟的触摸轨迹数据与预设的触摸轨迹数据直接进行比较。对电子烟进行上下甩动解锁动作时,可提取电子烟的位移、加速度和频率等特征数据将,将该特征数据与预设的上下甩动解锁动作的位移、加速度和频率等进行比较。若获取的作用于电子烟的行为数据和预设的解锁数据相匹配,则进入步骤S240。如果电子烟没有获取到与预设的解锁数据相匹配的行为数据,则不作处理,不能解锁。For example, when the electronic cigarette is unlocked by sliding, the touch trajectory data acting on the electronic cigarette can be directly compared with the preset touch trajectory data. When the electronic cigarette is swayed up and down, the characteristic data such as the displacement, acceleration and frequency of the electronic cigarette can be extracted, and the characteristic data is compared with the displacement, acceleration and frequency of the preset up and down swaying unlocking action. If the acquired behavior data for the electronic cigarette matches the preset unlock data, the process proceeds to step S240. If the e-cigarette does not obtain behavior data that matches the preset unlock data, it is not processed and cannot be unlocked.

在一个实施例中,特征数据可为动态数据,随着时间有变化的趋势,可比较提取的特征数据与预设的解锁数据的特征数据的变化趋势是否相同。具体地,如对拿着电子烟画圈的动作,电子烟的特征数据包括在空中运动的轨迹是连续的,对于有突变的情况存在,或变化趋势不符合对应的趋势特征的,可认为该特征数据与预设的解锁数据的特征数据不匹配。In one embodiment, the feature data may be dynamic data, and the trend of the change of the feature data with the preset unlock data may be the same as the trend of the change of the feature data. Specifically, if the action of holding the electronic cigarette circle, the characteristic data of the electronic cigarette includes the trajectory of the movement in the air is continuous, and if there is a sudden change, or the change trend does not conform to the corresponding trend feature, the The feature data does not match the feature data of the preset unlock data.

在一个实施例中,可以预设解锁数据的误差范围来避免,用户在每次进行解锁动作时可能产生的细微差别导致的电子烟解锁的障碍。当电子烟的行为数据的值在预设的解锁数据的误差范围内,则可认定该行为数据与预设的解锁数据相匹配,进入步骤S240。In one embodiment, the error range of the unlock data may be preset to avoid an obstacle to the electronic cigarette unlocking caused by the nuances that may be generated by the user each time the unlocking action is performed. When the value of the behavior data of the electronic cigarette is within the error range of the preset unlocking data, it may be determined that the behavior data matches the preset unlocking data, and the process proceeds to step S240.

步骤S240,解锁电子烟。In step S240, the electronic cigarette is unlocked.

本实施例中,当获取的作用于电子烟的行为数据和预设的解锁数据相匹配时,解锁电子烟。In this embodiment, when the acquired behavior data for the electronic cigarette matches the preset unlock data, the electronic cigarette is unlocked.

上述的电子烟的解锁方法,通过接收作用于电子烟的解锁指令来获取作用于电子烟的行为数据,当该行为数据与预设的解锁数据相匹配时,解锁电子烟。由于用户需要在触发解锁指令之后对电子烟做出相应的解锁动作,且解锁动作可为随机动作,增加了解锁的趣味性,且增加了解锁过程中用户与电子烟的互动性,从而提高了解锁的难度,避免了电子烟被他人误用的安全隐患。The above method for unlocking the electronic cigarette acquires behavior data acting on the electronic cigarette by receiving an unlocking command acting on the electronic cigarette, and unlocks the electronic cigarette when the behavior data matches the preset unlocking data. Since the user needs to perform a corresponding unlocking action on the electronic cigarette after the unlocking command is triggered, and the unlocking action can be a random action, the interest of the unlocking is increased, and the interaction between the user and the electronic cigarette during the unlocking process is increased, thereby improving the interaction. The difficulty of unlocking avoids the safety hazard of electronic cigarette being misused by others.

在一个实施例中,作用于电子烟的行为数据包括电子烟的运动数据,该运动数据的特征数据可为移动轨迹和移动速度等,则步骤S230包括判断运动数据中的移动轨迹和移动速度是否和预设的解锁数据中的移动轨迹和移动速度相匹配。移动轨迹可为在电子烟在三维空间移动的轨迹。如用户拿着电子烟在空中画个圈,则该圈为电子烟的移动轨迹。移动速度可为电子烟的线速度、角速度、加速度等其中一种或几种的组合,且移动速度的值为动态数据,可以随着时间而变化。In one embodiment, the behavior data acting on the electronic cigarette includes motion data of the electronic cigarette, and the feature data of the motion data may be a movement trajectory and a moving speed, etc., and step S230 includes determining whether the movement trajectory and the movement speed in the motion data are Matches the movement trajectory and movement speed in the preset unlock data. The moving trajectory can be a trajectory in which the electronic cigarette moves in three dimensions. If the user draws a circle in the air with the electronic cigarette, the circle is the movement track of the electronic cigarette. The moving speed may be a combination of one or more of linear speed, angular velocity, acceleration, and the like of the electronic cigarette, and the value of the moving speed is dynamic data, which may vary with time.

举例来说,如图3所示,用户对电子烟做出上下甩动的解锁动作时,电子烟的移动轨迹为先有一个向下的移动路径h1,然后有一个向上的移动路径h2,电子烟的移动速度为先加速再减速至速度为零,完成移动路径h1,再加速后减速至速度为零,完成移动路径h2。用户以手臂为轴甩动电子烟,电子烟可有以用户手肘为轴心的角速度。对于有显示屏的电子烟,如图4所示,可以通过在显示屏上展示上下甩动电子烟解锁的提示信息,如上下移动的箭头和文字提示等。For example, as shown in FIG. 3, when the user performs an unlocking action of tilting up and down the electronic cigarette, the moving trajectory of the electronic cigarette has a downward moving path h1, and then an upward moving path h2, and the electronic The moving speed of the smoke is first accelerated and then decelerated to zero speed, the moving path h1 is completed, and then the acceleration is decelerated to zero speed, and the moving path h2 is completed. The user uses the arm as the axis to shake the electronic cigarette, and the electronic cigarette can have an angular velocity centered on the user's elbow. For the electronic cigarette with the display screen, as shown in FIG. 4, the prompt information for unlocking the electronic cigarette can be displayed on the display screen, such as the arrow and the text prompt moving downward.

在一个实施例中,对于有触摸屏的电子烟,该电子烟中预设有解锁数据且解锁数据可为触摸轨迹,步骤S230包括判断作用于电子烟上的触摸轨迹数据中的触摸轨迹是否和预设的解锁数据中的触摸轨迹相匹配。预设的触摸轨迹可为一个或多个,每一次解锁时需要用户输入的触摸轨迹可为提前预设的一个或多个触摸轨迹的组合,也可为随机产生的预设的触摸轨迹中的任意一个。电子烟可通过触摸屏展示触摸轨迹的提示信息,具体地,如图5所示,对于通过在触摸屏上滑动来进行解锁的解锁动作,可在触摸屏上用虚线箭头来提示预设的滑动解锁的触摸轨迹和滑动方向。 In an embodiment, for the electronic cigarette with the touch screen, the unlocking data is pre-set in the electronic cigarette and the unlocking data may be a touch trajectory, and step S230 includes determining whether the touch trajectory in the touch trajectory data acting on the electronic cigarette is pre- The touch trajectories in the unlock data are matched. The preset touch track may be one or more, and the touch track required to be input by the user each time unlocking may be a combination of one or more touch tracks preset in advance, or may be in a randomly generated preset touch track. anyone. The electronic cigarette can display the prompt information of the touch track through the touch screen. Specifically, as shown in FIG. 5, for the unlocking action of unlocking by sliding on the touch screen, the touched unlocked touch can be prompted by the dotted arrow on the touch screen. Track and sliding direction.

在一个实施例中,获取作用于电子烟的行为数据的步骤,包括:根据解锁指令,获取在预设时长之内作用于电子烟的行为数据。In one embodiment, the step of acquiring behavior data for the electronic cigarette includes: obtaining behavior data that acts on the electronic cigarette within a preset duration according to the unlocking instruction.

具体地,可根据解锁指令,获取在预设时长之内作用于电子烟的行为数据作为有效的行为数据。预设时长可为预先设置的大于用于完成解锁动作所需的时长,比如可被设置为3秒或5秒等任意时长。有效的行为数据可在获取预设时长内任意时间段内完成。电子烟可以展示预设时长信息,展示方式可以是闪灯、震动、屏幕显示等其中一种或几种的组合。其中,闪灯方式可以是根据预设的闪烁频率、亮度和颜色等来展示时长信息。震动方式可以是根据预设的震动频率和震动幅度等来展示时长信息。Specifically, the behavior data acting on the electronic cigarette within the preset duration may be acquired as valid behavior data according to the unlocking instruction. The preset duration may be preset to be longer than the length of time required to complete the unlocking action, such as any length of time such as 3 seconds or 5 seconds. Effective behavioral data can be completed at any time within the preset duration. The electronic cigarette can display preset time information, and the display mode can be one or a combination of flashing lights, vibrations, screen displays, and the like. The flash mode may display the duration information according to a preset blinking frequency, brightness, color, and the like. The vibration mode may be based on a preset vibration frequency and a vibration amplitude to display duration information.

在一个实施例中,当作用于电子烟的行为数据与预设的解锁数据不匹配时,电子烟可以提示解锁失败信息,提示方式可以是闪灯、震动、屏幕显示等其中一种或几种的组合。其中,闪灯方式可以是根据预设的闪烁频率、亮度和颜色等来提示解锁失败信息。震动方式可以是根据预设的震动频率和震动幅度等来提示解锁失败信息。In an embodiment, when the behavior data used for the electronic cigarette does not match the preset unlocking data, the electronic cigarette may prompt the unlocking failure information, and the prompting manner may be one or more of a flashing light, a vibration, a screen display, and the like. The combination. The flashing mode may be to prompt the unlocking failure information according to the preset blinking frequency, brightness, color, and the like. The vibration mode may be to prompt the unlock failure information according to the preset vibration frequency and the vibration amplitude.

在一个实施例中,当出现预设次数以上的解锁失败的情况,电子烟可以闪灯、震动、屏幕显示等方式展示预设时长展示解锁失败信息,并进入暂时冻结状态,无法接收作用于电子烟的行为数据。其中,闪灯方式可以是根据预设的闪烁频率、亮度和颜色等来展示暂时冻结状态。震动方式可以是根据预设的震动频率和震动幅度等来展示暂时冻结状态。In an embodiment, when the unlocking failure occurs more than the preset number of times, the electronic cigarette may display the preset time length to display the unlocking failure information by flashing, vibrating, screen display, etc., and enter a temporary frozen state, and cannot receive the function of the electronic Behavior data of smoke. The flashing mode may be to display a temporary freezing state according to a preset blinking frequency, brightness, color, and the like. The vibration mode may be to display the temporary freezing state according to the preset vibration frequency and the vibration amplitude.

上述实施例中,通过预设获取作用于电子烟行为数据的时长限制或尝试解锁的次数限制,增大了他人触发后解锁电子烟的难度,且降低了他人破解解锁动作的可能性,从而提高了电子烟解锁的安全性。In the above embodiment, by limiting the time limit of the e-cigar behavior data or the number of attempts to unlock, the difficulty of unlocking the e-cigar after being triggered by others is increased, and the possibility of cracking the unlocking action by others is reduced, thereby improving The safety of electronic cigarette unlocking.

在一个实施例中,电子烟设备中预设有一种以上的解锁方式,如图6所示,电子烟解锁的方法的步骤包括:In an embodiment, the electronic cigarette device is pre-configured with more than one unlocking method. As shown in FIG. 6, the method for unlocking the electronic cigarette includes:

步骤S610,接收作用于电子烟的解锁指令。Step S610, receiving an unlocking command acting on the electronic cigarette.

步骤S620,选取其中一种或几种预设的解锁方式,展示选取的解锁方式的提示信息。In step S620, one or several preset unlocking modes are selected, and the prompt information of the selected unlocking mode is displayed.

在一个实施例中,电子烟设备可针对不同的解锁方式,提供选择解锁方式的界面,该界面上包括相应的用于接收解锁指令的控件,在检测到作用于控件的点击操作时,触发相应的电子烟的解锁指令。步骤S630,根据解锁指令获取作用于电子烟的行为数据。In an embodiment, the electronic cigarette device can provide an interface for selecting an unlocking manner for different unlocking modes, and the interface includes a corresponding control for receiving an unlocking instruction, and triggering a corresponding action when detecting a click operation acting on the control The unlocking instructions for the e-cigarette. Step S630, acquiring behavior data acting on the electronic cigarette according to the unlocking instruction.

步骤S640,判断行为数据是否和选取的解锁方式中的任意一种解锁方式对应的解锁数据相匹配。In step S640, it is determined whether the behavior data matches the unlock data corresponding to any one of the selected unlocking modes.

具体地,在接收到作用于电子烟的行为数据之后,读取步骤S620中选取的解锁方式所对应的解锁数据,比较两者是否匹配,若是,则进入步骤S650,否则,不作处理,不能解锁。Specifically, after receiving the behavior data that acts on the electronic cigarette, the unlocking data corresponding to the unlocking mode selected in step S620 is read, and the two are matched, and if yes, the process proceeds to step S650; otherwise, the processing is not performed, and the unlocking cannot be performed. .

举例来说,对于预设有两种解锁方式,包括滑动解锁和上下甩动电子烟解锁,的电子烟,当用户选择了解锁方式为滑动解锁后,作用于电子烟的上下甩动电子烟的行为数据无法与解锁数据匹配,不能解锁电子烟。For example, for the electronic cigarette that is pre-installed with two kinds of unlocking methods, including sliding unlocking and unlocking the electronic cigarette, when the user selects the unlocking mode as the sliding unlocking, the electronic cigarette acts on the electronic cigarette. The behavior data cannot match the unlock data, and the e-cigarette cannot be unlocked.

步骤S650,解锁电子烟。In step S650, the electronic cigarette is unlocked.

上述实施例中,通过提供多种解锁方式,增加用户解锁的灵活性,用户可以根据喜好或者方便性进行解锁方式的选择,从而提高了用户解锁的效率。In the above embodiment, by providing multiple unlocking modes, the flexibility of the user to unlock is increased, and the user can select the unlocking mode according to the preference or convenience, thereby improving the efficiency of the user unlocking.

在一个实施例中,如图7所示,设置电子烟的解锁动作的步骤包括:In an embodiment, as shown in FIG. 7, the step of setting an unlocking action of the electronic cigarette includes:

步骤S710,接收作用于电子烟的解锁动作设置指令。Step S710, receiving an unlocking action setting instruction that acts on the electronic cigarette.

本实施例中,在接收作用于电子烟的解锁指令之前,电子烟可以根据接收的作用于电子烟的解锁动作设置指令进行解锁动作的设置。其中,作用于电子烟的解锁动作设置指令可为按键或屏幕菜单选择等操作方式。具体地,对于配有触摸屏的电子烟,可提供设置解锁动作的界面,该界面上包括相应的用于接收解锁动作设置指令的控件,在检测到作用于控件的点击操作时,触发相应的电子烟的解锁指令,电子烟进入解锁动作设置模式。In this embodiment, before receiving the unlocking command acting on the electronic cigarette, the electronic cigarette may perform the setting of the unlocking action according to the received unlocking action setting command acting on the electronic cigarette. The unlocking action setting command acting on the electronic cigarette may be an operation mode such as a button or a screen menu selection. Specifically, for an electronic cigarette equipped with a touch screen, an interface for setting an unlocking action may be provided, where the interface includes a corresponding control for receiving an unlocking action setting instruction, and when detecting a click operation acting on the control, triggering the corresponding electronic The unlocking command of the cigarette, the electronic cigarette enters the unlocking action setting mode.

步骤S720,获取电子烟在解锁动作设置模式下的行为数据。Step S720, acquiring behavior data of the electronic cigarette in the unlocking action setting mode.

在一个实施例中,用户需要在预设时长内做出想要设置的解锁动作,如“上下甩动电子烟、拿着电子烟在空中画个圈、拿着电子烟在空中写个8字”等其中的一种或几种的组合。当解锁电子烟时,用户需要做出相应的解锁动作。In one embodiment, the user needs to make an unlocking action that is desired to be set within a preset time period, such as "putting an electronic cigarette up and down, holding an electronic cigarette to draw a circle in the air, and holding an electronic cigarette to write a word in the air." "A combination of one or more of them. When unlocking the electronic cigarette, the user needs to make a corresponding unlocking action.

步骤S730,将在解锁动作设置模式下的行为数据设置为解锁数据。In step S730, the behavior data in the unlocking action setting mode is set as the unlocking data.

本实施例中,将解锁动作设置模式下的电子烟接收到的行为数据存储在电子烟的内存储器,作为解锁数据。该解锁数据可为一个以上。In this embodiment, the behavior data received by the electronic cigarette in the unlocking action setting mode is stored in the internal memory of the electronic cigarette as the unlocking data. The unlock data can be more than one.

上述实施例中,通过接收作用于电子烟的解锁动作设置指令,获取电子烟在解锁动作设置模式下的行为数据,将用户作用于电子烟的行为数据设置为解锁数据,增加了用户与电子烟之间的互动性,让解锁电子烟的更具有趣味性,也使得解锁数据更加个性化,降低电子烟被他人误用的可能性。In the above embodiment, by receiving an unlocking action setting command acting on the electronic cigarette, the behavior data of the electronic cigarette in the unlocking action setting mode is acquired, and the behavior data of the user acting on the electronic cigarette is set as the unlocking data, thereby increasing the user and the electronic cigarette. The interaction between the two makes the unlocking of electronic cigarettes more interesting, and makes the unlocking data more personalized, reducing the possibility of electronic cigarettes being misused by others.

在一个实施例中,提供了一种电子烟,包括存储器和处理器,存储器中储存有指令,指令被处理器执行时,使得处理器执行以下步骤:In one embodiment, an electronic cigarette is provided, including a memory and a processor, wherein the memory stores instructions that, when executed by the processor, cause the processor to perform the following steps:

接收作用于电子烟的解锁指令;Receiving an unlocking command acting on the electronic cigarette;

根据解锁指令获取作用于电子烟的行为数据;及Obtaining behavior data for the electronic cigarette according to the unlocking instruction; and

判断行为数据是否和预设的解锁数据相匹配,若是,则解锁电子烟。It is judged whether the behavior data matches the preset unlock data, and if so, the electronic cigarette is unlocked.

在一个实施例中,电子烟的行为数据包括电子烟的运动数据,所实现的判断行为数据是否和预设的解锁数据相匹配的步骤,包括:判断运动数据中的移动轨迹和移动速度是否和预设的解锁数据中的移动轨迹和移动速度相匹配。In one embodiment, the behavior data of the electronic cigarette includes motion data of the electronic cigarette, and the step of determining whether the behavior data is matched with the preset unlocking data comprises: determining whether the movement trajectory and the movement speed in the motion data are The movement trajectory in the preset unlock data matches the moving speed.

在一个实施例中,电子烟的行为数据包括作用于电子烟上的触摸轨迹数据,所实现的判断行为数据是否和预设的解锁数据相匹配的步骤,包括:判断运动数据中的移动轨迹和移动速度是否和预设的解锁数据中的移动轨迹和移动速度相匹配。In one embodiment, the behavior data of the electronic cigarette includes touch trajectory data acting on the electronic cigarette, and the step of determining whether the behavior data is matched with the preset unlocking data comprises: determining a movement trajectory in the motion data and Whether the moving speed matches the moving trajectory and moving speed in the preset unlocking data.

在一个实施例中,所实现的获取作用于电子烟的行为数据的步骤,包括:根据解锁指令,获取在预设时长之内作用于电子烟的行为数据。In one embodiment, the step of obtaining behavior data that acts on the electronic cigarette includes: obtaining, according to the unlocking instruction, behavior data that acts on the electronic cigarette within a preset duration.

在一个实施例中,在执行接收作用于电子烟的解锁指令之后,所述处理器执行程序时还实现以下步骤:In one embodiment, after performing the receiving the unlocking command acting on the electronic cigarette, the processor further implements the following steps when executing the program:

选取其中一种或几种预设的解锁方式,展示选取的解锁方式的提示信息;Select one or several preset unlocking methods to display the prompt information of the selected unlocking method;

所实现的判断行为数据是否和预设的解锁数据相匹配的步骤,包括:The step of determining whether the behavior data matches the preset unlock data includes:

判断行为数据,是否和选取的解锁方式中的任意一种解锁方式对应的解锁数据相匹配。Determining whether the behavior data matches the unlock data corresponding to any one of the selected unlocking modes.

在一个实施例中,在执行接收作用于电子烟的解锁指令之前,处理器执行程序时还实现以下步骤:In one embodiment, the processor further implements the following steps when executing the program before receiving the unlocking command for the electronic cigarette:

接收作用于电子烟的解锁动作设置指令;Receiving an unlocking action setting instruction acting on the electronic cigarette;

获取电子烟在解锁动作设置模式下的行为数据;及Obtaining behavior data of the electronic cigarette in the unlocking action setting mode; and

将在解锁动作设置模式下的行为数据设置为解锁数据。The behavior data in the unlock action setting mode is set to unlock data.

在一个实施例中,预设的解锁数据包括误差范围,所实现的判断行为数据是否和预设的解锁数据相匹配,包括:In one embodiment, the preset unlocking data includes an error range, and the implemented determining behavior data matches the preset unlocking data, including:

判断行为数据是否在误差范围内。Determine if the behavior data is within the error range.

在一个实施例中,在执行判断行为数据是否和预设的解锁数据相匹配之后,所述处理器执行程序时还实现以下步骤:In one embodiment, after performing the determination of whether the behavior data matches the preset unlock data, the processor further implements the following steps when executing the program:

判断是否出现预设次数以上的解锁失败情况,若是,则冻结电子烟。It is determined whether an unlock failure condition of more than a preset number of times occurs, and if so, the electronic cigarette is frozen.

在一个实施例中,如图8所示,提供了一种电子烟,包括:行为数据检测元件802,用于检测作用于电子烟的行为数据;存储器804,与行为数据检测元件802通讯连接,用于存储预设的解锁数据;微控制器806,与行为数据检测元件802和存储器804通讯连接,用于接收作用于电子烟的解锁指令,根据解锁指令获取行为数据检测元件802检测到的行为数据,判断行为数据是否和存储器804所存储的解锁数据相匹配,若是,则解锁电子烟。In one embodiment, as shown in FIG. 8, an electronic cigarette is provided, including: a behavior data detecting component 802 for detecting behavior data acting on the electronic cigarette; and a memory 804 communicatively coupled to the behavior data detecting component 802. For storing preset unlocking data; the microcontroller 806 is in communication with the behavior data detecting component 802 and the memory 804 for receiving an unlocking command acting on the electronic cigarette, and acquiring the behavior detected by the behavior data detecting component 802 according to the unlocking command. The data determines whether the behavior data matches the unlock data stored in the memory 804, and if so, unlocks the electronic cigarette.

在一个实施例中,行为数据包括电子烟的运动数据;行为数据检测元件802包括用于检测作用于电子烟的运动数据的惯性传感器。In one embodiment, the behavioral data includes motion data for the electronic cigarette; the behavioral data detection component 802 includes an inertial sensor for detecting motion data acting on the electronic cigarette.

在一个实施例中,惯性传感器为陀螺仪传感器和/或加速度传感器。陀螺仪传感器是一种基于自由空间移动和手势的定位和控制系统,可用于检测角速度等物理量。加速度传感器可用于测量加速度等物理量。比如,当用户拿着电子烟在空中画个圈时,陀螺仪传感器可用于检测电子烟的角速度。再比如当用户上下甩动电子烟时,加速度传感器可用于检测电子烟的加速度。In one embodiment, the inertial sensor is a gyro sensor and/or an acceleration sensor. The gyro sensor is a positioning and control system based on free-space movement and gestures, which can be used to detect physical quantities such as angular velocity. Accelerometers can be used to measure physical quantities such as acceleration. For example, when a user draws a circle in the air with an electronic cigarette, the gyro sensor can be used to detect the angular velocity of the electronic cigarette. For example, when the user shakes the electronic cigarette up and down, the acceleration sensor can be used to detect the acceleration of the electronic cigarette.

在一个实施例中,行为数据包括作用于电子烟上的触摸轨迹数据;行为数据检测元件802包括用于检测作用于电子烟上的触摸轨迹数据的触摸传感器。其中,触摸传感器包括单片触摸传感器、电阻式传感器、电容式触摸传感器等其中一种或几种的组合。比如说当用户在电子烟的触摸屏上进行滑动解锁操作时,电容式触摸传感器可用于检测用户在触摸屏上的触摸轨迹。In one embodiment, the behavioral data includes touch trajectory data that acts on the electronic cigarette; the behavioral data detection component 802 includes a touch sensor for detecting touch trajectory data acting on the electronic cigarette. The touch sensor includes one or a combination of a single-chip touch sensor, a resistive sensor, and a capacitive touch sensor. For example, when the user performs a slide unlocking operation on the touch screen of the electronic cigarette, the capacitive touch sensor can be used to detect the touch trajectory of the user on the touch screen.

在一个实施例中,如图9所示,电子烟还包括计时器808,与微控制器806连接,用于设置预设时长。其中,预设时长可为大于用于完成解锁动作所需的时长,比如可被设置为3秒或5秒等任意时长。微控制器806还用于根据解锁指令,通过控制行为数据检测元件802,获取在预设时长之内作用于电子烟的行为数据。In one embodiment, as shown in FIG. 9, the electronic cigarette further includes a timer 808 coupled to the microcontroller 806 for setting a preset duration. The preset duration may be greater than the length of time required to complete the unlocking action, such as any length of time such as 3 seconds or 5 seconds. The microcontroller 806 is further configured to acquire, according to the unlocking instruction, behavior data that acts on the electronic cigarette within a preset duration by controlling the behavior data detecting component 802.

在一个实施例中,如图10所示,电子烟还包括提示元件810,与微控制器806连接,用于展示预设时长的提示信息。其中,提示元件810包括但不限于振动器、闪光灯、显示屏等一种或几种的组合。比如可以通过预设闪光灯的闪烁频率、亮度和颜色等来展示时长信息。或者通过预设振动器的震动频率和震动幅度等来展示时长信息。In one embodiment, as shown in FIG. 10, the electronic cigarette further includes a prompting component 810 coupled to the microcontroller 806 for presenting prompt information for a predetermined duration. The prompting component 810 includes, but is not limited to, a combination of one or more of a vibrator, a flash, a display, and the like. For example, the duration information can be displayed by preset the blinking frequency, brightness, and color of the flash. Or display the duration information by preset the vibration frequency and vibration amplitude of the vibrator.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等。One of ordinary skill in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a non-volatile computer readable storage medium. Wherein, the program, when executed, may include the flow of an embodiment of the methods as described above. The storage medium may be a magnetic disk, an optical disk, or a read-only storage memory (Read-Only) Memory, ROM), etc.

以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments may be arbitrarily combined. For the sake of brevity of description, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, All should be considered as the scope of this manual.

以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-described embodiments are merely illustrative of several embodiments of the present invention, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of the invention should be determined by the appended claims.

Claims (20)

一种电子烟的解锁方法,包括:A method for unlocking an electronic cigarette, comprising: 接收作用于电子烟的解锁指令;Receiving an unlocking command acting on the electronic cigarette; 根据所述解锁指令获取作用于所述电子烟的行为数据;及Obtaining behavior data acting on the electronic cigarette according to the unlocking instruction; and 判断所述行为数据是否和预设的解锁数据相匹配,若是,则解锁所述电子烟。Determining whether the behavior data matches the preset unlock data, and if so, unlocking the electronic cigarette. 根据权利要求1所述的方法,其特征在于,所述行为数据包括电子烟的运动数据,所述判断所述行为数据是否和预设的解锁数据相匹配包括:The method according to claim 1, wherein the behavior data comprises motion data of the electronic cigarette, and the determining whether the behavior data matches the preset unlocking data comprises: 判断所述运动数据中的移动轨迹和移动速度是否和预设的解锁数据中的移动轨迹和移动速度相匹配。It is determined whether the movement trajectory and the movement speed in the motion data match the movement trajectory and the movement speed in the preset unlock data. 根据权利要求1所述的方法,其特征在于,所述行为数据包括作用于电子烟上的触摸轨迹数据,所述判断所述行为数据是否和预设的解锁数据相匹配包括:The method according to claim 1, wherein the behavior data comprises touch track data acting on the electronic cigarette, and determining whether the behavior data matches the preset unlock data comprises: 判断所述触摸轨迹数据的触摸轨迹是否和预设的解锁数据中的触摸轨迹相匹配。Determining whether the touch track of the touch track data matches the touch track in the preset unlock data. 根据权利要求1所述的方法,其特征在于,所述获取作用于所述电子烟的行为数据包括:The method according to claim 1, wherein the obtaining behavior data acting on the electronic cigarette comprises: 根据所述解锁指令获取在预设时长之内作用于所述电子烟的行为数据。The behavior data acting on the electronic cigarette within a preset duration is acquired according to the unlocking instruction. 根据权利要求1所述的方法,其特征在于,在所述接收作用于电子烟的解锁指令之后,所述方法还包括: The method according to claim 1, wherein after the receiving an unlocking command for the electronic cigarette, the method further comprises: 选取其中一种或几种预设的解锁方式,展示选取的解锁方式的提示信息;Select one or several preset unlocking methods to display the prompt information of the selected unlocking method; 所述判断所述行为数据是否和预设的解锁数据相匹配,包括:The determining whether the behavior data matches the preset unlocking data includes: 判断所述行为数据,是否和选取的解锁方式中的任意一种解锁方式对应的解锁数据相匹配。Determining whether the behavior data matches the unlock data corresponding to any one of the selected unlocking modes. 根据权利要求1所述的解锁方法,其特征在于,在所述接收作用于电子烟的解锁指令之前,所述方法还包括:The unlocking method according to claim 1, wherein before the receiving the unlocking command for the electronic cigarette, the method further comprises: 接收作用于电子烟的解锁动作设置指令;Receiving an unlocking action setting instruction acting on the electronic cigarette; 获取所述电子烟在解锁动作设置模式下的行为数据;及Obtaining behavior data of the electronic cigarette in an unlocking action setting mode; and 将所述在解锁动作设置模式下的行为数据设置为解锁数据。The behavior data in the unlock action setting mode is set as unlock data. 根据权利要求1所述的方法,其特征在于,预设的解锁数据包括误差范围;The method according to claim 1, wherein the preset unlocking data comprises an error range; 所述判断所述行为数据是否和预设的解锁数据相匹配,包括:The determining whether the behavior data matches the preset unlocking data includes: 判断所述行为数据是否在所述误差范围内。It is determined whether the behavior data is within the error range. 根据权利要求1所述的方法,其特征在于,所述判断所述行为数据是否和预设的解锁数据相匹配之后,还包括:The method according to claim 1, wherein the determining whether the behavior data matches the preset unlocking data further comprises: 判断是否出现预设次数以上的解锁失败情况,若是,则冻结电子烟。It is determined whether an unlock failure condition of more than a preset number of times occurs, and if so, the electronic cigarette is frozen. 一种电子烟,包括存储器和处理器,所述存储器中储存有计算机可执行指令,所述指令被所述处理器执行时,使得所述处理器执行以下步骤:An electronic cigarette comprising a memory and a processor, wherein the memory stores computer executable instructions that, when executed by the processor, cause the processor to perform the following steps: 接收作用于电子烟的解锁指令;Receiving an unlocking command acting on the electronic cigarette; 根据所述解锁指令获取作用于所述电子烟的行为数据;及Obtaining behavior data acting on the electronic cigarette according to the unlocking instruction; and 判断所述行为数据是否和预设的解锁数据相匹配,若是,则解锁所述电子烟。Determining whether the behavior data matches the preset unlock data, and if so, unlocking the electronic cigarette. 根据权利要求9所述的电子烟,其特征在于,所述电子烟的行为数据包括电子烟的运动数据;The electronic cigarette according to claim 9, wherein the behavior data of the electronic cigarette comprises motion data of the electronic cigarette; 所实现的判断行为数据是否和预设的解锁数据相匹配,包括:Whether the implemented behavior data matches the preset unlock data, including: 判断运动数据中的移动轨迹和移动速度是否和预设的解锁数据中的移动轨迹和移动速度相匹配。It is judged whether the movement trajectory and the movement speed in the motion data match the movement trajectory and the movement speed in the preset unlock data. 根据权利要求9所述的电子烟,其特征在于,电子烟的行为数据包括作用于电子烟上的触摸轨迹数据;The electronic cigarette according to claim 9, wherein the behavior data of the electronic cigarette comprises touch track data acting on the electronic cigarette; 所实现的判断行为数据是否和预设的解锁数据相匹配,包括:Whether the implemented behavior data matches the preset unlock data, including: 判断所述运动数据中的移动轨迹和移动速度是否和预设的解锁数据中的移动轨迹和移动速度相匹配。It is determined whether the movement trajectory and the movement speed in the motion data match the movement trajectory and the movement speed in the preset unlock data. 根据权利要求9所述的电子烟,其特征在于,所实现的获取作用于所述电子烟的行为数据,包括:The electronic cigarette according to claim 9, wherein the acquired behavior data for the electronic cigarette comprises: 根据所述解锁指令,获取在预设时长之内作用于所述电子烟的行为数据。According to the unlocking instruction, behavior data that acts on the electronic cigarette within a preset duration is acquired. 根据权利要求9所述的电子烟,其特征在于,在执行接收作用于电子烟的解锁指令之后,所述处理器执行程序时还实现以下步骤:The electronic cigarette according to claim 9, wherein after the executing the receiving the unlocking command acting on the electronic cigarette, the processor further implements the following steps when executing the program: 选取其中一种或几种预设的解锁方式,展示选取的解锁方式的提示信息;Select one or several preset unlocking methods to display the prompt information of the selected unlocking method; 所实现的判断所述行为数据是否和预设的解锁数据相匹配,包括:The implemented judgment determines whether the behavior data matches the preset unlock data, including: 判断所述行为数据,是否和选取的解锁方式中的任意一种解锁方式对应的解锁数据相匹配。Determining whether the behavior data matches the unlock data corresponding to any one of the selected unlocking modes. 根据权利要求9所述的电子烟,其特征在于,在执行接收作用于电子烟的解锁指令之前,所述处理器执行程序时还实现以下步骤:The electronic cigarette according to claim 9, wherein the processor further implements the following steps when executing the program before receiving the unlocking command acting on the electronic cigarette: 接收作用于电子烟的解锁动作设置指令;Receiving an unlocking action setting instruction acting on the electronic cigarette; 获取所述电子烟在解锁动作设置模式下的行为数据;及Obtaining behavior data of the electronic cigarette in an unlocking action setting mode; and 将所述在解锁动作设置模式下的行为数据设置为解锁数据。The behavior data in the unlock action setting mode is set as unlock data. 一种电子烟,包括:An electronic cigarette comprising: 行为数据检测元件,用于检测作用于电子烟的行为数据;a behavior data detecting component for detecting behavior data acting on the electronic cigarette; 存储器,与所述行为数据检测元件通讯连接,用于存储预设的解锁数据;a memory, connected to the behavior data detecting component, for storing preset unlocking data; 微控制器,与所述行为数据检测元件和所述存储器通讯连接,用于接收作用于电子烟的解锁指令;所述微控制器根据所述解锁指令获取所述行为数据检测元件检测到的行为数据;所述微控制器判断所述行为数据是否和所述预设的解锁数据相匹配,若是,则解锁所述电子烟。a microcontroller communicatively coupled to the behavior data detecting component and the memory for receiving an unlocking command acting on the electronic cigarette; the microcontroller acquiring the behavior detected by the behavior data detecting component according to the unlocking instruction Data; the microcontroller determines whether the behavior data matches the preset unlock data, and if so, unlocks the electronic cigarette. 根据权利要求15所述的电子烟,其特征在于,所述行为数据包括电子烟的运动数据;The electronic cigarette according to claim 15, wherein the behavior data comprises motion data of the electronic cigarette; 所述行为数据检测元件包括用于检测作用于电子烟的运动数据的惯性传感器。The behavior data detecting element includes an inertial sensor for detecting motion data acting on the electronic cigarette. 根据权利要求16所述的电子烟,其特征在于,所述惯性传感器为陀螺仪传感器和/或加速度传感器。The electronic cigarette according to claim 16, wherein the inertial sensor is a gyro sensor and/or an acceleration sensor. 根据权利要求15所述的电子烟,其特征在于,所述行为数据包括作用于电子烟上的触摸轨迹数据;The electronic cigarette according to claim 15, wherein the behavior data comprises touch trajectory data acting on the electronic cigarette; 所述行为数据检测元件包括用于检测作用于电子烟上的触摸轨迹数据的触摸传感器。The behavior data detecting element includes a touch sensor for detecting touch trajectory data acting on the electronic cigarette. 根据权利要求15所述的电子烟,其特征在于,所述电子烟还包括定时器;The electronic cigarette according to claim 15, wherein the electronic cigarette further comprises a timer; 所述定时器与所述微控制器连接,用于设置预设时长。The timer is connected to the microcontroller for setting a preset duration. 根据权利要求19所述的电子烟,其特征在于,所述电子烟还包括提示元件;The electronic cigarette according to claim 19, wherein the electronic cigarette further comprises a prompting element; 所述提示元件与所述微控制器连接,用于展示所述预设时长的提示信息。The prompting component is connected to the microcontroller for displaying prompt information of the preset duration.
PCT/CN2017/081244 2017-04-20 2017-04-20 Electronic cigarette and unlocking method therefor Ceased WO2018191911A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/081244 WO2018191911A1 (en) 2017-04-20 2017-04-20 Electronic cigarette and unlocking method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/081244 WO2018191911A1 (en) 2017-04-20 2017-04-20 Electronic cigarette and unlocking method therefor

Publications (1)

Publication Number Publication Date
WO2018191911A1 true WO2018191911A1 (en) 2018-10-25

Family

ID=63856466

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/081244 Ceased WO2018191911A1 (en) 2017-04-20 2017-04-20 Electronic cigarette and unlocking method therefor

Country Status (1)

Country Link
WO (1) WO2018191911A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3610735A1 (en) * 2018-08-17 2020-02-19 Shenzhen IVPS Technology Co., Ltd. Unlocking method for electronic cigarette, unlocking device using same and computer readable storage medium
CN115590258A (en) * 2022-09-29 2023-01-13 乐智有限公司(Hk) Self-locking method, self-locking device and smoking set
EP4331403A4 (en) * 2021-04-28 2025-05-07 Japan Tobacco Inc. Aerosol generation device, method for controlling aerosol generation device, and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104598024A (en) * 2014-12-26 2015-05-06 美新半导体(无锡)有限公司 Application of gesture recognition algorithm in intelligent equipment
CN104921305A (en) * 2014-03-20 2015-09-23 惠州市吉瑞科技有限公司 Method for preventing child from smoking electronic cigarette accidentally
CN205214209U (en) * 2015-10-21 2016-05-11 惠州市吉瑞科技有限公司深圳分公司 Electronic cigarette
EP3120720A1 (en) * 2014-03-20 2017-01-25 Kimree Hi-Tech Inc Method for preventing a child from accidentally puffing an electronic cigarette
EP3146856A1 (en) * 2016-09-06 2017-03-29 Fontem Holdings 1 B.V. Syringe refiller for an electronic smoking device

Patent Citations (5)

* 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
EP3120720A1 (en) * 2014-03-20 2017-01-25 Kimree Hi-Tech Inc Method for preventing a child from accidentally puffing an electronic cigarette
CN104598024A (en) * 2014-12-26 2015-05-06 美新半导体(无锡)有限公司 Application of gesture recognition algorithm in intelligent equipment
CN205214209U (en) * 2015-10-21 2016-05-11 惠州市吉瑞科技有限公司深圳分公司 Electronic cigarette
EP3146856A1 (en) * 2016-09-06 2017-03-29 Fontem Holdings 1 B.V. Syringe refiller for an electronic smoking device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3610735A1 (en) * 2018-08-17 2020-02-19 Shenzhen IVPS Technology Co., Ltd. Unlocking method for electronic cigarette, unlocking device using same and computer readable storage medium
EP4331403A4 (en) * 2021-04-28 2025-05-07 Japan Tobacco Inc. Aerosol generation device, method for controlling aerosol generation device, and program
CN115590258A (en) * 2022-09-29 2023-01-13 乐智有限公司(Hk) Self-locking method, self-locking device and smoking set

Similar Documents

Publication Publication Date Title
WO2018191911A1 (en) Electronic cigarette and unlocking method therefor
WO2017088486A1 (en) Method and system for giving reminder by mobile terminal
WO2015139272A1 (en) Method for preventing a child from accidentally puffing an electronic cigarette
WO2014044185A1 (en) Application control method and device based on mobile terminal and mobile terminal
WO2015081554A1 (en) Cigarette case control circuit, electronic cigarette case, and humiture detection method thereof
WO2015034177A1 (en) Method and device for executing command on basis of context awareness
WO2014131277A1 (en) Method, apparatus and terminal for controlling audio play
WO2014040440A1 (en) Operating method and system for mobile terminal
WO2019237460A1 (en) Tws earphone, charging case, upgrading method thereof and storage medium
WO2013091411A1 (en) Terminal and method for starting navigation function thereof
EP3817603A2 (en) Aerosol generating device and operation method thereof
CN1774953A (en) Personal audio system with earpiece remote controller
WO2014048348A1 (en) Multimedia device voice control system and method, and computer storage medium
WO2015161491A1 (en) Electronic cigarette and information interaction method therefor
WO2020199820A1 (en) Object control method and device, and storage medium and electronic device
CN104090708A (en) Control method and device for portable intelligent terminal
WO2023051011A1 (en) Vehicle remote interaction method and apparatus, wearable device, system, and medium
WO2016082409A1 (en) Terminal control method and intelligent earphone
CN110968226A (en) Navigation bar control method, device, mobile terminal and storage medium
WO2017092359A1 (en) Playback control method, device, system and client device
CN113495609A (en) Sleep state judgment method and system, wearable device and storage medium
WO2018095196A1 (en) Head-mounted display system and safety prompting method thereof
WO2016095368A1 (en) Method for outputting target contents and terminal therefor
JP2025526335A (en) Video processing method, device, electronic device and storage medium
TWI381655B (en) Remote control device and remote control method thereof

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: 17906383

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17906383

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 12.12.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17906383

Country of ref document: EP

Kind code of ref document: A1