Smoking set control method, device and equipment and storage medium

By using distance sensors and touch switches in cigarettes, automatic control of the heating process of cigarette insertion and smoking is achieved, solving the problem of lack of automation and intelligence in existing cigarettes and improving user experience.

CN119791349APending Publication Date: 2025-04-11SHENZHEN GEEKVAPE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510021987.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-06
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

The existing cigarette insertion heating process lacks automaticity and intelligence, and the user experience is poor.

Method used

Set a distance sensor and a touch switch in the smoke tool. The distance sensor detects whether the cartridge in the cigarette cup is inserted through the distance sensor, and determines whether the cartridge is inserted correctly through the touch switch, so as to automatically control the heating component to heat.

Benefits of technology

The self-start of the cigarette insertion heating function of the cigarette device has been realized, which improves the automation and intelligence of the cigarette device and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119791349A_ABST
    Figure CN119791349A_ABST
Patent Text Reader

Abstract

The invention is suitable for the field of appliance control, and provides a smoking set control method, device and equipment and a storage medium, and the method comprises the steps: controlling a distance sensor to carry out distance detection in a cigarette cup, and obtaining a first distance value; when the first distance value is within the first distance range, returning to the step of controlling the distance sensor to detect the distance in the smoke cup; under the condition that the first distance value is within the second distance range, a heating signal is output to the heating assembly; under the condition that the first distance value is not in the first distance range and the second distance range, if a touch signal triggered by the touch switch is received, a heating signal is output to the heating assembly for heating. According to the scheme, the automation and intelligence of the smoking set can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of device control, and in particular, relates to a smoking device control method, device, equipment and storage medium. Background Art

[0002] Current smoking devices, such as HNB (Heat Not Burning) smoking devices, can heat an aerosol-forming substrate to form an aerosol.

[0003] The aerosol-forming matrix is ​​usually inserted into the cigarette cup of the smoking device in the form of a cigarette cartridge. After the user inserts the cigarette cartridge, the user triggers the button or touch screen to start heating the smoking device. The heating process of the smoking device lacks automation and intelligence, and the user experience is poor. Summary of the invention

[0004] The embodiments of the present application provide a smoking device control method, device, equipment and storage medium to solve the problem that the cigarette insertion and heating process of the smoking device lacks automation and intelligence.

[0005] A first aspect of an embodiment of the present application provides a method for controlling a smoking device, wherein the smoking device comprises a distance sensor, a cigarette cup for containing a cigarette cartridge, and a heating component for heating the cigarette cartridge, wherein the cigarette cup is arranged in a receiving cavity of the smoking device; the distance sensor is arranged on a side wall of the cigarette cup toward the inside of the cigarette cup; a touch switch is arranged at the bottom of the cigarette cup;

[0006] The method comprises:

[0007] Controlling the distance sensor to perform distance detection inside the cigarette cup to obtain a first distance value;

[0008] When the first distance value is within a first distance range, returning to the step of controlling the distance sensor to perform distance detection inside the cigarette cup; the first distance range is used to determine whether the cigarette cup contains no cigarette cartridge;

[0009] When the first distance value is within the second distance range, a heating signal is output to the heating component; the heating signal is used to control the heating component to heat the cigarette cartridge in the cigarette cup; the second distance range is used to determine the situation of the cigarette cartridge in the cigarette cup;

[0010] When the first distance value is not within the first distance range and the second distance range, if a touch signal triggered by the touch switch is received, the heating signal is output to the heating component for heating;

[0011] The distance value in the first distance range is greater than the distance value in the second distance range.

[0012] A second aspect of the embodiments of the present application provides a smoking device control device, wherein the smoking device includes a distance sensor, a heating component and a cigarette cup for containing a cigarette cartridge, wherein the cigarette cup is arranged in a receiving cavity of the smoking device; a touch switch is arranged at the bottom of the cigarette cup; the heating component is arranged at the bottom of the receiving cavity, a through hole is arranged at the bottom of the cigarette cup, and the heating component is inserted through the through hole and arranged in the cigarette cup for heating the cigarette cartridge; the distance sensor is arranged on the side wall of the cigarette cup toward the inside of the cigarette cup;

[0013] The device comprises:

[0014] a distance detection module, used for controlling the distance sensor to perform distance detection inside the cigarette cup to obtain a first distance value; when the first distance value is within a first distance range, returning to execute the step of controlling the distance sensor to perform distance detection inside the cigarette cup; the first distance range is used for determining whether the cigarette cup contains no cigarette cartridge;

[0015] A first heating module is used to output a heating signal to the heating component when the first distance value is within a second distance range; the heating signal is used to control the heating component to heat the cigarette cartridge in the cigarette cup; the second distance range is used to determine the situation of the cigarette cartridge in the cigarette cup;

[0016] a second heating module, configured to output the heating signal to the heating component for heating if a touch signal triggered by the touch switch is received when the first distance value is not within the first distance range and the second distance range;

[0017] The distance value in the first distance range is greater than the distance value in the second distance range.

[0018] A third aspect of an embodiment of the present application 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 method described in the first aspect when executing the computer program.

[0019] A fourth aspect of an embodiment of the present application 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 method described in the first aspect are implemented.

[0020] The fifth aspect of the present application provides a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying a computer-readable code. When the computer-readable code is executed in an electronic device, the processor in the electronic device executes the steps in the method described in the first aspect above.

[0021] In the above scheme in the embodiment of the present application, a distance sensor is set on the side wall of the cigarette cup in the smoking device and a touch switch is set on the bottom of the cigarette cup. The two can adapt to different situations to accurately detect whether a cigarette cartridge is inserted in the cigarette cup, realize the self-starting of the cigarette heating function in the smoking device, improve the automation and intelligence of the smoking device, and ensure a good user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Moreover, the same reference numerals are used throughout the drawings to represent the same components. In the drawings:

[0023] Figure 1 is a cross-sectional schematic diagram of the smoking device structure in some embodiments of the present application;

[0024] Figure 2 is a flow chart of a smoking device control method in some embodiments of the present application;

[0025] Figure 3 is a structural diagram of a smoking device control device in some embodiments of the present application;

[0026] Figure 4 It is a structural diagram of an electronic device provided in an embodiment of the present application.

[0027] Reference numerals:

[0028] 1- distance sensor, 2- cigarette cup, 3- heating component, 4- touch switch. DETAILED DESCRIPTION

[0029] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.

[0030] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.

[0031] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.

[0032] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0033] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0034] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.

[0035] Combination Figure 1 As shown, in some embodiments, a smoking article control method is proposed, and the smoking article applicable to the method has the following structural features.

[0036] The smoking device includes a distance sensor, a cigarette cup for holding a cigarette cartridge, and a heating component for heating the cigarette cartridge. The cigarette cup is arranged in the accommodating cavity of the smoking device, and the distance sensor is arranged on the side wall of the cigarette cup toward the inside of the cigarette cup. A touch switch is arranged at the bottom of the cigarette cup.

[0037] Optionally, the distance sensor is, for example, an infrared sensor, an acoustic wave sensor, and the like.

[0038] Optionally, the cigarette cup is a cup-shaped structure with an opening and a bottom, and has a receiving cavity in the middle, and the cigarette cartridge can be pressed from the opening to the bottom and loaded into the receiving cavity.

[0039] When the cigarette cartridge is inserted, the touch switch arranged at the bottom of the cigarette cup will be triggered. The touch switch has a rebound function, and when the cigarette cartridge is taken out of the cigarette cup, the touch switch automatically rebounds to the state where there is no cigarette cartridge inserted in the cigarette cup.

[0040] Optionally, the heating methods of the smoking device include various forms such as internal center heating, external circumferential heating and mixed heating. In the form of external circumferential heating, the heating component can heat the cigarette cartridge at the bottom or surrounding side of the cigarette cup, and the heating component can be a heating block set at the corresponding position. In the form of internal center heating, the heating component can heat the center of the cigarette cartridge by inserting it into the cigarette cartridge, and the heating component can be a heating needle set at the corresponding position. In the form of mixed heating, the setting methods of the heating components in the above two forms can be included. During operation, the heating control of the heating component used in the corresponding heating form in the smoking device is realized through the set smoking device control method.

[0041] Combination Figure 1 As shown, in some optional specific embodiments, the structural features of the above-mentioned smoking articles are exemplarily described.

[0042] exist Figure 1 In the structure shown, the heating component 3 is arranged at the bottom of the accommodating cavity of the smoking device, and a through hole is provided at the bottom of the cigarette cup 2. The heating component 3 is inserted through the through hole and arranged in the cigarette cup 2 for heating the cigarette cartridge.

[0043] When the cigarette cartridge is loaded into the cigarette cup 2, the heating component 3 will be inserted into the cigarette cartridge to heat the cigarette cartridge at the center of the cigarette cartridge. Optionally, a resistance wire can be arranged on the heating component 3. When the consumer inhales, the cigarette cartridge is inserted into the cigarette cup 2, and the heating component 3 is inserted into the cigarette cup 2 to penetrate the tobacco part in the cigarette cartridge, and the battery is started to supply power to the resistor on the heating needle, and the resistance wire heats up to bake the tobacco part in the cigarette cartridge.

[0044] Optionally, Figure 1 In the figure, the distance sensor 1 passes through the side wall of the cigarette cup 2, and the sensing head of the distance sensor 1 is embedded in the inner wall of the cigarette cup 2 and is arranged toward the inside of the cigarette cup 2, so as to detect the distance inside the cigarette cup 2 to determine whether a cigarette cartridge is inserted into the cigarette cup 2.

[0045] Optionally, the touch switch 4 can be arranged around the heating component 3 at the bottom of the cigarette cup 2 (eg Figure 1 ), or it may be arranged at the bottom of the cigarette cup 2 on one side of the heating component 3 (not shown), and the position may be designed according to actual needs to meet product design requirements in different situations.

[0046] The smoking device also includes components such as a display screen, a heating circuit, a charging circuit, and touch buttons. Accordingly, the software configuration of the device includes corresponding functional modules, such as a display module, a heating module, a charging module, a button module, a touch module, and the like.

[0047] In an alternative embodiment, in combination Figure 2 As shown, a smoking device control method provided in an embodiment of the present application includes:

[0048] Step 201, controlling the distance sensor to perform distance detection inside the cigarette cup to obtain a first distance value.

[0049] When the distance sensor is an acoustic wave sensor, the distance sensor is controlled to emit acoustic waves and receive echoes to achieve distance detection. The transmission distance can be calculated based on the time difference between the emission of the acoustic wave and the reception of the echo and the acoustic wave transmission speed to achieve distance detection. Alternatively, the transmission distance can be calculated based on the acoustic wave intensity loss between the emission of the acoustic wave and the reception of the echo to achieve distance detection.

[0050] Alternatively, the distance sensor is a light sensor, and the distance sensor is controlled to emit a light beam and receive a reflected light beam to achieve distance detection. The transmission distance can be calculated based on the time difference between the emission of the light beam and the reception of the reflected light beam and the light beam transmission speed to achieve distance detection. Alternatively, the transmission distance can be calculated based on the light beam intensity loss between the emission of the light beam and the reception of the reflected light beam to achieve distance detection.

[0051] In an optional implementation process, controlling the distance sensor to perform distance detection inside the cigarette cup to obtain a distance value includes:

[0052] Outputting a ranging signal to the distance sensor; obtaining a distance value calculated by the distance sensor based on the intensity loss information of the reflected light beam and the ranging light beam.

[0053] The ranging signal is used to control the distance sensor to emit a ranging beam into the cigarette cup and receive a reflected beam of the ranging beam. The ranging beam and the reflected beam can be infrared beams, etc.

[0054] Optionally, the intensity loss of the light beam may be calculated by an optical power meter, a spectrum analyzer, or the like.

[0055] In this way, by utilizing the intensity loss in light beam propagation to implement distance detection, it can effectively adapt to distance detection in a cigarette cup environment and ensure detection accuracy.

[0056] The process of implementing distance detection by the distance sensor can be applied to step 201, and is also applicable to the steps of performing distance detection by the distance sensor in subsequent embodiments.

[0057] Step 202: determine whether the first distance value is within a first distance range.

[0058] When the first distance value is within the first distance range, the process returns to step 201 to control the distance sensor to perform distance detection inside the cigarette cup.

[0059] Optionally, when the first distance value is within the first distance range, the process may return to step 201 at a set time interval, that is, execute a loop process of controlling the distance sensor to perform distance detection inside the cigarette cup next time.

[0060] The set time interval is, for example, 10 milliseconds, 15 milliseconds, etc. That is, the smoking device can collect the distance value in the smoking cup through the distance sensor every 10 milliseconds.

[0061] Optionally, the first distance range is used to determine whether the cigarette cup contains no cigarette cartridge.

[0062] When the first distance value is within the first distance range, it is confirmed that the cigarette cup does not contain a cigarette cartridge.

[0063] In some cases, the distance sensor may be disposed toward the heating component inside the cigarette cup, or toward the inner wall of the cigarette cup on the side opposite to the position of the distance sensor.

[0064] Correspondingly, the distance value within the first distance range corresponds to the relative distance value between the distance sensor and the heating component in the cigarette cup when the cigarette cup does not contain a cigarette cartridge, or corresponds to the relative distance value between the distance sensor and the inner wall of the cigarette cup on the side opposite to the distance sensor when the cigarette cup does not contain a cigarette cartridge.

[0065] In an optional implementation, when the cigarette cup does not contain a cigarette cartridge, the distance sensor is controlled to perform distance detection inside the cigarette cup to obtain a second distance value; the second distance value is superimposed on the set data floating range to obtain the first distance range.

[0066] Optionally, the second distance value may be the relative distance value between the aforementioned distance sensor and the heating component in the cigarette cup, or the relative distance value between the distance sensor and the inner wall of the cigarette cup on the side opposite to the distance sensor.

[0067] Optionally, a data floating range is set, for example, up and down 5 mm, 6 mm, etc.

[0068] Based on the situation that there is no cigarette cartridge in the cigarette cup, the pre-measurement setting of the relevant distance range can be realized, so as to facilitate the subsequent effective reference judgment of the situation that there is no cigarette cartridge in the cigarette cup.

[0069] Step 203: determine whether the first distance value is within the second distance range.

[0070] When the first distance value is within the second distance range, a heating signal is output to the heating component.

[0071] The heating signal is used to control the heating component to heat the cigarette cartridge in the cigarette cup.

[0072] Optionally, the second distance range is used to determine whether the cigarette cartridge is contained in the cigarette cup.

[0073] Optionally, the distance values ​​in the first distance range are greater than the distance values ​​in the second distance range.

[0074] When the first distance value is within the second distance range, it is confirmed that the user has inserted the cigarette cartridge into the cigarette cup, that is, it is confirmed that the cigarette cup contains a cigarette cartridge. In this case, the smoking device can automatically exit the standby state and control the heating component to start heating, realizing automatic start-up when the cigarette is inserted, so that the heating process of the smoking device is automatic and intelligent.

[0075] Optionally, the distance value within the second distance range corresponds to a relative distance value between the distance sensor and the cigarette cartridge when the cigarette cup contains a cigarette cartridge.

[0076] In an optional implementation, when a cigarette cartridge is contained in the cigarette cup, the distance sensor can be controlled to perform distance detection inside the cigarette cup to obtain a third distance value; the third distance value is superimposed on the set data floating range to obtain a second distance range.

[0077] Optionally, the third distance value may be the relative distance value between the aforementioned distance sensor and the cigarette cartridge.

[0078] Optionally, a data floating range is set, for example, up and down 5 mm, 6 mm, etc.

[0079] Based on the situation that the cigarette cup contains a cigarette cartridge, the pre-measurement setting of the relevant distance range can be realized, so as to facilitate the subsequent effective reference judgment of the situation that the cigarette cup contains a cigarette cartridge.

[0080] When the first distance value is not within the first distance range and the second distance range, step 204 is executed.

[0081] Step 204: if a touch signal triggered by the touch switch is received, a heating signal is output to the heating component for heating.

[0082] When the first distance value is not within the first distance range and the second distance range, it can be considered that the distance sensing result of the current distance sensor is abnormal. At this time, it is impossible to accurately determine whether a cigarette cartridge is inserted. Therefore, it is combined with whether the touch switch triggers the touch signal to determine whether there is a cigarette cartridge in the cigarette cup.

[0083] When the cigarette cartridge is inserted into the cigarette cup, it will touch the touch switch on the bottom of the cigarette cup. When the touch switch is touched, it means that the cigarette cartridge has been inserted and the heating of the smoking device can be started. When the distance sensor detection result is abnormal, it can effectively detect whether the cigarette cartridge is inserted in the cigarette cup, realize the self-starting function of heating when inserting cigarettes in the smoking device, and improve the automation and intelligence of the smoking device.

[0084] In the above-mentioned scheme of the embodiment of the present application, a distance sensor is set on the side wall of the cigarette cup in the smoking device and a touch switch is set on the bottom of the cigarette cup. The two can adapt to different situations to accurately detect whether a cigarette cartridge is inserted in the cigarette cup, realize the self-starting of the cigarette heating function in the smoking device, improve the automation and intelligence of the smoking device, and ensure a good user experience.

[0085] In some optional implementations, in order to detect whether the distance sensor is malfunctioning, the method in the present application further includes:

[0086] Output a functional test signal to the distance sensor to obtain the beam intensity loss value between the ranging beam and the reflected beam fed back by the distance sensor; when the beam intensity loss value is within the abnormal loss range, determine that the distance sensor is abnormal.

[0087] The functional test signal is used to control the distance sensor to emit a distance measuring beam into the cigarette cup and receive a reflected beam of the distance measuring beam.

[0088] Optionally, the normal loss range may correspond to a situation where both the transmitting end and the receiving end of the distance sensor are clean (for example, not covered by tobacco oil) and the tobacco cup does not contain a tobacco cartridge, and the distance sensor transmits a ranging beam toward the heating component in the tobacco cup and receives a beam intensity loss value corresponding to the reflected beam, or the distance sensor transmits a ranging beam toward the inner wall of the tobacco cup on the side opposite to the position of the distance sensor and receives a beam intensity loss value corresponding to the reflected beam.

[0089] Alternatively, the normal loss range may correspond to the beam intensity loss value corresponding to the distance sensor emitting a ranging beam toward the cigarette cartridge and receiving a reflected beam when both the transmitting end and the receiving end of the distance sensor are clean (e.g., not covered by cigarette oil) and the cigarette cup contains a cigarette cartridge.

[0090] Optionally, the beam intensity loss value can be measured by an optical power meter to measure the power of the emitted ranging beam, and after the beam is transmitted through a predetermined path, the power of the reflected beam after transmission is measured by the optical power meter. By comparing the power values ​​before and after transmission, the intensity loss value of the beam can be calculated.

[0091] Optionally, the normal loss range may be obtained by superimposing a set intensity loss floating range on the basis of the beam intensity loss value.

[0092] Optionally, the range outside the normal loss range may be regarded as the abnormal loss range.

[0093] Optionally, after determining that the distance sensor is abnormal, step 201 may not be performed, that is, the distance sensor in the abnormal state is not used to perform distance sensing to determine whether a cigarette cartridge is inserted into the cigarette cup.

[0094] In other embodiments, when the light beam intensity loss value is not within the abnormal loss range, step 201 is executed to control the distance sensor to perform distance detection inside the cigarette cup to obtain a first distance value.

[0095] By detecting and identifying the functional effectiveness of the distance sensor in the smoking device, we can avoid using a functionally invalid distance sensor to implement distance detection, avoid false start of heating due to inaccurate distance detection results, ensure accurate detection of whether the smoking device contains a cigarette cartridge, improve the effectiveness of the smoking device's self-start function of heating when inserting a cigarette, and ensure that users have a good user experience.

[0096] Considering that the heating of the cigarette cartridge in the cigarette cup environment will produce smoke oil, it may cover the distance sensor and affect the distance measurement sensitivity, and affect the emission or reception of the light beam. The above processing process, by adopting the light beam propagation and using the intensity loss method to implement the distance calculation, can determine whether the current distance sensor is blocked by the smoke oil, causing the distance sensor function to be abnormal, ensure that the distance sensor is in a normal and effective operating state when performing distance detection, ensure the normal operation of the self-start function of the cigarette plug-in heating, and improve the user experience.

