Intelligent linkage method, device and equipment of electronic cigarette and ventilation device and medium

The intelligent linkage method between an electronic cigarette and a ventilation device addresses indoor pollution by monitoring user actions and distance to timely activate smoke recovery, enhancing environmental cleanliness and user safety.

CN119245152APending Publication Date: 2025-01-03SHENZHEN WATER WORLD INFORMATION CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411040587.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

Existing electronic cigarettes cause indoor environmental pollution and secondhand smoke inhalation due to inadequate smoke recovery in indoor environments.

Method used

An intelligent linkage method between an electronic cigarette and a ventilation device that monitors user smoking actions and distance, using sensors and Bluetooth, to timely activate the ventilation device for smoke recovery.

Benefits of technology

Effectively recovers and discharges smoke generated by electronic cigarettes, reducing indoor pollution and preventing secondhand smoke inhalation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119245152A_ABST
    Figure CN119245152A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent linkage method and device for an electronic cigarette and a ventilation device, equipment and a medium, and the method comprises the steps: monitoring the smoking action of a user based on the real-time data of the electronic cigarette; if the smoking action is monitored, obtaining a distance state between the electronic cigarette and a ventilation device; and based on the distance state between the electronic cigarette and the ventilation device, executing a target operation on the electronic cigarette or the ventilation device. Smoke generated by the electronic cigarette can be recycled and discharged in time by the ventilation device, indoor environment pollution is reduced, and other people are prevented from inhaling second-hand smoke.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic cigarettes, and in particular to an intelligent linkage method, device, equipment and medium between an electronic cigarette and a ventilation device. Background Art

[0002] As people's living standards improve, the requirements for air quality in the living environment are gradually increasing. Among the current smart home devices, indoor air circulation has not been well improved, especially for users who use e-cigarettes at home. Since e-cigarettes are locally controlled devices, the impact of smoke on the indoor environment is not taken into account. The smoke generated can easily cause indoor environmental pollution and cause others to inhale secondhand smoke, causing a large environmental impact. Summary of the invention

[0003] The main purpose of the present invention is to provide an intelligent linkage method between an electronic cigarette and a ventilation device, aiming to solve the technical problem that the smoke generated by the existing electronic cigarettes easily causes indoor environmental pollution and causes others to inhale secondhand smoke, so as to achieve the purpose of realizing that the smoke generated by the electronic cigarette can be timely recovered and discharged by the ventilation device, reducing indoor environmental pollution and avoiding others from inhaling secondhand smoke.

[0004] In order to achieve the above-mentioned object of the invention, the first aspect of the present invention provides an intelligent linkage method between an electronic cigarette and a ventilation device, comprising:

[0005] Monitor users’ smoking actions based on real-time data of e-cigarettes;

[0006] If the smoking action is detected, obtaining the distance state between the electronic cigarette and the ventilation device;

[0007] Based on the distance state between the electronic cigarette and the ventilation device, a target operation is performed on the electronic cigarette or the ventilation device.

[0008] Preferably, the monitoring of the user's smoking action based on the real-time data of the electronic cigarette includes:

[0009] Real-time monitoring of the airflow analog voltage signal of the airflow sensor built into the electronic cigarette;

[0010] The airflow simulation voltage signal is converted into a digital level signal, and if the digital level signal is a preset level signal, it is determined that the user has the smoking action.

[0011] Preferably, the monitoring of the user's smoking action based on the real-time data of the electronic cigarette includes:

[0012] Inputting the current action data of the user into a preset action recognition model for recognition, and determining the recognition error corresponding to the current action data; the preset action recognition model is trained with the historical smoking action data of the user;

[0013] If the recognition error corresponding to the current action data is within a predetermined range, it is determined that the user is taking a smoking action.

[0014] Preferably, obtaining the distance state between the electronic cigarette and the ventilation device includes:

[0015] responding to a radio frequency signal query request sent by the electronic cigarette or the ventilation device to the data link layer;

[0016] Determine the transmission power and the receiving power corresponding to the electronic cigarette or the ventilation device according to the query parameters returned by the data link layer;

[0017] Based on the transmission power of the electronic cigarette and the reception power of the ventilation device or the transmission power of the ventilation device and the reception power of the electronic cigarette, the distance state between the electronic cigarette and the ventilation device is obtained through a power attenuation model.

