Locking and unlocking control method and device for heat-not-burn device and controller

By using the on/off status of indicator lights and buttons and the number of button presses to set a combination lock in the heated non-combustible device, the problem of insufficient security in existing devices is solved, achieving higher safety and privacy protection.

CN121587475APending Publication Date: 2026-03-03SHENZHEN GEEKVAPE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411164192.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

The child lock unlocking methods of existing heated non-combustible devices are similar and easily cracked, resulting in weak device security, especially insufficient protection for minors and their privacy.

Method used

By installing indicator lights and buttons in the heated non-combustible device, and using the on/off state of the indicator lights and the number of times the buttons are pressed, a combination lock can be set. The controller detects the number of times the buttons are pressed and determines the password, thereby improving the security of the device.

Benefits of technology

This enhances the safety and privacy of the heated non-combustible device, preventing minors from easily unlocking it and ensuring that only those who know the password can use the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121587475A_ABST
    Figure CN121587475A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of safety control of heating non-combustion devices, and provides a locking and unlocking control method and device of a heating non-combustion device, a controller and the heating non-combustion device. The heating non-combustion device is provided with the indicator lamp and the key, and when the coded lock setting mode is entered, the indicator lamp can be controlled to be kept in the first on-off state within the first duration. When seeing that the indicating lamp is in the first on-off state, the user can know that the password starts to be set at present, and can input the password by pressing down the key. The controller of the device can detect the number of times that the key is pressed down when the indicator lamp is in the first on-off state, the password of the coded lock is determined according to the number of times, and the coded lock is set for the device. As the password of the password lock is only known by a setting person, the use safety of the device can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of safety control technology for heated non-combustible devices, and in particular to an unlocking and unlocking control method, device, controller, and heated non-combustible device. Background Technology

[0002] Heated non-combustible devices use a heating element to heat and bake the aerosol generating matrix, which can make the aerosol generating matrix emit a smell similar to real cigarettes without burning the aerosol generating matrix. Using heated non-combustible devices can replace traditional cigarettes to a certain extent and reduce the harm to the user's body.

[0003] To prevent minors from using heated tobacco products, some existing heated tobacco products have a child lock function. However, the unlocking methods for these child locks are generally similar and are all indicated in the device's instruction manual. Anyone who knows how to unlock the child lock or has access to the manual can easily remove it, indicating that the current devices have relatively weak security. Summary of the Invention

[0004] In view of this, the present application provides a method, device, controller, and heating non-combustible device for unlocking and unlocking, which can conveniently set a password lock for the device using the device's buttons, thereby improving the security of the device.

[0005] A first aspect of this application provides an unlocking / unlocking control method for a heating non-combustible device, the heating non-combustible device being equipped with indicator lights and buttons, the method comprising:

[0006] The control indicator light remains on and off for a first period of time, and the first number of times the button is pressed while the indicator light is on and off is detected.

[0007] Determine the combination lock's password based on the first count;

[0008] Set a combination lock for the heating non-combustible device.

[0009] In the technical solution of this application embodiment, the heated non-combustible device is equipped with an indicator light and a button. When entering the combination lock setting mode, the indicator light is controlled to remain on and off for a first period of time. When the user sees the indicator light in the first on and off state, they can know that they are about to start setting a password and can enter the password by pressing the button. The device controller detects the number of times the button is pressed when the indicator light is in the first on and off state, determines the combination lock password based on the number of times, and sets the combination lock for the device. Since the combination lock password is known only to the person who set it, the security of the device is effectively improved.

[0010] In one implementation of this application, the combination lock's password consists of n digits, and the first count includes n number of key presses, where n ≥ 1; the control indicator light remains in a first on / off state for a first duration, and the detection of the first number of key presses while the indicator light is in the first on / off state includes:

[0011] The indicator light is controlled to remain in the first on / off state n times within the first time period, and the number of times the button is pressed is detected during each time the indicator light is in the first on / off state, so as to obtain n number of times the button is pressed.

[0012] Based on the first count, determine the combination lock's password, including:

[0013] Determine the n-digit password for the combination lock based on the number of times the key is pressed.

[0014] In one implementation of this application, the indicator light includes n sub-lights, each sub-light corresponding to an n-digit combination lock password; the indicator light is controlled to remain in a first on / off state n times within a first duration, and the number of times the button is pressed is detected during each of the n on / off states, resulting in n number of presses, including:

[0015] Each sub-lamp is controlled to remain in the first on / off state for a first duration, and the number of times the button is pressed is detected for each sub-lamp during the first on / off state, resulting in n number of button presses.

[0016] In one implementation of this application, after setting a combination lock for the heating non-combustible device, the method further includes:

[0017] The control indicator light remains on and off for a second period of time, and the second number of times the button is pressed while the indicator light is on and off is detected.

[0018] Based on the second count, determine the password to enter;

[0019] If the entered password matches the password for the combination lock, the combination lock will be unlocked.

[0020] In one implementation of this application embodiment, controlling the indicator light to remain in a second on / off state for a second duration includes:

[0021] The control indicator light remains on and off for the second time and the timer starts.

[0022] If a button is detected being pressed before the second duration of the timer is reached, the timer is reset.

[0023] If no button is detected being pressed when the timer reaches the second duration, the control indicator light will exit the second on / off state.

[0024] In one implementation of this application, a combination lock is provided for the heating non-combustible device, including:

[0025] Set the lock flag of the heating non-combustible device to the first value;

[0026] To unlock a combination lock, you can include:

[0027] Set the lock flag to the second value;

[0028] Specifically, when the lock flag is at the first value, the heating non-combustible device is prohibited from heating, and when the lock flag is at the second value, the heating non-combustible device is allowed to heat.

[0029] In one implementation of this application, after setting the lock flag of the heating non-combustible device to a first value, the method further includes:

[0030] If a preset operation on the key is detected, the combination lock's password is cleared, and the lock flag is set to the second value.

[0031] A second aspect of this application provides an unlocking / unlocking control device for a heat-not-burning device, the heat-not-burning device having indicator lights and buttons, the device comprising:

[0032] The button press count detection module is used to control the indicator light to remain in a first on / off state for a first duration, and to detect the first number of times the button is pressed when the indicator light is in the first on / off state.

[0033] The password determination module is used to determine the password for the combination lock based on the first count;

[0034] The combination lock setting module is used to set a combination lock for the heating non-combustible device.

[0035] A third aspect of this application provides a controller, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the unlocking / unlocking control method for the heated non-combustible device provided in the first aspect of this application.

[0036] A fourth aspect of this application provides a heating non-combustible device, which includes a controller as provided in the third aspect of this application.

[0037] A fifth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the unlocking / unlocking control method for a heating non-combustible device as provided in the first aspect of this application.

[0038] It is understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description

[0039] Figure 1 This is a schematic diagram of a heating non-combustible device provided in an embodiment of this application;

[0040] Figure 2 This is a schematic diagram of a connection circuit between the indicator light, buttons and controller of the heating non-combustible device provided in this application embodiment;

[0041] Figure 3 This is a schematic diagram of a button provided in an embodiment of this application;

[0042] Figure 4 This is a flowchart of an unlocking and unlocking control method for a heating non-combustible device provided in an embodiment of this application;

[0043] Figure 5 This is a schematic diagram of the operation flow of the unlocking and unlocking control method of the heating non-combustion device provided in this application embodiment in a practical application scenario;

[0044] Figure 6 This is a structural framework diagram of the unlocking and unlocking control device for a heating non-combustible device provided in an embodiment of this application;

[0045] Figure 7 This is a schematic diagram of a controller provided in an embodiment of this application. Detailed Implementation

[0046] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application can also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail. Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only for distinguishing descriptions and should not be construed as indicating or implying relative importance.

[0047] While using heated tobacco products can reduce harm to the human body to some extent, it can still cause significant harm to people with pre-existing medical conditions or minors. To address this issue, some existing heated tobacco products have child lock functions. However, the unlocking methods for these locks are generally similar and are all indicated in the device's instruction manual. Anyone familiar with the unlocking method or who has access to the manual can easily deactivate the child lock, resulting in weak security and privacy during use.

[0048] To address the aforementioned technical problems, this application provides a method, apparatus, controller, and heating-non-combustible device for unlocking and unlocking. This allows for convenient setting of a password lock on the device using its buttons, thereby enhancing the security and privacy of the device. For more specific technical details regarding the embodiments of this application, please refer to the various examples described below.

[0049] like Figure 1 The diagram shown is a schematic of a heating non-combustible device provided in an embodiment of this application. Figure 1 The heated non-combustible device shown includes a controller, indicator lights, buttons, a heating element, and a battery module. The controller is electrically connected to the indicator lights, buttons, heating element, and battery module. The controller controls the temperature of the heating element, controls the on / off state of the indicator lights, detects the number of times the buttons are pressed, and sets a combination lock for the device accordingly. Under the control of the controller, the heating element heats up to bake the aerosol-generating matrix, and the battery module provides electrical energy. Figure 1 Only one indicator light and one button are shown, but multiple indicator lights or multiple buttons can be provided depending on the actual needs of the device. That is, the technical solution of this application embodiment does not limit the number of indicator lights and buttons. In addition, the indicator light can be any model, type, shape, and color of light that is adapted to the device, and the button can also be any model, type, shape, and color of button that is adapted to the device. The technical solution of this application embodiment does not limit either of these.

[0050] The indicator lights, buttons, and controller of the heated non-combustible device can be connected via a wired connection. Please refer to [link / reference]. Figure 2 This is a schematic diagram of a connection circuit between the indicator light, buttons and controller of the heating non-combustible device provided in the embodiments of this application. Figure 2 The indicator light shown includes four LEDs: LED1, LED2, LED3, and LED4. Figure 2The device's controller has multiple I / O pins. LED1, LED2, LED3, LED4, and the button are connected to different pins on the controller. With this configuration, the controller can control the different on / off states of each LED by controlling the high and low levels output by the pins connected to the LEDs. For example, it can control the LED to light up, turn off, or blink at a set frequency (breathing mode), etc. The controller can identify whether the button has been pressed by detecting the level state of the pin connected to the button.

[0051] The buttons and indicator lights can be installed separately or simultaneously on the device. To better prompt the user to press the buttons when setting the device's combination lock, this application proposes a structure where the buttons and indicator lights are positioned simultaneously. Please refer to... Figure 3 The diagram shows a button schematic provided in an embodiment of this application. Figure 3 The button shown is circular, divided into four equal sections. Each section has an indicator light underneath. Figure 3 LED1, LED2, LED3, and LED4 are shown. This configuration ensures that when the indicator lights are flashing or in a blinking state, the user can see the button flashing and thus intuitively know that a button needs to be pressed.

[0052] It should be understood that the execution subject of each method embodiment of this application is the controller provided in the heating non-combustion device, such as the main control chip of the heating non-combustion device, and the embodiments of this application do not limit the specific type of the controller.

[0053] Please see Figure 4 This application illustrates an unlocking and unlocking control method for a heated non-combustible device, comprising:

[0054] 401. Control the indicator light to remain on or off for a first period of time, and detect the first number of times the button is pressed when the indicator light is on or off.

[0055] When the heated non-combustible device enters the combination lock setting mode, the device's controller will control the indicator light to remain on / off for a first period of time. This first period can be reasonably set according to the time required for the user to press the button multiple times, for example, it can be set to 5 seconds or 10 seconds. The first on / off state is the indicator light state used to indicate that the device is in combination lock setting mode; for example, the indicator light can be constantly on or flashing at a set frequency. As an example, the device's controller can control the pin connected to the indicator light to output PWM signals with different duty cycles at a fixed frequency f, thereby controlling the indicator light to flash at frequency f for 5 seconds.

[0056] When the indicator light is in its first on / off state, the user knows that a password needs to be set and can enter the password by pressing a button. The device's controller detects the number of times the button is pressed during the first on / off state and records it as the first count. In practice, users can use either long presses or short presses on the button. To reduce the time spent setting the password, short presses are recommended. For example, when the device enters the password setting mode, the indicator light can flash for 5 seconds. Within these 5 seconds, the user can short press the button the corresponding number of times according to the desired password. For example, to set the password "6", the user can short press the button 6 times. The number of button presses "6" can be stored in the device's register or Flash memory.

[0057] In one implementation of this application, the method further includes:

[0058] If a specified operation on the button is detected, the heating non-combustible device will be controlled to enter the combination lock setting mode.

[0059] When a user wants to set a combination lock, they need to first control the heating non-combustible device to enter the combination lock setting mode. Considering that all operations on the device are performed via buttons, the device can be triggered to enter the combination lock setting mode by performing a specific operation on the buttons. For example, a user can press the button five times in quick succession. After detecting that the button has been pressed five times in quick succession, the device's controller will call the locking function, thus entering the combination lock setting mode.

[0060] 402. Determine the combination lock's password based on the first count;

[0061] After detecting the first number of button presses while the indicator light is in the first on / off state, the combination lock's password is determined based on this first count. For example, if the first count is 6, the password is 6; if the first count is 7, the password is 7, and so on. Specifically, if the user does not press any button while the indicator light is in the first on / off state, the first count is 0, and the password is also 0. If the user presses the button more than 9 times while the indicator light is in the first on / off state, for example, if the first count is 12, the password is the maximum value of 9.

[0062] Considering that the unit's password is easy to crack and has low security, a multi-digit password can be set to improve the security of the combination lock. In one implementation of this application embodiment, the combination lock password includes n digits, the first count includes n number of times the key is pressed, n≥1; the control indicator light remains in a first on / off state for a first duration, and the first number of times the key is pressed when the indicator light is in the first on / off state is detected, including:

[0063] The indicator light is controlled to remain in the first on / off state n times within the first time period, and the number of times the button is pressed is detected during each time the indicator light is in the first on / off state, so as to obtain n number of times the button is pressed.

[0064] Based on the first count, determine the combination lock's password, including:

[0065] Determine the n-digit password for the combination lock based on the number of times the key is pressed.

[0066] When setting an n-digit password, the indicator light needs to be controlled n times to remain on and off for the first duration. The number of times the button is pressed during each of these on / off periods is also counted. This yields n keystroke counts, which can be used as the n-digit password for the lock. For example, assuming n=4, the first time the indicator light flashes for 5 seconds, and the number of keystrokes (c1) during this time is counted. After the indicator light goes off for a certain period (e.g., 3 seconds), the second time the indicator light flashes for 5 seconds, and the number of keystrokes (c2) is counted, and so on. This yields four keystroke counts: c1, c2, c3, and c4. Therefore, the four-digit password for the lock is c1c2c3c4.

[0067] When using a single indicator light to indicate the setting of a multi-digit password, if the password has many digits, the user may forget which of the initial on / off states the indicator light was in, i.e., forget which digit of the password they are currently setting. To solve this problem, the device's indicator light can include n sub-lights, each corresponding one-to-one with the n digits of the combination lock's password. For example, if n=4, LED1, LED2, LED3, and LED4, as described above, can be set, where LED1 corresponds to the first digit of the password, LED2 to the second digit, LED3 to the third digit, and LED4 to the fourth digit.

[0068] In one implementation of this application, the indicator light is controlled to remain in a first on / off state n times within a first duration, and the number of times the button is pressed during each of the n on / off states is detected to obtain n number of presses, including:

[0069] Each sub-lamp is controlled to remain in the first on / off state for a first duration, and the number of times the button is pressed is detected for each sub-lamp during the first on / off state, resulting in n number of button presses.

[0070] With n sub-lights, each sub-light only needs to perform the first on / off state process once. During this time, each sub-light is controlled to maintain the first on / off state for a first duration, and the number of times the button is pressed during the first on / off state of each sub-light is detected. This yields n button press counts, which serve as the n-digit password for the combination lock. Taking n=4 as an example, first, LED1 is controlled to flash for 5 seconds, and the number of button presses (c1) during this period is detected. The button press count is accumulated in the register count. After 5 seconds, c1 is written to the corresponding location in the device's Flash register (the storage location of the first digit of the combination lock's password), then the register count is cleared, and LED1 is turned off. Then, LED2, LED3, and LED4 are controlled sequentially to repeat the same operation as LED1 until LED4 turns off, ending the entire password setting process. Finally, four button press counts (c1, c2, c3, and c4) are obtained, and the four-digit password for the combination lock is c1c2c3c4. In this implementation, since the four LEDs correspond one-to-one with the four-digit combination lock password, and the four LEDs flash sequentially, the user can easily determine which part of the password is being set simply by checking which LED is currently flashing.

[0071] 403. Set a combination lock for the heating non-combustible device.

[0072] After determining the combination lock password, a corresponding combination lock can be set for the heat-not-burning device. For example, in the above example, the combination lock would be set to c1c2c3c4. In actual operation, a lock flag can be set for the heat-not-burning device. When the lock flag is at the first value (e.g., 1), the heat-not-burning device is prohibited from heating, and the heating module cannot be started. When the lock flag is at the second value (e.g., 0), the heat-not-burning device is allowed to heat, and the heating module can be started normally. In the combination lock setting operation, the lock flag of the heat-not-burning device is set to the first value, so the device cannot heat, thus achieving the locking function and preventing minors and other individuals from using the device. In addition, after the combination lock is successfully set, the device can prompt the user through a set method, such as controlling the device's motor to vibrate for 3 seconds. After the combination lock is set, if the user does not perform any operation within a certain period of time, the device can enter a sleep state, at which time all LED lights are turned off and the motor stops vibrating.

[0073] After the device is set with a combination lock, users need to enter the password to unlock it. When the device is in sleep mode, users can wake it up by pressing a button or similar method and then enter the password to unlock it.

[0074] In one implementation of this application, after setting a combination lock for the heating non-combustible device, the method further includes:

[0075] (1) Control the indicator light to remain in the second on / off state for the second duration, and detect the second number of times the button is pressed when the indicator light is in the second on / off state;

[0076] (2) Determine the password based on the second count;

[0077] (3) If the entered password matches the password of the combination lock, the combination lock will be unlocked.

[0078] During the unlocking process, the device's controller will keep the indicator light in a second on / off state for a second duration. This second on / off state indicates that the device is in the unlocking process; for example, the indicator light may be constantly on or flashing at a set frequency. In practice, to distinguish it from the unlocking process, the second on / off state can be different from the first. For example, the first on / off state could be flashing, while the second on / off state could be constantly on.

[0079] When the indicator light is in the second on / off state, the user knows that an unlock password is required and can enter it by pressing a button. The device's controller detects the number of times the button is pressed during this second on / off state and records it as the second count. In practice, users can use either a long press or a short press of the button. To reduce the time spent unlocking the lock, short presses are recommended. For example, when the device enters the unlocking operation, the indicator light can remain on for 2 seconds. Within these 2 seconds, the user can short press the button the corresponding number of times according to the desired password. For example, to enter the password "3", the user can short press the button 3 times. The number of button presses "3" can be stored in the device's register or Flash memory.

[0080] In one implementation of this application embodiment, controlling the indicator light to remain in a second on / off state for a second duration includes:

[0081] (1) Control the indicator light to remain on and off in the second on / off state and start the timer;

[0082] (2) If a button is detected being pressed before the second duration of the timer is reached, the timer is reset;

[0083] (3) If no button is detected being pressed when the timer reaches the second duration, the control indicator light will exit the second on / off state.

[0084] This implementation distinguishes the input process of each digit of the password by the duration during which the user does not press a key. A timer starts while the indicator light remains in a second on / off state. If a key press is detected before the second duration, the timer resets, indicating that the input of one digit of the password is not yet complete. If no key press is detected after the second duration, the indicator light exits the second on / off state, indicating that the input of one digit of the password is complete. For example, assuming the second on / off state is constantly on and the second duration is 2 seconds, if a key press is detected within 2 seconds, the indicator light will remain constantly on until the user stops pressing a key and waits 2 seconds before turning off, indicating that the input of one digit of the password is complete.

[0085] After the button is pressed a second time while the indicator light is in the second on / off state, the input password is determined based on the second count. For example, if the second count is 1, the input password is 1; if the second count is 2, the input password is 2, and so on. Specifically, if the user does not press the button while the indicator light is in the second on / off state, the second count is 0, and the input password is also 0; if the user presses the button more than 9 times while the indicator light is in the second on / off state, for example, the second count is 10, the input password is the upper limit of 9. Then, the input password is compared with the previously set combination lock password. If the input password matches the combination lock password, the combination lock is unlocked, and the locking flag is set to the second value, thus allowing the device to heat up; if the input password does not match the combination lock password, the combination lock is retained, and the locking flag remains at the first value, preventing the device from heating up.

[0086] The process of setting a combination lock described above includes three different implementation methods: 1 light with 1 digit password, 1 light with n digit password, and n lights with n digit password. The following describes the corresponding unlocking process for each implementation method.

[0087] In the implementation of a one-light, one-digit password system, the device controller keeps the indicator light on and off for a second period of time. It also detects the second number of times the button is pressed while the indicator light is on and off. This second number is used as the input password and compared with the previously set password for the combination lock. If the input password matches the password, the combination lock is unlocked; otherwise, the combination lock is retained. For example, the indicator light is kept constantly on for 2 seconds, and the number of times the button is pressed (s) during this process is detected. This s number is compared with the previously set one-digit password (c). If s = c, the combination lock is unlocked; if s ≠ c, the combination lock is retained.

[0088] In the implementation of the 1-light n-digit password, the device controller will control the indicator light to remain on and off n times within a second time period, and detect the number of times the button is pressed each time the indicator light is in the second on and off state, obtaining n counts of button presses. These n counts of button presses can be used as the input n-digit password, which is compared with the previously set n-digit password for the combination lock. For example, assuming n=4, the first time the indicator light is kept on and the number of button presses s1 during this process is detected. After the indicator light is off for a certain period of time, the second time the indicator light is kept on and the number of button presses s2 during this process is detected, and so on, resulting in four counts of button presses s1, s2, s3, and s4. The input password is then s1s2s3s4. s1s2s3s4 is compared with the previously set four-digit password c1c2c3c4. If s1s2s3s4 = c1c2c3c4, the combination lock is unlocked; if s1s2s3s4 ≠ c1c2c3c4, the combination lock is retained.

