CN113349462A - Interaction device of electronic cigarette, interaction method and storage medium - Google Patents

Interaction device of electronic cigarette, interaction method and storage medium Download PDF

Info

Publication number
CN113349462A
CN113349462A CN202110632974.1A CN202110632974A CN113349462A CN 113349462 A CN113349462 A CN 113349462A CN 202110632974 A CN202110632974 A CN 202110632974A CN 113349462 A CN113349462 A CN 113349462A
Authority
CN
China
Prior art keywords
electronic cigarette
knocking
interaction
response device
effective
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110632974.1A
Other languages
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 Neke Electronic Technology Co ltd
Original Assignee
Shenzhen Neke 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 Shenzhen Neke Electronic Technology Co ltd filed Critical Shenzhen Neke Electronic Technology Co ltd
Priority to CN202110632974.1A priority Critical patent/CN113349462A/en
Publication of CN113349462A publication Critical patent/CN113349462A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A24TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
    • A24FSMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
    • A24F40/00Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
    • A24F40/50Control or monitoring
    • A24F40/51Arrangement of sensors
    • AHUMAN NECESSITIES
    • A24TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
    • A24FSMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
    • A24F40/00Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
    • A24F40/40Constructional details, e.g. connection of cartridges and battery parts
    • AHUMAN NECESSITIES
    • A24TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
    • A24FSMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
    • A24F40/00Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
    • A24F40/50Control or monitoring
    • AHUMAN NECESSITIES
    • A24TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
    • A24FSMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
    • A24F47/00Smokers' requisites not otherwise provided for
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B5/00Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied
    • G08B5/22Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission
    • G08B5/36Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission using visible light sources

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses an electronic cigarette interaction device, an electronic cigarette, an interaction method and a storage medium. The interaction device of the electronic cigarette comprises a detection device, a control device and a response device, wherein the detection device is used for detecting the interaction of the electronic cigarette; the detection device is electrically connected with the control device and is used for collecting sound signals and transmitting the sound signals to the control device; the control device is electrically connected with the response device and used for identifying the received sound signal based on a preset knocking identification model to obtain an identification result, generating an interaction trigger signal when the identification result is effective knocking, and sending the interaction trigger signal to the response device; the response device is used for responding to the interaction trigger signal. According to the technical scheme, the intelligent degree of the electronic cigarette can be effectively improved, the recognition accuracy is improved by knocking the recognition model to recognize the sound signal, and therefore high-quality interactive experience is provided for a user.

Description

Interaction device of electronic cigarette, interaction method and storage medium
Technical Field
The embodiment of the invention relates to the technical field of electronic cigarettes, in particular to an electronic cigarette interaction device, an electronic cigarette, an interaction method and a storage medium.
Background
The electronic cigarette is an electronic product simulating a cigarette, and has the same appearance, smoke, taste and sensation as the cigarette. It is an electronic product which is used for a user to suck after nicotine and the like are changed into steam by means of atomization and the like.
With the progress of scientific technology, the requirements of users using electronic cigarettes on the intelligentization requirements and the user experience of the electronic cigarettes are increasing day by day. The current electronic cigarette has poor interactivity in the use process.
Disclosure of Invention
The embodiment of the invention provides an interaction device of an electronic cigarette, the electronic cigarette, an interaction method and a storage medium, so as to realize an intelligent interaction mode and enrich the interaction interestingness of the electronic cigarette.
In a first aspect, an embodiment of the present invention provides an interaction device for an electronic cigarette, including a detection device, a control device, and a response device, where;
the detection device is electrically connected with the control device and is used for collecting sound signals and transmitting the sound signals to the control device;
the control device is electrically connected with the response device and used for identifying the received sound signal based on a preset knocking identification model to obtain an identification result, generating an interaction trigger signal when the identification result is effective knocking, and sending the interaction trigger signal to the response device;
the response device is used for responding to the interaction trigger signal.
In a second aspect, an embodiment of the present invention further provides an electronic cigarette, including any one of the electronic cigarette interaction apparatuses in the embodiments of the present invention.
In a third aspect, an embodiment of the present invention further provides an interaction method for an electronic cigarette, including:
acquiring a sound signal, identifying the received sound signal based on a preset knocking identification model to obtain an identification result, and generating an interaction trigger signal when the identification result is effective knocking;
and controlling a response device to respond based on the interaction trigger signal.
In a fourth aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method of interacting with an electronic cigarette according to any one of the embodiments of the present invention.
According to the invention, the detection device, the control device and the response device are arranged in the electronic cigarette, the detection device is used for collecting the sound signal, and the response device is controlled based on the collected sound signal, so that the traditional key control is replaced, and the intelligent degree of the electronic cigarette is improved. Furthermore, in the control device, the preset knocking recognition model can effectively learn the characteristics of the sound signal and output a recognition result, so that the recognition accuracy is improved, and the response equipment can be accurately controlled to perform action response, thereby providing better interactive experience for users.
Drawings
Fig. 1 is a schematic structural diagram of an interaction device of an electronic cigarette according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a basic structure of an electronic cigarette according to a first embodiment of the present invention;
fig. 3 is a schematic structural diagram of an interaction device of an electronic cigarette according to a second embodiment of the present invention;
fig. 4 is a schematic flow chart of an interaction method of an electronic cigarette in a third embodiment of the present invention.
Fig. 5 is a schematic structural diagram of an electronic cigarette in a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures. Throughout this specification, the same or similar reference numbers refer to the same or similar structures, elements, or processes. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
Fig. 1 is a schematic structural diagram of an interaction device of an electronic cigarette according to an embodiment of the present invention. As shown in fig. 1, the interaction means of the electronic cigarette 1 comprises detection means 2, control means 3 and response means 4.
The basic structure of the electronic cigarette 1 is shown in fig. 2, and includes, but is not limited to, a cigarette rod, a smoke sprayer, and a cigarette holder. Wherein, be provided with the switch on the tobacco rod for the opening or closing of control electron cigarette 1. The interior of the tobacco rod includes, but is not limited to, a battery, a microphone, and various electronic circuits. Smog ware one end is connected with the tobacco rod, and the smog ware other end is connected with the cigarette holder, can add the tobacco tar in the smog ware, and the battery that is located the tobacco rod inside supplies power to the heating element of smog ware, and the tobacco tar volatilizees through the heating of smog ware, forms smog, and the user inhales smog through the cigarette holder, produces the artistic conception the same with real cigarette. It should be noted that the basic structure of the electronic cigarette in this embodiment is only used for explaining the present invention, and the present invention is not limited thereto.
And the detection device 2 is electrically connected with the control device 3 and is used for collecting sound signals and transmitting the sound signals to the control device 3.
The control device 3 is electrically connected with the response device 4 and is used for identifying the received sound signal based on a preset knocking identification model to obtain an identification result, generating an interaction trigger signal when the identification result is effective knocking, and sending the interaction trigger signal to the response device 4.
And the response device 4 is used for responding to the interaction trigger signal.
In this embodiment, the detection device 2 and the control device 3 are located inside the cigarette rod of the electronic cigarette 1, and the detection device 2 can be used to collect a sound signal, extract characteristics of sound such as audio frequency, timbre or tone, and convert the collected sound signal into an electric signal to be transmitted to the control device 3. Wherein, the audio frequency represents the frequency of the sound, the tone represents the height of the sound, the tone mainly depends on the frequency of the sound source vibration, the higher the frequency, the higher the tone, the lower the frequency, the lower the tone. For example, the knocking force on the tobacco rod is different to generate different tones, the larger the knocking force on the smoke sensation is, the higher the generated tone is, and the smaller the knocking force on the tobacco rod is, the lower the generated tone is. The timbre represents the quality of sound, for example, the sound of striking a cigarette rod by different objects is different, and the timbre is different, so that when a metal is used to strike the cigarette rod, the timbre is more crisp, and when a finger is used to strike the cigarette rod, the timbre is more dull.
In some optional embodiments, the detection device 2 comprises a microphone, which is arranged inside the stem of the electronic cigarette. The microphone is a microphone, and is an energy conversion device that converts a sound signal into an electrical signal. The microphone may include, but is not limited to, a moving coil microphone, a condenser microphone, an electret microphone, and a silicon micro-microphone. According to the embodiment of the invention, the sound generated by knocking the shell is collected through the microphone, and the sound signal is converted into the electric signal to be transmitted to the control device 3.
The preset knocking recognition model is a knocking recognition model trained in advance and used for recognizing whether the collected sound signal is an effective knocking signal or not, wherein the effective knocking signal can be a knocking signal generated by finger knocking. The interaction trigger signal is used for changing the circuit state, and may control the response device 4, and may be, for example, a high level signal, or a logic signal "1", and the specific form of the interaction trigger signal is not limited herein, and may trigger the response device 4 to respond.
Specifically, the collected sound signal is input into a pre-trained tap recognition model as input data, the tap recognition model extracts the characteristics of the audio, tone or tone quality and the like in the sound signal, and a recognition result is obtained and output based on the extracted characteristics of the audio, tone or tone quality and the like in the sound signal. The output recognition result comprises a valid tap and an invalid tap, and exemplarily, a 1 recognition result represents a valid tap, and a 0 recognition result represents an invalid tap. And generating an interaction trigger signal when the identification result is the effective tapping, sending the interaction trigger signal to the response device 4, and not generating the interaction trigger signal when the identification result is the ineffective tapping.
The responding device 4 refers to a device capable of generating action response to the interaction triggering signal, and may include, but is not limited to, an indicator light, a vibrator, a smoke sprayer or a display screen.
Illustratively, when the response means 4 is a vibrator, the control means 3 sends an interaction triggering signal to the vibrator, which generates a vibration; when the response device 4 is an indicator light, the control device 3 sends the interaction trigger signal to the indicator light, and the indicator light is turned on or flickers; when the response device 4 is a smoke sprayer, the control device 3 sends the interaction trigger signal to the smoke sprayer, and the smoke sprayer generates smoke and can control the size of the smoke; when the response device 4 is a display screen, the control device 3 sends the interaction trigger signal to the display screen, and the display screen can display the current remaining power or time.
According to the technical scheme of the embodiment of the invention, the detection device, the control device and the response device are arranged in the electronic cigarette, the detection device is used for collecting the sound signal, and the response device is controlled based on the collected sound signal, so that the traditional key control is replaced, and the intelligent degree of the electronic cigarette is improved. Furthermore, in the control device, the preset knocking recognition model can effectively learn the characteristics of the sound signal and output a recognition result, so that the recognition accuracy is improved, and the response equipment can be accurately controlled to perform action response, thereby providing better interactive experience for users.
On the basis of the embodiment, the knocking recognition model is obtained based on preset sample data and sample label training, wherein the sample data comprises a positive sample and a negative sample, the positive sample comprises a sound signal generated when a finger knocks a knocking area of the electronic cigarette rod, and the negative sample comprises a sound signal generated when other objects except the finger knock any area of the electronic cigarette rod, a sound signal generated when the finger knocks an area except the knocking area of the electronic cigarette rod, and a sound signal generated when the electronic cigarette falls or impacts.
The positive samples are samples belonging to a certain category and are valid data samples, the negative samples are samples not belonging to a certain category and are invalid data samples, and the setting of the negative samples can be used for increasing the robustness of the tap recognition model. The knocking area is an area selected according to the position of the detection device 2, and optionally, the knocking area is a tobacco rod area corresponding to the front side or the back side of the detection device 2, namely, the knocking area can be the front side or the back side of the tobacco rod, and can also be the left side or the right side of the tobacco rod. The tap recognition model may include, but is not limited to, a decision tree classification model, a naive bayes classification model, or a support vector machine-based classification model, among others.
Illustratively, the positive sample comprises sound signals generated when a finger strikes a striking area of a cigarette rod of the electronic cigarette, and specifically comprises sound signals generated when fingers with different sizes strike the front side of the cigarette rod with different forces, and sound signals generated when fingers with different sizes strike the back side of the cigarette rod with different forces; the negative sample can specifically include a sound signal generated when a metal rod, a key and a mobile phone knock any region of a cigarette rod of the electronic cigarette, and a sound signal generated when a finger knocks a knocking side of the cigarette rod of the electronic cigarette, and the negative sample can also specifically include a sound signal generated when the electronic cigarette falls or impacts the ground. For example, when a mobile phone, a key and an electronic cigarette are put into a pocket together, the mobile phone or the key randomly knocks the electronic cigarette along with the movement of a human body, and at the moment, the electronic cigarette generates a sound signal which can be used as a negative sample.
The tap recognition model can be obtained by training a large number of positive sample and negative sample sound signals in advance. Inputting sample data into a to-be-trained knocking recognition model, recognizing the sample data through the to-be-trained knocking recognition model to obtain a prediction result, determining a loss function based on the prediction result and a label of the sample data, adjusting model parameters of the knocking recognition model based on the loss function, and iteratively executing the training process to gradually reduce the deviation between the output result of the model and the sample label corresponding to the sample and achieve convergence. In the embodiment, the knocking recognition model is obtained through the preset positive sample, the preset negative sample and the sample label training, and the negative sample plays a role in comparison and comparison on the model training, so that the knocking recognition model has higher robustness, and the high-efficiency accurate automatic recognition of the sound signal is realized.
On the basis of the above embodiment, the control device 3 is further configured to: and determining the effective knocking times within a preset time interval, and if the effective knocking times meet the preset times, generating the interaction triggering signal.
When the control device 3 identifies that the result is effective knocking, the knocking is counted, and the effective knocking times within a preset time interval are determined, wherein the preset times are preset effective knocking time thresholds. Optionally, the preset number of times comprises at least two effective taps. In the preset time interval, the preset times are set to include at least two effective knocking times, so that the effective knocking caused by mistaken touch can be eliminated, and the condition that the electronic cigarette responds due to the mistaken touch is avoided. For example, the preset times can be set individually according to the habits of the user. Under the condition that the user is accustomed to knocking twice for broadcasting time, if the effective knocking times are recognized to be twice, generating an interactive trigger signal of the broadcasting time, and enabling the electronic cigarette to broadcast the time through a voice player; under the condition that the user is accustomed to knocking for displaying the electric quantity for three times, if the effective knocking times is recognized for three times, an interactive trigger signal for displaying the electric quantity is generated, and the electric quantity is displayed through the display screen.
In some alternative embodiments, the detection device 2 may also include a pressure sensor. In this embodiment, pressure sensors are provided on the surface of the tobacco rod, and the pressure sensors may include, but are not limited to, gauge pressure sensors, differential pressure sensors, and absolute pressure sensors.
Specifically, the pressure of knocking the tobacco rod by the finger is collected through the pressure sensor, and the collected pressure signal is converted into a digital signal pressure value. In a preset time interval, corresponding pressure value waveforms can be generated through a plurality of continuous pressure value data, and the pressure value waveforms contain information such as wave crests and ascending gradients. In the embodiment, the wave crests are screened by setting a preset pressure threshold, if the current wave crest pressure value exceeds the preset pressure threshold, the current wave crest is determined as an effective wave crest, and the corresponding knocking is effective knocking; if the current peak pressure value does not exceed the preset pressure threshold value, the current peak is determined to be an invalid peak, and the corresponding knocking is invalid knocking. And obtaining the time interval between the effective wave crests according to the time points of the effective wave crests and the rising gradient, and generating an interactive trigger signal if the time interval between the effective wave crests is within a preset time interval range.
It should be noted that this embodiment electron cigarette includes at least one detection device, and the electron cigarette accessible miaow head and pressure sensor detect the action of knocking jointly promptly, can effectively improve the degree of accuracy that detects, provide high-quality interactive experience.
Example two
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures. Throughout this specification, the same or similar reference numbers refer to the same or similar structures, elements, or processes. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
Fig. 3 is a schematic structural diagram of another electronic cigarette interaction device according to an embodiment of the present invention. As shown in fig. 3, the response device 4 of the interactive device of the electronic cigarette is at least one, and the response device 4 may include an aerosolizer, a player and an LED lamp set.
Wherein, the smog ware is the device that electron cigarette produced smog, can add the tobacco tar in the smog ware, and the battery that is located tobacco rod inside supplies power to the heating element of smog ware, and heating element volatilizes the tobacco tar heating, forms smog. For example, the embodiment controls the smoke sprayer through the interactive trigger signal, and the size of smoke generated by the smoke sprayer can be changed; the player refers to a voice player or a video player. Illustratively, in the embodiment, the player is controlled by the interactive trigger signal, the current electric quantity can be broadcasted in a voice mode or displayed by the display screen, and the time information can also be displayed, so that convenience is provided for viewing the time; the LED refers to a light emitting diode, and the lamp group of the LED at least comprises one LED lamp. For example, in the present embodiment, the LED lamp set is controlled by the interactive trigger signal, so that the LED lamp set can be controlled to be turned on or off, and the color of the LED lamp set can also be controlled, for example, the LED lamp is installed at the tail of the electronic cigarette, so that the LED lamp can be controlled to turn red, and people can visually generate the same experience as that of burning a real cigarette.
On the basis of the above embodiment, the control device 3 is further configured to: randomly determining a target response device in at least one response device 4, and generating an interaction trigger signal of the target response device; or, determining a target response device in at least one response device 4 according to a preset polling strategy, and generating an interaction trigger signal of the target response device; or, according to the type of the effective tapping within a preset time interval, a target response device is randomly determined from at least one response device 4, and an interaction trigger signal of the target response device is generated.
The polling policy means that the responding apparatuses 4 are determined as the determination target responding apparatuses in turn so as to make the number of times of responding by each responding apparatus as equal as possible. The types of valid taps refer to differences in the manner of taps, including, for example, but not limited to, two fast taps, two slow taps, three taps, and the like.
Specifically, when the control device 3 obtains the recognition result as the effective tap according to the sound signal, the target response device may be randomly determined among the one or more response devices, and the interaction trigger signal of the target response device is generated. Exemplarily, the response device 4 of the electronic cigarette comprises four types of smoke devices, a player, a vibrator and an LED lamp set, and when the control device 4 obtains an identification result according to a sound signal and is effectively knocked, the response device can randomly select among the four types of current devices and generate corresponding interaction trigger signals, so that various interaction modes are generated, and the interest of the interaction of the electronic cigarette is improved.
In addition, when the control device 3 obtains the recognition result as a valid tap according to the sound signal, a target response device can be determined in at least one response device 4 according to a preset polling strategy, and an interaction trigger signal of the target response device is generated. Illustratively, the response device 4 of the electronic cigarette comprises a plurality of LED lamps, including but not limited to a red LED lamp, a blue LED lamp, a green LED lamp and a purple LED lamp, and when the control device 3 obtains the recognition result as a valid tap according to the sound signal, the current four devices can be selected according to a predefined polling strategy, for example, when the valid tap is recognized for the first time, the red LED lamp is turned on; when effective knocking is identified for the second time, the blue LED lamp is lightened; when effective knocking is identified for the third time, the green LED lamp is lightened; when the effective knocking is identified for the fourth time, the purple LED lamp is lightened, and the interestingness of the interaction of the electronic cigarette is improved through the lightening of the LED lamps with different colors.
Or, when the control device 3 obtains the recognition result as the effective tap according to the sound signal, it may determine a target response device randomly determined in the at least one response device 4 according to the type of the effective tap within a preset time interval, and generate an interaction trigger signal of the target response device. Illustratively, the response device 4 of the electronic cigarette includes four types, namely a smoke sprayer, a player, a vibrator and an LED lamp set, and when the control device 3 obtains an identification result according to the sound signal as an effective knock, and according to the type of the effective knock within a preset time interval, the corresponding device can be selected from the four current devices, for example, the type of the effective knock within the preset time interval is two times of quick knock, the corresponding response mode vibrator vibrates, the type of the effective knock within the preset time interval is three times of quick knock, and the corresponding response mode LED lamp set is turned on. According to the embodiment, the corresponding response action can be generated through the type of effective knocking in the preset time interval, and the interest of electronic cigarette interaction is improved. On the basis of the above embodiment, the control device 2 is further configured to determine the type of the effective tapping according to the number of effective tapping within the preset time interval and/or the duration of the tapping interval.
Illustratively, if a tap is made twice within 3 seconds, then the type of valid tap is determined to be a slow tap; if the tap is performed twice within 1 second, the type of valid tap is determined to be a quick tap.
The type of the effective knocking can preset a corresponding response mode. The response mode corresponding to each type of valid tap may include, but is not limited to, displaying power, displaying time, flashing an LED light, or generating smoke by a smoke sprayer.
Illustratively, the number of effective tapping within the preset time interval is two, and the corresponding type of effective tapping is the display electric quantity, so that the electronic cigarette displays the current remaining electric quantity through the display screen. In addition, under the condition that the number of effective knocks is the same, but the knocking interval duration is long, the corresponding types of effective knocks are different, for example, the number of effective knocks is two, the type of effective knocks corresponds to the response mode that the smoke sprayer generates smoke when the knocking interval duration is 1 second, and the type of effective knocks corresponds to the display electric quantity when the knocking interval duration is 2 seconds.
According to the technical scheme of the embodiment of the invention, the detection device, the control device and the response device are arranged in the electronic cigarette, the detection device is used for collecting the sound signal, and the response device is controlled based on the collected sound signal, so that the traditional key control is replaced, and the intelligent degree of the electronic cigarette is improved. Furthermore, in the control device, the preset knocking recognition model can effectively learn the characteristics of the sound signal and output a recognition result, so that the recognition accuracy is improved, and the response equipment can be accurately controlled to perform action response, thereby providing better interactive experience for users.
EXAMPLE III
Fig. 4 is a flowchart of an interaction method of an electronic cigarette according to a third embodiment of the present invention, where the method can be executed by the interaction apparatus of an electronic cigarette according to the third embodiment of the present invention. The method specifically comprises the following steps:
s310, acquiring a sound signal, identifying the received sound signal based on a preset knocking identification model to obtain an identification result, and generating an interaction triggering signal when the identification result is effective knocking.
And S320, controlling a response device to respond based on the interaction trigger signal.
According to the technical scheme of the embodiment of the invention, the detection device, the control device and the response device are arranged in the electronic cigarette, the detection device is used for collecting the sound signal, and the response device is controlled based on the collected sound signal, so that the traditional key control is replaced, and the intelligent degree of the electronic cigarette is improved. Furthermore, in the control device, the preset knocking recognition model can effectively learn the characteristics of the sound signal and output a recognition result, so that the recognition accuracy is improved, and the response equipment can be accurately controlled to perform action response, thereby providing better interactive experience for users.
On the basis of the above embodiment, the method further includes:
the knocking identification model is obtained based on preset sample data and sample label training, wherein the sample data comprises a positive sample and a negative sample, the positive sample comprises a sound signal generated when a finger knocks a knocking area of an electronic cigarette rod, and the negative sample comprises a sound signal generated when other objects except the finger knock any area of the electronic cigarette rod, a sound signal generated when the finger knocks the area except the knocking area of the electronic cigarette rod, and a sound signal generated when the electronic cigarette falls or impacts.
On the basis of the above embodiment, the method further includes:
and determining the effective knocking times within a preset time interval, and if the effective knocking times meet the preset times, generating the interaction triggering signal.
On the basis of the above embodiment, the method further includes:
randomly determining a target response device in at least one response device, and generating an interaction trigger signal of the target response device; alternatively, the first and second electrodes may be,
determining a target response device in at least one response device according to a preset polling strategy, and generating an interaction trigger signal of the target response device; alternatively, the first and second electrodes may be,
and according to the type of the effective knock in a preset time interval, determining a target response device in at least one response device randomly, and generating an interaction trigger signal of the target response device.
On the basis of the above embodiment, the method further includes:
and determining the type of the effective knocking according to the number of effective knocking times and/or the knocking interval duration in the preset time interval.
Example four
Referring now to figure 5, there is shown a schematic diagram of an electronic cigarette (e.g., the terminal device or server of figure 5) 400 suitable for use in implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic cigarette shown in fig. 5 is only an example, and should not bring any limitation to the functions and the use range of the embodiment of the present disclosure.
As shown in fig. 5, the e-cigarette 400 may include a processing device (e.g., central processing unit, graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage device 408 into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM402, and the RAM403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication device 409 may allow the e-cigarette 400 to communicate wirelessly or by wire with other devices to exchange data. While figure 5 illustrates an electronic cigarette 400 having various devices, it is to be understood that not all of the illustrated devices are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 401.
The electronic device provided by the embodiment of the present disclosure and the interaction method of the electronic cigarette provided by the above embodiment belong to the same inventive concept, and technical details that are not described in detail in the embodiment can be referred to the above embodiment, and the embodiment has the same beneficial effects as the above embodiment.
EXAMPLE five
Fifth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the interaction method for an electronic cigarette according to the fifth embodiment of the present invention.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable source code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Source code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer source code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The source code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of gateway, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An interactive device of an electronic cigarette is characterized by comprising a detection device, a control device and a response device, wherein;
the detection device is electrically connected with the control device and is used for collecting sound signals and transmitting the sound signals to the control device;
the control device is electrically connected with the response device and used for identifying the received sound signal based on a preset knocking identification model to obtain an identification result, generating an interaction trigger signal when the identification result is effective knocking, and sending the interaction trigger signal to the response device;
the response device is used for responding to the interaction trigger signal.
2. The device of claim 1, wherein the detection device comprises a microphone disposed inside a stem of the electronic cigarette.
3. The device according to claim 1, wherein the knocking recognition model is trained based on preset sample data and a sample label, wherein the sample data comprises a positive sample and a negative sample, the positive sample comprises a sound signal generated when a finger knocks on a knocking area of the electronic cigarette rod, and the negative sample comprises a sound signal generated when an object other than the finger knocks on any area of the electronic cigarette rod, a sound signal generated when the finger knocks on an area other than the knocking area of the electronic cigarette rod, and a sound signal generated when the electronic cigarette falls or impacts.
4. The apparatus of claim 1, wherein the control apparatus is further configured to: and determining the effective knocking times within a preset time interval, and if the effective knocking times meet the preset times, generating the interaction triggering signal.
5. The device of any one of claims 1-4, wherein the response device is at least one of a fogger, a player, and a LED light bank.
6. The apparatus of claim 5, wherein the control apparatus is further configured to:
randomly determining a target response device in at least one response device, and generating an interaction trigger signal of the target response device; alternatively, the first and second electrodes may be,
determining a target response device in at least one response device according to a preset polling strategy, and generating an interaction trigger signal of the target response device; alternatively, the first and second electrodes may be,
and according to the type of the effective knock in a preset time interval, determining a target response device in at least one response device randomly, and generating an interaction trigger signal of the target response device.
7. The device according to claim 6, wherein the control device is further configured to determine the type of the effective tapping according to the number of effective tapping within the preset time interval and/or the duration of the tapping interval.
8. An electronic cigarette, characterized in that it comprises an interactive device of an electronic cigarette according to any of claims 1-7.
9. An interactive method of an electronic cigarette, comprising:
acquiring a sound signal, identifying the received sound signal based on a preset knocking identification model to obtain an identification result, and generating an interaction trigger signal when the identification result is effective knocking;
and controlling a response device to respond based on the interaction trigger signal.
10. A storage medium containing computer-executable instructions, which when executed by a computer processor, are for performing the method of interaction of an electronic cigarette as claimed in claim 9.
CN202110632974.1A 2021-06-07 2021-06-07 Interaction device of electronic cigarette, interaction method and storage medium Pending CN113349462A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110632974.1A CN113349462A (en) 2021-06-07 2021-06-07 Interaction device of electronic cigarette, interaction method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110632974.1A CN113349462A (en) 2021-06-07 2021-06-07 Interaction device of electronic cigarette, interaction method and storage medium

Publications (1)

Publication Number Publication Date
CN113349462A true CN113349462A (en) 2021-09-07

Family

ID=77532803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110632974.1A Pending CN113349462A (en) 2021-06-07 2021-06-07 Interaction device of electronic cigarette, interaction method and storage medium

Country Status (1)

Country Link
CN (1) CN113349462A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023169382A1 (en) * 2022-03-11 2023-09-14 青岛海尔洗衣机有限公司 Knocking-based device control method and apparatus, and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1766877A (en) * 2004-09-10 2006-05-03 索尼株式会社 User identification method, user identification device and corresponding electronic system and apparatus
CN103645845A (en) * 2013-11-22 2014-03-19 华为终端有限公司 Knocking control method and terminal
CN105559144A (en) * 2015-12-14 2016-05-11 北京希格玛和芯微电子技术有限公司 Electronic cigarette and display assembly used for same
CN108735203A (en) * 2018-03-28 2018-11-02 上海乐愚智能科技有限公司 Voice interactive method, terminal and computer-readable medium
CN108968158A (en) * 2018-08-28 2018-12-11 深圳市海派特光伏科技有限公司 Electronic cigarette interaction control method, system, electronic cigarette and storage medium
CN110265011A (en) * 2019-06-10 2019-09-20 龙马智芯(珠海横琴)科技有限公司 The exchange method and its electronic equipment of a kind of electronic equipment
CN112397065A (en) * 2020-11-04 2021-02-23 深圳地平线机器人科技有限公司 Voice interaction method and device, computer readable storage medium and electronic equipment
CN112524651A (en) * 2020-11-26 2021-03-19 青岛海尔智慧厨房电器有限公司 Cooker control method and device, electronic equipment and storage medium
CN112684967A (en) * 2021-03-11 2021-04-20 荣耀终端有限公司 Method for displaying subtitles and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1766877A (en) * 2004-09-10 2006-05-03 索尼株式会社 User identification method, user identification device and corresponding electronic system and apparatus
CN103645845A (en) * 2013-11-22 2014-03-19 华为终端有限公司 Knocking control method and terminal
CN105559144A (en) * 2015-12-14 2016-05-11 北京希格玛和芯微电子技术有限公司 Electronic cigarette and display assembly used for same
CN108735203A (en) * 2018-03-28 2018-11-02 上海乐愚智能科技有限公司 Voice interactive method, terminal and computer-readable medium
CN108968158A (en) * 2018-08-28 2018-12-11 深圳市海派特光伏科技有限公司 Electronic cigarette interaction control method, system, electronic cigarette and storage medium
CN110265011A (en) * 2019-06-10 2019-09-20 龙马智芯(珠海横琴)科技有限公司 The exchange method and its electronic equipment of a kind of electronic equipment
CN112397065A (en) * 2020-11-04 2021-02-23 深圳地平线机器人科技有限公司 Voice interaction method and device, computer readable storage medium and electronic equipment
CN112524651A (en) * 2020-11-26 2021-03-19 青岛海尔智慧厨房电器有限公司 Cooker control method and device, electronic equipment and storage medium
CN112684967A (en) * 2021-03-11 2021-04-20 荣耀终端有限公司 Method for displaying subtitles and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023169382A1 (en) * 2022-03-11 2023-09-14 青岛海尔洗衣机有限公司 Knocking-based device control method and apparatus, and storage medium

Similar Documents

Publication Publication Date Title
CN109166593B (en) Audio data processing method, device and storage medium
CN110381389B (en) Subtitle generating method and device based on artificial intelligence
CN112863547B (en) Virtual resource transfer processing method, device, storage medium and computer equipment
WO2017134935A1 (en) Information processing device, information processing method, and program
CN104049721B (en) Information processing method and electronic equipment
CN108320742A (en) Voice interactive method, smart machine and storage medium
CN110265011B (en) Electronic equipment interaction method and electronic equipment
US20140111689A1 (en) Display device, method of controlling the display device, and information processor to control the display device
CN109218535A (en) Intelligence adjusts method, apparatus, storage medium and the terminal of volume
CN106528859A (en) Data pushing system and method
CN109788345A (en) Live-broadcast control method, device, live streaming equipment and readable storage medium storing program for executing
WO2018223837A1 (en) Music playing method and related product
CN107680614B (en) Audio signal processing method, apparatus and storage medium
WO2023082703A1 (en) Voice control method and apparatus, electronic device, and readable storage medium
WO2018020764A1 (en) Content output system, terminal device, content output method, and recording medium
CN110097895B (en) Pure music detection method, pure music detection device and storage medium
CN103186227A (en) Man-machine interaction system and method
CN206378900U (en) A kind of advertisement delivery effect evaluation system based on mobile terminal
US20240004606A1 (en) Audio playback method and apparatus, computer readable storage medium, and electronic device
CN113349462A (en) Interaction device of electronic cigarette, interaction method and storage medium
CN109302528B (en) Photographing method, mobile terminal and computer readable storage medium
CN111508531A (en) Audio processing method and device
JPWO2016136104A1 (en) Information processing apparatus, information processing method, and program
WO2011122521A1 (en) Information display system, information display method, and program
CN110111795B (en) Voice processing method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination