Methods for finding cigarette cartridges, decrypting chips and electronic cigarettes
By automatically detecting the smoke cartridge after receiving the start command of the processing unit, the power consumption of the MCU is reduced, and the problem of high power consumption of the MCU in the prior art is solved, thereby achieving efficient smoke cartridge connection status detection .
Patent Information
- Application Number
- CN202010758723.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-31
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2040-07-31
AI Technical Summary
The smoke-seeking method in the prior art causes the microprocessor (MCU) to consume a high power consumption, and it is impossible to effectively detect whether the smoke-capacity exists. It needs to be implemented through communication methods, and the communication between the decryption chip and the encryption chip requires the MCU to actively trigger it, which increases. power consumption.
Provide a method for finding a cigarette cartridge. After receiving the start command sent by the processing unit, the decryption chip automatically enters the cigarette cartridge detection mode, sends a detection signal, and receives a response signal within a set time to determine whether there is a connection on the cigarette rod. The smoke cartridge reduces the MCU's participation and power consumption.
It realizes that the MCU does not need to participate in the entire process during the search for the cigarette cartridge, reduces the power consumption of the MCU and improves the detection efficiency of the cartridge connection status.
Smart Images

Figure CN114052302B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of detection technology, and in particular relates to a method for finding a cigarette cartridge, a decryption chip and an electronic cigarette. Background Art
[0002] At present, the method of finding the cigarette cartridge in the prior art is based on a pull-up resistor. If the microprocessor (MCU) detects a high level corresponding to the pull-up resistor, it means that the cigarette cartridge is pulled out. If the MCU detects a low level corresponding to the pull-up resistor, it means that the cigarette cartridge is inserted.
[0003] In the existing structure of cigarette rods and cigarette cartridges, an encryption chip is installed on the cigarette cartridge and a decryption chip is installed on the cigarette rod; in this case, it is impossible to detect the existence of the cigarette cartridge by pull-up resistors, and the cigarette cartridge and cigarette rod need to communicate to achieve this. The communication between the decryption chip and the encryption chip needs to be actively triggered by the MCU, which needs to be triggered every once in a while, and the power consumption of the MCU is relatively high. Summary of the invention
[0004] In view of this, the present application provides a smoke cartridge finding method, a decryption chip and an electronic cigarette to solve the technical problem that the smoke cartridge finding method in the prior art wastes the power consumption of the MCU.
[0005] In one embodiment of the present application, a method for finding a cigarette cartridge is provided, which is applicable to a decryption chip in a cigarette rod. The method comprises: receiving a startup instruction sent by a processing unit; based on the startup instruction, entering a cigarette cartridge detection mode; in the cigarette cartridge detection mode, sending a first detection signal; and when a first response signal corresponding to the first detection signal is received within a first set time, determining that a cigarette cartridge is connected to the cigarette rod.
[0006] In another embodiment of the present application, a method for searching for a cigarette cartridge is provided, which is applicable to a processing unit, and the method includes: when it is detected that the cigarette rod is in an unused state, sending a startup instruction to a decryption chip; wherein the startup instruction is used to control the decryption chip to enter a cigarette cartridge detection mode, and the decryption chip sends a detection signal in the cigarette cartridge detection mode to determine whether a cigarette cartridge is connected to the cigarette rod based on whether a corresponding response signal is received within a set time; and switching the current state to a sleep state.
[0007] In another embodiment of the present application, an electronic cigarette is provided, comprising: a cigarette rod and a cigarette cartridge; wherein a processing unit and a decryption chip are provided in the cigarette rod; an encryption chip is provided in the cigarette cartridge; the processing unit is used to send a startup instruction to the decryption chip when it detects that the cigarette rod is not in use, and the processing unit switches to a sleep state after sending the startup instruction; the decryption chip is used to receive the startup instruction, and based on the startup instruction, enter a cigarette cartridge detection mode; in the cigarette cartridge detection mode, a first detection signal is issued; when a first response signal corresponding to the first detection signal is received within a first set time, it is determined that a cigarette cartridge is connected to the cigarette rod; the encryption chip is used to feed back the first response signal to the decryption chip when the first detection signal is received.
[0008] In another embodiment of the present application, a decryption chip is provided, comprising: a memory, a processor and a communication component; wherein the memory is used to store programs; the processor is coupled to the memory, and is used to execute the programs stored in the memory, so as to: receive a startup instruction sent by a processing unit through the communication component; based on the startup instruction, enter a cigarette cartridge detection mode; in the cigarette cartridge detection mode, send a first detection signal; when a first response signal corresponding to the first detection signal is received within a first set time, determine that a cigarette cartridge is connected to the cigarette rod.
[0009] The solution provided by the embodiment of the present application is that after receiving the start-up instruction sent by the processing unit, the decryption chip automatically detects whether the cigarette cartridge is connected to the cigarette rod; that is, after the decryption chip obtains the start-up instruction, it enters the cigarette cartridge detection mode based on the start-up instruction; in the cigarette cartridge detection mode, a first detection signal is sent; when a first response signal corresponding to the first detection signal is received within a first set time, it is determined that a cigarette cartridge is connected to the cigarette rod. The solution of the present application gives the decryption chip the function of actively searching for cigarette cartridges, thereby realizing that in the process of searching for cigarette cartridges, the MCU does not need to be fully involved, reducing the power consumption of the MCU. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0011] Figure 1 A schematic diagram of the structure of an electronic cigarette provided in one embodiment of the present application;
[0012] Figure 2A schematic diagram of a flow chart of a smoke bomb searching method provided in an embodiment of the present application;
[0013] Figure 3 A schematic diagram of a flow chart of a smoke bomb searching method provided in an embodiment of the present application;
[0014] Figure 4 A schematic diagram of a flow chart of a smoke bomb searching method provided in an embodiment of the present application;
[0015] Figure 5 A schematic diagram of the structure of a smoke-seeking bomb device provided in one embodiment of the present application;
[0016] Figure 6 A schematic diagram of the structure of a decryption chip provided in one embodiment of the present application. DETAILED DESCRIPTION
[0017] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0018] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "the" and "the" used in the present application are also intended to include plural forms, unless the context clearly indicates other meanings, and "multiple" generally includes at least two, but does not exclude the situation of including at least one.
[0019] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can 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.
[0020] It should be understood that the descriptions of "first", "second", etc. in this document are used to distinguish different elements, devices, etc., and do not represent a sequence of precedence, nor do they limit the "first" and "second" to be different types. Depending on the context, the words "if" and "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination" or "in response to monitoring". Similarly, depending on the context, the phrases "if it is determined" or "if monitoring (stated condition or event)" can be interpreted as "when determining" or "in response to determining" or "when monitoring (stated condition or event)" or "in response to monitoring (stated condition or event)".
[0021] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a product or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such a product or system. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the product or system including the elements.
[0022] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0023] Figure 1 A schematic diagram of the structure of an electronic cigarette provided by an exemplary embodiment of the present application, the electronic cigarette comprises: a cigarette rod 11, a cigarette cartridge 12; wherein the cigarette rod 11 is provided with a processing unit 111 and a decryption chip 112; and the cigarette cartridge 12 is provided with an encryption chip 121;
[0024] The processing unit 111 may be a microprocessor unit MCU, which is used to send a startup instruction to the decryption chip 112 when it is detected that the cigarette rod 11 is not in use. After sending the startup instruction, the processing unit 111 switches to a dormant state;
[0025] The decryption chip 112 is used to receive the startup instruction and enter the cartridge detection mode based on the startup instruction; in the cartridge detection mode, a first detection signal is sent; when a first response signal corresponding to the first detection signal is received within a first set time, it is determined that a cartridge 12 is connected to the cigarette rod 11.
[0026] The encryption chip 121 is used to feed back the first response signal to the decryption chip 112 when receiving the first detection signal.
[0027] The decryption chip 112 is a chip used to authenticate the cigarette cartridge 12 by interacting with the encryption chip 121 in the cigarette cartridge 12 .
[0028] The first detection signal may be a pulse signal, and the first response signal is sent by the encryption chip 121 in the cigarette cartridge 12 . When the cigarette cartridge 12 is connected to the cigarette rod 11 , the encryption chip 121 may receive the first detection signal and send a first response signal to the decryption chip 112 .
[0029] The first set time can be determined by the historical time consumed from the decryption chip 112 sending out the first detection signal to receiving the first response signal when the cigarette cartridge 12 is connected to the cigarette rod 11.
[0030] The startup instruction may also include the frequency of the detection signal, and the decryption chip 112 may send the first detection signal according to the frequency, and the first set time may also be the duration of the sending cycle corresponding to the sending frequency. For example, if the sending cycle is 2s or 5s, the first set time is also 2s or 5s.
[0031] When the decryption chip 112 detects that the cigarette cartridge 12 is disconnected from the cigarette rod 11, it sends a first wake-up signal to the processing unit 111 to wake up the processing unit 111, that is, the processing unit 111 is also used for:
[0032] Obtaining a first wake-up signal;
[0033] Switching from a sleep state to a working state based on the first wake-up signal;
[0034] The first prompt unit on the cigarette rod 11 is controlled to work, and a user-perceivable prompt about the disconnection of the cigarette rod 11 and the cigarette cartridge 12 is output.
[0035] When the decryption chip 112 detects that the cigarette cartridge 12 is reconnected to the cigarette rod 11, a second wake-up signal is sent to the processing unit 111 to wake up the processing unit 111, that is, the processing unit 111 is also used for:
[0036] Obtaining a second wake-up signal;
[0037] Switching from a sleep state to a working state based on the second wake-up signal;
[0038] The second prompt unit on the cigarette rod 11 is controlled to work, and a user-perceivable prompt about the connection between the cigarette rod 11 and the cigarette cartridge 12 is output.
[0039] The processing unit 111 and the decryption chip 112 communicate with each other based on the I2C bus, and the decryption chip 112 and the encryption chip 121 communicate with each other through double contacts.
[0040] The solution provided by the embodiment of the present application is that after receiving the start-up instruction sent by the processing unit, the decryption chip automatically detects whether the cigarette cartridge is connected to the cigarette rod; that is, after the decryption chip obtains the start-up instruction, it enters the cigarette cartridge detection mode based on the start-up instruction; in the cigarette cartridge detection mode, a first detection signal is sent; when a first response signal corresponding to the first detection signal is received within a first set time, it is determined that a cigarette cartridge is connected to the cigarette rod. The solution of the present application gives the decryption chip the function of actively searching for cigarette cartridges, thereby realizing that in the process of searching for cigarette cartridges, the MCU does not need to be fully involved, reducing the power consumption of the MCU.
[0041] The execution principles and interaction processes of the component units in this embodiment, such as the processing unit, the decryption chip and the encryption chip, can be found in the description of the following method embodiments.
[0042] Figure 2 A flowchart of a method for finding a cigarette cartridge provided by an exemplary embodiment of the present application is applicable to a decryption chip in a cigarette rod. The method includes:
[0043] 201. Receive a start instruction sent by a processing unit;
[0044] 202. Entering a cigarette cartridge detection mode based on the startup instruction;
[0045] 203. In the cigarette cartridge detection mode, a first detection signal is sent;
[0046] 204. When a first response signal corresponding to the first detection signal is received within a first set time, it is determined that a cigarette cartridge is connected to the cigarette rod.
[0047] The decryption chip is a chip used to authenticate the cigarette cartridge by interacting with the encryption chip in the cigarette cartridge. After the processing unit sends the startup instruction, it will switch to a dormant state. The processing unit is a microprocessor unit MCU.
[0048] The first detection signal may be a pulse signal, and the first response signal is sent by the encryption chip in the cigarette cartridge. When the cigarette cartridge is connected to the cigarette rod, the encryption chip may receive the first detection signal and send a first response signal to the decryption chip.
[0049] The first set time can be determined by the historical time consumed from the decryption chip sending out the first detection signal to receiving the first response signal when the cigarette cartridge is connected to the cigarette rod.
[0050] The startup instruction may also include a detection signal sending frequency, and the decryption chip may send the first detection signal according to the sending frequency, and the first set time may also be the duration of the sending cycle corresponding to the sending frequency. The sending frequency of the detection signal may also be pre-stored in the decryption chip.
[0051] In addition to determining whether a cigarette cartridge is connected to the cigarette rod, the decryption chip can also detect whether the cigarette cartridge is disconnected from the cigarette rod. Specifically, after the decryption chip determines that the cigarette cartridge is connected to the cigarette rod, it can further send a second detection signal according to the frequency of the detection signal; determine whether the cigarette cartridge is disconnected from the cigarette rod based on whether a second response signal corresponding to the second detection signal is received, and wake up the processing unit when it is detected that the cigarette cartridge is disconnected from the cigarette rod. That is, the cigarette cartridge search method provided by the present application also includes the following steps:
[0052] 205. When a second response signal corresponding to the second detection signal is not received within a second set time, it is determined that the cigarette cartridge is disconnected from the cigarette rod;
[0053] 206. Send a first wake-up signal to the processing unit to wake up the processing unit, and the processing unit controls the first prompt unit on the cigarette rod to operate and output a user-perceivable prompt that the cigarette rod is disconnected from the cigarette cartridge.
[0054] The first prompt unit mentioned above can be an indicator light control unit in the cigarette rod, and can also be a vibration control unit in the cigarette rod. Specifically, when the processing unit is awakened by the first awakening signal, the indicator light can be controlled to light up and / or the cigarette rod can vibrate.
[0055] The first wake-up signal may specifically be a high-level signal, and the second set time may be the same as the first set time, or may be longer than the first set time, and may be longer than the sending cycle of the detection signal.
[0056] Through the above scheme, when the decryption chip detects that the cigarette cartridge is disconnected from the cigarette rod, that is, the cigarette cartridge is pulled out, it wakes up the processing unit to control the first prompt unit to work and output a user-perceivable prompt, so that the user can know the current status of the cigarette cartridge and improve the user experience.
[0057] After the cigarette cartridge is disconnected from the cigarette rod, the decryption chip can also detect whether the cigarette cartridge and the cigarette rod are reconnected, that is, the cigarette cartridge search method also includes:
[0058] 207. Send out a third detection signal according to the sending frequency of the detection signal;
[0059] 208. When a third response signal corresponding to the third detection signal is received within a third set time, it is determined that the cigarette cartridge is connected to the cigarette rod;
[0060] The third set time may be the same as the second set time, and the third detection signal may be the same as the first detection signal and the second detection signal.
[0061] Correspondingly, the above-mentioned smoke bomb searching method also includes:
[0062] 209. Send a second wake-up signal to the processing unit to wake up the processing unit, and the processing unit controls the second prompt unit on the cigarette rod to operate and output a user-perceivable prompt about the connection between the cigarette rod and the cigarette cartridge.
[0063] Specifically, in order to enable the processing unit to distinguish the current state of the cigarette cartridge, the second wake-up signal is different from the first wake-up signal, the second wake-up signal can be a low level, and the second prompt unit can be the same as the first prompt unit. When the decryption chip detects that the cigarette cartridge is reconnected to the cigarette rod, it wakes up the processing unit to control the second prompt unit to work and output a user-perceivable prompt, so that the user can know the current state of the cigarette cartridge and improve the user experience.
[0064] To sum up, in the cigarette cartridge finding method provided by the present application, the process of finding the cigarette cartridge is independently completed by the decryption chip, and the processing unit only sends a startup instruction to the decryption chip. A low-power automatic cigarette finding function is newly added inside the decryption chip. Through the above scheme, the present application gives the decryption chip an additional cigarette cartridge finding function in addition to identifying and authenticating the cigarette cartridge, thereby achieving the technical effect of reducing the power consumption of the MCU during the cigarette cartridge finding process.
[0065] Figure 3 A schematic diagram of a smoke bomb search method provided in this application includes the following steps:
[0066] 301. MCU detects whether the user stops smoking or does not smoke; if so, executes the following steps 302;
[0067] 302. The MCU sends a startup instruction to the decryption chip, so that the decryption chip starts the automatic cigarette cartridge search function, and the MCU goes into sleep mode.
[0068] 303. The decryption chip receives the start-up instruction, enters the cigarette cartridge detection mode based on the start-up instruction, and obtains the cigarette cartridge search result;
[0069] 304. The decryption chip feeds back the smoke bomb search result to the MCU.
[0070] The specific way in which the MCU detects whether the user has stopped smoking or has not smoked is as follows: when the sensor associated with the cigarette holder detects that the cigarette rod is in an unused state, it means that the user has stopped smoking or has not smoked.
[0071] When the decryption chip enters the cigarette cartridge detection mode, the detection result is obtained based on the response of the encryption chip in the cigarette cartridge. In the cigarette cartridge detection mode, the decryption chip sends a first detection signal to the encryption chip; when a first response signal corresponding to the first detection signal sent by the encryption chip is received within a first set time, it is determined that a cigarette cartridge is connected to the cigarette rod.
[0072] The above-mentioned start instruction may also carry the sending frequency of the detection signal, and the decryption chip may send the first detection signal to the encryption chip according to the sending frequency.
[0073] In the above scheme, the process of finding the smoke bomb is executed by the decryption chip, thereby achieving the technical effect of reducing the power consumption of the MCU during the process of finding the smoke bomb.
[0074] Figure 4 This is a flow chart of a smoke bomb locating method provided in the present application. The smoke bomb locating method is applicable to a processing unit and may specifically include the following steps:
[0075] 401. When the cigarette rod is detected to be in an unused state, a start instruction is sent to the decryption chip; wherein the start instruction is used to control the decryption chip to enter a cigarette cartridge detection mode, and the decryption chip sends a detection signal in the cigarette cartridge detection mode to determine whether a cigarette cartridge is connected to the cigarette rod based on whether a corresponding response signal is received within a set time;
[0076] 402. Switch the current state to the sleep state.
[0077] Specifically, when the processing unit determines whether the cigarette rod is in an unused state, it can do so in the following way: determine whether data from the sensor corresponding to the cigarette holder is received within a preset time period; if so, it means that the user is smoking and the cigarette rod is in use; if not, it means that the user has stopped smoking and the cigarette rod is in an unused state.
[0078] In some optional embodiments, the above method further includes:
[0079] Obtaining a first wake-up signal;
[0080] Switching from a sleep state to a working state based on the first wake-up signal;
[0081] The first prompt unit on the cigarette rod is controlled to operate and output a user-perceivable prompt that the cigarette rod is disconnected from the cigarette cartridge.
[0082] Among them, the first wake-up signal is the signal sent by the decryption chip when it detects that the cigarette cartridge is disconnected from the cigarette rod.
[0083] After the processing unit completes the control of the first prompt unit, if it detects that the cigarette rod is still in an unused state, the processing unit switches from the working state back to the dormant state.
[0084] In some optional embodiments, the above method further includes:
[0085] Obtaining a second wake-up signal;
[0086] Switching from a sleep state to a working state based on the second wake-up signal;
[0087] The second prompt unit on the cigarette rod is controlled to operate and output a user-perceivable prompt regarding the connection between the cigarette rod and the cigarette cartridge.
[0088] Among them, the second wake-up signal is the signal sent when the decryption chip detects that the cigarette cartridge and the cigarette rod are restored to connection.
[0089] For a specific implementation of the smoke bomb search method applicable to the processing unit, see Figure 2 The corresponding embodiments will not be described in detail here.
[0090] Figure 5A cigarette cartridge locating device provided as an exemplary embodiment of the present application is suitable for decrypting a chip in a cigarette rod, and the method includes:
[0091] A receiving module 51, configured to receive a start instruction sent by a processing unit;
[0092] A starting module 52, used to enter a cigarette cartridge detection mode based on the starting instruction;
[0093] A sending module 53, used for sending a first detection signal in the cigarette cartridge detection mode;
[0094] The determination module 54 is configured to determine that a cigarette cartridge is connected to the cigarette rod when a first response signal corresponding to the first detection signal is received within a first set time.
[0095] Optionally, the start instruction contains a frequency of sending a detection signal; and
[0096] The sending module 53 is also used for:
[0097] A second detection signal is sent out according to the sending frequency of the detection signal.
[0098] Optionally, the determining module 54 is further configured to:
[0099] When a second response signal corresponding to the second detection signal is not received within a second set time, determining that the cigarette cartridge is disconnected from the cigarette rod;
[0100] The sending module 53 is further used to send a first wake-up signal to the processing unit to wake up the processing unit, and the processing unit controls the first prompt unit on the cigarette rod to operate and output a user-perceivable prompt that the cigarette rod is disconnected from the cigarette cartridge.
[0101] Optionally, the sending module 53 is further used for:
[0102] Sending a third detection signal according to the sending frequency of the detection signal;
[0103] The determination module 54 is further configured to: determine that the cigarette cartridge is connected to the cigarette rod when a third response signal corresponding to the third detection signal is received within a third set time;
[0104] The sending module 53 is also used for:
[0105] A second wake-up signal is sent to the processing unit to wake up the processing unit, and the processing unit controls the second prompt unit on the cigarette rod to operate and output a user-perceivable prompt about the connection between the cigarette rod and the cigarette cartridge.
[0106] For the specific embodiments corresponding to the above-mentioned smoke bomb device, please refer to the above-mentioned Figure 2 The corresponding embodiments will not be described in detail here.
[0107] Figure 6 FIG. 1 shows a schematic diagram of the structure of a decryption chip provided by an embodiment of the present application. Figure 6 As shown, the decryption chip includes: a memory 61, a processor 62, a communication component 65 and a processor 62; wherein,
[0108] The memory 61 is used to store programs;
[0109] The processor 62 is coupled to the memory and is configured to execute the program stored in the memory to:
[0110] Receiving a start instruction sent by the processing unit through the communication component 65;
[0111] Based on the startup instruction, entering the cigarette cartridge detection mode;
[0112] In the cigarette cartridge detection mode, a first detection signal is emitted;
[0113] When a first response signal corresponding to the first detection signal is received within a first set time, it is determined that a cigarette cartridge is connected to the cigarette rod.
[0114] The memory 61 can be configured to store various other data to support operations on the decryption chip. Examples of such data include instructions for any application or method for operating on the decryption chip. The memory 61 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0115] When executing the program in the memory 61 , the processor 62 may realize other functions in addition to the above functions, and the details may refer to the description of the above embodiments.
[0116] Further, if Figure 6 As shown, the decryption chip also includes: a display 63, a power supply component 64, a communication component 65 and other components. Figure 6 Only some components are shown schematically, which does not mean that the decryption chip includes Figure 6 Components shown.
[0117] Correspondingly, an embodiment of the present application also provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a computer, it can implement the steps or functions of the smoke bomb searching method provided in the above embodiments.
[0118] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0119] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0120] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these 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.
Claims
1. A method for finding a smoke bomb, characterized in that: Applicable to the decryption chip in the cigarette rod, the cigarette rod also includes a processing unit, and the method includes: Receive a start-up instruction sent by the processing unit, the start-up instruction includes the sending frequency of the detection signal, the sending frequency of the detection signal is pre-stored in the decryption chip, the processing unit is a microprocessing unit MCU, and is used to send the start-up instruction to the decryption chip when it is detected that the cigarette rod is in an unused state, and the processing unit switches to a dormant state after sending the start-up instruction; Based on the startup instruction, entering the cigarette cartridge detection mode; In the cigarette cartridge detection mode, a first detection signal is sent to the encryption chip of the cigarette cartridge; When a first response signal corresponding to the first detection signal sent by the encryption chip is received within a first set time, it is determined that a cigarette cartridge is connected to the cigarette rod, and the first set time is determined according to the historical time consumed from the decryption chip sending the first detection signal to receiving the first response signal, or according to the cycle time corresponding to the frequency of sending the detection signal; Continue to send a second detection signal to the encryption chip of the cigarette cartridge according to the sending frequency of the detection signal; When no response signal corresponding to the second detection signal is received within a preset time, it is determined that the cigarette cartridge is disconnected from the cigarette rod, and a wake-up signal is sent to the processing unit to wake up the processing unit, and the processing unit controls the prompt unit on the cigarette rod to operate and output a user-perceivable prompt that the cigarette rod is disconnected from the cigarette cartridge, and the preset time is not less than the first set time.
2. The method according to claim 1, characterized in that When no response signal corresponding to the second detection signal is received within a preset time, it is determined that the cigarette cartridge is disconnected from the cigarette rod, and a wake-up signal is sent to the processing unit to wake up the processing unit, and the processing unit controls the prompt unit on the cigarette rod to work and output a user-perceivable prompt about the disconnection between the cigarette rod and the cigarette cartridge, including: When a second response signal corresponding to the second detection signal is not received within a second set time, determining that the cigarette cartridge is disconnected from the cigarette rod; A first wake-up signal is sent to the processing unit to wake up the processing unit, and the processing unit controls the first prompt unit on the cigarette rod to operate and output a user-perceivable prompt that the cigarette rod is disconnected from the cigarette cartridge.
3. The method according to claim 2, characterized in that Also includes: Sending a third detection signal according to the sending frequency of the detection signal; When a third response signal corresponding to the third detection signal is received within a third set time, it is determined that the cigarette cartridge is connected to the cigarette rod; A second wake-up signal is sent to the processing unit to wake up the processing unit, and the processing unit controls the second prompt unit on the cigarette rod to operate and output a user-perceivable prompt about the connection between the cigarette rod and the cigarette cartridge.
4. A method for finding a smoke bomb, characterized in that: A processing unit applicable to a cigarette rod, the cigarette rod further comprising a decryption chip, the processing unit being a microprocessor unit MCU, for sending a startup instruction to the decryption chip when detecting that the cigarette rod is not in use, the processing unit switching to a dormant state after sending the startup instruction, the method comprising: When it is detected that the cigarette rod is in an unused state, a start instruction is sent to the decryption chip; wherein the start instruction is used to control the decryption chip to enter a cigarette cartridge detection mode, and the start instruction includes the frequency of the detection signal. In the cigarette cartridge detection mode, the decryption chip sends a first detection signal to the encryption chip of the cigarette cartridge, so that when the decryption chip receives a corresponding first response signal sent by the encryption chip to the first detection signal within a first set time, it is determined that a cigarette cartridge is connected to the cigarette rod and the current state is switched to a dormant state; and a second detection signal is continued to be sent to the encryption chip of the cigarette cartridge; when no response signal corresponding to the second detection signal is received within a preset time, it is determined that the cigarette cartridge is disconnected from the cigarette rod, and the first set time is determined according to the historical time consumed from the decryption chip sending the first detection signal to receiving the first response signal, or according to the cycle time corresponding to the frequency of the detection signal, and the preset time is not less than the first set time; When the cigarette cartridge is disconnected from the cigarette rod, a wake-up signal sent by the decryption chip is received, and the prompt unit on the cigarette rod is controlled to work in the wake-up state to output a user-perceivable prompt that the cigarette rod is disconnected from the cigarette cartridge.
5. The method according to claim 4, characterized in that Receiving a wake-up signal sent by the decryption chip, and controlling the prompt unit on the cigarette rod to work in the wake-up state, and outputting a user-perceivable prompt about the disconnection of the cigarette rod and the cigarette cartridge, including: Obtaining a first wake-up signal; Switching from a sleep state to a working state based on the first wake-up signal; The first prompt unit on the cigarette rod is controlled to operate and output a user-perceivable prompt that the cigarette rod is disconnected from the cigarette cartridge.
6. The method according to claim 5, characterized in that Also includes: After completing the control of the first prompt unit, if it is detected that the cigarette rod is still in an unused state, the working state is switched back to the dormant state.
7. The method according to claim 4, characterized in that Receiving a wake-up signal sent by the decryption chip, and controlling the prompt unit on the cigarette rod to work in the wake-up state, and outputting a user-perceivable prompt about the disconnection of the cigarette rod and the cigarette cartridge, including: Obtaining a second wake-up signal; Switching from a sleep state to a working state based on the second wake-up signal; The second prompt unit on the cigarette rod is controlled to operate and output a user-perceivable prompt regarding the connection between the cigarette rod and the cigarette cartridge.
8. An electronic cigarette, characterized in that: include: A cigarette rod and a cigarette cartridge; wherein the cigarette rod is provided with a processing unit and a decryption chip; and the cigarette cartridge is provided with an encryption chip; The processing unit is used to send a startup instruction to the decryption chip when it is detected that the cigarette rod is in an unused state, wherein the startup instruction is used to control the decryption chip to enter a cigarette cartridge detection mode, and the startup instruction includes the frequency of sending a detection signal. The processing unit is a microprocessing unit MCU, which is used to send the startup instruction to the decryption chip when it is detected that the cigarette rod is in an unused state. After sending the startup instruction, the processing unit switches to a dormant state, and the decryption chip sends a first detection signal to the encryption chip of the cigarette cartridge in the cigarette cartridge detection mode; and when the cigarette cartridge is disconnected from the cigarette rod, the decryption chip receives a wake-up signal sent by the decryption chip, and controls the prompt unit on the cigarette rod to work in the wake-up state, and outputs a user-perceivable prompt about the disconnection of the cigarette rod from the cigarette cartridge; The decryption chip is used to receive the start-up instruction, and based on the start-up instruction, enter the cartridge detection mode; in the cartridge detection mode, send out a first detection signal; when a first response signal corresponding to the first detection signal is received within a first set time, it is determined that a cartridge is connected to the cigarette rod; and continue to send out a second detection signal to the encryption chip of the cartridge; when a response signal corresponding to the second detection signal is not received within a preset time, it is determined that the cartridge is disconnected from the cigarette rod; the first set time is determined according to the historical time consumed from the decryption chip sending out the first detection signal to receiving the first response signal, or is determined according to the cycle time corresponding to the frequency of sending the detection signal, and the preset time is not less than the first set time; The encryption chip is used to feed back the first response signal to the decryption chip when the first detection signal is received; and to feed back a response signal corresponding to the second detection signal to the decryption chip when the second detection signal is received.
9. The electronic cigarette according to claim 8, characterized in that: The processing unit is also used for: Obtaining a first wake-up signal; Switching from a sleep state to a working state based on the first wake-up signal; The first prompt unit on the cigarette rod is controlled to operate and output a user-perceivable prompt that the cigarette rod is disconnected from the cigarette cartridge.
10. The electronic cigarette according to claim 8, characterized in that: The processing unit is also used for: Obtaining a second wake-up signal; Switching from a sleep state to a working state based on the second wake-up signal; The second prompt unit on the cigarette rod is controlled to operate and output a user-perceivable prompt regarding the connection between the cigarette rod and the cigarette cartridge.
11. A decryption chip, characterized in that: include: Memory, processor and communication components; among which, The memory is used to store programs; The processor is coupled to the memory and is configured to execute the program stored in the memory to: The communication component receives a start-up instruction sent by the processing unit, wherein the start-up instruction includes the frequency of the detection signal. The processing unit is a microprocessing unit MCU, which is used to send the start-up instruction to the decryption chip when it detects that the cigarette rod is not in use. After sending the start-up instruction, the processing unit switches to a dormant state; Based on the startup instruction, entering the cigarette cartridge detection mode; In the cigarette cartridge detection mode, a first detection signal is sent to the encryption chip of the cigarette cartridge; When a first response signal corresponding to the first detection signal sent by the encryption chip is received within a first set time, it is determined that a cigarette cartridge is connected to the cigarette rod, and the first set time is determined according to the historical time consumed from the decryption chip sending the first detection signal to receiving the first response signal, or according to the cycle time corresponding to the frequency of sending the detection signal; Continue to send a second detection signal to the encryption chip of the cigarette cartridge; When no response signal corresponding to the second detection signal is received within a preset time, it is determined that the cigarette cartridge is disconnected from the cigarette rod, and a wake-up signal is sent to the processing unit to wake up the processing unit, and the processing unit controls the prompt unit on the cigarette rod to operate and output a user-perceivable prompt that the cigarette rod is disconnected from the cigarette cartridge, and the preset time is not less than the first set time.
Citation Information
Patent Citations
Electronic atomizer device, electronic atomizer device body and operating method
CN110279155A
Electronic cigarette communication control system and electronic cigarette communication control method
CN110742311A