[0089] In the implementation of the n-light n-digit password, the device controller sequentially controls each sub-light to maintain a second on / off state for a second duration, and detects the number of times the button is pressed during the second on / off state of each sub-light, obtaining n press counts. These n press counts can be used as the input n-digit password and compared with the previously set n-digit password of the combination lock. For example, assuming n=4, and the four sub-lights are LED1, LED2, LED3, and LED4, first, LED1 is controlled to remain on. After detecting that the user has stopped pressing the button, LED1 is turned off after 2 seconds, and the number of times the button is pressed during the period when LED1 is on is recorded as s1. Then, LED2 is controlled to remain on. After detecting that the user has stopped pressing the button, LED2 is turned off after 2 seconds, and the number of times the button is pressed during the period when LED2 is on is recorded as s2. And so on, the number of times the button is pressed during the period when LED3 is on is recorded as s3, and the number of times the button is pressed during the period when LED4 is on is recorded as s4. When LED4 is off, the device can call the password matching function, passing in the input password s1s2s3s4, and compare it with the 4-digit password c1c2c3c4 stored in the Flash register. If s1s2s3s4 = c1c2c3c4, the password is unlocked; if s1s2s3s4 ≠ c1c2c3c4, the password is retained. Furthermore, during the password input process, if a digit of the password is 0, that digit is considered a successful match and its input can be skipped, thus improving the efficiency of password input. For example, assuming c2 = 0, after LED1 is off, the process of detecting button counts when LED2 is constantly on can be skipped, s2 = 0 is assumed, and the process directly proceeds to detecting button counts when LED3 is constantly on.

[0090] The device can prompt the user in different ways depending on whether the combination lock is successfully unlocked or not. For example, when the combination lock is successfully unlocked, the device's motor can vibrate and the indicator light can flash for 3 seconds to indicate that the lock has been unlocked, and the locking flag can be set to the second value (e.g., 0), allowing the device to heat up. When the combination lock is unsuccessfully unlocked, the device's motor can vibrate and the indicator light can flash for 1 second to indicate that the combination is incorrect, the locking flag remains at the first value (e.g., 1), the device heating is disabled, and the user can then re-enter the unlock combination.

[0091] Considering that users may forget the combination lock after setting it for the device, a mechanism for forcibly clearing the combination lock can be added to address this situation. In one implementation of this application, after setting the lock flag of the heated non-combustible device to a first value, the method further includes:

[0092] If a preset operation on the key is detected, the combination lock's password is cleared, and the lock flag is set to the second value.

[0093] If a user forgets the combination lock's password, they can perform a preset operation on the device's buttons. Upon detecting this preset operation, the device's controller will clear the password and set the lock flag to the second value, allowing the user to use the device normally. For example, if the device has a combination lock already set, the user can clear the password and set the lock flag to 0 by repeatedly pressing and holding the button. Alternatively, even if the user has entered the correct unlock password and the device has unlocked the lock, the user can still clear the password using different button operations, such as repeatedly pressing the button briefly.

[0094] In the technical solution of this application embodiment, the heated non-combustible device is equipped with an indicator light and a button. When entering the combination lock setting operation, the indicator light is controlled to remain in a first on / off state for a first duration. When the user sees the indicator light in the first on / off state, they can know that the combination lock setting has begun and can enter the combination by pressing the button. The device controller detects the first number of times the button is pressed when the indicator light is in the first on / off state, determines the combination lock combination based on the first count, and sets the combination lock for the device. Since the combination lock combination is known only to the person who set it, the security of the device is effectively improved.

[0095] To facilitate understanding of the unlocking and unlocking control method of the heating non-combustion device provided in the embodiments of this application, a practical application scenario is listed below.

[0096] like Figure 5The diagram shown illustrates the operation flow of the unlocking / unlocking control method for the heated non-combustible device provided in this application embodiment under a practical application scenario. Figure 5 In the illustrated application scenario, the user can control the device to enter the combination lock setting mode by pressing the button 5 times consecutively. After entering the combination lock setting mode, LED1, LED2, LED3, and LED4 start flashing sequentially for 5 seconds. The number of times the user presses the button during the flashing of LED1 (c1), LED2 (c2), LED3 (c3), and LED4 (c4) is detected, where c1 is the first character of the password string, c2 is the second, c3 is the third, and c4 is the fourth. Then, the device is set to a combination lock with the password c1c2c3c4, the lock flag is set to 1 to prevent the device from heating, and the motor vibrates for 3 seconds to indicate that the combination lock has been successfully set. Afterwards, when the user needs to use the device, LED1, LED2, LED3, and LED4 light up sequentially, and the number of times the user presses the button during the period when each LED is constantly lit is detected to obtain the input password s1s2s3s4. The input password s1s2s3s4 is compared with c1c2c3c4. If s1s2s3s4 matches c1c2c3c4, the combination lock is released, the lock flag is set to 0 to allow the device to heat up, the motor vibrates 3 times and the LED flashes for 3 seconds, indicating to the user that the combination lock has been released and the device can be used for heating and suction normally. If s1s2s3s4 does not match c1c2c3c4, the combination lock remains, the lock flag remains at 1, the motor vibrates once and the LED flashes for 1 second, indicating to the user that the password is incorrect. During the above process, the user can set or release an independent combination lock by pressing a button, which effectively improves the security and privacy of the device.

