Equipment charging method and device, equipment, storage medium and program product

By designing communication pins in the charging device to obtain parameters of the aerosol generating device, determining power supply requirements, and providing a matching charging current, the problem of mismatch between the charging device and the aerosol generating device is solved, improving the safety and efficiency of the device.

CN121077019APending Publication Date: 2025-12-05GUANGDONG QISITECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511234801.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-29
Publication Date
2025-12-05

AI Technical Summary

Technical Problem

Existing charging equipment cannot provide matching charging current according to the needs of different aerosol generating devices, resulting in charging failures, low equipment efficiency, and safety hazards.

Method used

Design a charging device that connects to an aerosol generating device via a communication pin to obtain its battery and device parameters, determine whether power supply is required and the power supply current, and adopt different charging current strategies to match the device requirements.

Benefits of technology

It improves the charging safety and efficiency of aerosol generation equipment, extends equipment life, and avoids equipment failure and safety hazards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121077019A_ABST
    Figure CN121077019A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of charging, and provides an equipment charging method and device, equipment, a storage medium and a program product, and the method comprises the steps: designing charging equipment for providing charging current for aerosol generation equipment, and according to related parameters corresponding to the aerosol generation equipment connected with the charging equipment, carrying out the charging of the aerosol generation equipment; whether the charging device needs to supply power to the charging device or not and the charging current needed by power supply to the charging device are determined, so that the charging safety of the aerosol generating device is improved, the service life of the aerosol generating device is prolonged, and the use efficiency of the device corresponding to the aerosol generating device is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of charging technology, and in particular relates to device charging methods, apparatus, equipment, storage media and program products. Background Technology

[0002] With technological advancements, aerosol generation equipment is constantly being updated. Currently, aerosol generation equipment is equipped with charging capabilities to extend its service life.

[0003] In related technologies, users can connect the aerosol generating device to a power bank to supply power to the aerosol generating device.

[0004] However, since power banks can only output their rated maximum power supply current, and aerosol generating devices are diverse with varying charging requirements, using a single current to power different aerosol generating devices can lead to a mismatch between the power supply requirements of some aerosol generating devices and the power bank. This can cause malfunctions during charging and reduce the efficiency of the aerosol generating devices. Summary of the Invention

[0005] This application provides a device charging method, apparatus, device, storage medium, and program product. By designing a charging device that provides charging current to an aerosol generating device, and determining whether the charging device needs to supply power and the charging current required to supply power to the aerosol generating device based on the relevant parameters of the aerosol generating device connected to the charging device, the charging device improves the charging safety of the aerosol generating device and thus improves the device utilization efficiency of the aerosol generating device.

[0006] In a first aspect, embodiments of this application provide a device charging method, the method being applied to a charging device, the charging device being used to provide charging current to an aerosol generating device, the charging device including a first pin and a second pin, the first pin being used to provide electrical energy to the aerosol generating device, and the second pin being used for communication between the charging device and the aerosol generating device; the method includes: When the second pin detects that the charging device has established a communication connection with the aerosol generating device, the first battery parameter corresponding to the aerosol generating device is obtained. The first battery parameter is used to determine whether the charging device needs to provide power to the aerosol generating device. If the first battery parameters meet the first charging conditions, the first pin is activated. Obtain first equipment parameters corresponding to the aerosol generating device, wherein the first equipment parameters are used to determine the charging index of the aerosol generating device; The first charging current is determined based on the first device parameters; The aerosol generating device is powered based on the first pin and the first charging current.

[0007] Optionally, activating the first pin when the first battery parameters meet the first charging condition includes: When the first battery parameters meet the first charging conditions, the first pin is adjusted from the off state to the on state, and the first pin does not output power in the off state.

[0008] Optionally, the step of powering the aerosol generating device based on the first pin and the first charging current includes: The first charging current is output to the aerosol generating device through the first pin, so that the charging device supplies power to the aerosol generating device.

[0009] Optionally, the step of powering the aerosol generating device based on the first pin and the first charging current includes: The first charging current is output to the aerosol generating device through the first pin, so that the charging device supplies power to the aerosol generating device.

[0010] Optionally, the first device parameters include at least one of the following: device type, battery capacity, heating method, or operating status of the aerosol generating device.

[0011] Optionally, the first charging current includes a first sub-current and a second sub-current, and the operating state includes a standby state or a suction state. Determining the first charging current based on the first device parameters includes: When the aerosol generating device is in the suction state, the first sub-current is determined based on the suction state; When the aerosol generating device is in the standby state, the second sub-current is determined based on the standby state, and the second sub-current is less than the first sub-current.

[0012] Optionally, the first battery parameter includes at least one of the following: whether the aerosol generating device includes a battery module, whether the battery module is in operation, or the battery capacity corresponding to the battery module.

[0013] Optionally, activating the first pin when the first battery parameters meet the charging conditions includes: In the case where the battery assembly is included in the aerosol generating device, the first pin is activated; and / or, When the battery assembly is in the operating state, the first pin is activated; and / or, When the battery level is lower than a first preset power threshold, the first pin is activated.

[0014] Optionally, the method further includes: When the battery assembly is included in the aerosol generating device, the first pin is kept in the off state; or... When the battery assembly is in the operating state, the first pin remains in the off state; or... When the battery level is lower than the first preset power threshold, the first pin remains in the off state.

[0015] Optionally, before obtaining the first battery parameters corresponding to the aerosol generating device, the method further includes: When the second pin detects that the charging device is connected to the aerosol generating device, a first connection command is sent to the aerosol generating device. The first connection command is used to instruct the aerosol generating device to establish the communication connection with the charging device. Receive a first response message sent by the aerosol generating device, wherein the first response message is a response message based on the first connection command; If the first response message meets the connection success conditions, it is determined that the charging device and the aerosol generating device have established the communication connection.

[0016] Optionally, the method further includes: Send a status acquisition command to the aerosol generating device, the status acquisition command being used to request the charging status corresponding to the aerosol generating device; Receive a first status message sent by the aerosol generating device, wherein the first status message includes the charging status; If the charging state does not meet the second charging condition, the second pin is turned off.