[0097] In some optional implementations, when the beam intensity loss value is within the abnormal loss range, after determining that the distance sensor is abnormal, the method further includes:

[0098] If a touch signal triggered by the touch switch is received, a heating signal is output to the heating component for heating.

[0099] After determining that the distance sensor is abnormal, it can be considered that it is impossible to accurately determine whether a cigarette cartridge is inserted in the cigarette cup through the distance sensor. Therefore, it will be combined with whether the touch switch triggers the touch signal to determine whether there is a cigarette cartridge in the cigarette cup. When the touch signal triggered by the touch switch is received, it can be considered that there is a cigarette cartridge in the cigarette cup, and the heating of the smoking device can be started, realizing the self-starting function of heating the cigarette inserted in the smoking device, thereby improving the automation and intelligence of the smoking device.

[0100] In some optional embodiments, the method further comprises:

[0101] When the time duration during which the aforementioned first distance value is in the first distance range exceeds a threshold, a cigarette plugging reminder message is output; or, when the first distance value is not in the first distance range and the second distance range, if no touch signal triggered by the touch switch is received, a cigarette plugging reminder message is output.

[0102] Among them, the cigarette insertion prompt information is used to remind the user that there is no cigarette cartridge in the current cigarette cup, please insert the cigarette cartridge.

[0103] Optionally, the cigarette insertion prompt information may include voice prompt information and / or text prompt information. A display screen, a voice broadcast device, etc. may be provided in the smoking device.

[0104] In this way, through information interaction with the user, the user can be reminded to plug in the cigarette in time, thereby improving the user experience.

[0105] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0106] Based on the same inventive concept, the embodiment of the present application also provides a smoking device control device. The smoking device control device provided in the embodiment of the present application can implement each process of the embodiment of the above-mentioned smoking device control method, and can achieve the same technical effect, so the specific limitations in one or more smoking device control device embodiments provided below can refer to the limitations of the smoking device control method above, and will not be repeated here to avoid repetition.

[0107] In this embodiment, the computing side can be divided into functional modules according to the above method. For example, each function can be divided into functional modules, or two or more functions can be integrated into one processing module.

[0108] See also Figure 3 , Figure 3 Detailed description of the present invention is given in Figure 2. It is a structural diagram of a smoking device control device provided in an embodiment of the present application. For the sake of convenience, only the parts related to the embodiment of the present application are shown.

[0109] Optionally, the smoking device includes a distance sensor, a heating component and a cigarette cup for holding a cigarette cartridge, wherein the cigarette cup is arranged in the accommodating cavity of the smoking device; a touch switch is arranged at the bottom of the cigarette cup; the heating component is arranged at the bottom of the accommodating cavity, a through hole is arranged at the bottom of the cigarette cup, and the heating component is inserted through the through hole and arranged in the cigarette cup for heating the cigarette cartridge; the distance sensor is arranged on the side wall of the cigarette cup toward the inside of the cigarette cup;

[0110] The smoking article control device 300 comprises:

[0111] The distance detection module 301 is used to control the distance sensor to perform distance detection inside the cigarette cup to obtain a first distance value; when the first distance value is within a first distance range, the module returns to the step of controlling the distance sensor to perform distance detection inside the cigarette cup according to a set time interval; the first distance range is used to determine whether the cigarette cup contains no cigarette cartridge;

[0112] The first heating module 302 is used to output a heating signal to the heating component when the first distance value is within a second distance range; the heating signal is used to control the heating component to heat the cigarette cartridge in the cigarette cup; the second distance range is used to determine the situation of the cigarette cartridge in the cigarette cup;

[0113] The second heating module 303 is configured to output the heating signal to the heating component for heating if the touch signal triggered by the touch switch is received when the first distance value is not within the first distance range and the second distance range;

[0114] The distance value in the first distance range is greater than the distance value in the second distance range.

[0115] Optionally, the distance detection module 301 is further used for:

[0116] When the cigarette cup does not contain a cigarette cartridge, the distance sensor is controlled to perform distance detection inside the cigarette cup to obtain a second distance value; the second distance value is superimposed on the set data floating range to obtain the first distance range.

[0117] Optionally, the distance detection module 301 is further used for:

[0118] When a cigarette cartridge is contained in the cigarette cup, the distance sensor is controlled to perform distance detection inside the cigarette cup to obtain a third distance value; and the third distance value is superimposed on a set data floating range to obtain the second distance range.

[0119] Optionally, the distance detection module 301 is specifically configured to:

[0120] Outputting a distance measurement signal to the distance sensor, wherein the distance measurement signal is used to control the distance sensor to emit a distance measurement beam into the cigarette cup and receive a reflected beam of the distance measurement beam;

[0121] The distance value calculated by the distance sensor based on the intensity loss information of the reflected light beam and the ranging light beam is obtained.

[0122] Optionally, the smoking article control device 300 further includes:

[0123] Function detection module, used to:

[0124] Outputting a function test signal to the distance sensor, wherein the function test signal is used to control the distance sensor to emit a distance measuring beam into the cigarette cup and receive a reflected beam of the distance measuring beam;

[0125] Acquire a beam intensity loss value between the ranging beam and the reflected beam fed back by the distance sensor;

[0126] When the beam intensity loss value is within the abnormal loss range, determining that the distance sensor is abnormal; or,

[0127] When the beam intensity loss value is not within the abnormal loss range, the step of controlling the distance sensor to perform distance detection inside the cigarette cup to obtain a first distance value is performed.

[0128] Optionally, the second heating module 303 is also used to output the heating signal to the heating component for heating after determining that the distance sensor is abnormal when the beam intensity loss value is within the abnormal loss range and if a touch signal triggered by the touch switch is received.

[0129] Optionally, the smoking article control device 300 further includes:

[0130] Information prompt module, used for:

[0131] When the duration of the first distance value being within the first distance range exceeds a threshold, outputting a cigarette plugging prompt message; or,

[0132] When the first distance value is not within the first distance range and the second distance range, if the touch signal triggered by the touch switch is not received, a cigarette insertion prompt message is output.

[0133] The above integrated modules can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0134] It should be noted that the relevant contents of each step involved in the above method embodiment can all be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0135] In one embodiment, Figure 4 As shown, an electronic device is provided. The electronic device 4 of this embodiment includes: at least one processor 400 ( Figure 4 Only one is shown in the figure), a memory 401, and a computer program 402 stored in the memory 401 and executable on the at least one processor 400, wherein the processor 400 implements the steps of any of the above-mentioned method embodiments when executing the computer program 402.

[0136] The electronic device 4 may be a computing device such as a desktop computer, a notebook, a palm computer, etc. The electronic device 4 may include, but is not limited to, a processor 400 and a memory 401. Those skilled in the art will understand that Figure 4 It is only an example of the electronic device 4 and does not constitute a limitation of the electronic device 4. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.

[0137] The processor 400 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0138] The memory 401 may be an internal storage unit of the electronic device 4, such as a hard disk or memory of the electronic device 4. The memory 401 may also be an external storage device of the electronic device 4, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 4. Further, the memory 401 may also include both an internal storage unit and an external storage device of the electronic device 4. The memory 401 is used to store the computer program and other programs and data required by the electronic device. The memory 401 may also be used to temporarily store data that has been output or is to be output.

[0139] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0140] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0141] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0142] In the embodiments provided in the present application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0143] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0144] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0145] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0146] The present application implements all or part of the processes in the above-mentioned embodiment method, and may also be implemented through a computer program product. When the computer program product runs on an electronic device, the electronic device can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0147] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A smoking device control method, characterized in that: The smoking device includes a distance sensor, a cigarette cup for containing a cigarette cartridge, and a heating component for heating the cigarette cartridge, wherein the cigarette cup is arranged in the accommodating cavity of the smoking device; the distance sensor is arranged on the side wall of the cigarette cup toward the inside of the cigarette cup; A touch switch is arranged at the bottom of the cigarette cup; The method comprises: Controlling the distance sensor to perform distance detection inside the cigarette cup to obtain a first distance value; When the first distance value is within a first distance range, returning to the step of controlling the distance sensor to perform distance detection inside the cigarette cup; the first distance range is used to determine whether the cigarette cup contains no cigarette cartridge; When the first distance value is within the second distance range, a heating signal is output to the heating component; the heating signal is used to control the heating component to heat the cigarette cartridge in the cigarette cup; the second distance range is used to determine the situation of the cigarette cartridge in the cigarette cup; When the first distance value is not within the first distance range and the second distance range, if a touch signal triggered by the touch switch is received, the heating signal is output to the heating component for heating; The distance value in the first distance range is greater than the distance value in the second distance range.