[0097] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0098] The above mainly describes an unlocking and unlocking control method for a heating non-combustible device. The following will describe an unlocking and unlocking control device for a heating non-combustible device.

[0099] Please see Figure 6 One embodiment of the unlocking / unlocking control device for a heated non-combustible device in this application includes:

[0100] The button press count detection module 601 is used to control the indicator light to remain in a first on / off state for a first duration, and to detect the first number of times the button is pressed when the indicator light is in the first on / off state.

[0101] The password determination module 602 is used to determine the password of the combination lock based on the first count;

[0102] The combination lock setting module 603 is used to set a combination lock for the heating non-combustible device.

[0103] In one implementation of this application, the password for the combination lock consists of n digits, the first count includes n key presses, and n ≥ 1; the key press count detection module includes:

[0104] The button press count detection unit is used to control the indicator light to remain in the first on / off state n times within the first duration, and to detect the number of times the button is pressed during each time the indicator light is in the first on / off state, so as to obtain n button press counts.

[0105] The password determination module includes:

[0106] The password determination unit is used to determine the n-digit password of the combination lock based on the number of times the key is pressed.

[0107] In one implementation of this application, the indicator light includes n sub-lights, each sub-light corresponding one-to-one with an n-digit combination lock password; the key press count detection unit includes:

[0108] The button count detection subunit is used to sequentially control each sub-lamp to maintain the first on / off state for a first duration, and to detect the number of times the button is pressed during the first on / off state of each sub-lamp, thus obtaining n counts of button presses.

[0109] In one implementation of this application, the unlocking / unlocking control device for the heating-non-combustible device further includes:

[0110] The button press count detection module is used to control the indicator light to remain in a second on / off state for a second duration, and to detect the second number of times the button is pressed while the indicator light is in the second on / off state.

[0111] The password input module is used to determine the password to be entered based on the second count;

[0112] The combination lock unlocking module is used to unlock the combination lock if the entered password matches the combination lock's password.

[0113] In one implementation of this application, the count detection module includes:

[0114] The timing start unit is used to control the indicator light to remain in the second on / off state and start the timing.

[0115] The timing reset unit is used to reset the timing if a button is detected being pressed before the second duration has elapsed.

[0116] The status exit unit is used to control the indicator light to exit the second on / off state if no button is detected being pressed when the timer reaches the second duration.

[0117] In one implementation of this application, the combination lock setting module includes:

[0118] The first flag setting unit is used to set the lock flag of the heating non-combustible device to a first value;

[0119] The combination lock unlocking module includes:

[0120] The second flag setting unit is used to set the lock flag to a second value;

[0121] Specifically, when the lock flag is at the first value, the heating non-combustible device is prohibited from heating, and when the lock flag is at the second value, the heating non-combustible device is allowed to heat.

[0122] In one implementation of this application, the unlocking / unlocking control device for the heating-non-combustible device further includes:

[0123] The password clearing module is used to clear the password of the combination lock and set the lock flag to the second value if a preset operation on the key is detected.

[0124] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the unlocking and unlocking control method for the heating non-combustible device as described in any of the above embodiments.

[0125] Figure 7 This is a schematic diagram of a controller provided in one embodiment of this application. Figure 7 As shown, the controller 7 in this embodiment includes a processor 70, a memory 71, and a computer program 72 stored in the memory 71 and executable on the processor 70. When the processor 70 executes the computer program 72, it implements the steps in the embodiments of the above-described unlocking and unlocking control methods for various heating-non-combustible devices, for example... Figure 4 Steps 401 to 403 are shown. Alternatively, when the processor 70 executes the computer program 72, it implements the functions of each module / unit in the above-described device embodiments, for example... Figure 6 The functions of modules 601 to 603 are shown.

[0126] The computer program 72 can be divided into one or more modules / units, which are stored in the memory 71 and executed by the processor 70 to complete this application. The one or more modules / units can be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program 72 in the controller 7.

[0127] The processor 70 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), 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.

[0128] The memory 71 can be an internal storage unit of the controller 7, such as a hard disk or memory of the controller 7. The memory 71 can also be an external storage device of the controller 7, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the controller 7. Furthermore, the memory 71 can include both internal storage units and external storage devices of the controller 7. The memory 71 is used to store the computer program and other programs and data required by the controller. The memory 71 can also be used to temporarily store data that has been output or will be output.

[0129] This application also provides a heating non-combustible device, which includes, as follows: Figure 7 The controller shown.

[0130] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to 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 embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0131] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0132] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0133] Those skilled in the art will recognize that the units and algorithm steps of the various examples 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 implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0134] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between devices or units through some interfaces, and may be electrical, mechanical, or other forms.

[0135] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiments of this application, depending on actual needs.

[0136] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0137] If the integrated unit is implemented as 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, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed 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 electrical carrier signals and telecommunication signals.

[0138] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A method for unlocking and unlocking a heating non-combustible device, characterized in that, The heating non-combustible device is equipped with an indicator light and buttons, and the method includes: The indicator light is controlled to remain in a first on / off state for a first duration, and the first number of times the button is pressed while the indicator light is in the first on / off state is detected; Based on the first count, determine the password for the combination lock; The combination lock is set for the heating non-combustible device.

2. The method as described in claim 1, characterized in that, The combination lock has a password of n digits, and the first number of presses includes n number of presses, where n ≥ 1; controlling the indicator light to remain in a first on / off state for a first duration, and detecting the first number of times the button is pressed while the indicator light is in the first on / off state, includes: The indicator light is controlled to remain in the first on / off state n times within the first duration, and the number of times the button is pressed is detected during each time the indicator light is in the first on / off state, so as to obtain the n number of times the button is pressed. Determining the password for the combination lock based on the first count includes: Based on the n number of times the key is pressed, the n-digit password of the combination lock is determined.

3. The method as described in claim 2, characterized in that, The indicator light includes n sub-lights, each of which corresponds one-to-one with the n-digit password of the combination lock; the indicator light is controlled to remain in the first on / off state n times within the first duration, and the number of times the button is pressed is detected during each time the indicator light is in the first on / off state, to obtain the n number of times the button is pressed, including: Each of the sub-lights is sequentially controlled to maintain the first on / off state within the first duration, and the number of times the button is pressed is detected for each sub-light during the first on / off state to obtain the n number of times the button is pressed.

4. The method according to any one of claims 1 to 3, characterized in that, After setting the combination lock for the heated non-combustible device, the method further includes: The indicator light is controlled to remain in a second on / off state for a second duration, and the number of times the button is pressed while the indicator light is in the second on / off state is detected. Based on the second count, determine the password to enter; If the input password matches the password of the combination lock, then the combination lock is unlocked.

5. The method as described in claim 4, characterized in that, The control of keeping the indicator light in a second on / off state for a second duration includes: Control the indicator light to maintain the second on / off state and start the timer; If the button is detected to be pressed before the second duration is reached, the timer is reset; If the button is not pressed when the timer reaches the second duration, the indicator light is controlled to exit the second on / off state.

6. The method as described in claim 4, characterized in that, The step of setting the combination lock for the heated non-combustible device includes: Set the lock flag of the heating non-combustible device to a first value; The unlocking of the password lock includes: Set the lock flag to the second value; Specifically, when the locking flag is the first value, the heating non-combustible device is prohibited from heating; when the locking flag is the second value, the heating non-combustible device is allowed to heat.

7. The method as described in claim 6, characterized in that, After setting the lock flag of the heating non-combustible device to a first value, the method further includes: If a preset operation on the key is detected, the password of the combination lock is cleared, and the locking flag is set to the second value.

8. An unlocking and unlocking control device for a heating non-combustible device, characterized in that, The heated non-combustible device is equipped with indicator lights and buttons, and the device includes: The button press count detection module is used to control the indicator light to remain in a first on / off state for a first duration, and to detect the first number of times the button is pressed when the indicator light is in the first on / off state. The password determination module is used to determine the password of the combination lock based on the first number of attempts. A combination lock setting module is used to set the combination lock for the heating non-combustible device.

9. A controller 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, it implements the unlocking and unlocking control method of the heating non-combustible device as described in any one of claims 1 to 7.

10. A heating non-combustible device, characterized in that, Includes the controller as described in claim 9.