[0017] Optionally, when the second pin detects that the charging device and the aerosol generating device have established a communication connection, acquiring the first device parameters and the first battery parameters corresponding to the aerosol generating device includes: When the second pin detects for the i-th time that the charging device and the aerosol generating device have established a communication connection, the first device parameters and the first battery parameters are obtained, where i is a positive integer. The method further includes: Store the first device parameters and generate first parameter data, the first parameter data including the correlation between the first device parameters and the first charging current; When the second pin detects for the (i+1)th time that the charging device and the aerosol generating device have established a communication connection, the first charging current is determined from the first parameter data.

[0018] Secondly, embodiments of this application provide a charging device apparatus, including: The acquisition module is used to acquire first battery parameters corresponding to the aerosol generating device when the second pin detects that the charging device and the aerosol generating device have established a communication connection. The charging device is used to provide charging current to the aerosol generating device. The charging device includes a first pin and a second pin. The first pin is used to provide power to the aerosol generating device, and the second pin is used for communication between the charging device and the aerosol generating device. The first battery parameters are used to determine whether the charging device needs to provide power to the aerosol generating device. A startup module is used to activate the first pin when the first battery parameters meet the first charging conditions. The acquisition module is used to acquire a first device parameter corresponding to the aerosol generating device, and the first device parameter is used to determine the charging index of the aerosol generating device. The determining module is used to determine the first charging current based on the first device parameters; A power supply module is used to supply power to the aerosol generating device based on the first pin and the first charging current.

[0019] Thirdly, embodiments of this application provide a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the device charging method described in any one of the first aspects above.

[0020] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the device charging method described in any one of the first aspects.

[0021] Fifthly, embodiments of this application provide a computer program product that, when run on a computer device, causes the computer device to execute the device charging method described in any of the first aspects above.

[0022] 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.

[0023] The beneficial effects of the technical solutions provided in this application include at least the following: When the aerosol generating device is connected to the charging device via its communication pin (second pin), the first battery parameters of the aerosol generating device are acquired. If the first battery parameters meet the first charging conditions, the power supply pin (first pin) of the charging device is activated. Then, the first device parameters corresponding to the aerosol generating device are acquired. Based on the first device parameters, the first charging current corresponding to the aerosol generating device is determined. Power is then supplied to the aerosol generating device through the power supply pin and the first charging current. In other words, by designing a charging device that provides charging current to the aerosol generating device, and by determining whether the charging device needs to supply power and the required charging current based on the relevant parameters of the aerosol generating device connected to the charging device, the charging safety of the aerosol generating device is improved, its service life is extended, and ultimately, the device's utilization efficiency is increased. Attached Figure Description

[0024] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 This is a schematic diagram of a device charging method provided in an embodiment of this application; Figure 2 This is a flowchart of a device charging method provided in an embodiment of this application; Figure 3 This is a flowchart of a device charging method provided in an embodiment of this application; Figure 4 This is a flowchart of a device charging method provided in an embodiment of this application; Figure 5 This is a structural diagram of the charging device provided in the embodiments of this application; Figure 6 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation

[0026] 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 may 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.

[0027] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0028] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0029] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrases "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0030] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0031] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0032] In related technologies, users can connect aerosol generating devices to a power bank or power adapter to power them. However, since power banks or power adapters can only output their rated maximum supply current, and aerosol generating devices vary in product variety and their corresponding charging requirements differ, using a single current to power different aerosol generating devices can lead to a mismatch between the power supply requirements of some aerosol generating devices and the power supply capabilities of the power bank or power adapter. This can cause malfunctions during charging and reduce the efficiency of the aerosol generating devices.

[0033] In addition, existing charging devices (such as power banks) still output voltage even when no device is connected to them, so they are in a powered state even when no device is being charged, which poses certain safety risks.

[0034] Based on this, this application provides a device charging method. When the communication pin (second pin) of the charging device is connected to the aerosol generating device, the first battery parameters of the aerosol generating device are obtained. If the first battery parameters meet the first charging conditions, the power supply pin (first pin) of the charging device is activated. Then, the first device parameters corresponding to the aerosol generating device are obtained. Based on the first device parameters, the first charging current corresponding to the aerosol generating device is determined. Power is then supplied to the aerosol generating device through the power supply pin and the first charging current. In other words, by designing a charging device that provides charging current to the aerosol generating device, and determining whether the charging device needs to supply power and the required charging current based on the relevant parameters of the aerosol generating device connected to the charging device, the charging safety of the aerosol generating device is improved, the service life of the aerosol generating device is extended, and the device utilization efficiency of the aerosol generating device is improved.

[0035] This is illustrative; please refer to it. Figure 1 It illustrates a schematic diagram of a device charging method provided in an exemplary embodiment of this application, such as... Figure 1 As shown, the device currently includes an aerosol generating device 110 and a charging device 120. The aerosol generating device 110 is currently charged at 30%. The charging device 120 has a first pin 121 and a second pin 122. The first pin 121 is used for communication between the aerosol generating device 110 and the charging device 120. The second pin 122 is used to determine whether power needs to be supplied to the aerosol generating device 110.

[0036] Indicatively, when the aerosol generating device 110 is connected to the charging device 120 (at this time, the first pin 121 and the second pin 122 are represented by dashed lines), if the first pin 121 detects that the aerosol generating device 110 and the charging device 120 have established a communication connection, it obtains the first charging parameters corresponding to the aerosol generating device 110. If the first charging parameters meet the first charging conditions, the second pin 122 is activated, and the first device parameters corresponding to the aerosol generating device 110 are obtained. Based on the first device parameters, the first charging current corresponding to the charging device 120 is determined, and finally, the first charging current is output through the second pin 122 to power the aerosol generating device 110.

[0037] The device charging method provided in the embodiments of this application will be described in detail below. For illustrative purposes, please refer to the following: Figure 2 The diagram illustrates a device charging method provided in an exemplary embodiment of this application, which includes steps 210 to 250.

[0038] Step 210: If the second pin detects that the charging device and the aerosol generating device have established a communication connection, the first battery parameters corresponding to the aerosol generating device are obtained.

[0039] The charging device is used to provide different charging currents for various aerosol generating devices. The charging device includes a first pin and a second pin. The first pin is used to provide power to the aerosol generating device, and the second pin is used to detect the communication connection status between the charging device and the aerosol generating device. The first battery parameter is used to determine whether the charging device needs to provide power to the aerosol generating device.

[0040] In illustrative terms, charging equipment refers to equipment used to provide electrical energy to aerosol generating equipment.

[0041] Optionally, the charging device is a mobile power supply device, meaning that in this case, the charging device and the aerosol generating device are two independent devices; or, the charging device is a charging device specifically configured for the aerosol generating device, such as a charging compartment; or, the charging device is the first sub-device in the aerosol generating device, used to provide electrical energy, for example, the aerosol generating device includes an aerosol matrix sub-device (containing an aerosol generating matrix), and the charging device is the main device in the aerosol generating device.

[0042] Alternatively, the charging device may provide different charging currents for different aerosol generating devices in at least one of the following ways: The first type, taking different aerosol generating devices including device a and device b as an example, the charging device provides current 1 to device a, for example: 5 amps (A) current, and the charging device provides current 2 to device b, for example: 3A current. That is to say, the charging device provides different charging currents to different aerosol generating devices, and provides the same charging current to a single aerosol generating device. The second approach, taking aerosol generating equipment including device c as an example, when device c is in standby mode after startup (where standby mode means that the aerosol generating equipment does not perform functions such as heating, suction, indicator light flashing, motor vibration, etc. after startup), the charging device provides a current 3 to device c, for example: 2A current. When device c is in suction mode, the charging device provides a current 4 to device c, for example: 4.5A current. In other words, the charging device provides different charging currents for different operating states of the same aerosol generating equipment. The third method, taking an aerosol generating device including device d as an example, after device d is connected to a charging device, the charging device provides the maximum current according to the battery structure of device d. Device d adaptively selects the corresponding current for charging according to its corresponding operating state. For example, when device d is connected to a charging device, the charging device determines that the maximum charging current of device d is current 5 (e.g., 5A) according to the battery structure of device d. Therefore, it provides current 5 to device d. If device d is in standby mode, it adaptively receives sub-current 1 (e.g., 2A) for charging. If d is in suction mode, it adaptively receives sub-current 2 (e.g., 5A) for charging.

[0043] It is worth noting that the above-described method of providing different charging currents for different aerosol generating devices is merely an illustrative example, and the embodiments of this application do not limit this.

[0044] Optionally, when the charging device provides power to the connected aerosol generating device, the aerosol generating device cannot perform the aforementioned related functions; or, when the charging device provides power to the connected aerosol generating device, the aerosol generating device can perform the aforementioned related functions normally. This application embodiment does not limit this.

[0045] Optionally, the charging device can be connected to multiple aerosol generating devices simultaneously, providing power to multiple aerosol generating devices at the same time; or, the charging device can be connected to only one aerosol generating device at a time, providing power to that aerosol generating device.

[0046] Optionally, the connection method between the charging device and the aerosol generating device includes at least one of the following methods: The first method involves connecting the charging device to the aerosol generating device via a data cable. The second type is that the charging device is equipped with a magnetic attraction element, and the aerosol generating device is also equipped with a magnetic attraction element on the outside. By attaching the charging device and the aerosol generating device together, the magnetic attraction elements attract each other and attach together, so that the charging device and the aerosol generating device are connected. The third type has a recessed part in the charging device and a buckle device on the outside of the aerosol generating device. The buckle device is aligned with the recessed part and fastened to connect the charging device and the aerosol generating device.

[0047] It is worth noting that the above-described connection method between the charging device and the aerosol generating device is merely an illustrative example, and the embodiments of this application do not limit it.

[0048] To illustrate, after the aerosol generating device is powered on, the battery module provides electrical energy to the heating element, causing it to heat up. Once the heating element is heated, it transfers the heat to the aerosol generating matrix stored in the aerosol matrix component (or sub-device), causing the aerosol generating matrix to reach its boiling point and atomize, generating a suspended aerosol for the user to inhale.

[0049] Indicatively, the first and second pins are two electronic components on the charging device. Generally, the charging device has an integrated chip installed. The first and second pins are two physical connection points on the integrated chip, used to form electrical contact with the aerosol generating device connected to the charging device, thereby realizing related functions (such as communication transmission function or power supply function).

[0050] Among them, the communication transmission function refers to the transmission of messages or data between the charging device and the connected aerosol generating device; the power supply function refers to the charging device providing power to the connected aerosol generating device.

[0051] Indicatively, the second pin is used for communication between the charging device and the aerosol generating device, including data transmission and data reception; therefore, the second pin can also be called the communication pin.

[0052] Indicatively, the first pin is used to determine whether the charging device needs to supply power to the aerosol generating device, including two cases: needing to supply power to the aerosol generating device or not needing to supply power to the aerosol generating device. Therefore, the first pin can also be called the power supply pin.

[0053] In illustrative terms, the first battery parameter refers to the component parameter corresponding to the battery module in the aerosol generation device.

[0054] Optionally, the first battery parameters include at least one of the following: the installation status of the battery module in the aerosol generating device, the battery capacity, or the module status of the battery module.

[0055] For illustrative purposes, the installation status includes either having a battery pack installed or not having a battery pack installed; the battery level includes any one of the following: fully charged, partially charged, low charge, or fully discharged; the battery pack status includes any one of the following: operating in accordance with a preset status or not operating in accordance with a preset status.

[0056] In one example, battery charge is expressed as a percentage. Therefore, a fully charged state means that the battery charge is 100%, a partially charged state means that the battery charge is less than 100% but greater than a preset charge threshold (e.g., 20%), a low charge state means that the battery charge is less than a preset charge threshold (e.g., 20%) but greater than 0%, and a fully discharged state means that the battery charge is 0%.

[0057] Optionally, the component state includes at least one of the following: The first method involves pre-setting a resistance range and detecting the resistance value of the battery module after powering it on. If the resistance value is within the range, it indicates that the battery module meets the module requirements; otherwise, it indicates that the battery module does not meet the module requirements. The second method involves pre-setting a voltage or current range, and then detecting the voltage or current of the battery module after powering it on. If the voltage is within the voltage range or the current is within the current range, it indicates that the battery module meets the module's requirements; otherwise, it indicates that the battery module does not meet the module's requirements.

[0058] It is worth noting that the above description of component states is merely an illustrative example, and the embodiments of this application do not limit this.

[0059] Step 220: If the first battery parameters meet the first charging conditions, activate the first pin.

[0060] Indicatively, if the parameters of the first battery meet the preset first charging conditions, the first pin is activated, putting the first pin into a conductive state.

[0061] Indicatively, if the parameters of the first battery meet the preset first charging conditions, the first pin is kept open.

[0062] Optionally, the first pin is in the enabled state (or the on state) before being enabled; or, the first pin is in the disabled state (or the off state) before being enabled.

[0063] Step 230: Obtain the first equipment parameters corresponding to the aerosol generating equipment.

[0064] The first equipment parameter is used to determine the charging index of the aerosol generating equipment.

[0065] Indicatively, when the first pin is activated, the first device parameters corresponding to the aerosol generating device are acquired.

[0066] In illustrative terms, the first equipment parameter refers to the equipment structural parameters corresponding to the aerosol generating equipment. The charging current required for the aerosol generating equipment is determined based on the equipment structural parameters, and is used as the charging index corresponding to the aerosol generating equipment.

[0067] Optionally, the first device parameters include at least one of the following parameter types: The first type is the equipment model. When designing and manufacturing aerosol generating equipment, the designers specify that different equipment models correspond to different charging currents. For example, equipment model 001 corresponds to a charging current of 3A, and equipment model 002 corresponds to a charging current of 5A. The second type is cell capacity, which refers to the amount of charge that the cells in the battery module can store and release when the aerosol generating equipment is equipped with a battery module. It is used to measure the performance index of the battery module. By presetting different capacity thresholds, different capacity thresholds correspond to different charging currents. Therefore, the closest capacity threshold is determined based on the cell capacity, and the corresponding charging current is determined based on the capacity threshold. The third type is the heating method. When designing and manufacturing aerosol generating equipment, designers specify different charging currents for different heating methods. For example, heating method a heats up to 300 degrees Celsius (°C) in 5 seconds, and the corresponding charging current is 3A. Heating method b heats up to 300 degrees Celsius (°C) in 3 seconds, and the corresponding charging current is 4.5A. The fourth type is the operating status, which indicates the current operating condition of the aerosol generating equipment. It is related to the corresponding function of the aerosol generating equipment. When designing and manufacturing aerosol generating equipment, designers specify different charging currents for different operating statuses. For example, aerosol generating equipment may have suction function, standby function, indicator light flashing function, motor vibration function, etc. Taking the suction function and standby function as examples, if the aerosol generating equipment is performing the suction function, it is in the suction state, and the required charging current is 5A. If the aerosol generating equipment is in the standby state, the required charging current is 2A.

[0068] It is worth noting that the above-mentioned parameters of the first device are merely illustrative examples, and the embodiments of this application do not limit them.

[0069] Step 240: Determine the first charging current based on the first device parameters.

[0070] Indicatively, given the aforementioned first device parameters, the first charging current required for the aerosol generating device is determined based on the first device parameters.

[0071] Optionally, the first device parameter is one of the above parameter types, or the first device parameter includes two or more of the above parameter types. This application embodiment does not limit this.

[0072] Optionally, the determination of the first charging current includes at least one of the following methods: Firstly, if the first device parameter is one of the above parameter types, the first charging current corresponding to the first device parameter is determined according to the pre-set correspondence between the device parameter and the charging current (as illustrated in the above embodiments); The second method is to determine the candidate charging current corresponding to each device parameter based on the pre-set correspondence between the device parameters and the charging current, and select the one with the highest current value as the first charging current if the first device parameter includes two or more of the above parameter types. The third method is to determine the candidate charging current corresponding to each device parameter based on the pre-set correspondence between the device parameters and the charging current, and calculate the average current of the multiple candidate charging currents as the first charging current if the first device parameter includes two or more of the above parameter types. Fourth, if the first device parameter includes two or more of the above parameter types, the candidate charging current corresponding to each device parameter is determined according to the pre-set correspondence between the device parameter and the charging current, and the current value with the highest frequency of occurrence is selected as the first charging current. Fifth, if the first device parameter includes two or more of the above parameter types, the candidate charging current corresponding to each device parameter is determined according to the pre-set correspondence between the device parameter and the charging current. The multiple candidate charging currents are arranged in order of current value from low to high to obtain the current sequence corresponding to the multiple candidate charging currents, which is used as the first charging current.

[0073] It is worth noting that the above-described method for determining the first charging current is merely an illustrative example, and the embodiments of this application do not limit it.

[0074] Optionally, the first device parameters and the first charging parameters are acquired simultaneously, or the first charging parameters are acquired first and then the first device parameters are acquired. This application embodiment does not limit this.

[0075] Step 250: Power the aerosol generation device based on the first pin and the first charging current.

[0076] Indicatively, when the first pin is activated and the first charging current corresponding to the aerosol generating device is determined, the first charging current is output to the aerosol generating device through the first pin, so that the charging device supplies power to the aerosol generating device.

[0077] Optionally, if the first charging current is a single current value, the first charging current is continuously output through the first pin to power the aerosol generating device; or, if the first charging current is a current sequence involved in the above embodiments, the current sequence is output through the first pin to power the aerosol generating device. In the process of outputting the current sequence, the output time corresponding to the candidate charging currents of different current values ​​is the same or different. For example, the first pin outputs a 3A current in 1 to 5 seconds, a 4A current in 6 to 10 seconds, and a 5A current in 11 to 20 seconds. This application embodiment does not limit this.

[0078] The device charging method provided in this application, when the communication pin (second pin) of the charging device is connected to the aerosol generating device, acquires the first battery parameters of the aerosol generating device. If the first battery parameters meet the first charging conditions, the power supply pin (first pin) of the charging device is activated. Then, the first device parameters corresponding to the aerosol generating device are acquired, and the first charging current corresponding to the aerosol generating device is determined based on the first device parameters. Power is then supplied to the aerosol generating device through the power supply pin and the first charging current. In other words, by designing a charging device that provides charging current to the aerosol generating device, and determining whether the charging device needs to supply power and the required charging current based on the relevant parameters of the aerosol generating device connected to the charging device, the charging safety of the aerosol generating device is improved, the service life of the aerosol generating device is extended, and the overall device utilization efficiency is improved.

[0079] The following is a detailed explanation of the device charging method. Please refer to the illustrations provided. Figure 3 It illustrates a flowchart of a device charging method provided in an exemplary embodiment of this application, that is, step 220 includes step 221, as follows. Figure 3 As shown, the method includes the following steps.

[0080] Step 210: If the second pin detects that the charging device and the aerosol generating device have established a communication connection, the first battery parameters corresponding to the aerosol generating device are obtained.

[0081] The first battery parameter is used to determine whether the charging device needs to provide power to the aerosol generating device.

[0082] In some embodiments, when the first pin detects that the charging device is connected to the aerosol generating device, a first connection command is sent to the aerosol generating device. The first connection command is used to instruct the aerosol generating device to establish a communication connection with the charging device. A first response message is received from the aerosol generating device. The first response message is a response message based on the first connection command. If the first response message meets the connection success conditions, it is determined that the charging device and the aerosol generating device have established a communication connection.

[0083] In illustrative terms, the connection of a charging device to an aerosol generating device refers to the electrical contact that occurs between the charging device and the aerosol generating device.

[0084] Indicatively, the first connection command refers to the charging device requesting the aerosol generating device to establish a communication connection.

[0085] Indicatively, if the aerosol generating device sends a first response message to the charging device after receiving the first connection command, it indicates that the aerosol generating device has successfully received the first connection command.

[0086] Optionally, the conditions for a successful connection include at least one of the following: First scenario: The charging device successfully receives the first response message; The second scenario: The charging device receives the first response message within a pre-set time range; The third scenario: The charging device successfully receives the first response message, and the content of the first response message meets the preset content conditions.

[0087] It is worth noting that the above-mentioned conditions for successful connection are merely illustrative examples, and the embodiments of this application do not limit them.

[0088] For illustrative purposes, if the charging device receives a first response message and the first response message meets the connection success conditions, it indicates that the charging device and the aerosol generating device have successfully established a communication connection.

[0089] For illustrative purposes, if the charging device does not receive the first response message, or if it receives the first response message but the first response message does not meet the connection success conditions, it indicates that the charging device and the aerosol generating device have not established a communication connection.

[0090] In some embodiments, the first battery parameter includes at least one of the following: whether the aerosol generating device includes a battery module, whether the battery module meets a preset module state, or the battery capacity corresponding to the battery module.

[0091] For illustrative purposes, the installation status includes either having a battery pack installed or not having a battery pack installed; the battery level includes any one of the following: fully charged, partially charged, low charge, or fully discharged; the battery pack status includes any one of the following: operating in accordance with a preset status or not operating in accordance with a preset status.

[0092] In one example, battery charge is expressed as a percentage. Therefore, a fully charged state means that the battery charge is 100%, a partially charged state means that the battery charge is less than 100% but greater than a preset charge threshold (e.g., 20%), a low charge state means that the battery charge is less than a preset charge threshold (e.g., 20%) but greater than 0%, and a fully discharged state means that the battery charge is 0%.

[0093] Optionally, the component state includes at least one of the following: The first method involves pre-setting a resistance range and detecting the resistance value of the battery module after powering it on. If the resistance value is within the range, it indicates that the battery module meets the module requirements; otherwise, it indicates that the battery module does not meet the module requirements. The second method involves pre-setting a voltage or current range, and then detecting the voltage or current of the battery module after powering it on. If the voltage is within the voltage range or the current is within the current range, it indicates that the battery module meets the module's requirements; otherwise, it indicates that the battery module does not meet the module's requirements.

[0094] It is worth noting that the above description of component states is merely an illustrative example, and the embodiments of this application do not limit this.

[0095] Step 221: If the first battery parameters meet the first charging conditions, adjust the first pin from the off state to the on state.

[0096] The first pin does not output power when it is in the off state.

[0097] Indicatively, if the charging device is not supplying power to any aerosol generating device, the first pin is in the off state (or open circuit state).

[0098] At this time, the first pin does not output electrical energy, which includes no output current and no output voltage.

[0099] In some embodiments, when the aerosol generating device includes a battery assembly, the first pin is activated; and / or, the first pin is activated when the battery assembly meets a preset assembly state; and / or, the first pin is activated when the battery charge is lower than a first preset charge threshold.

[0100] Schematic illustration: If the aerosol generating device includes a battery assembly, adjust the first pin to be in the open state (or the closed state); if the battery assembly meets the preset assembly state, adjust the first pin to be in the open state (or the closed state); if the battery charge is lower than the first preset charge threshold, adjust the first pin to be in the open state (or the closed state).

[0101] In some embodiments, when the aerosol generating device includes a battery component, the first pin is kept in the off state; or, when the battery component does not meet a preset component state, the first pin is kept in the off state; or, when the battery charge is lower than a first preset charge threshold, the first pin is kept in the off state.

[0102] For illustrative purposes, if the aerosol generating device does not include a battery assembly, the first pin is adjusted to be in the off state (or open circuit state); if the battery assembly does not meet the preset assembly state, the first pin is adjusted to be in the off state (or open circuit state); if the battery charge is lower than the first preset charge threshold, the first pin is adjusted to be in the off state (or open circuit state).

[0103] Step 230: Obtain the first equipment parameters corresponding to the aerosol generating equipment.

[0104] Among them, the first equipment parameter is used to determine the charging index of the aerosol generating equipment; In some embodiments, the first device parameters include at least one of the following: device type of aerosol generating device, cell capacity, heating method, or operating status.

[0105] Optionally, the first device parameters include at least one of the following parameter types: The first type is the equipment model. When designing and manufacturing aerosol generating equipment, the designers specify that different equipment models correspond to different charging currents. For example, equipment model 001 corresponds to a charging current of 3A, and equipment model 002 corresponds to a charging current of 5A. The second type is cell capacity, which refers to the amount of charge that the cells in the battery module can store and release when the aerosol generating equipment is equipped with a battery module. It is used to measure the performance index of the battery module. By presetting different capacity thresholds, different capacity thresholds correspond to different charging currents. Therefore, the closest capacity threshold is determined based on the cell capacity, and the corresponding charging current is determined based on the capacity threshold. The third type is the heating method. When designing and manufacturing aerosol generating equipment, designers specify different charging currents for different heating methods. For example, heating method a heats up to 300 degrees Celsius (°C) in 5 seconds, and the corresponding charging current is 3A. Heating method b heats up to 300 degrees Celsius (°C) in 3 seconds, and the corresponding charging current is 4.5A. The fourth type is the operating status, which indicates the current operating condition of the aerosol generating equipment. It is related to the corresponding function of the aerosol generating equipment. When designing and manufacturing aerosol generating equipment, designers specify different charging currents for different operating statuses. For example, aerosol generating equipment may have suction function, standby function, indicator light flashing function, motor vibration function, etc. Taking the suction function and standby function as examples, if the aerosol generating equipment is performing the suction function, it is in the suction state, and the required charging current is 5A. If the aerosol generating equipment is in the standby state, the required charging current is 2A.

[0106] It is worth noting that the above-mentioned parameters of the first device are merely illustrative examples, and the embodiments of this application do not limit them.

[0107] Step 240: Determine the first charging current based on the first device parameters.

[0108] In some embodiments, the first charging current includes a first sub-current and a second sub-current, and the operating state includes a standby state or a suction state; when the aerosol generating device is in the suction state, the first sub-current is determined based on the suction state; when the aerosol generating device is in the standby state, the second sub-current is determined based on the standby state, and the second sub-current is less than the first sub-current.

[0109] To illustrate, taking the operating states including standby state and suction state as an example (other states also exist, this is just an example), if the aerosol generating device is in suction state, the first sub-current is determined as the first charging current. If the aerosol generating device is in standby state as the first charging current, the second sub-current is determined, and the second sub-current is less than the first sub-current.

[0110] Step 251: Output a first charging current to the aerosol generating device through the first pin, so that the charging device supplies power to the aerosol generating device.

[0111] In some embodiments, a status acquisition instruction is sent to the aerosol generating device, the status acquisition instruction being used to request the acquisition of the charging status corresponding to the aerosol generating device; a first status message sent by the aerosol generating device is received, the first status message including the charging status; and if the charging status does not meet the second charging condition, the second pin is turned off.

[0112] Indicatively, during the charging process of the charging device for the aerosol generating device, the charging device sends a status acquisition command to the aerosol generating device. The status acquisition command is used to request the charging status corresponding to the aerosol generating device. If a first status message is received from the aerosol generating device, the charging status corresponding to the aerosol generating device is determined according to the first status message. If the charging status meets the second charging condition, charging continues. If the charging status does not meet the second charging condition, the second pin is turned off, and charging ends.

[0113] In some embodiments, when the second pin detects for the i-th time that the charging device and the aerosol generating device have established a communication connection, the first device parameter and the first battery parameter are obtained, where i is a positive integer; the first device parameter is stored, and first parameter data is generated, which includes the correlation between the first device parameter and the first charging current; when the second pin detects for the (i+1)-th time that the charging device and the aerosol generating device have established a communication connection, the first charging current is determined from the first parameter data.

[0114] Indicatively, when the second pin detects for the i-th time that the charging device and the aerosol generating device have established a communication connection, the first device parameters and the first battery parameters are obtained, and a correlation is generated and stored between the first device parameters and the first charging current to obtain the first parameter data. This allows the second pin to directly determine the first charging current from the first parameter data after obtaining the first device parameters when it detects for the next time that the charging device and the aerosol generating device have established a communication connection.

[0115] The device charging method provided in this application, when the communication pin (second pin) of the charging device is connected to the aerosol generating device, acquires the first battery parameters of the aerosol generating device. If the first battery parameters meet the first charging conditions, the power supply pin (first pin) of the charging device is activated. Then, the first device parameters corresponding to the aerosol generating device are acquired, and the first charging current corresponding to the aerosol generating device is determined based on the first device parameters. Power is then supplied to the aerosol generating device through the power supply pin and the first charging current. In other words, by designing a charging device that provides charging current to the aerosol generating device, and determining whether the charging device needs to supply power and the required charging current based on the relevant parameters of the aerosol generating device connected to the charging device, the charging safety of the aerosol generating device is improved, the service life of the aerosol generating device is extended, and the overall device utilization efficiency is improved.

[0116] This is illustrative; please refer to it. Figure 4 The diagram illustrates a device charging method provided in an exemplary embodiment of this application, taking the coordinated execution of a charging device and a first aerosol device as an example. The method includes the following steps.

[0117] Step 401: Turn the power supply pin off.

[0118] When the charging device is not supplying power to the aerosol generating device, the power supply pin and communication pin are turned off. At this time, the communication pin is in a low-level state.

[0119] Step 402: A change in the communication pin level was detected.

[0120] When the charging device is connected to the aerosol generating device, the communication pin changes from low level to high level, resulting in a level change.

[0121] Step 403: Send connection command.

[0122] When a change in the communication pin is detected, the charging device sends a connection command to the aerosol generating device through the communication pin. If the aerosol generating device sends a response message back to the charging device and the response message meets the connection conditions, it means that the charging device and the aerosol generating device have established a communication connection.

[0123] Step 404: Obtain the first device parameters and the first battery parameters.

[0124] In a schematic manner, when a communication connection is established between the charging device and the aerosol generating device, the first device parameters and the first battery parameters corresponding to the aerosol generating device are obtained.

[0125] If the parameters of the first battery meet the first charging conditions, it is determined that the aerosol generating device needs to be charged, then proceed to step 405; otherwise, proceed to step 406.

[0126] Step 405: Start the power supply pin and determine the charging current.

[0127] Start the power supply pin and determine the charging current according to the first device parameters to charge the aerosol generating device. If the charging status of the aerosol generating device meets the second charging condition within the preset time range, execute step 406; otherwise, execute step 408.

[0128] Step 406: Enter the main program.

[0129] Start the aerosol generating equipment and run the corresponding main program to realize the relevant functions of the aerosol generating equipment.

[0130] Step 407: Disconnect the charging device from the aerosol generating device.

[0131] When the charging device is disconnected from the aerosol generating device, proceed to step 401.

[0132] Step 408: Turn off the power supply pin.

[0133] The device charging method provided in this application, when the communication pin (second pin) of the charging device is connected to the aerosol generating device, acquires the first battery parameters of the aerosol generating device. If the first battery parameters meet the first charging conditions, the power supply pin (first pin) of the charging device is activated. Then, the first device parameters corresponding to the aerosol generating device are acquired, and the first charging current corresponding to the aerosol generating device is determined based on the first device parameters. Power is then supplied to the aerosol generating device through the power supply pin and the first charging current. In other words, by designing a charging device that provides charging current to the aerosol generating device, and determining whether the charging device needs to supply power and the required charging current based on the relevant parameters of the aerosol generating device connected to the charging device, the charging safety of the aerosol generating device is improved, the service life of the aerosol generating device is extended, and the overall device utilization efficiency is improved.

[0134] This is illustrative; please refer to it. Figure 4 The diagram illustrates a charging device apparatus provided in an exemplary embodiment of this application, wherein the charging device apparatus may specifically include the following modules: The acquisition module 510 is used to acquire first battery parameters corresponding to the aerosol generating device when the second pin detects that the charging device and the aerosol generating device have established a communication connection. The charging device is used to provide charging current to the aerosol generating device. The charging device includes a first pin and a second pin. The first pin is used to provide power to the aerosol generating device, and the second pin is used to communicate between the charging device and the aerosol generating device. The first battery parameters are used to determine whether the charging device needs to provide power to the aerosol generating device. The startup module 520 is used to start the first pin when the first battery parameters meet the first charging conditions; The acquisition module 510 is used to acquire a first device parameter corresponding to the aerosol generating device, and the first device parameter is used to determine the charging index of the aerosol generating device. The determining module 530 is used to determine the first charging current based on the first device parameters; The power supply module 540 is used to supply power to the aerosol generating device based on the first pin and the first charging current.

[0135] Optionally, the startup module 520 is further configured to adjust the first pin from a closed state to an open state when the first battery parameters meet the first charging conditions, wherein the first pin does not output power in the closed state.

[0136] Optionally, the power supply module 540 is further configured to output the first charging current to the aerosol generating device through the first pin, so that the charging device supplies power to the aerosol generating device.

[0137] Optionally, the first device parameters include at least one of the following: device type, battery capacity, heating method, or operating status of the aerosol generating device.

[0138] Optionally, the first charging current includes a first sub-current and a second sub-current, and the operating state includes a standby state or a suction state. The determining module 530 is further configured to determine the first sub-current based on the suction state when the aerosol generating device is in the suction state; and to determine the second sub-current based on the standby state when the aerosol generating device is in the standby state, wherein the second sub-current is less than the first sub-current.

[0139] Optionally, the first battery parameters include at least one of the following: whether the aerosol generating device includes a battery module, whether the battery module meets a preset module state, or the battery capacity corresponding to the battery module.

[0140] Optionally, the startup module 520 is further configured to activate the first pin when the battery assembly is included in the aerosol generating device; and / or, activate the first pin when the battery assembly meets the preset assembly state; and / or, activate the first pin when the battery power is lower than a first preset power threshold.

[0141] Optionally, the startup module 520 is further configured to: keep the first pin in a closed state when the battery assembly is included in the aerosol generating device; or keep the first pin in a closed state when the battery assembly does not meet the preset assembly state; or keep the first pin in a closed state when the battery power is lower than the first preset power threshold.

[0142] Optionally, the startup module 520 is further configured to: send a first connection instruction to the aerosol generating device when the second pin detects that the charging device is connected to the aerosol generating device; the first connection instruction instructs the aerosol generating device to establish the communication connection with the charging device; receive a first response message sent by the aerosol generating device; the first response message is a response message based on the first connection instruction; and determine that the charging device and the aerosol generating device have established the communication connection if the first response message meets the connection success conditions.

[0143] Optionally, the startup module 520 is further configured to send a status acquisition instruction to the aerosol generating device, the status acquisition instruction being used to request the acquisition of the charging status corresponding to the aerosol generating device; receive a first status message sent by the aerosol generating device, the first status message including the charging status; and shut down the second pin if the charging status does not meet the second charging condition.

[0144] Optionally, the startup module 520 is further configured to: acquire the first device parameters and the first battery parameters, where i is a positive integer, when the second pin detects for the i-th time that the charging device and the aerosol generating device have established a communication connection; store the first device parameters and generate first parameter data, the first parameter data including the correlation between the first device parameters and the first charging current; and determine the first charging current from the first parameter data when the second pin detects for the (i+1)-th time that the charging device and the aerosol generating device have established a communication connection.

[0145] The charging device provided in this application, when the communication pin (second pin) of the charging device is connected to the aerosol generating device, acquires the first battery parameters of the aerosol generating device. If the first battery parameters meet the first charging conditions, the power supply pin (first pin) of the charging device is activated. Then, the first device parameters corresponding to the aerosol generating device are acquired, and the first charging current corresponding to the aerosol generating device is determined based on the first device parameters. Power is then supplied to the aerosol generating device through the power supply pin and the first charging current. In other words, by designing a charging device that provides charging current to the aerosol generating device, and determining whether the charging device needs to supply power and the required charging current based on the relevant parameters of the aerosol generating device connected to the charging device, the charging safety of the aerosol generating device is improved, the service life of the aerosol generating device is extended, and the overall device utilization efficiency is improved.

[0146] See Figure 6 This illustration shows a schematic diagram of the structure of a computer device provided in an embodiment of this application. Figure 6 As shown, the computer device 1000 of this embodiment includes: at least one processor 1010 ( Figure 6 (Only one is shown in the diagram) a processor, a memory 1020, and a computer program 1021 stored in the memory 1020 and executable on at least one processor 1010. When the processor 1010 executes the computer program 1021, it implements the steps in the above-described device charging method embodiments.

[0147] Computer device 1000 can be a desktop computer, laptop, handheld computer, cloud server, or other computing device. This terminal device may include, but is not limited to, processor 1010 and memory 1020. Those skilled in the art will understand that... Figure 6 This is merely an example of computer device 1000 and does not constitute a limitation on computer device 1000. It may include more or fewer components than shown in the figure, or combine certain components, or different components, such as input / output devices, network access devices, etc.

[0148] The processor 1010 may be a Central Processing Unit (CPU), or it may be 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.

[0149] In some embodiments, memory 1020 may be an internal storage unit of computer device 1000, such as a hard disk or memory of computer device 1000. In other embodiments, memory 1020 may be an external storage device of computer device 1000, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., provided on computer device 1000. Furthermore, memory 1020 may include both internal and external storage units of computer device 1000. Memory 1020 is used to store operating system, program content, boot loader, data, and other programs, such as program code of computer programs. Memory 1020 may also be used to temporarily store data that has been output or will be output.

[0150] 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.

[0151] 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.

[0152] 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.

[0153] In the embodiments provided in this application, it should be understood that the disclosed apparatus / computer devices and methods can be implemented in other ways. For example, the apparatus / computer device 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 through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0154] 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 this embodiment according to actual needs.

[0155] 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.

[0156] If an integrated module / 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 computer program code, recording media, USB flash drives, swivel 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, the computer-readable medium does not include electrical carrier signals and telecommunication signals.

[0157] The implementation of all or part of the processes in the methods of the above embodiments can also be accomplished by a computer program product. When the computer program product is run on a computer device, the computer device can implement the steps in the various method embodiments described above.

[0158] The above 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; and these 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 device charging method, characterized by, The method is applied to a charging device for providing a charging current for an aerosol generating device, the charging device comprising a first pin for providing electrical energy for the aerosol generating device and a second pin for communication between the charging device and the aerosol generating device; the method comprising: in a case where the second pin detects that the charging device establishes a communication connection with the aerosol generating device, obtaining a first battery parameter corresponding to the aerosol generating device, the first battery parameter being used to determine whether the charging device needs to provide electrical energy for the aerosol generating device; in a case where the first battery parameter meets a first charging condition, starting the first pin; obtaining a first device parameter corresponding to the aerosol generating device, the first device parameter being used to determine a charging indicator of the aerosol generating device; determining a first charging current based on the first device parameter; supplying power to the aerosol generating device based on the first pin and the first charging current.

2. The method of claim 1, wherein, The starting of the first pin in the case where the first battery parameter meets the first charging condition comprises: in the case where the first battery parameter meets the first charging condition, adjusting the first pin from a closed state to an open state, the first pin not outputting electrical energy in the closed state.

3. The method of claim 1, wherein, The supplying of power to the aerosol generating device based on the first pin and the first charging current comprises: outputting the first charging current to the aerosol generating device through the first pin, so that the charging device supplies power to the aerosol generating device.

4. The method of any one of claims 1 to 3, wherein the first device parameter comprises at least one of a device type, a cell capacity, a heating mode, or a running state of the aerosol generating device.

5. The method of claim 4, wherein, the first charging current comprises a first sub-current and a second sub-current, and the running state comprises a standby state or a puffing state; the determination of the first charging current based on the first device parameter comprises: in a case where the aerosol generating device is in the puffing state, determining the first sub-current based on the puffing state; in a case where the aerosol generating device is in the standby state, determining the second sub-current based on the standby state, the second sub-current being less than the first sub-current.

6. The method of any one of claims 1 to 3, wherein the first battery parameter comprises at least one of whether the aerosol generating device comprises a battery assembly, whether the battery assembly meets a preset assembly state, or a battery capacity corresponding to the battery assembly.

7. The method of claim 6, wherein, The starting of the first pin in the case where the first battery parameter meets the charging condition comprises: in a case where the aerosol generating device comprises the battery assembly, starting the first pin; and / or, in a case where the battery assembly meets the preset assembly state, starting the first pin; and / or, in a case where the battery capacity is lower than a first preset capacity threshold, starting the first pin.

8. The method of claim 6, wherein, The method further comprises: In the case that the battery assembly is included in the aerosol generating device, the first pin is kept in a closed state; or In the case that the battery assembly does not meet the preset assembly state, the first pin is kept in a closed state; or In the case that the battery power is lower than a first preset power threshold, the first pin is kept in a closed state.

9. The method according to any one of claims 1 to 3, characterized in that, Before the first battery parameter corresponding to the aerosol generating device is acquired, the method further includes: In the case that the second pin detects that the charging device accesses the aerosol generating device, a first connection instruction is sent to the aerosol generating device, the first connection instruction being used to instruct the aerosol generating device to establish the communication connection with the charging device; A first response message sent by the aerosol generating device is received, the first response message being a response message corresponding to the first connection instruction; In the case that the first response message meets a connection success condition, it is determined that the charging device and the aerosol generating device establish the communication connection.

10. The method according to any one of claims 1 to 3, characterized in that, The method further includes: A state acquisition instruction is sent to the aerosol generating device, the state acquisition instruction being used to request to acquire a charging state corresponding to the aerosol generating device; A first state message sent by the aerosol generating device is received, the first state message including the charging state; In the case that the charging state does not meet a second charging condition, the second pin is closed.

11. The method according to any one of claims 1 to 3, characterized in that, In the case that the second pin detects that the charging device and the aerosol generating device establish the communication connection, the first device parameter and the first battery parameter corresponding to the aerosol generating device are acquired, including: In the case that the second pin detects that the charging device and the aerosol generating device establish the communication connection for the i-th time, the first device parameter and the first battery parameter are acquired, i being a positive integer; The method further includes: The first device parameter is stored, and a first parameter data is generated, the first parameter data including an association relationship between the first device parameter and the first charging current; In the case that the second pin detects that the charging device and the aerosol generating device establish the communication connection for the (i+1)-th time, the first charging current is determined from the first parameter data.

12. A device charging apparatus, comprising: The device includes: An acquisition module is configured to acquire a first battery parameter corresponding to an aerosol generating device in a case that a second pin detects that a charging device and the aerosol generating device establish a communication connection, the charging device being configured to provide a charging current for the aerosol generating device, the charging device including a first pin and the second pin, the first pin being configured to provide electric energy for the aerosol generating device, the second pin being configured to perform communication between the charging device and the aerosol generating device, and the first battery parameter being configured to determine whether the charging device needs to provide electric energy for the aerosol generating device; A starting module is configured to start the first pin in a case that the first battery parameter meets a first charging condition. The acquisition module is configured to acquire a first device parameter corresponding to the aerosol-generating device, the first device parameter being used to determine a charging indicator of the aerosol-generating device. The determination module is configured to determine a first charging current based on the first device parameter. The power supply module is configured to supply power to the aerosol-generating device based on the first pin and the first charging current.

13. An aerosol-generating apparatus comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterised in that, The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the device charging method according to any one of claims 1 to 11.

15. A computer program product, characterised in that, The computer program is executed to implement the device charging method according to any one of claims 1 to 11.