An encryption authentication system and an encryption authentication method

CN122993923APending Publication Date: 2026-10-27HUAXIA CHENGHUANG (BEIJING) HEALTH TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611061101.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-16
Publication Date
2026-10-27

AI Technical Summary

Technical Problem

[0004]然而,现有蒸敷盘的电气接口均为标准化通用接口,设备主机对与之连接的蒸敷盘缺乏有效的识别和合法性校验机制,任何符合接口定义的蒸敷盘均可直接接入设备主机并执行加热操作;这种即插即用的工作模式导致仿制或非正规渠道的蒸敷盘能够被设备主机正常识别和使用,无法有效保障耗材来源的合法性和质量的可靠性,同时也给设备的安全运行和患者的治疗效果带来潜在风险

Benefits of technology

[0016]本公开实施例提供的技术方案与现有技术相比具有如下优点:

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122993923A_ABST
    Figure CN122993923A_ABST
Patent Text Reader

Abstract

The present disclosure provides an encryption authentication system and method, and relates to the technical field of encryption authentication. The system can solve the problem that the existing evaporation disc cannot be recognized by the equipment due to the lack of encryption authentication measures. The system comprises an evaporation box, a handle, an equipment host and an encryption fixture. The evaporation box is connected with the equipment host and the encryption fixture through the handle. The evaporation box comprises a temperature sensor and a master control chip. The temperature sensor is electrically connected with the master control chip. The handle first interface is connected with the evaporation box, the second interface is connected with the equipment host, and the third interface is connected with the encryption fixture. The encryption fixture is configured to operate the identification code according to a preset encryption algorithm, generate an encryption authentication code, and write the encryption authentication code into the master control chip for storage through the handle. The equipment host is configured to read the identification code of the temperature sensor through the handle, operate the identification code according to a preset encryption algorithm, generate a check code, and read the encryption authentication code stored in the master control chip.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of encryption authentication technology, and in particular to an encryption authentication system and encryption authentication method. Background Technology

[0002] With the continuous development of medical rehabilitation and physiotherapy technologies, various heat-based physical therapy devices have been widely used in clinical treatment and home healthcare. These devices typically consist of a main unit and accompanying consumable components. The main unit provides power and control signals to the consumable components, which, as terminal devices that directly act on the human body, directly affect the treatment outcome due to their performance stability and safety.

[0003] The steam compress tray is a core consumable component that comes into direct contact with the human body and provides heat therapy. The steam compress tray integrates heating elements and temperature detection elements. During use, it connects to the main unit of the device through an interface. The main unit of the device supplies power and issues temperature control commands. The main control chip in the steam compress tray controls the operation of the heating elements according to the commands. At the same time, the temperature detection element collects the temperature in real time and sends it back to the main unit, forming a closed-loop temperature control circuit. To adapt to different treatment needs, the same main unit of the device can usually be used with multiple models or batches of steam compress trays. These steam compress trays are sold independently in the market as consumables.

[0004] However, the electrical interfaces of existing steam compress trays are all standardized universal interfaces. The host device lacks an effective identification and legality verification mechanism for the connected steam compress trays. Any steam compress tray that conforms to the interface definition can be directly connected to the host device and perform heating operations. This plug-and-play working mode allows counterfeit or irregularly sourced steam compress trays to be recognized and used normally by the host device, which cannot effectively guarantee the legality of the source of consumables and the reliability of their quality. It also poses potential risks to the safe operation of the equipment and the treatment effect on patients. Summary of the Invention

[0005] To address the aforementioned technical issues, this disclosure provides an encryption authentication system and encryption authentication method.

[0006] In a first aspect, this disclosure provides an encrypted authentication system, comprising: a steaming box, a handle, a device host, and an encryption fixture; the steaming box is connected to the device host and the encryption fixture via the handle; the steaming box includes a temperature sensor and a main control chip; the temperature sensor is electrically connected to the main control chip; the handle includes a first interface, a second interface, and a third interface, the first interface being connected to the steaming box, the second interface being connected to the device host, and the third interface being connected to the encryption fixture; the encryption fixture is configured to read the identification code of the temperature sensor via the handle, perform calculations on the identification code according to a preset encryption algorithm to generate an encrypted authentication code, and write the encrypted authentication code into the main control chip for storage via the handle; the device host is configured to read the identification code of the temperature sensor via the handle, perform calculations on the identification code according to the preset encryption algorithm to generate a verification code, and read the encrypted authentication code stored in the main control chip to determine whether the verification code is the same as the encrypted authentication code; if they are the same, the steaming box passes authentication.

[0007] In some embodiments, the steaming box further includes a transistor and a heating element; the control terminal of the transistor is electrically connected to the first terminal of the main control chip, the first terminal of the transistor is electrically connected to the second terminal of the heating element, and the second terminal of the transistor is electrically connected to the ground terminal; the first terminal of the heating element is electrically connected to the power supply terminal.

[0008] In some embodiments, when the steaming box is certified, the device host is further configured to send an enable signal to the main control chip via the handle; the main control chip is further configured to, upon receiving the enable signal, output a pulse width modulation signal to the control terminal of the transistor, control the transistor to conduct according to a preset initial duty cycle, and control the heating device to be powered on and generate heat.

[0009] In some embodiments, the temperature sensor is disposed adjacent to the heating device, and the output terminal of the temperature sensor is electrically connected to the second terminal of the main control chip. The temperature sensor is configured to collect temperature data inside the steaming box and send it to the main control chip. The main control chip uploads the temperature data to the device host through the second interface of the handle. The device host is also configured to send a target temperature to the main control chip through the second interface of the handle. The main control chip is also configured to adjust the duty cycle of the pulse width modulation signal output to the control terminal of the transistor based on the difference between the temperature data and the target temperature.

[0010] In some embodiments, when the verification code and the encryption authentication code are different, the device host is configured to stop sending the enable signal to the main control chip, the transistor remains in the off state, and the heating device remains in the power-off state.

[0011] Secondly, this disclosure also provides an encryption authentication method, which is applied to the encryption authentication system of any of the above embodiments; the method includes: controlling the encryption fixture to read the identification code of the temperature sensor through the handle; controlling the encryption fixture to perform calculations on the identification code according to a preset encryption algorithm to generate an encryption authentication code; controlling the encryption fixture to write the encryption authentication code into the main control chip for storage through the handle; controlling the device host to read the identification code of the temperature sensor through the handle; controlling the device host to perform calculations on the identification code according to the preset encryption algorithm to generate a verification code; controlling the device host to read the encryption authentication code stored in the main control chip; controlling the device host to determine whether the verification code is the same as the encryption authentication code; if they are the same, the steaming box passes authentication.

[0012] In some embodiments, the steaming box further includes a transistor and a heating element; after the steaming box is certified, it further includes: controlling the device host to send an enable signal to the main control chip through the handle; controlling the main control chip to output a pulse width modulation signal to the control terminal of the transistor after receiving the enable signal; controlling the transistor to respond to the pulse width modulation signal and conduct according to a preset initial duty cycle, thereby controlling the heating element to be powered on and generate heat.

[0013] In some embodiments, controlling the transistor to conduct according to a preset initial duty cycle in response to the pulse width modulation signal, and controlling the heating device to generate heat after being powered on, further includes: controlling the temperature sensor to collect temperature data inside the steaming box and send it to the main control chip; controlling the main control chip to upload the temperature data to the device host through the second interface of the handle; controlling the device host to send a target temperature to the main control chip through the second interface of the handle; and controlling the main control chip to adjust the duty cycle of the pulse width modulation signal output to the control terminal of the transistor according to the difference between the temperature data and the target temperature.

[0014] In some embodiments, the main control chip adjusts the duty cycle of the pulse width modulation signal output to the control terminal of the transistor according to the difference between the temperature data and the target temperature, including: when the temperature data is lower than the target temperature, controlling the main control chip to increase the duty cycle; when the temperature data is higher than the target temperature, controlling the main control chip to decrease the duty cycle.

[0015] In some embodiments, after the device host determines whether the verification code is the same as the encryption authentication code, the method further includes: if the verification code is not the same as the encryption authentication code, controlling the device host to stop sending an enable signal to the main control chip, the transistor to remain in the off state, and the heating device to remain in the power-off state.

[0016] The technical solution provided in this disclosure has the following advantages compared with the prior art: Compared with existing technologies, the encryption authentication system of this application sets up a steaming box, a handle, a device host, and an encryption fixture. The handle is configured with a first interface connected to the steaming box, a second interface connected to the device host, and a third interface connected to the encryption fixture. This allows the encryption fixture to read the identification code of the temperature sensor in the steaming box through the handle, calculate the identification code according to a preset encryption algorithm to generate an encryption authentication code, and write it into the main control chip for storage. The device host can read the identification code of the temperature sensor through the handle and generate a verification code according to the same preset encryption algorithm. Then, it reads the encryption authentication code stored in the main control chip for comparison and verification. This achieves offline dynamic encryption authentication of the legality of the steaming box, overcoming the defects of existing technologies such as the lack of encryption measures for steaming trays, the inability of the device host to identify and verify the legality of consumables, and the security risks posed by the plug-and-play nature of counterfeit or irregularly sourced steaming trays. Attached Figure Description

[0017] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0018] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 A schematic diagram of an encryption authentication system provided in an embodiment of this disclosure; Figure 2 A flowchart of an encryption authentication method provided in this disclosure embodiment; Figure 3 A flowchart of another encryption authentication method provided in this disclosure embodiment; Figure 4 A flowchart illustrating yet another encryption authentication method provided in this disclosure embodiment; Figure 5 A flowchart of yet another encryption authentication method provided in this disclosure embodiment.

[0020] Among them, 1. Steaming box; 11. Temperature sensor; 12. Main control chip; 13. Transistor; 14. Heating device; 2. Handle; 21. First interface; 22. Second interface; 23. Third interface; 3. Device host; 4. Encryption fixture; 100. Encryption authentication system. Detailed Implementation

[0021] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.

[0022] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.

[0023] With the continuous development of medical rehabilitation and physiotherapy technologies, various heat-based physical therapy devices have been widely used in clinical treatment and home healthcare. These devices typically consist of a main unit and accompanying consumable components. The main unit provides power and control signals to the consumable components, which, as terminal devices that directly act on the human body, directly affect the treatment outcome due to their performance stability and safety.

[0024] The steam compress tray is a core consumable component that comes into direct contact with the human body and provides heat therapy. The steam compress tray integrates heating elements and temperature detection elements. During use, it connects to the main unit of the device through an interface. The main unit of the device supplies power and issues temperature control commands. The main control chip in the steam compress tray controls the operation of the heating elements according to the commands. At the same time, the temperature detection element collects the temperature in real time and sends it back to the main unit, forming a closed-loop temperature control circuit. To adapt to different treatment needs, the same main unit of the device can usually be used with multiple models or batches of steam compress trays. These steam compress trays are sold independently in the market as consumables.

[0025] However, the electrical interfaces of existing steam compress trays are all standardized universal interfaces. The host device lacks an effective identification and legality verification mechanism for the connected steam compress trays. Any steam compress tray that conforms to the interface definition can be directly connected to the host device and perform heating operations. This plug-and-play working mode allows counterfeit or irregularly sourced steam compress trays to be recognized and used normally by the host device, which cannot effectively guarantee the legality of the source of consumables and the reliability of their quality. It also poses potential risks to the safe operation of the equipment and the treatment effect on patients.

[0026] Based on this, this application provides an encryption authentication system. Figure 1 This is a schematic diagram of the structure of an encryption authentication system.

[0027] The encryption authentication system 100 includes: a steaming box 1, a handle 2, a device host 3, and an encryption fixture 4.

[0028] The steaming box 1 is connected to the main unit 3 and the encryption fixture 4 via the handle 2.

[0029] The steaming box 1 includes a temperature sensor 11 and a main control chip 12; the temperature sensor 11 is electrically connected to the main control chip 12; the handle 2 includes a first interface 21, a second interface 22 and a third interface 23, the first interface 21 is connected to the steaming box 1, the second interface 22 is connected to the device host 3, and the third interface 23 is connected to the encryption fixture 4.

[0030] The encryption fixture 4 is configured to read the identification code of the temperature sensor 11 through the handle 2, perform calculations on the identification code according to the preset encryption algorithm, generate an encryption authentication code, and write the encryption authentication code into the main control chip 12 for storage through the handle 2.

[0031] The device host 3 is configured to read the identification code of the temperature sensor 11 through the handle 2, perform calculations on the identification code according to the preset encryption algorithm to generate a verification code, and read the encryption authentication code stored in the main control chip 12 to determine whether the verification code and the encryption authentication code are the same. If they are the same, the steaming box 1 passes the authentication.

[0032] In some embodiments, the identification code of the temperature sensor 11 refers to the unique and unchangeable serial number embedded in the chip of the temperature sensor 11. This identification code serves as a unique hardware identity for each steaming box 1 and is the original data source for subsequent encryption operations.

[0033] The preset encryption algorithm refers to a custom, non-public mathematical transformation rule, such as performing specific bit operations, logical operations, or table lookup and replacement operations on the input value. The encryption fixture 4 and the device host 3 are pre-set with the exact same encryption algorithm.

[0034] The encryption authentication code refers to the result obtained by the encryption fixture 4 after taking the read identification code as input parameter and substituting it into the preset encryption algorithm. The encryption authentication code is written into the main control chip 12 and stored in its non-volatile memory.

[0035] The verification code refers to the result obtained by the host device 3 in the usage phase after substituting the identification code read into the same preset encryption algorithm for calculation, and is used to compare with the encryption authentication code stored in the main control chip 12.

[0036] Handle 2 serves as an intermediate transfer hub. The first interface 21 is connected to the composite wiring harness led out from the main control chip 12 inside the steaming box 1 to realize data and power communication between the steaming box 1 and handle 2. The second interface 22 is the host communication interface, which is used to connect to the device host 3 to realize the power supply of the device host 3 to the whole system and bidirectional communication with the main control chip 12. The third interface 23 is the encryption interface, which is used to connect to the encryption fixture 4 during the production or verification stage to complete the burning and writing of the encryption authentication code. Under normal use, this interface is disconnected from the encryption fixture 4.

[0037] The encryption authentication system 100 provided in this embodiment uses four hardware units: a steaming box 1, a handle 2, a device host 3, and an encryption fixture 4. It utilizes a unique and unchangeable identification code built into the temperature sensor 11 as a hardware trust root, and combines this with the same preset encryption algorithm pre-installed in the encryption fixture 4 and the device host 3 to construct a complete encryption authentication mechanism. During the manufacturing process, the encryption fixture 4 connects to the steaming box 1 via the third interface 23 of the handle 2, reads the identification code from the temperature sensor 11, and generates an encryption authentication code after processing with the preset encryption algorithm. This encryption authentication code is then stored in the main control chip 12. During use, the device host 3 connects to the steaming box 1 via the second interface 22 of the handle 2, reads the identification code from the same temperature sensor 11, and generates a verification code using the same preset encryption algorithm. It then compares the verification code stored in the main control chip 12. Only when the two codes match is the steaming box 1 allowed to pass authentication and be put into use.

[0038] Because the identification code of the temperature sensor 11 is unique and unchangeable at the hardware level, and the preset encryption algorithm is a non-public custom rule, even if an unauthorized third party obtains the identification code of the temperature sensor 11, they cannot know the preset encryption algorithm and therefore cannot generate the correct encryption authentication code. Even if an unauthorized third party attempts to copy the encryption authentication code from the legitimate steam compress box 1 to other steam compress boxes 1, because the identification code of the temperature sensor 11 of the copied object is different from the original identification code, the verification code generated by the device host 3 using the same identification code cannot match the copied encryption authentication code. This scheme enables the entire authentication process to be completed locally on the device without relying on the network or cloud server, achieving efficient and reliable offline dynamic encryption authentication. It effectively prevents the risk of the steam compress box 1 from irregular channels being identified and used by the device host 3, ensuring the legality of the consumable source and the security of the device operation.

[0039] In a specific implementation, the temperature sensor 11 can be a digital temperature sensor chip, with a 64-bit unique identification code embedded inside as the identification code; the main control chip 12 can be a microcontroller unit, which integrates non-volatile memory, such as flash memory or electrically erasable programmable read-only memory, for storing the encryption authentication code; the preset encryption algorithm can be a custom variant algorithm based on the Advanced Encryption Standard (AES) or the national cryptographic standard SM series algorithm, which is pre-programmed by the manufacturer into the storage medium of the encryption fixture 4 and the device host 3; the handle 2 can be provided with multiple wiring terminals, which correspond to the lead channels of the first interface 21, the second interface 22 and the third interface 23 respectively, to realize the electrical connection between each interface and the main control chip 12 inside the steaming box 1.

[0040] For example, taking a specific 16-bit KID encryption algorithm as an example, the operation and transformation process of the algorithm will be described in detail with specific KID values.

[0041] The input is a 16-bit original KID number (i.e., the identification code of temperature sensor 11), and the output is a 16-bit encrypted authentication code (i.e., the new KID number).

[0042] Divide the input 16-bit KID number into two 8-bit parts: the first part consists of bits 0 to 7 (the first 8 bits), and the second part consists of bits 8 to 15 (the last 8 bits). Swap the positions of these two parts. The resulting sequence is: the original bits 8 to 15 are placed first, and the original bits 0 to 7 are placed last.

[0043] For each character in the 16-bit new sequence obtained after the first transposition, perform different numerical modification operations according to the parity of its index position in the sequence: For even-indexed bits (i.e., bits 0, 2, 4, 6, 8, 10, 12, and 14), perform the subtraction 3 modulo 62 operation: v = (v - 3 + 62) % 62; For bits with odd indices (i.e., bits 1, 3, 5, 7, 9, 11, 13, and 15), perform the addition-5 modulo-62 operation: v = (v + 5) % 62.

[0044] Here, v represents the value of the current bit (ranging from 0 to 61). The modulo-62 operation ensures that the result always remains within the valid value range of 0 to 61, avoiding overflow. After the above two steps are completed, the resulting 16-bit numerical sequence is the final encryption authentication code (new KID number).

[0045] For example, the original 16-bit KID number of temperature sensor 11 is 3A8F7C21E6B4D905, which is represented in hexadecimal and consists of 16 characters. The value range of each character is 0-9 and AF, corresponding to the value 0-15.

[0046] The 16-bit KID number corresponds to the value [3, 10, 8, 15, 7, 12, 2, 1, 14, 6, 11, 4, 13, 9, 0, 5]; the first 8 bits (index 0-7): [3, 10, 8, 15, 7, 12, 2, 1], the last 8 bits (index 8-15): [14, 6, 11, 4, 13, 9, 0, 5]; after swapping, a new sequence (index 0-15) is obtained: [14, 6, 11, 4, 13, 9, 0, 5, 3, 10, 8, 15, 7, 12, 2, 1].

[0047] The numerical values ​​are modified according to the parity of the indices. Index 0 is even, corresponding to 14, so (14 - 3 + 62) % 62 = 73 % 62 = 11; index 1 is odd, corresponding to 6, so (6 + 5) % 62 = 11. Similarly, the values ​​corresponding to the other indices can be calculated, finally obtaining the 16-bit encryption authentication code: [11, 11, 8, 9, 10, 14, 59, 10, 0, 15, 5, 20, 4, 17, 61, 6]. This array is the encryption authentication code (new KID number) written by the encryption fixture 4 into the main control chip 12 of the steaming box 1. During the use phase, the device host 3 performs the same calculation process on the original identification code read by the same temperature sensor 11. If the arrays obtained by the two calculations are completely consistent, the authentication is successful.

[0048] This algorithm requires no complex mathematical calculations, involving only shifting, comparison, and modulo addition and subtraction operations, and will not cause significant delays in the real-time temperature control response of the steam compress box 1. Furthermore, through a two-step transformation of transposition and in-situ modification, the algorithm ensures that the encrypted authentication code obtained after processing any original KID number does not have an intuitive mapping relationship with the original KID number in terms of numerical distribution. Even if only one bit in the original KID number changes slightly, after transposition and modulo operation, this change will spread to multiple bits due to the combined effects of position shifting and numerical modification, resulting in a significant difference in the final encryption result. Moreover, since this algorithm is a non-public, custom rule, even if the identification code of the temperature sensor 11 is illegally read in extreme cases, a third party cannot obtain the complete mathematical mapping relationship between the original identification code and the encrypted authentication code, thus failing to generate the correct encrypted authentication code to forge the legitimate steam compress box 1. This provides a highly secure algorithmic foundation for the encryption authentication mechanism of this application.

[0049] In some embodiments, the first interface 21 of the handle 2 and the steaming box 1 are physically and electrically connected through a Pogo pin connector. The first interface 21 of the handle 2 is provided with a male or female Pogo pin, and the composite wire harness of the steaming box 1 is provided with a matching female or male pin. After the two are plugged in, the power supply line and the data communication line are connected. The third interface 23 of the handle 2 and the encrypted treatment device 4 are also connected through a Pogo pin connector. The second interface 22 of the handle 2 and the device host 3 are physically and electrically connected through a XLR connector. The XLR connector has a locking structure to ensure that the handle 2 and the device host 3 maintain reliable electrical contact during treatment.

[0050] It should be noted that when the Pogo Pin needle is subjected to external pressure, it compresses the internal spring and retracts into the needle tube. The spring's rebound force causes the needle to press against the opposite contact surface with a certain pressure, thereby establishing a reliable electrical connection. Because the spring always provides elastic pressure, good contact can be maintained even in vibration or slight shock environments.

[0051] Reference Figure 1 In some embodiments, the steaming box 1 further includes a transistor 13 and a heating element 14.

[0052] The control terminal of transistor 13 is electrically connected to the first terminal of the main control chip 12, the first terminal of transistor 13 is electrically connected to the second terminal of the heating device 14, and the second terminal of transistor 13 is electrically connected to the ground terminal; the first terminal of the heating device 14 is electrically connected to the power supply terminal.

[0053] Transistor 13 refers to a power switch used as an electronic switch. It can be a metal-oxide-semiconductor field-effect transistor (MOSFET). The control terminal is the gate, and the first and second terminals are the source and drain (or drain and source), respectively.

[0054] The control terminal of transistor 13 is electrically connected to the first terminal of the main control chip 12, meaning that the general-purpose input / output pin of the main control chip 12 is connected to the gate of transistor 13. The main control chip 12 outputs a high-level or low-level signal through this pin to control the conduction or cutoff of transistor 13. The first terminal of transistor 13 is electrically connected to the second terminal of the heating device 14, meaning that the drain (or source) of transistor 13 is connected to the lower terminal of the heating device 14. The second terminal of transistor 13 is electrically connected to the ground terminal, meaning that the source (or drain) of transistor 13 is connected to the common ground terminal of the circuit.

[0055] The first end of the heating element 14 is electrically connected to the power supply terminal, which means that the upper end of the heating element 14 is connected to the positive terminal of the working power supply provided by the host device 3.

[0056] The above connection is the power supply circuit for the heating device 14. The specific path is as follows: the current flows from the power supply terminal to the first terminal of the heating device 14, passes through the heating device 14, then flows from the second terminal of the heating device 14 to the first terminal of the transistor 13, and finally flows from the second terminal of the transistor 13 to the ground terminal.

[0057] The heating element 14 can be a ring-shaped heating wire, which is arranged around the internal cavity of the steaming box 1 to generate heat after being powered on to achieve the hot compress function; the transistor 13 acts as a switching element controlled by the main control chip 12 in this circuit. The main control chip 12 controls the entire circuit to switch between the on and off states by changing the level state of its control terminal, thereby realizing the control of the heating element 14 to heat up when powered on or to cool down when powered off.

[0058] in, Figure 1 The temperature sensor has three lines. The first line is the power supply line, which can be powered by the main control chip 12. The second line is the communication line, which transmits temperature data between the main control chip 12 and the temperature sensor 11, and sends the processed data to the first interface 21 of the handle 2. The third line is the grounding line.

[0059] For example, transistor 13 can be an N-channel enhancement-mode MOSFET, i.e., an NMOS transistor; heating device 14 can be a ring heating wire made of nickel-chromium alloy, which has stable resistivity and excellent heat resistance, and can meet the requirements of long-term repeated heating; main control chip 12 can be an STM32 microcontroller, which integrates a pulse width modulation module and can directly output a pulse width modulation signal with adjustable frequency and duty cycle without additional external circuitry.

[0060] In this embodiment, a series power supply circuit directly controlled by the main control chip 12 is formed by electrically connecting the control terminal of transistor 13 to the first terminal of the main control chip 12, electrically connecting the first terminal of transistor 13 to the second terminal of the heating device 14, electrically connecting the second terminal of transistor 13 to the ground terminal, and electrically connecting the first terminal of the heating device 14 to the power supply terminal.

[0061] Once the main control chip 12 confirms that the steaming box 1 has passed the legal certification, the main control chip 12 can output a high-level drive signal to the control terminal of the transistor 13 through its first terminal, so that the transistor 13 is turned on. The current provided by the power supply terminal flows through the heating device 14 and the transistor 13 in sequence to the ground terminal. After the heating device 14 is powered on, it generates Joule heat, realizing the heating function of the steaming box 1. When the main control chip 12 needs to stop heating, the main control chip 12 outputs a low-level signal to the control terminal of the transistor 13 through its first terminal, so that the transistor 13 is turned off, the power supply circuit is cut off, and the heating device 14 cools down naturally after being powered off.

[0062] Because the main control chip 12 can dynamically adjust the duty cycle of the pulse width modulation signal output to the control terminal of transistor 13 based on real-time temperature data, the average current flowing through the heating element 14 can be continuously adjusted by controlling the on-time ratio of transistor 13 within one cycle. This allows for precise adjustment of the heating power, ensuring that the steaming box 1 achieves stable and accurate temperature control near the target temperature set by the host device 3. This reduces the complexity of the internal circuitry and manufacturing cost of the steaming box 1 while ensuring heating efficiency.

[0063] Reference Figure 1 In some embodiments, when the steaming box 1 is certified, the device host 3 is also configured to send an enable signal to the main control chip 12 via the handle 2; the main control chip 12 is also configured to output a pulse width modulation signal to the control terminal of the transistor 13 when it receives the enable signal, control the transistor 13 to conduct according to a preset initial duty cycle, and control the heating device 14 to be powered on and heated.

[0064] In this embodiment, the enable signal refers to the authorization command signal sent by the host device 3 to the main control chip 12 through the second interface 22 of the handle 2 after confirming that the steaming box 1 has passed the legality authentication. This signal can be a specific level, such as a high level, or a series of data frames in a preset format, used to notify the main control chip 12 that the steaming box 1 has been confirmed as a legal plate and that the heating function can be started.

[0065] The preset initial duty cycle refers to the default on-time ratio of the pulse width modulation signal output by the main control chip 12 to the control terminal of the transistor 13 when heating is started for the first time. This initial duty cycle is a preset fixed value, such as 30%, which is used to provide a relatively smooth initial heating power during the heating start-up phase, so as to avoid the heating device 14 from rising too quickly due to the direct output of the maximum duty cycle.

[0066] Pulse width modulation (PWM) signal refers to a square wave signal with a fixed period but an adjustable high-level duration, i.e., an adjustable pulse width. The main control chip 12 controls the proportion of the conduction time of the transistor 13 in each switching cycle by changing the ratio of the high-level duration to the period of the signal, i.e., the duty cycle.

[0067] The main control chip 12 outputs a pulse width modulation signal to the control terminal of the transistor 13 only after receiving the enable signal. This means that the enable signal is the trigger condition for the main control chip 12 to output the pulse width modulation signal. If the enable signal is not received, the output pin of the main control chip 12 remains at a low level, the transistor 13 remains off, and the heating device 14 is not powered.

[0068] For example, the enable signal can be sent by the device host 3 in single-ended level form through an independent signal line inside the handle 2, or it can be sent through a serial communication bus; the preset initial duty cycle can be pre-calibrated according to the rated power of the heating device 14, for example, it can be set to a fixed value between 20% and 40%, which is written into the storage medium by the manufacturer when the device host 3 leaves the factory.

[0069] The frequency of the pulse width modulation signal can be set in the range of 1kHz to 10kHz to avoid audible switching noise and ensure smooth power regulation. The main control chip 12 can integrate a pulse width modulation module with independent timer and comparison register. The main control chip 12 can easily adjust the duty cycle of the output signal by writing different comparison values ​​to the comparison register without additional external circuitry.

[0070] In this embodiment, the device host 3 sends an enable signal to the main control chip 12 via the handle 2 only after confirming that the steaming box 1 has passed certification. The main control chip 12 only outputs a pulse width modulation signal to the control terminal of the transistor 13 after receiving the enable signal, controlling the transistor 13 to conduct according to a preset initial duty cycle and controlling the heating element 14 to be powered on and heat up. If the steaming box 1 has not passed certification, the device host 3 does not send an enable signal, the main control chip 12 does not output a pulse width modulation signal, and the heating element 14 remains powered off. Thus, it is ensured that only the certified and legitimate steaming box 1 can obtain heating permission and enter normal working state. Even if an illegal steaming plate can be physically connected to the handle 2, it will not be able to start heating because it cannot receive the enable signal sent by the device host 3, fundamentally eliminating the possibility of illegal plates being used.

[0071] Meanwhile, the use of pulse width modulation signals makes heating control no longer limited to simple on / off switching. The main control chip 12 can continuously adjust the heating power of the heating device 14 by adjusting the duty cycle. The preset initial duty cycle ensures that the heating starts with a smooth initial power each time heating is started, avoiding impact on the temperature sensor 11 or affecting the temperature acquisition accuracy. This provides a stable initial condition for subsequent closed-loop temperature control based on real-time temperature feedback, effectively extending the service life of the heating device 14.

[0072] In some embodiments, the temperature sensor 11 is disposed close to the heating device 14, and the output terminal of the temperature sensor 11 is electrically connected to the second terminal of the main control chip 12.

[0073] Temperature sensor 11 is configured to collect temperature data inside steaming box 1 and send it to main control chip 12. Main control chip 12 uploads the temperature data to device host 3 through the second interface 22 of handle 2.

[0074] The host device 3 is also configured to send the target temperature to the main control chip 12 through the second interface 22 of the handle 2; the main control chip 12 is also configured to adjust the duty cycle of the pulse width modulation signal output to the control terminal of the transistor 13 according to the difference between the temperature data and the target temperature.

[0075] The temperature sensor 11 is positioned close to the heating element 14, meaning that the temperature sensor 11 is physically installed close to the heating element 14 to ensure that the temperature sensor 11 can sense the actual temperature change on the surface of the heating element 14 with minimal delay and thermal inertia, thereby reducing temperature measurement deviations caused by excessively long heat conduction paths or air convection loss.

[0076] Temperature data refers to the numerical signal that represents the current temperature inside the steaming box 1, which is collected by the temperature sensor 11. This data can be a Celsius temperature value expressed in digital form, which is sent by the temperature sensor 11 to the main control chip 12 in the form of an electrical signal through its output terminal.

[0077] The target temperature refers to the desired temperature value set by the device host 3 based on treatment needs or user settings. This temperature value serves as the setpoint for the closed-loop temperature control system and is used to compare with the current actual temperature.

[0078] The difference between the temperature data and the target temperature is the algebraic difference obtained by subtracting the target temperature value from the current actual temperature value, i.e., the deviation value. This difference can be positive or negative. A positive value indicates that the current temperature is higher than the target temperature, and a negative value indicates that the current temperature is lower than the target temperature.

[0079] The main control chip 12 adjusts the duty cycle of the pulse width modulation signal output to the control terminal of the transistor 13 based on the difference between the temperature data and the target temperature. This means that the main control chip 12 uses the difference as the input variable of the control algorithm, calculates a control output quantity through a preset control strategy, and then adjusts the duty cycle value of the pulse width modulation signal to achieve closed-loop regulation of the heating power.

[0080] For example, the temperature sensor 11 can be a digital temperature sensor chip with a one-wire bus communication interface. Its output is connected to the general-purpose input / output pins of the main control chip 12. Temperature data is directly transmitted to the main control chip 12 in digital signal form via the one-wire bus protocol, eliminating the need for analog-to-digital conversion. The main control chip 12 and the host device 3 communicate bidirectionally via a serial communication cable inside the handle 2. The main control chip 12 packages the temperature data into a preset format data frame and uploads it to the host device 3 through the second interface 22 of the handle 2. The host device 3 parses the data frame, extracts the temperature data, and displays it on its display interface for user viewing. Simultaneously, the target temperature set by the user is sent to the main control chip 12 through the same path. The main control chip 12 can integrate a program module of proportional-integral-derivative (PID) control algorithm. The difference between the temperature data and the target temperature is used as the input of the PID control algorithm. After proportional, integral and derivative operations, a control quantity is output. This control quantity is mapped to the duty cycle adjustment value of the pulse width modulation signal. The main control chip 12 modifies the value of the comparison register in the pulse width modulation module according to the adjustment value, thereby changing the duty cycle of the pulse width modulation signal output to the control terminal of transistor 13.

[0081] This embodiment further defines the layout of the temperature sensor 11 and the data interaction and control adjustment mechanism among the main control chip 12, the device host 3, and the temperature sensor 11. First, the temperature sensor 11 is positioned close to the heating element 14, enabling it to sense the temperature change of the heating element 14 with the shortest heat conduction path, minimizing the impact of temperature measurement lag and thermal inertia on temperature acquisition accuracy, and providing accurate real-time temperature feedback data for subsequent closed-loop temperature control. Then, the temperature sensor 11 sends the collected temperature data to the main control chip 12, which uploads the temperature data to the device host 3 through the second interface 22 of the handle 2, allowing the device host 3 to monitor the actual working temperature of the steaming box 1 in real time, providing data basis for the host to issue reasonable control decisions.

[0082] The host device 3 sends the target temperature to the main control chip 12 according to the treatment needs. The main control chip 12 compares the real-time temperature data with the target temperature, calculates the difference between the two, and adjusts the duty cycle of the pulse width modulation signal output to the control terminal of the transistor 13 based on the difference. When the temperature data is lower than the target temperature, the duty cycle increases, the on-time of the transistor 13 increases, the on-time of the heating device 14 is extended, the heating power is increased, and the temperature rises. When the temperature data is higher than the target temperature, the duty cycle decreases, the on-time of the transistor 13 decreases, the on-time of the heating device 14 is shortened, the heating power is reduced, and the temperature drops.

[0083] This allows for dynamic adjustment of the duty cycle of the pulse width modulation signal based on real-time temperature feedback, maintaining a dynamic balance between the operating temperature of the steaming box 1 and the target temperature issued by the host device 3. This avoids the temperature continuously deviating from the target value due to constant heating power, achieving precise and stable temperature control. It also helps reduce unnecessary energy consumption and extend the service life of the heating element 14 and the steaming box 1.

[0084] In some embodiments, when the verification code and the encryption authentication code are different, the device host 3 is configured to stop sending enable signals to the main control chip 12, the transistor 13 remains in the off state, and the heating device 14 remains in the power-off state.

[0085] The verification code and the encryption authentication code are not the same. This means that the verification code value obtained by the host device 3 after using the preset encryption algorithm to calculate the identification code of the temperature sensor 11 is inconsistent with the encryption authentication code value read by the host device 3 from the main control chip 12. This verification result means that the currently inserted steaming box 1 has not been legally encrypted and initialized by the encryption fixture 4, or the encryption authentication code stored inside it has been tampered with or damaged, or the steaming box 1 is a counterfeit product.

[0086] When the host device 3 stops sending enable signals to the main control chip 12, it means that when the host device 3 determines that the verification code and the encryption authentication code are different, it does not perform the action of sending enable signals. In other words, the enable signal transmission channel between the host device 3 and the main control chip 12 remains in an invalid state.

[0087] Transistor 13 remains in the off state, meaning that since the main control chip 12 has not received an enable signal, it will not output a pulse width modulation signal to the control terminal of transistor 13. The control terminal of transistor 13 is in a low-level state, and there is no conduction between its first and second terminals, which is equivalent to the switch being in the off position.

[0088] The heating device 14 remains in a de-energized state, which means that when the transistor 13 is turned off, the power supply circuit from the power supply terminal through the heating device 14 to the transistor 13 and then to the ground terminal is in an open circuit state due to the turn-off of the transistor 13. The current cannot flow, so the heating device 14 does not generate Joule heat and remains in a de-energized cooling state.

[0089] For example, the device host 3 may be equipped with a logic judgment module, which generates a comparison result flag bit after the verification code and the encryption authentication code are compared. When the comparison results are different, the flag bit is set to an invalid state, and the device host 3 prohibits the transmission of the enable signal accordingly.

[0090] The main control chip 12 can be configured to set its pulse width modulation output pin to a high impedance state or a low level output state when no enable signal is received, so as to ensure that the control terminal of transistor 13 will not generate an uncertain level due to the floating pin, which will cause false turn-on. When transistor 13 is an enhancement MOSFET, its gate is kept at a low level by an internal pull-down resistor or an external pull-down resistor when there is no drive signal, so as to ensure that transistor 13 always remains in the off state when no valid drive signal is received.

[0091] In this embodiment, when the verification code and the encryption authentication code are different, the device host 3 is configured to stop sending the enable signal to the main control chip 12. The transistor 13 remains in the off state because it does not receive the pulse width modulation signal output by the main control chip 12, and the heating device 14 remains in the power-off state due to the power supply circuit being broken. This ensures that the system has a complete and consistent control process in both normal operation and abnormal interruption states. The authentication failure handling mechanism uses the power circuit being broken at the hardware level as the execution means, so that even if the illegal steaming box 1 is physically inserted into the handle 2 and establishes a communication connection with the device host 3, it cannot obtain any heating capacity. This achieves complete physical isolation of the illegal plate and further improves the safety of the device.

[0092] Secondly, such as Figure 2 As shown, this disclosure also provides an encryption authentication method, which is applied to the encryption authentication system 100 of any of the above embodiments; the method includes: S1. Control the encryption fixture 4 to read the identification code of the temperature sensor 11 through the handle 2.

[0093] S2. Control the encryption fixture 4 to perform calculations on the identification code according to the preset encryption algorithm to generate an encryption authentication code.

[0094] S3. Control the encryption fixture 4 to write the encryption authentication code into the main control chip 12 for storage via the handle 2.

[0095] S4. The host unit 3 of the control device reads the identification code of the temperature sensor 11 through the handle 2.

[0096] S5. The host device 3 of the control equipment calculates the identification code according to the preset encryption algorithm and generates a verification code.

[0097] S6. The host device 3 reads the encrypted authentication code stored in the main control chip 12.

[0098] S7. The host device 3 of the control equipment determines whether the verification code and the encryption authentication code are the same.

[0099] S8. If the results are the same, steam compress box 1 is certified.

[0100] The encryption fixture 4 reads the identification code of the temperature sensor 11 through the handle 2. This means that the encryption fixture 4 is triggered by the upper control software or the operator to perform the reading operation. The encryption fixture 4 sends a reading command to the temperature sensor 11 in the steaming box 1 through the third interface 23 inside the handle 2 and the composite wire harness. In response to the command, the temperature sensor 11 returns its internally fixed unique identification code to the encryption fixture 4 along the same path. In this process, the handle 2 plays the role of physical connection and signal relay.

[0101] For example, suppose the original 16-bit KID number of temperature sensor 11 is: 3A8F7C21E6B4D905, represented in hexadecimal, with a total of 16 characters, each character having a value range of 0-9 and AF, corresponding to the value 0-15; then the 16-bit KID number corresponds to the value [3, 10, 8, 15, 7, 12, 2, 1, 14, 6, 11, 4, 13, 9, 0, 5].

[0102] Execution step S1: Control the encryption fixture 4 to read the identification code of the temperature sensor 11 through the handle 2. The encryption fixture 4 actively sends a reading command to the temperature sensor 11. In response to the command, the temperature sensor 11 returns its internally fixed 16-bit original identification code to the encryption fixture 4 through the third interface 23, internal wiring harness and first interface 21 of the handle 2. The original KID number obtained by the encryption fixture 4 is: [3, 10, 8, 15, 7, 12, 2, 1, 14, 6, 11, 4, 13, 9, 0, 5].

[0103] Step S2: Control the encryption fixture 4 to perform calculations on the identification code according to the preset encryption algorithm to generate an encryption authentication code. The encryption fixture 4 takes the above 16-bit array as input and performs two-step calculations of the preset encryption algorithm to obtain the encryption authentication code: [11, 11, 8, 9, 10, 14, 59, 10, 0, 15, 5, 20, 4, 17, 61, 6]. The specific calculation process can be referred to the above, and will not be repeated here.

[0104] Step S3: Control the encryption fixture 4 to write the encryption authentication code into the main control chip 12 via the handle 2. The encryption fixture 4 sends the 16-bit encryption authentication code to the main control chip 12 in the form of a data frame via the handle 2. After receiving the data, the main control chip 12 stores it in its internal non-volatile memory. The factory encryption initialization of the steaming box 1 is completed, and the main control chip 12 has saved an encryption authentication code calculated based on the original identification code of its own temperature sensor 11.

[0105] Step S4: The host device 3 reads the identification code of the temperature sensor 11 through the handle 2. The host device 3 actively sends a reading command to the temperature sensor 11, and the temperature sensor 11 returns the original identification code embedded inside to the host device 3. Since the identification code of the same temperature sensor 11 chip cannot be changed, the original KID number read by the host device 3 is exactly the same as that read by the encryption fixture 4, both being [3, 10, 8, 15, 7, 12, 2, 1, 14, 6, 11, 4, 13, 9, 0, 5].

[0106] Step S5: The host device 3 performs calculations on the identification code according to the preset encryption algorithm to generate a verification code. The host device 3 has a preset encryption algorithm that is exactly the same as that of the encryption fixture 4. Therefore, the host device 3 performs the same two-step operation (transposition + in-place modification) on the same original identification code, and the resulting verification code is: [11, 11, 8, 9, 10, 14, 59, 10, 0, 15, 5, 20, 4, 17, 61, 6].

[0107] Step S6: The host device 3 reads the encryption authentication code stored in the main control chip 12. The host device 3 sends a read request to the main control chip 12, and the main control chip 12 reads the encryption authentication code pre-stored in its non-volatile memory during the factory stage and sends it to the host device 3. Since the steaming box 1 is a legitimate product, the encryption authentication code returned by the main control chip 12 is: [11, 11, 8, 9, 10, 14, 59, 10, 0, 15, 5, 20, 4, 17, 61, 6].

[0108] Steps S7 to S8 are executed: The host device 3 determines whether the verification code and the encryption authentication code are the same. The host device 3 compares the verification code generated by its own calculation with the encryption authentication code read from the main control chip 12 bit by bit. Both are [11,11, 8, 9, 10, 14, 59, 10, 0, 15, 5, 20, 4, 17, 61, 6], which are completely consistent. Therefore, the host device 3 determines that the steam pack 1 has passed the authentication, confirms that the currently connected steam pack 1 is a compliant consumable that has been legally encrypted and initialized, and allows it to enter the normal working state.

[0109] In this method, the generation and verification of the encrypted authentication code are completed by the encryption fixture 4 and the device host 3 respectively. The steaming box 1 itself only serves as a passive storage carrier for the encrypted authentication code, which effectively reduces the computational load of the main control chip 12 and the risk of key leakage. At the same time, the encryption fixture 4 only intervenes in the factory stage during the entire authentication process, and the device host 3 completes the verification action completely independently during the use stage without relying on the network or cloud server, thus realizing offline authentication.

[0110] Reference Figure 3 In some embodiments, the steaming box 1 further includes a transistor 13 and a heating element 14.

[0111] After the steam compress box 1 is certified, it also includes: S81, the host device 3 sends an enable signal to the main control chip 12 via the handle 2.

[0112] S82. After receiving the enable signal, the main control chip 12 outputs a pulse width modulation signal to the control terminal of the transistor 13.

[0113] S83, control transistor 13 to respond to pulse width modulation signal, turn on according to preset initial duty cycle, and control heating device 14 to be powered on and generate heat.

[0114] For example, the steam compress box 1 has passed the legality authentication of the aforementioned steps S1 to S8. The device host 3 confirms that the verification code and the encrypted authentication code are completely consistent by comparing them bit by bit, and the authentication result is passed. The steam compress box 1 is equipped with an NMOS transistor 13 and a ring heating wire. The first end of the heating wire is connected to the positive terminal of the 24V DC power supply provided by the device host 3. The device host 3 is preset with an initial duty cycle of 30% and the frequency of the pulse width modulation signal is set to 2kHz.

[0115] Execution step S81: After the logic judgment module inside the device host 3 confirms that the authentication is successful, it automatically generates an enable signal through its communication interface. The device host 3 pulls the signal line level from low level (0V) to high level (3.3V) through an independent signal line in the second interface 22 of the handle 2. This high level signal is the enable signal. The signal is transmitted along the signal line inside the handle 2 through the first interface 21 of the handle 2 to the main control chip 12 of the steaming box 1. After the main control chip 12 detects that the pin level changes from low to high, it confirms that it has received the enable signal sent by the device host 3.

[0116] Step S82: After detecting that the enable signal pin is high, the main control chip 12 immediately activates its internal pulse width modulation module. The timer of this module starts counting, and the counting period corresponds to a frequency of 2kHz, that is, each period is 0.5 milliseconds. The main control chip 12 calculates the comparison value according to the preset initial duty cycle of 30%. In a 0.5 millisecond period, the high level duration is 0.5 milliseconds × 30% = 0.15 milliseconds, and the low level duration is 0.5 milliseconds - 0.15 milliseconds = 0.35 milliseconds. The main control chip 12 writes the corresponding comparison value into the comparison register of the pulse width modulation module, and then starts to output the pulse width modulation signal from the pulse width modulation output pin. The output pin is directly electrically connected to the gate of transistor 13 through the internal wiring of the vapor chamber 1. Therefore, the pulse width modulation signal is transmitted to the gate of transistor 13 in real time.

[0117] Execute S83: The gate of transistor 13 receives the pulse width modulation signal output by the main control chip 12. In each pulse width modulation cycle, when the pulse width modulation signal is high (3.3V), the gate voltage is higher than the threshold voltage of the NMOS transistor, and the NMOS transistor is turned on; when the pulse width modulation signal is low (0V), the gate voltage is lower than the threshold voltage, and the NMOS transistor is turned off.

[0118] Since the initial duty cycle is 30%, that is, in each 0.5 millisecond cycle, transistor 13 is on for 0.15 milliseconds and off for 0.35 milliseconds, performing high-frequency alternation; when transistor 13 is on, current flows through the annular heating wire, and the annular heating wire generates Joule heat due to the thermal effect of the current, and begins to heat up; when transistor 13 is off, the power supply circuit is cut off, and the heating wire stops heating.

[0119] Since the switching frequency is 2kHz, the thermal inertia of the heating wire prevents its temperature from fluctuating significantly with a single switching cycle. Instead, it generates a relatively smooth average heating power based on a 30% conduction ratio. Therefore, the steaming box 1 starts to heat up with a smooth heating power corresponding to an initial duty cycle of 30%, avoiding the instantaneous temperature rise or current surge caused by starting at maximum power directly.

[0120] In summary, the host device 3 sends an enable signal to the main control chip 12 via the handle 2 only after confirming that the steaming box 1 has passed authentication (S81). The main control chip 12 only outputs a pulse width modulation signal to the control terminal of the transistor 13 after receiving the enable signal (S82). The transistor 13 responds to the pulse width modulation signal and conducts according to a preset initial duty cycle, controlling the heating element 14 to be powered on and generate heat (S83). This ensures that the heating start-up authority is completely controlled by the host device 3, and the steaming box 1 itself cannot actively initiate heating, further enhancing the host device 3's control over consumables. The use of pulse width modulation (PWM) signals allows heating control to go beyond simple on / off switching. The main control chip 12 can continuously adjust the heating power of the heating device 14 by adjusting the duty cycle of the PWM signal. The preset initial duty cycle ensures that the heating starts with a gradual initial power each time heating is started, avoiding the problem of the heating device 14 experiencing a rapid temperature rise, the temperature sensor 11 being subjected to thermal shock, or the transient load pressure on the power supply of the host device 3 caused by a sudden change in power supply current. It also helps to extend the service life of the heating device 14.

[0121] Reference Figure 3 In some embodiments, S83, the control transistor 13 is turned on according to a preset initial duty cycle in response to the pulse width modulation signal, and the heating device 14 is energized and heated, further comprising: S84 controls the temperature sensor 11 to collect temperature data inside the steaming box 1 and send it to the main control chip 12.

[0122] S85, the main control chip 12 uploads temperature data to the device host 3 through the second interface 22 of the handle 2.

[0123] S86, The host device 3 sends the target temperature to the main control chip 12 through the second interface 22 of the handle 2.

[0124] S87. The main control chip 12 adjusts the duty cycle of the pulse width modulation signal output to the control terminal of transistor 13 based on the difference between the temperature data and the target temperature.

[0125] For example, the steaming box 1 has passed legal certification and completed heating start-up. The main control chip 12 is outputting a pulse width modulation signal with an initial duty cycle of 30% to drive the transistor 13 to conduct. The ring heating wire is energized and heating up, with a target temperature of 50°C.

[0126] Step S84: Temperature sensor 11 continuously measures the temperature according to the preset sampling period. At one sampling moment, temperature sensor 11 detects that the current temperature inside the steaming box 1 is 28°C. Temperature sensor 11 converts the temperature value into a digital signal and sends it to the main control chip 12. After receiving the data, the main control chip 12 performs verification and analysis to confirm that the current real-time temperature is 28°C.

[0127] Step S85: The main control chip 12 sends the temperature data 28℃ to the handle 2 and further transmits it to the device host 3. After receiving the temperature data, the device host 3 extracts the temperature value 28℃ and displays it on the display interface of the device host 3 so that the user can view the current working temperature of the steaming box 1 in real time.

[0128] Execute S86: The device host 3 reads the target temperature of 50℃ set by the user and sends the target temperature to the main control chip 12 through the second interface 22 of the handle 2. After receiving the target temperature, the main control chip 12 extracts the target temperature of 50℃.

[0129] Execute S87: The main control chip 12 compares the current real-time temperature of 28℃ with the target temperature of 50℃ and calculates the difference: 28℃ - 50℃ = -22℃. A negative value indicates that the current temperature is lower than the target temperature of 22℃, and the heating power needs to be increased to make the temperature rise.

[0130] According to the preset control strategy, the main control chip 12 determines that when the temperature difference is large, the duty cycle should be significantly increased to rapidly raise the temperature. The main control chip 12 calculates a duty cycle adjustment amount based on the size of the difference, for example, increasing the duty cycle from the initial 30% to 60%, and correspondingly modifying the value of the comparison register in the pulse width modulation module.

[0131] After a period of continuous heating, the temperature sensor 11 once again detects that the current temperature has risen to 42℃. The main control chip 12 uploads 42℃ to the host device 3 and compares it with the target temperature of 50℃ again. The difference becomes 42℃ - 50℃ = -8℃, which is a negative value, but the absolute value has decreased significantly. The main control chip 12 dynamically adjusts the duty cycle according to this difference. For example, the duty cycle is reduced from 60% to 45%. The heating power is reduced accordingly but is still higher than the initial power, and the temperature continues to rise slowly.

[0132] After a period of time, the temperature sensor 11 collected the current temperature rising to 48℃, and the difference became 48℃-50℃=-2℃. Based on this small difference, the main control chip 12 further reduced the duty cycle from 45% to 33%, the heating power continued to decrease, and the temperature rise rate further slowed down.

[0133] Finally, when the temperature sensor 11 detects that the current temperature has reached 50℃, the difference is 50℃ - 50℃ = 0℃. Based on this zero difference, the main control chip 12 stabilizes the duty cycle at a certain equilibrium value, such as 32%. At this time, the heating power is exactly equal to the heat power lost by the steaming box 1 to the environment, and the temperature is maintained at around 50℃ to maintain dynamic equilibrium.

[0134] In this way, after heating is started, the temperature sensor 11 continuously collects the temperature data inside the steaming box 1 and sends it to the main control chip 12 (S84). The main control chip 12 uploads the temperature data to the device host 3 through the second interface 22 of the handle 2 (S85). The device host 3 sends the target temperature to the main control chip 12 through the second interface 22 of the handle 2 (S86). The main control chip 12 adjusts the duty cycle of the pulse width modulation signal output to the control terminal of the transistor 13 according to the difference between the temperature data and the target temperature (S87). This avoids the problem of the temperature continuously deviating from the target value due to constant heating power or reliance on simple switch control, and achieves a precise and stable temperature control effect. At the same time, the uploading of temperature data and the sending of the target temperature are both completed on the same communication link through the second interface 22 of the handle 2, making full use of the handle 2 without the need for additional communication lines, maintaining the simplicity of the system hardware structure, and also helping to reduce unnecessary energy consumption and extend the service life of the heating element 14 and the steaming box 1.

[0135] like Figure 4 As shown, in some embodiments, S87 and the main control chip 12 adjust the duty cycle of the pulse width modulation signal output to the control terminal of transistor 13 based on the difference between the temperature data and the target temperature, including: S871: When the temperature data is lower than the target temperature, control the main control chip 12 to increase the duty cycle.

[0136] S872. When the temperature data is higher than the target temperature, control the main control chip 12 to reduce the duty cycle.

[0137] For example, the steaming box 1 has passed legal certification, and the main control chip 12 is outputting a pulse width modulation signal with an initial duty cycle of 30% to drive the transistor 13 to conduct, and the annular heating wire is being energized and heating up. The temperature sensor 11 continuously collects the real-time temperature inside the steaming box 1 at a sampling frequency of 2 times per second and uploads it to the main control chip 12. The target temperature issued by the device host 3 is 50°C.

[0138] Temperature sensor 11 collects the current temperature as 28℃. The main control chip 12 compares the real-time temperature of 28℃ with the target temperature of 50℃ and calculates the difference: 28℃ - 50℃ = -22℃. This difference is negative, indicating that the current temperature is lower than the target temperature. The main control chip 12 determines that the current temperature is lower than the target temperature and executes step S871: control the main control chip 12 to increase the duty cycle. The PID control algorithm inside the main control chip 12 calculates the duty cycle adjustment amount based on the difference and decides to increase the duty cycle from the initial 30% to 60%.

[0139] Temperature sensor 11 detects that the current temperature has reached 52℃. The difference is 52℃ - 50℃ = +2℃. This difference is positive, indicating that the current temperature has exceeded the target temperature. The main control chip 12 determines that the current temperature is higher than the target temperature and executes step S872: controlling the main control chip 12 to reduce the duty cycle. The main control chip 12 calculates the duty cycle adjustment amount based on the difference and reduces the duty cycle from 33% to 28%. The on-time ratio of transistor 13 in each cycle decreases, the average current flowing through the heating wire decreases, the heating power decreases, and the temperature of the steaming box 1 begins to drop.

[0140] In summary, when the temperature data is lower than the target temperature, the main control chip 12 increases the duty cycle to increase the heating power, causing the temperature to rise closer to the target value; when the temperature data is higher than the target temperature, the main control chip 12 decreases the duty cycle to reduce the heating power, causing the temperature to drop closer to the target value, ensuring that the temperature of the steaming box 1 is always guided and stabilized near the target temperature; when the temperature of the steaming box 1 deviates from the target value due to external disturbances such as changes in ambient temperature, fluctuations in power supply voltage, and changes in heat dissipation conditions, the main control chip 12 can automatically increase or decrease the duty cycle according to the direction of deviation, pulling the temperature back to near the target value, which not only ensures rapid heating response capability, but also avoids temperature overshoot and repeated oscillation caused by over-adjustment, achieving a balance between rapid response and stable control.

[0141] like Figure 5 As shown, in some embodiments, after the device host 3 determines whether the verification code and the encryption authentication code are the same, it further includes: S9. If the verification code and the encryption authentication code are different, the host device 3 stops sending the enable signal to the main control chip 12, the transistor 13 remains in the off state, and the heating device 14 remains in the power-off state.

[0142] For example, after confirming the authentication failure, the device host 3 executes step S9: the device host 3 stops sending the enable signal to the main control chip 12, and the logic judgment module inside the device host 3 generates an invalid flag bit according to the comparison result, and the enable signal sending control port is locked to the disabled state; at this time, the signal line originally used to send the enable signal remains at a low level (0V), and the device host 3 does not send any authorization instructions to the main control chip 12.

[0143] Transistor 13 remains in the off state. Since the enable signal detection pin of the main control chip 12 is always at a low level, the main control chip 12 does not receive the enable signal sent by the host device 3. Therefore, its pulse width modulation module remains inactive, and the pulse width modulation output pin remains at a low level.

[0144] The heating element 14 remains de-energized. Since the transistor 13 is in the cut-off state, the power supply circuit is in an open circuit state due to the cut-off of the transistor 13. Current cannot flow, no current flows through the heating wire, and no Joule heat is generated. The heating element 14 remains de-energized, and the steaming box 1 does not heat up.

[0145] In this way, when the verification code and the encryption authentication code are different, the host device 3 is configured to stop sending the enable signal to the main control chip 12. The transistor 13 remains in the cut-off state because it does not receive the pulse width modulation signal output by the main control chip 12. The heating device 14 remains in the power-off state because the power supply circuit is broken. This makes it impossible for the illegal steaming box 1 to obtain any heating capacity even if it physically inserts the handle 2 and establishes a communication connection with the host device 3. This achieves complete physical isolation of the illegal plate and effectively prevents safety risks such as uncontrolled heating, substandard temperature, and device damage that may be caused by the use of irregular channels or counterfeit steaming boxes 1, further improving the safety of equipment use.

[0146] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0147] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An encryption authentication system, characterized in that, include: Steaming box, handle, main unit of equipment, and encrypted fixture; The steaming box is connected to the main unit of the device and the encryption fixture respectively via the handle; The steaming box includes a temperature sensor and a main control chip; the temperature sensor is electrically connected to the main control chip; The handle includes a first interface, a second interface, and a third interface. The first interface is connected to the steaming box, the second interface is connected to the device host, and the third interface is connected to the encryption fixture. The encryption fixture is configured to read the identification code of the temperature sensor through the handle, perform calculations on the identification code according to a preset encryption algorithm to generate an encryption authentication code, and write the encryption authentication code into the main control chip for storage through the handle; The device host is configured to read the identification code of the temperature sensor through the handle, perform calculations on the identification code according to the preset encryption algorithm to generate a verification code, and read the encrypted authentication code stored in the main control chip to determine whether the verification code and the encrypted authentication code are the same. If they are the same, the steaming box passes the authentication.

2. The encryption authentication system according to claim 1, characterized in that, The steaming box also includes transistors and heating elements; The control terminal of the transistor is electrically connected to the first terminal of the main control chip, the first terminal of the transistor is electrically connected to the second terminal of the heating device, and the second terminal of the transistor is electrically connected to the ground terminal. The first end of the heating device is electrically connected to the power supply.

3. The encryption authentication system according to claim 2, characterized in that, When the steaming box is certified, the device host is also configured to send an enable signal to the main control chip via the handle; The main control chip is also configured to output a pulse width modulation signal to the control terminal of the transistor when it receives the enable signal, control the transistor to conduct according to a preset initial duty cycle, and control the heating device to be powered on and generate heat.

4. The encryption authentication system according to claim 3, characterized in that, The temperature sensor is disposed adjacent to the heating device, and the output terminal of the temperature sensor is electrically connected to the second terminal of the main control chip; The temperature sensor is configured to collect temperature data inside the steaming box and send it to the main control chip. The main control chip uploads the temperature data to the device host through the second interface of the handle. The device host is also configured to send a target temperature to the main control chip via the second interface of the handle; The main control chip is also configured to adjust the duty cycle of the pulse width modulation signal output to the control terminal of the transistor based on the difference between the temperature data and the target temperature.

5. The encryption authentication system according to claim 3, characterized in that, When the verification code and the encryption authentication code are different, the device host is configured to stop sending the enable signal to the main control chip, the transistor remains in the off state, and the heating device remains in the power-off state.

6. An encryption authentication method, characterized in that, The encryption authentication system applied to any one of claims 1-5 includes: The encryption fixture is controlled to read the identification code of the temperature sensor via the handle; The encryption fixture is controlled to perform calculations on the identification code according to a preset encryption algorithm to generate an encryption authentication code; The encryption fixture is controlled to write the encryption authentication code into the main control chip for storage via the handle; The host device controls the reading of the identification code of the temperature sensor via the handle; The host device controls the device to perform calculations on the identification code according to the preset encryption algorithm to generate a verification code; The device host is controlled to read the encryption authentication code stored in the main control chip; The host device controls the device to determine whether the verification code is the same as the encryption authentication code; if they are the same, the steaming box passes the authentication.

7. The encryption authentication method according to claim 6, characterized in that, The steam therapy box also includes transistors and heating elements; after certification, the steam therapy box further includes: The host device controls the sending of an enable signal to the main control chip via the handle; After receiving the enable signal, the main control chip outputs a pulse width modulation signal to the control terminal of the transistor. The transistor is controlled to respond to the pulse width modulation signal and conduct according to a preset initial duty cycle, thereby controlling the heating device to be powered on and generate heat.

8. The encryption authentication method according to claim 7, characterized in that, Controlling the transistor to conduct according to a preset initial duty cycle in response to the pulse width modulation signal, and controlling the heating device to generate heat after being powered on, further includes: The temperature sensor is controlled to collect temperature data inside the steaming box and send it to the main control chip. The main control chip is controlled to upload the temperature data to the device host via the second interface of the handle; The host device controls the transmission of the target temperature to the main control chip via the second interface of the handle; The main control chip adjusts the duty cycle of the pulse width modulation signal output to the control terminal of the transistor based on the difference between the temperature data and the target temperature.

9. The encryption authentication method according to claim 8, characterized in that, The main control chip adjusts the duty cycle of the pulse width modulation signal output to the control terminal of the transistor based on the difference between the temperature data and the target temperature, including: When the temperature data is lower than the target temperature, the main control chip is controlled to increase the duty cycle; When the temperature data is higher than the target temperature, the main control chip is controlled to reduce the duty cycle.

10. The encryption authentication method according to claim 6, characterized in that, After the device host determines whether the verification code and the encryption authentication code are the same, it also includes: If the verification code is different from the encryption authentication code, the host device is controlled to stop sending enable signals to the main control chip, the transistor remains in the off state, and the heating device remains in the power-off state.