CN109874130B - Electronic cigarette interaction method and device - Google Patents

Electronic cigarette interaction method and device Download PDF

Info

Publication number
CN109874130B
CN109874130B CN201910299044.1A CN201910299044A CN109874130B CN 109874130 B CN109874130 B CN 109874130B CN 201910299044 A CN201910299044 A CN 201910299044A CN 109874130 B CN109874130 B CN 109874130B
Authority
CN
China
Prior art keywords
electronic cigarette
interactive
interaction
message
wireless
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910299044.1A
Other languages
Chinese (zh)
Other versions
CN109874130A (en
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.)
Changzhou Paiteng Electronic Technology Co Ltd
Original Assignee
Changzhou Paiteng Electronic Technology Co 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 Changzhou Paiteng Electronic Technology Co Ltd filed Critical Changzhou Paiteng Electronic Technology Co Ltd
Priority to CN201910299044.1A priority Critical patent/CN109874130B/en
Publication of CN109874130A publication Critical patent/CN109874130A/en
Application granted granted Critical
Publication of CN109874130B publication Critical patent/CN109874130B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses an electronic cigarette interaction method and device, and belongs to the technical field of simulated smoking. The method is applied to a first electronic cigarette, and comprises the following steps: when the interactive operation is detected, acquiring a first interactive message corresponding to the interactive operation; sending the first interaction message to a second electronic cigarette in a wireless ad hoc network, wherein the wireless ad hoc network comprises the first electronic cigarette and at least one second electronic cigarette, and the first interaction message is used for triggering the second electronic cigarette to execute a reminding operation corresponding to the first interaction message; the problem that the function of the electronic cigarette is too single in the related technology is solved; the effect of enriching the functions of the electronic cigarette is achieved.

Description