2. The method according to claim 1, characterized in that: Before controlling the distance sensor to perform distance detection inside the cigarette cup, the method further includes: When the cigarette cup does not contain a cigarette cartridge, controlling the distance sensor to perform distance detection inside the cigarette cup to obtain a second distance value; The second distance value is superimposed on the set data floating range to obtain the first distance range.

3. The method according to claim 1, characterized in that: Before controlling the distance sensor to perform distance detection inside the cigarette cup, the method further includes: When a cigarette cartridge is contained in the cigarette cup, controlling the distance sensor to perform distance detection inside the cigarette cup to obtain a third distance value; The third distance value is superimposed on the set data floating range to obtain the second distance range.

4. The method according to any one of claims 1 to 3, characterized in that: Controlling the distance sensor to perform distance detection inside the cigarette cup to obtain a distance value includes: Outputting a distance measurement signal to the distance sensor, wherein the distance measurement signal is used to control the distance sensor to emit a distance measurement beam into the cigarette cup and receive a reflected beam of the distance measurement beam; The distance value calculated by the distance sensor based on the intensity loss information of the reflected light beam and the ranging light beam is obtained.

5. The method according to claim 1, characterized in that Also includes: Outputting a function test signal to the distance sensor, wherein the function test signal is used to control the distance sensor to emit a distance measuring beam into the cigarette cup and receive a reflected beam of the distance measuring beam; Acquire a beam intensity loss value between the ranging beam and the reflected beam fed back by the distance sensor; When the beam intensity loss value is within an abnormal loss range, determining that the distance sensor is abnormal; or, When the beam intensity loss value is not within the abnormal loss range, the step of controlling the distance sensor to perform distance detection inside the cigarette cup to obtain a first distance value is performed.

6. The method according to claim 5, characterized in that When the beam intensity loss value is within the abnormal loss range, after determining that the distance sensor is abnormal, the method further includes: If the touch signal triggered by the touch switch is received, the heating signal is output to the heating component for heating.

7. The method according to claim 1, characterized in that Also includes: When the duration of the first distance value being within the first distance range exceeds a threshold, outputting a cigarette plugging prompt message; or, When the first distance value is not within the first distance range and the second distance range, if the touch signal triggered by the touch switch is not received, a cigarette insertion prompt message is output.

8. A smoking device control device, characterized in that: The smoking device includes a distance sensor, a heating component and a cigarette cup for holding a cigarette cartridge, wherein the cigarette cup is arranged in the accommodating cavity of the smoking device; a touch switch is arranged at the bottom of the cigarette cup; the heating component is arranged at the bottom of the accommodating cavity, a through hole is arranged at the bottom of the cigarette cup, and the heating component is inserted through the through hole and arranged in the cigarette cup for heating the cigarette cartridge; the distance sensor is arranged on the side wall of the cigarette cup toward the inside of the cigarette cup; The device comprises: a distance detection module, configured to control the distance sensor to perform distance detection inside the cigarette cup to obtain a first distance value; when the first distance value is within a first distance range, returning to execute the step of controlling the distance sensor to perform distance detection inside the cigarette cup according to a set time interval; the first distance range is used to determine whether the cigarette cup contains no cigarette cartridge; A first heating module is used to output a heating signal to the heating component when the first distance value is within a second distance range; the heating signal is used to control the heating component to heat the cigarette cartridge in the cigarette cup; the second distance range is used to determine the situation of the cigarette cartridge in the cigarette cup; a second heating module, configured to output the heating signal to the heating component for heating if a touch signal triggered by the touch switch is received when the first distance value is not within the first distance range and the second distance range; The distance value in the first distance range is greater than the distance value in the second distance range.

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 method according to 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 a processor, the steps of the method according to any one of claims 1 to 7 are implemented.