[0018] Preferably, the performing a target operation on the electronic cigarette or the ventilation device based on the distance state between the electronic cigarette and the ventilation device comprises:

[0019] Acquire a first analog voltage signal read by the electronic cigarette to determine a first concentration value according to the first analog voltage signal; and / or acquire a second analog voltage signal read by the ventilation device to determine a second concentration value according to the second analog voltage signal;

[0020] determining an operating parameter of the ventilation device according to the first concentration value and / or the second concentration value;

[0021] If the distance between the electronic cigarette and the ventilation device is greater than a preset value, a reminder signal is output to prompt the user to approach the ventilation device.

[0022] Preferably, performing a target operation on the electronic cigarette or the ventilation device comprises:

[0023] Based on the user's smoking action of the electronic cigarette, determining a duration corresponding to the smoking action;

[0024] Determining the user's puff rate based on the duration corresponding to the puffing action;

[0025] Based on the suction rate of the user, operating parameters of the ventilation device are determined.

[0026] Preferably, after performing a target operation on the electronic cigarette or the ventilation device based on the distance state between the electronic cigarette and the ventilation device, the method includes:

[0027] If the electronic cigarette does not have the smoking action and the distance between the electronic cigarette and the ventilation device is greater than a preset value, controlling the ventilation device to perform concentration detection;

[0028] The concentration value detected by the ventilation device is compared with the safety value to determine whether to control the ventilation device to stop working.

[0029] In a second aspect, an embodiment of the present invention provides an intelligent linkage device for an electronic cigarette and a ventilation device, comprising:

[0030] A monitoring module, used to monitor the user's smoking action based on the real-time data of the electronic cigarette;

[0031] An acquisition module, for acquiring the distance state between the electronic cigarette and the ventilation device if the smoking action is detected;

[0032] An execution module is used to execute a target operation on the electronic cigarette or the ventilation device based on the distance state between the electronic cigarette and the ventilation device.

[0033] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned method for intelligent linkage between an electronic cigarette and a ventilation device when executing the computer program.

[0034] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the intelligent linkage method between an electronic cigarette and a ventilation device as described above are implemented.

[0035] The above solution of the present invention includes at least the following beneficial effects:

[0036] The intelligent linkage method between an electronic cigarette and a ventilation device provided by the present invention first monitors the smoking action of a user based on real-time data of the electronic cigarette; if the smoking action is monitored, the distance status between the electronic cigarette and the ventilation device is obtained; based on the distance status between the electronic cigarette and the ventilation device, a target operation is performed on the electronic cigarette or the ventilation device; thereby, the smoke generated by the electronic cigarette can be recovered and discharged by the ventilation device in a timely manner, reducing indoor environmental pollution and preventing others from inhaling secondhand smoke. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0038] Figure 1 A schematic diagram of a flow chart of an intelligent linkage method between an electronic cigarette and a ventilation device provided in an embodiment of the present invention;

[0039] Figure 2 A structural block diagram of an intelligent linkage device between an electronic cigarette and a ventilation device provided in an embodiment of the present invention;

[0040] Figure 3 This is a structural block diagram of an electronic device provided by an embodiment of the present invention.

[0041] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0043] The terms "first", "second", "third", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the term "comprising" and any variation thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0044] First, the scheme of the embodiment of the present application is introduced by way of examples with reference to the relevant drawings.

[0045] like Figure 1 As shown, a specific embodiment of the present invention provides an intelligent linkage method between an electronic cigarette and a ventilation device, comprising:

[0046] S10. Based on the real-time data of the electronic cigarette, the user's smoking action is monitored.

[0047] In this embodiment, the real-time data may be an airflow simulation voltage signal detected in real time by an airflow sensor built into the electronic cigarette. When the user inhales through the electronic cigarette, the airflow sensor on the electronic cigarette can detect the airflow inhaled by the user, thereby determining the user's smoking action through the corresponding airflow simulation voltage signal; optionally, the movement changes of the electronic cigarette may also be judged by means of a gravity sensor or a gyroscope, for example, by detecting parameters such as the tilt angle through a gravity sensor or a gyroscope, thereby determining the movement changes of the electronic cigarette to determine whether the user has a smoking action.

[0048] Specifically, the above-mentioned monitoring of the user's smoking action based on the real-time data of the electronic cigarette includes: real-time monitoring of the airflow analog voltage signal of the airflow sensor built into the electronic cigarette; converting the airflow analog voltage signal into a digital level signal, and if the digital level signal is a preset level signal, it is determined that the user has a smoking action.

[0049] In this embodiment, the user's smoking action is detected by the airflow sensor, so that when the user inhales the electronic cigarette, the airflow sensor can detect the airflow change in the electronic cigarette, thereby generating a corresponding airflow analog voltage signal, and then can be converted into a corresponding digital level signal through an analog-to-digital converter and a filtering algorithm according to the output airflow analog voltage signal. It can be understood that the digital level signal includes a high level signal and a low level signal, and the preset level signal is a high level signal. When it is determined that the converted digital level signal is a high level signal, it can be determined that the user has a smoking action. When the user does not have a smoking action, it indicates that the corresponding digital level signal is a low level signal. Therefore, when it is determined that the user has a smoking action, the ventilation device can be started in time to recover and discharge the smoke.

[0050] As an optional embodiment, the above-mentioned monitoring of the user's smoking action based on the real-time data of the electronic cigarette includes: inputting the user's current action data into a preset action recognition model for recognition, and determining the recognition error corresponding to the current action data; the preset action recognition model is trained for the user's historical smoking action data; if the recognition error corresponding to the current action data is within a predetermined range, it is determined that the user has a smoking action.

[0051] In this embodiment, the historical smoking action data of the user is sensor data. For example, the sensor data in the historical smoking action of the user is obtained through a built-in acceleration sensor or a gyroscope sensor, and then the historical smoking action data of the user can be input into the model for training to obtain a preset action recognition model, and then the current action data of the user can be recognized according to the preset action recognition model, wherein the current action data of the user can be acquired in real time through the sensor of the electronic cigarette. When the smoking action of the user is recognized, the current action data corresponding to the user can be recognized to match the current action data with the historical smoking action data learned in the above-mentioned preset recognition model, and determine the error data between the current action data and the historical smoking action data. According to the ratio of the error data, it can be determined whether the recognition error is within a predetermined range. If the ratio of the error data is within the predetermined range, it can be determined that the user has a smoking action on the electronic cigarette. If the ratio of the error data is not within the predetermined range, it can be determined that the user does not have a smoking action on the electronic cigarette. Therefore, when the user has a smoking action, the ventilation device can be started in time to recover the smoke.

[0052] S20: If a smoking action is detected, the distance state between the electronic cigarette and the ventilation device is obtained.

[0053] In a specific embodiment of the present invention, the electronic cigarette and the ventilation device can be interconnected via Bluetooth or via a cloud server. For example, after the electronic cigarette is turned on, the electronic cigarette can be interconnected with the ventilation device via a gateway. When the electronic cigarette is working, the internal smoke oil is atomized to form smoke inhaled by the user. The distance between the electronic cigarette and the ventilation device can be a straight-line distance, which can be determined by using Bluetooth modules on the electronic cigarette and the ventilation device respectively, so that when the user uses the electronic cigarette close to the ventilation device, the ventilation device will be activated to recycle the smoke.

[0054] Specifically, the above-mentioned acquisition of the distance status between the electronic cigarette and the ventilation device includes: responding to a radio frequency signal query request sent by the electronic cigarette or the ventilation device to the data link layer; determining the transmission power and receiving power corresponding to the electronic cigarette or the ventilation device according to the query parameters returned by the data link layer; based on the transmission power of the electronic cigarette and the receiving power of the ventilation device or the transmission power of the ventilation device and the receiving power of the electronic cigarette, the distance status between the electronic cigarette and the ventilation device is acquired through a power attenuation model.

[0055] Among them, the distance between the electronic cigarette and the ventilation device can be determined by Bluetooth RSSI ranging. RSSI uses radio frequency signals to achieve ranging, which is mainly based on the principle that radio waves or sound waves are transmitted in the medium, and the signal power attenuates with the propagation distance. According to the transmission power of the known signal of the beacon node and the signal power received by the node, the distance between the nodes can be calculated through the attenuation model between the signal and the distance; the above-mentioned electronic cigarette and the ventilation device are interconnected through Bluetooth. The Bluetooth protocol includes a data link layer and a physical layer. When measuring the distance, the electronic cigarette or the ventilation device sends an RSSI query request to the data link layer, and the data link layer can start the corresponding integration circuit of the physical layer, so that the data link layer can return the query parameters to determine the corresponding RSSI radio frequency signal. The signal power of the radio frequency signal includes the transmission power and the receiving power. The signal power of the radio frequency signal and the attenuation model of the signal and the distance can be used to calculate the distance between the electronic cigarette and the ventilation device. Therefore, the corresponding distance state can be determined according to the distance between the electronic cigarette and the ventilation device.

[0056] S20: Based on the distance state between the electronic cigarette and the ventilation device, perform a target operation on the electronic cigarette or the ventilation device.

[0057] In a specific embodiment of the present invention, when calculating the distance between the electronic cigarette and the ventilation device, the relationship between the distance between the electronic cigarette and the ventilation device and the preset value can be determined. When the distance between the electronic cigarette and the ventilation device is too large, the user needs to be prompted to get closer to the ventilation device during smoking; therefore, when the user is within the recovery range of the ventilation device during smoking, the distance between the electronic cigarette and the ventilation device is less than or equal to the preset value, and the concentration value of the electronic cigarette can be calculated to determine the operating parameters for operation.

[0058] Specifically, the above-mentioned target operation on the electronic cigarette or the ventilation device based on the distance state between the electronic cigarette and the ventilation device includes: if the distance between the electronic cigarette and the ventilation device is less than or equal to a preset value, obtaining a first analog voltage signal read by the electronic cigarette to determine a first concentration value according to the first analog voltage signal; and / or obtaining a second analog voltage signal read by the ventilation device to determine a second concentration value according to the second analog voltage signal; determining the operating parameters of the ventilation device according to the first concentration value and / or the second concentration value; if the distance between the electronic cigarette and the ventilation device is greater than a preset value, outputting a reminder signal to prompt the user to approach the ventilation device.

[0059] In this embodiment, the smoke generated by the atomization of the electronic cigarette and the smoke in the environment where the user is located can be determined by the smoke sensor. When calculating the concentration value of the smoke generated by the electronic cigarette, the first analog voltage signal generated by the smoke sensor can be read according to the analog-to-digital converter, and then the first analog voltage signal can be converted into a first concentration value according to the characteristic curve function of the sensor. The smoke sensor can also be set on the ventilation device to detect the second analog voltage signal through the smoke sensor on the ventilation device, and then the second analog voltage signal can be converted into a second concentration value; wherein the characteristic curve function of the sensor represents the relationship between the sensor output signal and the measured physical quantity, and the above-mentioned smoke sensor can adopt the MQ-2 type smoke sensor, so its corresponding function can be expressed as K=a 0 +a 1 R+a 2 R2+...,a 0 、a 1 、a 2 ...is a fitting parameter, K represents a concentration value, and R is a resistance value of the sensor, thereby calculating the first concentration value and the second concentration value through the above function, and then determining the operating parameters of the ventilation device according to the first concentration value or the second concentration value; optionally, the operating parameters of the ventilation device may be different gears, such as a high gear, a middle gear, and a low gear, thereby controlling the gear of the ventilation device according to the first concentration value or the second concentration value to ensure that the ventilation device has a higher efficiency in recovering smoke.

[0060] After determining the first concentration value and the second concentration value, the target concentration value can also be calculated by weighted average, thereby determining the operating parameters of the ventilation device according to the target concentration value. Specifically, the target concentration value can be expressed as K′=k 1 w 1 +k 2 w 2 , where k 1 represents the first concentration value, w 1 is the weight value corresponding to the first concentration value, k 2 Indicates the second concentration value, w 2 The weight value corresponding to the second concentration value is represented, and then the operating parameters of the ventilation device can be determined according to the target concentration value.

[0061] Optionally, the electronic cigarette can be provided with an audio module. When the distance between the electronic cigarette and the ventilation device is greater than a preset value, it indicates that the distance between the user's electronic cigarette and the ventilation device is too large, and a corresponding reminder signal can be output through the audio module to remind the user to get close to the ventilation device during smoking, so that the ventilation device can recover the smoke more efficiently. It can be understood that the reminder signal can be an audio signal, or a vibration signal, a light signal, etc., so as to promptly inform the user to get close to the ventilation device to complete the smoke recovery operation.

[0062] As an optional embodiment, the above-mentioned target operation on the electronic cigarette or the ventilation device based on the distance state between the electronic cigarette and the ventilation device includes: if there is no smoking action of the electronic cigarette and the distance between the electronic cigarette and the ventilation device is greater than a preset value, controlling the ventilation device to perform concentration detection; comparing the concentration value detected by the ventilation device with the safety value to determine whether to control the ventilation device to stop working.

[0063] In this embodiment, the safety value is a pre-set smoke concentration value. By comparing the first concentration value, the second concentration value or the target concentration value with the safety value respectively, when the first concentration value, the second concentration value or the target concentration value reaches the safety value, for example, the safety value is 100ppm, then when the first concentration value, the second concentration value or the target concentration value is reduced to 100ppm, it can be determined that the ventilation device will be stopped, thereby allowing it to recover smoke more thoroughly while reducing power consumption.

[0064] Specifically, the above-mentioned target operation on the electronic cigarette or ventilation device includes: determining the duration corresponding to the smoking action based on the user's smoking action on the electronic cigarette; determining the user's puffing rate based on the duration corresponding to the smoking action; and determining the operating parameters of the ventilation device according to the user's puffing rate.

[0065] In this embodiment, the puffing rate can be expressed as the number of puffing actions corresponding to each timing cycle, and the timing cycle can be set according to actual needs; therefore, when the user uses the electronic cigarette, each puffing action can be timed to determine the duration corresponding to each puffing action, and then the corresponding number of puffing actions can be determined in each timing cycle. For example, if each puffing action is 15 seconds, the corresponding puffing action per minute can be determined to be 4 times, and the corresponding puffing rate is 4 times / minute. Therefore, after determining the user's puffing rate, the ventilation device can be adjusted to work at different gears, for example, low The suction rate corresponding to the gear position can be 1-2 times / minute, the suction rate corresponding to the middle gear position can be 3-4 times / minute, and the suction rate corresponding to the high gear position can be greater than 5 times / minute, so that the ventilation device can dynamically adjust its gear position to work, thereby ensuring higher recovery efficiency; optionally, the number of smoking actions corresponding to the preset amount of smoke oil and the time consumed by each smoking action can be determined according to the preset amount of smoke oil and the duration of each smoking action, and then the smoke concentration value corresponding to the preset amount of smoke oil is determined according to the smoke concentration value generated by a single smoking action and the number of smoking actions to control the ventilation device to adjust its corresponding gear position to work.

[0066] The intelligent linkage method between an electronic cigarette and a ventilation device provided by the present invention first monitors the smoking action of the user based on the real-time data of the electronic cigarette; if the smoking action is monitored, the distance status between the electronic cigarette and the ventilation device is obtained; based on the distance status between the electronic cigarette and the ventilation device, a target operation is performed on the electronic cigarette or the ventilation device; thereby, the smoke generated by the electronic cigarette can be recovered and discharged by the ventilation device in a timely manner, reducing indoor environmental pollution and preventing others from inhaling secondhand smoke.

[0067] like Figure 2 As shown, an embodiment of the present invention provides an intelligent linkage device 40 of an electronic cigarette and a ventilation device, comprising:

[0068] A monitoring module 41, used to monitor the user's smoking action based on real-time data of the electronic cigarette;

[0069] An acquisition module 42 is used to acquire the distance state between the electronic cigarette and the ventilation device if a smoking action is detected;

[0070] The execution module 43 is used to execute a target operation on the electronic cigarette or the ventilation device based on the distance state between the electronic cigarette and the ventilation device.

[0071] Preferably, the monitoring module 41 includes:

[0072] The monitoring submodule is used to monitor the airflow analog voltage signal of the airflow sensor built into the electronic cigarette in real time;

[0073] The conversion submodule is used to convert the airflow analog voltage signal into a digital level signal. If the digital level signal is a preset level signal, it is determined that the user has a smoking action.

[0074] Preferably, the monitoring module 41 further includes:

[0075] The recognition submodule is used to input the user's current action data into a preset action recognition model for recognition, and determine the recognition error corresponding to the current action data; the preset action recognition model is trained by the user's historical smoking action data;

[0076] The first determination submodule is used to determine that the user has a smoking action if the recognition error corresponding to the current action data is within a predetermined range.

[0077] Preferably, the acquisition module 42 includes:

[0078] A response submodule, for responding to a radio frequency signal query request sent by the electronic cigarette or ventilation device to the data link layer;

[0079] The second determination submodule is used to determine the transmission power and the receiving power corresponding to the electronic cigarette or the ventilation device according to the query parameters returned by the data link layer;

[0080] The first acquisition submodule is used to acquire the distance state between the electronic cigarette and the ventilation device through a power attenuation model based on the transmission power of the electronic cigarette and the reception power of the ventilation device or the transmission power of the ventilation device and the reception power of the electronic cigarette.

[0081] Preferably, the execution module 43 includes:

[0082] A second acquisition submodule is used to acquire a first analog voltage signal read by the electronic cigarette to determine a first concentration value according to the first analog voltage signal; and / or acquire a second analog voltage signal read by the ventilation device to determine a second concentration value according to the second analog voltage signal;

[0083] a third determination submodule, configured to determine an operating parameter of the ventilation device according to the first concentration value and / or the second concentration value;

[0084] The output submodule is used to output a reminder signal to prompt the user to approach the ventilation device if the distance between the electronic cigarette and the ventilation device is greater than a preset value.

[0085] Preferably, the execution module 43 includes:

[0086] The fourth determination submodule is used to determine the duration corresponding to the smoking action based on the user's smoking action on the electronic cigarette;

[0087] A fifth determination submodule, for determining the user's puffing rate based on the duration corresponding to the puffing action;

[0088] The sixth determination submodule is used to determine the operating parameters of the ventilation device according to the user's suction rate.

[0089] Preferably, the above device also includes:

[0090] A detection module, used for controlling the ventilation device to perform concentration detection if there is no smoking action in the electronic cigarette and the distance between the electronic cigarette and the ventilation device is greater than a preset value;

[0091] The comparison module is used to compare the concentration value detected by the ventilation device with the safety value to determine whether to control the ventilation device to stop working.

[0092] The intelligent linkage device 40 of the electronic cigarette and the ventilation device provided by the present invention first monitors the user's smoking action based on the real-time data of the electronic cigarette; if the smoking action is monitored, the distance status between the electronic cigarette and the ventilation device is obtained; based on the distance status between the electronic cigarette and the ventilation device, a target operation is performed on the electronic cigarette or the ventilation device; thereby, the smoke generated by the electronic cigarette can be recovered and discharged by the ventilation device in time, reducing indoor environmental pollution and preventing others from inhaling secondhand smoke.

[0093] It should be noted that the intelligent linkage device 40 of an electronic cigarette and a ventilation device provided in a specific embodiment of the present invention is a device corresponding to the intelligent linkage method of an electronic cigarette and a ventilation device, and all embodiments of the intelligent linkage method of an electronic cigarette and a ventilation device are applicable to the intelligent linkage device 40 of an electronic cigarette and a ventilation device. In the embodiments of the intelligent linkage device 40 of an electronic cigarette and a ventilation device, corresponding modules correspond to the steps in the intelligent linkage method of an electronic cigarette and a ventilation device, and can achieve the same or similar beneficial effects. To avoid excessive repetition, each module in the intelligent linkage device 40 of an electronic cigarette and a ventilation device will not be described in detail herein.

[0094] like Figure 3 As shown, a specific embodiment of the present invention further provides an electronic device 50, including a memory 502, a processor 501, and a computer program stored in the memory 502 and executable on the processor 501, wherein the processor 501 implements the steps of the above-mentioned method for intelligent linkage between an electronic cigarette and a ventilation device when executing the computer program.

[0095] Specifically, the processor 501 is used to call the computer program stored in the memory 502 and execute the following steps:

[0096] Monitor users’ smoking actions based on real-time data of e-cigarettes;

[0097] If a smoking action is detected, the distance status between the electronic cigarette and the ventilation device is obtained;

[0098] Based on the distance status between the electronic cigarette and the ventilation device, a target operation is performed on the electronic cigarette or the ventilation device.

[0099] Optionally, the processor 501 monitors the user's smoking action based on the real-time data of the electronic cigarette, including:

[0100] Real-time monitoring of the airflow simulation signal of the airflow sensor built into the electronic cigarette;

[0101] The airflow analog signal is converted into a digital level signal. If the digital level signal is a preset level signal, it is determined that the user has a smoking action.

[0102] Optionally, the processor 501 monitors the user's smoking action based on the real-time data of the electronic cigarette, including:

[0103] Inputting the user's current action data into a preset action recognition model for recognition, and determining the recognition error corresponding to the current action data; the preset action recognition model is trained with the user's historical smoking action data;

[0104] If the recognition error corresponding to the current action data is within a predetermined range, it is determined that the user is taking a smoking action.

[0105] Optionally, the processor 501 performs the step of obtaining the distance state between the electronic cigarette and the ventilation device, including:

[0106] responding to a radio frequency signal query request sent by the electronic cigarette or ventilation device to the data link layer;

[0107] Determine the transmission power and receiving power corresponding to the electronic cigarette or ventilation device according to the query parameters returned by the data link layer;

[0108] Based on the transmission power of the electronic cigarette and the receiving power of the ventilation device or the transmission power of the ventilation device and the receiving power of the electronic cigarette, the distance state between the electronic cigarette and the ventilation device is obtained through a power attenuation model.

[0109] Optionally, the processor 501 performs a target operation on the electronic cigarette or the ventilation device based on the distance state between the electronic cigarette and the ventilation device, including:

[0110] If the distance between the electronic cigarette and the ventilation device is less than or equal to a preset value, obtaining a first analog voltage signal read by the electronic cigarette to determine a first concentration value according to the first analog voltage signal; and / or obtaining a second analog voltage signal read by the ventilation device to determine a second concentration value according to the second analog voltage signal;

[0111] determining an operating parameter of the ventilation device according to the first concentration value and / or the second concentration value;

[0112] If the distance between the electronic cigarette and the ventilation device is greater than a preset value, a reminder signal is output to prompt the user to approach the ventilation device.

[0113] Optionally, the processor 501 performs a target operation on the electronic cigarette or ventilation device including:

[0114] Based on the user's smoking action of the electronic cigarette, determining the duration corresponding to the smoking action;

[0115] Determining the user's puff rate based on the duration of the puff action;

[0116] Based on the user's suction rate, the operating parameters of the ventilation device are determined.

[0117] Optionally, the processor 501 performs a target operation on the electronic cigarette or the ventilation device based on the distance state between the electronic cigarette and the ventilation device, which includes:

[0118] If there is no smoking action of the electronic cigarette and the distance between the electronic cigarette and the ventilation device is greater than a preset value, the ventilation device is controlled to perform concentration detection;

[0119] The concentration value detected by the ventilation device is compared with the safety value to determine whether the ventilation device should be controlled to stop working.

[0120] That is, in a specific embodiment of the present invention, the processor 501 of the electronic device 50 implements the steps of the above-mentioned intelligent linkage method between the electronic cigarette and the ventilation device when executing the computer program, so that the smoke generated by the electronic cigarette can be promptly recovered and discharged by the ventilation device, reducing indoor environmental pollution and preventing others from inhaling secondhand smoke.

[0121] It should be noted that, since the processor 501 of the electronic device 50 implements the steps of the above-mentioned intelligent linkage method between the electronic cigarette and the ventilation device when executing the computer program, all embodiments of the above-mentioned intelligent linkage method between the electronic cigarette and the ventilation device are applicable to the electronic device 50 and can achieve the same or similar beneficial effects.

[0122] The computer-readable storage medium provided in the embodiment of the present invention stores a computer program on the computer-readable storage medium. When the computer program is executed by the processor, the various processes of the intelligent linkage method between the electronic cigarette and the ventilation device or the intelligent linkage method between the electronic cigarette and the ventilation device on the application end provided in the embodiment of the present invention are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0123] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).

[0124] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0125] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.

Claims

1. An intelligent linkage method between an electronic cigarette and a ventilation device, characterized in that: include: Monitor users’ smoking actions based on real-time data of e-cigarettes; If the smoking action is detected, obtaining the distance state between the electronic cigarette and the ventilation device; Based on the distance state between the electronic cigarette and the ventilation device, a target operation is performed on the electronic cigarette or the ventilation device.

2. The intelligent linkage method between an electronic cigarette and a ventilation device according to claim 1, characterized in that: The real-time data of the electronic cigarette is used to monitor the smoking action of the user, including: Real-time monitoring of the airflow simulation signal of the airflow sensor built into the electronic cigarette; The airflow simulation signal is converted into a digital level signal, and if the digital level signal is a preset level signal, it is determined that the user has the smoking action.

3. The intelligent linkage method between an electronic cigarette and a ventilation device according to claim 1, characterized in that: The real-time data of the electronic cigarette is used to monitor the smoking action of the user, including: Inputting the current action data of the user into a preset action recognition model for recognition, and determining the recognition error corresponding to the current action data; the preset action recognition model is trained with the historical smoking action data of the user; If the recognition error corresponding to the current action data is within a predetermined range, it is determined that the user is taking a smoking action.

4. The intelligent linkage method between an electronic cigarette and a ventilation device according to claim 1, characterized in that: The obtaining of the distance state between the electronic cigarette and the ventilation device comprises: responding to a radio frequency signal query request sent by the electronic cigarette or the ventilation device to the data link layer; Determine the transmission power and the receiving power corresponding to the electronic cigarette or the ventilation device according to the query parameters returned by the data link layer; Based on the transmission power of the electronic cigarette and the reception power of the ventilation device or the transmission power of the ventilation device and the reception power of the electronic cigarette, the distance state between the electronic cigarette and the ventilation device is obtained through a power attenuation model.

5. The intelligent linkage method between an electronic cigarette and a ventilation device according to claim 1, characterized in that: The performing a target operation on the electronic cigarette or the ventilation device based on the distance state between the electronic cigarette and the ventilation device includes: If the distance between the electronic cigarette and the ventilation device is less than or equal to a preset value, obtaining a first analog voltage signal read by the electronic cigarette to determine a first concentration value according to the first analog voltage signal; and / or obtaining a second analog voltage signal read by the ventilation device to determine a second concentration value according to the second analog voltage signal; determining an operating parameter of the ventilation device according to the first concentration value and / or the second concentration value; If the distance between the electronic cigarette and the ventilation device is greater than a preset value, a reminder signal is output to prompt the user to approach the ventilation device.

6. The intelligent linkage method between an electronic cigarette and a ventilation device according to claim 1, characterized in that: The performing a target operation on the electronic cigarette or the ventilation device comprises: Based on the user's smoking action of the electronic cigarette, determining a duration corresponding to the smoking action; Determining the user's puff rate based on the duration of the puff action; Based on the suction rate of the user, operating parameters of the ventilation device are determined.

7. The intelligent linkage method between an electronic cigarette and a ventilation device according to claim 1, characterized in that: The step of performing a target operation on the electronic cigarette or the ventilation device based on the distance between the electronic cigarette and the ventilation device includes: If the electronic cigarette does not have the smoking action and the distance between the electronic cigarette and the ventilation device is greater than a preset value, controlling the ventilation device to perform concentration detection; The concentration value detected by the ventilation device is compared with the safety value to determine whether to control the ventilation device to stop working.

8. An intelligent linkage device between an electronic cigarette and a ventilation device, characterized in that: include: A monitoring module, used to monitor the user's smoking action based on the real-time data of the electronic cigarette; An acquisition module, for acquiring the distance state between the electronic cigarette and the ventilation device if the smoking action is detected; An execution module is used to execute a target operation on the electronic cigarette or the ventilation device based on the distance state between the electronic cigarette and the ventilation device.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the intelligent linkage method between the electronic cigarette and the ventilation device as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by the processor, the steps of the intelligent linkage method between the electronic cigarette and the ventilation device as claimed in any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Method for analyzing components and spatial distribution of atomized electronic cigarette tar based on portable gas chromatograph-mass spectrometer

    CN120539303A