Electronic cigarette interaction method and device
Technical Field
The invention relates to the technical field of simulated smoking, in particular to an electronic cigarette interaction method and device.
Background
The electronic cigarette is used as a substitute of a tobacco product, and is more and more popular in the market due to the characteristics of portability in use, large smoke amount and the like to a certain extent.
The electronic cigarette is capable of atomizing the aerosol-forming substrate therein to produce an aerosol for inhalation by a user. However, the functions provided by the current electronic cigarette are limited to the smoking function, and the function of the electronic cigarette is too single.
Disclosure of Invention
In order to solve the problem that the function of the existing electronic cigarette is too single, the embodiment of the invention provides an electronic cigarette interaction method and device. The technical scheme is as follows:
in a first aspect, an electronic cigarette interaction method is provided, where the method is applied to a first electronic cigarette, and the method includes:
when the interactive operation is detected, acquiring a first interactive message corresponding to the interactive operation;
and sending the first interaction message to a second electronic cigarette in a wireless ad hoc network, wherein the wireless ad hoc network comprises the first electronic cigarette and at least one second electronic cigarette, and the first interaction message is used for triggering the second electronic cigarette to execute a reminding operation corresponding to the first interaction message.
Optionally, before the obtaining of the first interaction message corresponding to the interaction operation, the method further includes:
acquiring detection information, wherein the detection information comprises at least one of acceleration information, key information, pressure information detected by a pressure sensor, touch information and knocking information;
and determining whether to generate interactive operation according to the detection information.
Optionally, the obtaining of the first interaction message corresponding to the interaction operation includes:
acquiring a shared interaction rule in the wireless ad hoc network;
and inquiring the interaction message corresponding to the interaction operation in the interaction rule to obtain the first interaction message.
Optionally, the method further includes:
receiving a second interaction message sent by any second electronic cigarette in the wireless ad hoc network, wherein the second interaction message is sent by the second electronic cigarette when the interaction operation corresponding to the second interaction message is detected;
acquiring a reminding operation corresponding to the second interactive message;
and executing the reminding operation corresponding to the second interactive message.
Optionally, the obtaining of the reminding operation corresponding to the second interactive message includes:
acquiring a shared interaction rule in the wireless ad hoc network;
and inquiring the reminding operation corresponding to the second interactive message in the interactive rule.
Optionally, in the process of receiving a second interaction message sent by any one of the second electronic cigarettes, if the interaction operation is detected, the step of sending the first interaction message to the second electronic cigarette in the wireless ad hoc network is stopped; alternatively, the first and second electrodes may be,
and in the process of receiving a second interaction message sent by any one second electronic cigarette, if the interaction operation is detected, after the second interaction message is received, executing the step of sending the first interaction message to a second electronic cigarette in the wireless ad hoc network.
Optionally, before the executing the reminding operation corresponding to the second interactive message, the method further includes:
acquiring the time interval between the time of executing the reminding operation for the last time and the current time;
if the time interval is less than the preset time length, displaying separation prompt information, wherein the separation prompt information is used for indicating that another reminding operation is to be displayed; and executing the reminding operation corresponding to the second interactive message.
Optionally, the method further includes:
if the first electronic cigarette is in the interactive mode, stopping atomization according to a cigarette lighting signal, and executing the step of acquiring a first interactive message corresponding to the interactive operation when the interactive operation is detected;
and if the first electronic cigarette exits the interactive mode, atomizing according to the cigarette lighting signal, and stopping executing the step of acquiring a first interactive message corresponding to the interactive operation when the interactive operation is detected.
In a second aspect, there is provided a computer-readable storage medium having one or more instructions stored therein, which when executed by a processor within an electronic cigarette, implement the first aspect and the method of electronic cigarette interaction according to any one of the optional embodiments of the first aspect.
In a third aspect, an electronic cigarette interaction device is provided, the device comprising:
a memory and a processor;
at least one program instruction is stored in the memory;
the processor is configured to load and execute the at least one program instruction to implement the electronic cigarette interaction method according to the first aspect and any optional implementation manner of the first aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
when the interactive operation is detected, acquiring a first interactive message corresponding to the interactive operation; the first interaction message is sent to a second electronic cigarette in a wireless ad hoc network, the wireless ad hoc network comprises the first electronic cigarette and at least one second electronic cigarette, and the first interaction message is used for triggering the second electronic cigarette to execute a reminding operation corresponding to the first interaction message; the problem that the function of the electronic cigarette is too single in the related technology is solved; the effect of enriching the functions of the electronic cigarette is achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Figure 1 is a schematic diagram of a wireless ad hoc network provided in one embodiment of the present invention;
figure 2 is a flow chart of a method of e-cigarette interaction according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The e-cigarette to which the present application relates is capable of forming a wireless ad-hoc network with one or more other e-cigarette networks, independent of a pre-set infrastructure (e.g. a base station). When networking is carried out on the electronic cigarette, wireless communication technologies such as Bluetooth and infrared rays can be utilized for networking to form a wireless ad hoc network.
This application exemplifies that the electronic cigarette utilizes bluetooth technology to form a wireless ad hoc network. For example, an e-cigarette a user may operate e-cigarette a to initiate networking; the electronic cigarette A searches nearby electronic cigarettes by using a Bluetooth technology, and sends networking requests to the searched electronic cigarettes B and C; the electronic cigarette B and the electronic cigarette C which receive the networking request can respectively display the networking request; as shown in fig. 1, when receiving an instruction of confirming networking of the electronic cigarette B120, the electronic cigarette a110 establishes a bluetooth connection with the electronic cigarette B120; when receiving the instruction of confirming networking of the electronic cigarette C130, the electronic cigarette A110 establishes Bluetooth connection with the electronic cigarette C130; the e-cigarette a110, the e-cigarette B120, and the e-cigarette C130 form a wireless ad hoc network.
Please refer to fig. 2, which shows a flowchart of a method for an e-cigarette interaction method according to an embodiment of the present invention, and this embodiment is illustrated by using the e-cigarette interaction method in any e-cigarette (referred to as "first e-cigarette" in this application) in a wireless ad-hoc network. As shown in fig. 2, the electronic cigarette interaction method may include:
step 210, when the interactive operation is detected, acquiring a first interactive message corresponding to the interactive operation.
Optionally, the implementation of detecting whether the interactive operation is generated may be: acquiring detection information, wherein the detection information comprises at least one of acceleration information, key information, pressure information detected by a pressure sensor, touch information and knocking information; and determining whether to generate interactive operation according to the detection information.
Wherein, the interactive operation of first electron cigarette can be set for by the developer, also can be by the user-defined of first electron cigarette, and interactive operation can include but not limited to strike the electron cigarette, press the electron cigarette and go up interactive key, press pressure sensor on the electron cigarette hard, rock the electron cigarette, touch the touch-control board on the electron cigarette. It should be noted that: the same operation has different duration, different operation times or different operation strength, and may be different interactive operations; for example, pressing the interactive key on the electronic cigarette for a short time is one interactive operation, and pressing the interactive key on the electronic cigarette for a long time is another interactive operation; knocking the electronic cigarette once is one interactive operation, and continuously knocking the electronic cigarette is another interactive operation; the electronic cigarette can be operated interactively by knocking the electronic cigarette with small force, and the electronic cigarette can be operated interactively with large force, so that other operations are not repeated one by one.
The implementation of step 210 may be: when the first electronic cigarette detects the interactive operation, the interactive message corresponding to the interactive operation in the interactive rule can be obtained to obtain a first interactive message; the interaction rule comprises a corresponding relation between the interaction message and the interaction operation, and the interaction rule can be an interaction rule stored in the electronic cigarette and can also be an interaction rule shared in a wireless ad hoc network.
The interaction rules stored in the electronic cigarette can be set by developers or can be customized by users; for example, the interaction rule may define that the interaction message corresponding to the interaction operation of striking the electronic cigarette is "smoke room for smoking", the interaction message corresponding to the interaction operation of pressing the interaction key for a long time may be "cheer from work", and the interaction message corresponding to the interaction operation of pressing the interaction key for a short time may be "tea room for drinking water".
Optionally, when the first electronic cigarette detects an interactive operation, acquiring an interactive rule shared in a wireless ad hoc network; and inquiring the interactive message corresponding to the interactive operation in the interactive rule to obtain a first interactive message. The interaction rule shared in the wireless ad hoc network can be set and shared by any member in the wireless ad hoc network (for example, the electronic cigarette initiating the wireless ad hoc network), for example, the electronic cigarette A, the electronic cigarette B and the electronic cigarette C form a wireless ad hoc network, the electronic cigarette A is the electronic cigarette initiating the wireless ad hoc network, the interaction rule can be customized in the electronic cigarette A by a user of the electronic cigarette A, and the interaction rule is respectively sent to the electronic cigarette B and the electronic cigarette C by the electronic cigarette A.
Step 220, sending the first interaction message to a second electronic cigarette in a wireless ad hoc network, where the wireless ad hoc network includes the first electronic cigarette and at least one second electronic cigarette, and the first interaction message is used to trigger the second electronic cigarette to execute a reminding operation corresponding to the first interaction message.
After the first electronic cigarette acquires the first interaction message, the first interaction message may be sent to at least one electronic cigarette in the wireless ad hoc network where the first electronic cigarette is located, for example, the first interaction message may be sent to each electronic cigarette (that is, the second electronic cigarette) in the wireless ad hoc network where the first electronic cigarette is located. Taking the example that the electronic cigarette a110 shown in fig. 1 detects the interactive operation of knocking the electronic cigarette, if the electronic cigarette a110 obtains that the first interactive message corresponding to the interactive operation is "smoke removal room", the first interactive message is "smoke removal room", and the first interactive message is sent to the electronic cigarette B120 and the electronic cigarette C130 respectively. Further, taking the example that the electronic cigarette B120 shown in fig. 1 detects the interactive operation of knocking the electronic cigarette, if the first interactive message corresponding to the interactive operation acquired by the electronic cigarette B120 is "smoke removal room", the electronic cigarette B120 sends the first interactive message "smoke removal room" to the electronic cigarette a110, and the electronic cigarette a110 forwards the first interactive message "smoke removal room" to the electronic cigarette C130.
It should be noted that: the method comprises the steps that wireless connection is established between the electronic cigarette initiating networking in the wireless ad hoc network and other electronic cigarettes, and communication information between the other electronic cigarettes is forwarded by the electronic cigarette initiating networking for example; in practical implementation, any two electronic cigarettes in the wireless ad hoc network can be directly connected wirelessly for communication.
Optionally, when receiving the first interactive message, the second electronic cigarette obtains a reminding operation corresponding to the first interactive message in an interactive rule, where the interactive rule includes a corresponding relationship between the interactive message and the reminding operation; and executing the reminding operation corresponding to the first interactive message.
The interaction rule can be an interaction rule stored in the electronic cigarette, and can be set by developers and also can be customized by users.
Optionally, the interaction rule may be an interaction rule shared in a wireless ad hoc network. Specifically, when receiving the first interaction message, the second electronic cigarette acquires the shared interaction rule in the wireless ad hoc network; and inquiring the reminding operation corresponding to the first interaction message in the interaction rule.
Optionally, the display mode of the reminding operation includes but is not limited to: the text prompt, the voice prompt interactive message, the indicator light prompt, the vibration prompt, the buzzer prompt and the image prompt of the first interactive message are displayed, and are not repeated in this embodiment. It should be noted that: the display modes of the plurality of reminding operations can be the same, but obvious differences exist so as to be convenient for users to distinguish, for example, the number of lighting LED lamps, the lighting colors or the brightness are different, and the reminding operations are different, and for example, the different vibration durations can be different reminding operations. For example, the reminding operation corresponding to the interactive message "go to smoking room" may be a short-time vibration, and the reminding operation corresponding to the interactive message "cheer off duty" may be a long-time vibration.
For example, when a user of the electronic cigarette a taps the electronic cigarette a, the electronic cigarette a obtains a first interaction message corresponding to the interaction operation of tapping the electronic cigarette as a "smoking removal room"; the electronic cigarette A sends the first interactive message of 'smoke removal room' to the electronic cigarette B and the electronic cigarette C respectively; when the electronic cigarette B and the electronic cigarette C receive that the first interactive message is 'remove smoking room', the prompt operation short-time vibration corresponding to the first interactive message 'remove smoking room' is executed, then the electronic cigarette B user and the electronic cigarette C user can obtain the first interactive message 'remove smoking room' according to the prompt operation short-time vibration, and other people cannot be disturbed without language communication in the interactive process.
Alternatively, the interaction rule may be other existing communication rules, such as the international general rule Morse password. For example, when receiving the first interactive message, the second electronic cigarette translates the first interactive message into a moss password, and executes a reminding operation "displaying the moss password of the first interactive message" corresponding to the first interactive message.
In summary, in the method provided in the embodiment of the present invention, when an interactive operation is detected, a first interactive message corresponding to the interactive operation is obtained; the first interaction message is sent to a second electronic cigarette in a wireless ad hoc network, the wireless ad hoc network comprises the first electronic cigarette and at least one second electronic cigarette, and the first interaction message is used for triggering the second electronic cigarette to execute a reminding operation corresponding to the first interaction message; the problem that the function of the electronic cigarette is too single in the related technology is solved; the effect of enriching the functions of the electronic cigarette is achieved.
Optionally, the first electronic cigarette receives a second interaction message sent by any second electronic cigarette in the wireless ad hoc network, where the second interaction message is sent by the second electronic cigarette when the interaction operation corresponding to the second interaction message is detected; acquiring a reminding operation corresponding to the second interactive message; and executing the reminding operation corresponding to the second interactive message.
The implementation of sending the second interactive message to the first electronic cigarette when the second electronic cigarette detects the interactive operation corresponding to the second interactive message may refer to the implementation of step 210 and step 220, which is not described herein again; the obtaining of the reminding operation corresponding to the second interactive message and the implementation of the reminding operation corresponding to the second interactive message may refer to the second electronic cigarette to implement the reminding operation corresponding to the first interactive message, for example, the implementation of the reminding operation corresponding to the second interactive message may be: acquiring a shared interaction rule in a wireless ad hoc network; and querying the reminding operation corresponding to the second interaction message in the interaction rule, wherein details are not repeated here.
Optionally, in order to prevent the first electronic cigarette from receiving the plurality of second interactive messages simultaneously, the reminding operation corresponding to the plurality of second interactive messages is continuously displayed and mistakenly considered as one reminding operation by the user, only one electronic cigarette for sending the interactive messages at any time is provided for each wireless ad hoc network, and other electronic cigarettes except the electronic cigarette do not send any interactive messages. The specific implementation can be as follows: in the process of receiving the second interaction message sent by any second electronic cigarette, the first electronic cigarette stops executing step 220 even if the interaction operation is detected, and in the process, any other second electronic cigarette stops sending the second interaction message to the first electronic cigarette even if the interaction operation is detected; or, if the first electronic cigarette detects an interactive operation in the process of receiving the second interactive message sent by any second electronic cigarette, step 220 is executed after the second interactive message is received, and even if the interactive operation is detected in the process of any other second electronic cigarette, the operation of sending the second interactive message to the first electronic cigarette is stopped.
For example, an electronic cigarette a, an electronic cigarette B and an electronic cigarette C form a wireless ad hoc network, the electronic cigarette a and the electronic cigarette B establish a bluetooth connection, and the electronic cigarette a and the electronic cigarette C also establish a bluetooth connection; when the electronic cigarette B detects the interactive operation, sending a second interactive message corresponding to the interactive operation to the electronic cigarette A; in the process that the electronic cigarette A receives the second interactive message, even if the interactive operation is detected, the electronic cigarette A does not send the first interactive message corresponding to the interactive operation to the electronic cigarette B and the electronic cigarette C; when the electronic cigarette C receives the second interactive message, the electronic cigarette C does not send the second interactive message corresponding to the interactive operation to the electronic cigarette A even if the interactive operation is detected; so as to ensure that other electronic cigarettes do not send interactive messages any more in the process of sending the interactive messages by the electronic cigarette B.
Optionally, in order to avoid that the first electronic cigarette continuously receives the plurality of second interactive messages, the reminding operation corresponding to the plurality of second interactive messages is continuously displayed, and the reminding operation is mistaken for one reminding operation by the user, when the first electronic cigarette continuously displays the plurality of reminding operations, a separation prompt message is displayed between every two reminding operations, and the separation prompt message is used for indicating that another reminding operation is to be displayed. The specific implementation can be as follows: before executing the reminding operation corresponding to any second interactive message, the first electronic cigarette acquires the time interval between the latest time of executing the reminding operation and the current time; if the time interval is less than a first preset time, displaying separation prompt information, wherein the separation prompt information is used for indicating that another reminding operation is to be displayed; and after the separation prompt information is displayed, executing the reminding operation corresponding to the second interactive message.
The first preset time length may be set by a developer or may be customized by a user, for example, the first preset time length may be set to 2 seconds; the presentation form of the separation prompt message includes but is not limited to: text prompt, voice prompt, indicator light prompt, vibration prompt, buzzer prompt and image prompt are omitted for further description. It should be noted that: the separation prompt message is distinguished from any one of the reminding operations.
Optionally, in order to prevent the first electronic cigarette from continuously receiving the plurality of second interactive messages, the reminding operation corresponding to the plurality of second interactive messages is continuously displayed, and the reminding operation is mistaken as a reminding operation by the user, and before the first electronic cigarette executes the reminding operation corresponding to any one of the second interactive messages, the time interval between the latest time of executing the reminding operation and the current time is obtained; and if the time interval is less than a second preset time length, waiting until the time interval between the time of executing the reminding operation for the last time and the current time reaches the second preset time length, and then executing the reminding operation corresponding to the second interactive message. The second preset time period may be set by a developer or may be customized by a user, for example, the second preset time period may be set to 2 seconds or 1 second.
Optionally, the first electronic cigarette comprises an interaction mode and a working mode; the first electronic cigarette in the working mode performs atomization work according to the cigarette lighting signal, does not perform the steps shown in fig. 2, namely does not detect the interactive operation, and does not send and receive any interactive message (including the first interactive message and the second interactive message); the first e-cigarette, in the interactive mode, is able to perform several steps as shown in figure 2 and receive the second interactive message, but stop the aerosolization operation according to the smoke-on signal. That is to say, even the first electron cigarette that is in interactive mode detects some cigarette signals, can not control atomizer in the first electron cigarette and carry out atomizing work. Similarly, the second electron cigarette also includes interactive mode and mode, and the second electron cigarette that is in mode carries out atomizing work according to the signal of lighting a cigarette, but can not carry out interactive work, and the second electron cigarette that is in interactive mode can carry out interactive work, but stops carrying out atomizing work according to the signal of lighting a cigarette.
Optionally, in the process that the first electronic cigarette in the working mode performs atomization according to the cigarette lighting signal, the detection interaction operation is stopped, but a second interaction message sent by any second electronic cigarette in the wireless ad hoc network can be received, and a reminding operation corresponding to the second interaction message is acquired and executed; when the first electronic cigarette in the operation mode does not perform the atomization operation, the first electronic cigarette may perform several steps as shown in fig. 2.
Optionally, in the process that the second electronic cigarette in the operating mode performs atomization according to the cigarette lighting signal, the detection interaction operation is stopped, but the interaction message sent by other electronic cigarettes except the second electronic cigarette in the wireless ad hoc network can be received, and the reminding operation corresponding to the interaction message is acquired and executed. When the second electronic cigarette in the working mode does not perform atomization work, the second electronic cigarette can detect interaction operation; and when the interactive operation is detected, sending a second interactive message corresponding to the interactive operation to other electronic cigarettes except the electronic cigarettes in the wireless ad hoc network.
Optionally, the user of the e-cigarette may operate the e-cigarette to enter or exit the interactive mode, and the e-cigarette exiting the interactive mode no longer sends or receives any interactive messages. For example, a mode switching key can be arranged on the electronic cigarette; if the electronic cigarette is currently in the interactive mode, the electronic cigarette user can trigger the electronic cigarette to switch to the working mode by operating the mode switching key; if the electronic cigarette is currently in the working mode, the electronic cigarette user can trigger the electronic cigarette to be switched to the interactive mode by operating the mode switching key.
Optionally, the electronic cigarette comprises an atomizing device and a power supply device, and the atomizing device is detachably connected with the power supply device. The atomization device is internally provided with an aerosol forming substrate and an atomization assembly, the power supply device electrically drives the atomization assembly according to the cigarette lighting signal, and the atomization assembly electrically atomizes the aerosol forming substrate to form smoke. When the atomization device is separated from the power supply device and a user independently operates the power supply device, the electronic cigarette is defaulted to enter an interaction mode; when the power supply device detects that the atomization device is connected with the power supply device, the electronic cigarette display mode confirms the notification to remind the user whether to enter the working mode. Presentation forms include, but are not limited to: text prompt, voice prompt, indicator light prompt, vibration prompt, buzzer prompt and image prompt are omitted for further description. It should be noted that: the mode confirm notification is distinguished from either reminder operation and from the separator cue information.
Optionally, when exiting the interactive mode, the first electronic cigarette may send an exit notification to a second electronic cigarette in the wireless ad hoc network; the second e-cigarette that receives the exit notification presents the exit notification. Similarly, when exiting the interactive mode, the second electronic cigarette can send an exit notification to the first electronic cigarette in the wireless ad hoc network; the first e-cigarette that receives the exit notification presents the exit notification. Wherein, the display form of the exit notification includes but is not limited to: text prompt, voice prompt, indicator light prompt, vibration prompt, buzzer prompt and image prompt are omitted for further description. It should be noted that: the exit notification is distinguished from any of the reminder operations, and from the compartment reminder information and the mode confirmation notification.
The first e-cigarette may be a node in a plurality of wireless ad hoc networks. Optionally, when the first electronic cigarette detects the interactive operation, the number of the wireless ad hoc networks where the first electronic cigarette is located is inquired; if the number of the wireless ad hoc networks is larger than 1, displaying the wireless ad hoc network where the first electronic cigarette is located, acquiring the selected wireless ad hoc network from the wireless ad hoc network, and taking other nodes of the selected wireless ad hoc network as second electronic cigarettes; and if the number of the wireless ad hoc networks is 1, taking other nodes of the wireless ad hoc networks as second electronic cigarettes.
For example, if the number of the wireless ad hoc networks is 2, prompt information for prompting selection of the wireless ad hoc networks is displayed; and acquiring the selected wireless ad hoc network, and taking other nodes of the selected wireless ad hoc network as a second electronic cigarette.
An embodiment of the present invention also provides a computer-readable storage medium, in which one or more instructions are stored, and when executed by a processor in an electronic cigarette, the one or more instructions implement the method for controlling an electronic cigarette according to any of the above embodiments.
An embodiment of the present invention further provides an electronic cigarette interaction device, including: a memory and a processor; at least one program instruction is stored in the memory; the processor is configured to load and execute the at least one program instruction to implement the electronic cigarette interaction method according to any of the embodiments.
The terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying a number of the indicated technical features. Thus, a defined feature of "first", "second", may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless otherwise specified.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (9)

1. An electronic cigarette interaction method is applied to a first electronic cigarette, and comprises the following steps:
when the interactive operation is detected, acquiring a first interactive message corresponding to the interactive operation;
sending the first interaction message to a second electronic cigarette in a wireless ad hoc network, wherein the wireless ad hoc network comprises the first electronic cigarette and at least one second electronic cigarette, and the first interaction message is used for triggering the second electronic cigarette to execute a reminding operation corresponding to the first interaction message;
the method further comprises the following steps:
if the first electronic cigarette is in the interactive mode, stopping atomization according to a cigarette lighting signal, and executing the step of acquiring a first interactive message corresponding to the interactive operation when the interactive operation is detected;
if the first electronic cigarette exits the interactive mode, atomizing according to a cigarette lighting signal, and stopping executing the step of acquiring a first interactive message corresponding to the interactive operation when the interactive operation is detected;
in the process that the first electronic cigarette in the working mode carries out atomization work according to the cigarette lighting signal, stopping detection interaction operation, but receiving a second interaction message sent by any second electronic cigarette in the wireless ad hoc network, and acquiring and executing a reminding operation corresponding to the second interaction message;
in the process that the second electronic cigarette in the working mode carries out atomization work according to the cigarette lighting signal, stopping detecting the interactive operation, but receiving interactive messages sent by other electronic cigarettes except the second electronic cigarette in the wireless ad hoc network, and acquiring and executing reminding operation corresponding to the interactive messages;
when the first electronic cigarette detects the interactive operation, inquiring the number of wireless ad hoc networks where the first electronic cigarette is located; if the number of the wireless ad hoc networks is larger than 1, displaying the wireless ad hoc network where the first electronic cigarette is located, acquiring the selected wireless ad hoc network from the wireless ad hoc network, and taking other nodes of the selected wireless ad hoc network as second electronic cigarettes; and if the number of the wireless ad hoc networks is 1, taking other nodes of the wireless ad hoc networks as second electronic cigarettes.
2. The method of claim 1, wherein before the obtaining the first interactive message corresponding to the interactive operation, the method further comprises:
acquiring detection information, wherein the detection information comprises at least one of acceleration information, key information, pressure information detected by a pressure sensor, touch information and knocking information;
and determining whether to generate interactive operation according to the detection information.
3. The method of claim 1, wherein the obtaining the first interactive message corresponding to the interactive operation comprises:
acquiring a shared interaction rule in the wireless ad hoc network;
and inquiring the interaction message corresponding to the interaction operation in the interaction rule to obtain the first interaction message.
4. The method of claim 1, further comprising:
receiving a second interaction message sent by any second electronic cigarette in the wireless ad hoc network, wherein the second interaction message is sent by the second electronic cigarette when the interaction operation corresponding to the second interaction message is detected;
acquiring a reminding operation corresponding to the second interactive message;
and executing the reminding operation corresponding to the second interactive message.
5. The method according to claim 4, wherein the obtaining of the reminding operation corresponding to the second interactive message comprises:
acquiring a shared interaction rule in the wireless ad hoc network;
and inquiring the reminding operation corresponding to the second interactive message in the interactive rule.
6. The method of claim 4,
in the process of receiving a second interaction message sent by any one second electronic cigarette, if the interaction operation is detected, stopping executing the step of sending the first interaction message to the second electronic cigarette in the wireless ad hoc network; alternatively, the first and second electrodes may be,
and in the process of receiving a second interaction message sent by any one second electronic cigarette, if the interaction operation is detected, after the second interaction message is received, executing the step of sending the first interaction message to a second electronic cigarette in the wireless ad hoc network.
7. The method of claim 4, wherein before the performing the reminding operation corresponding to the second interactive message, the method further comprises:
acquiring the time interval between the time of executing the reminding operation for the last time and the current time;
if the time interval is less than the preset time length, displaying separation prompt information, wherein the separation prompt information is used for indicating that another reminding operation is to be displayed; and executing the reminding operation corresponding to the second interactive message.
8. A computer readable storage medium having one or more instructions stored thereon, wherein the one or more instructions, when executed by a processor within an electronic cigarette, implement the electronic cigarette interaction method of any of claims 1-7.
9. An electronic cigarette interaction device, comprising:
a memory and a processor;
at least one program instruction is stored in the memory;
the processor, by loading and executing the at least one program instruction, implements the electronic cigarette interaction method of any of claims 1-7.
CN201910299044.1A 2019-04-15 2019-04-15 Electronic cigarette interaction method and device Active CN109874130B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910299044.1A CN109874130B (en) 2019-04-15 2019-04-15 Electronic cigarette interaction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910299044.1A CN109874130B (en) 2019-04-15 2019-04-15 Electronic cigarette interaction method and device

Publications (2)

Publication Number Publication Date
CN109874130A CN109874130A (en) 2019-06-11
CN109874130B true CN109874130B (en) 2022-04-19

Family

ID=66922572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910299044.1A Active CN109874130B (en) 2019-04-15 2019-04-15 Electronic cigarette interaction method and device

Country Status (1)

Country Link
CN (1) CN109874130B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112214120A (en) * 2019-06-25 2021-01-12 深圳市艾维普思科技有限公司 Control method of electronic cigarette, storage medium and electronic cigarette

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104918223A (en) * 2015-05-28 2015-09-16 小米科技有限责任公司 Information interaction method, apparatus and device based on intelligent wearable equipment
WO2015149340A1 (en) * 2014-04-03 2015-10-08 吉瑞高新科技股份有限公司 Information interaction method and system applying to electronic cigarette
CN104980285A (en) * 2014-04-03 2015-10-14 惠州市吉瑞科技有限公司 Information interaction method applied to electronic cigarette and information interaction system applied to electronic cigarette
CN105024911A (en) * 2014-04-24 2015-11-04 惠州市吉瑞科技有限公司 Information interaction system applicable to electronic cigarette and information interaction method
CN106681765A (en) * 2016-12-24 2017-05-17 深圳市思拓微电子有限公司 Intelligent APP application system of electronic Bluetooth cigarette
CN107026932A (en) * 2016-01-31 2017-08-08 贺少珍 Interactive method and intelligent wearable device that can be interactive
CN108447324A (en) * 2018-03-08 2018-08-24 安徽晨光电子科技有限公司 A kind of intelligent interaction learning method
CN109032340A (en) * 2018-06-29 2018-12-18 百度在线网络技术(北京)有限公司 Operating method for electronic equipment and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170018000A1 (en) * 2015-07-14 2017-01-19 Lunatech, Llc Electronic Vapor Recommendation System And Method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015149340A1 (en) * 2014-04-03 2015-10-08 吉瑞高新科技股份有限公司 Information interaction method and system applying to electronic cigarette
CN104980285A (en) * 2014-04-03 2015-10-14 惠州市吉瑞科技有限公司 Information interaction method applied to electronic cigarette and information interaction system applied to electronic cigarette
CN105024911A (en) * 2014-04-24 2015-11-04 惠州市吉瑞科技有限公司 Information interaction system applicable to electronic cigarette and information interaction method
CN104918223A (en) * 2015-05-28 2015-09-16 小米科技有限责任公司 Information interaction method, apparatus and device based on intelligent wearable equipment
CN107026932A (en) * 2016-01-31 2017-08-08 贺少珍 Interactive method and intelligent wearable device that can be interactive
CN106681765A (en) * 2016-12-24 2017-05-17 深圳市思拓微电子有限公司 Intelligent APP application system of electronic Bluetooth cigarette
CN108447324A (en) * 2018-03-08 2018-08-24 安徽晨光电子科技有限公司 A kind of intelligent interaction learning method
CN109032340A (en) * 2018-06-29 2018-12-18 百度在线网络技术(北京)有限公司 Operating method for electronic equipment and device

Also Published As

Publication number Publication date
CN109874130A (en) 2019-06-11

Similar Documents

Publication Publication Date Title
EP3185621B1 (en) Wireless device
WO2015149340A1 (en) Information interaction method and system applying to electronic cigarette
US8253693B2 (en) Device capable of being operated within a network, network system, method of operating a device within a network, program element, and computer-readable medium
CN107683465B (en) Control terminal device, audio system, and audio system control method
CN107465595B (en) Equipment message playing control method and device, message playing equipment and storage medium
JPWO2018043203A1 (en) Stylus and sensor controller
CN106782600B (en) Scoring method and device for audio files
US20150304402A1 (en) Data communication method and data communication system
WO2015161402A1 (en) Data communication method and data communication system
CN107332976B (en) Karaoke method, device, equipment and system
CN109288134A (en) Electronic cigarette and electronic cigarette smoking control method, system
CN108338418A (en) Management method, device and the electronic equipment of electronic cigarette
CN108573703B (en) Control method of electric appliance system
CN109874130B (en) Electronic cigarette interaction method and device
WO2017190680A1 (en) Device control system, method, apparatus and control device
EP3759899B1 (en) Apparatus and method for location monitoring of a network-enabled smoking substitute device
CN110632854A (en) Voice control method and device, voice control node and system and storage medium
CN113064642A (en) Method and system for starting working process of electric control equipment, terminal and electric control equipment
WO2020183655A1 (en) Terminal equipment, information processing device, information processing method, and program
CN111820479A (en) Control method and device of electronic cigarette
CN105024910B (en) A kind of personal information exchange method and system of electronic cigarette
CN104808812B (en) A kind of information processing method and device
CN106330875B (en) Message display method and device
JP5344188B2 (en) Portable information processing terminal and program for portable information processing terminal
CN111789295B (en) Electronic cigarette equipment working mode switching method, electronic cigarette and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right

Effective date of registration: 20190611

Address after: 213022 Fuchen Garden, Xinbei District, Changzhou City, Jiangsu Province, 2 605 Rooms

Applicant after: Changzhou biten Electronic Technology Service Co. Ltd.

Address before: Room 803, Satellite Building, Intersection of Xuefu Road, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 518000

Applicant before: Shenzhen Maiweipus Electronic Technology Co., Ltd.

TA01 Transfer of patent application right
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant