Charging processing method and device for heating smoking set, electronic equipment and storage medium
By adopting intelligent charging mode in the heating cigarette, determining the power percentage based on the charging voltage and power, and restarting the charging before the prediction time, the problem of long-term full charge of the cigarette cigarette battery affecting its service life is solved, and the battery is extended Lifespan effect.
Patent Information
- Application Number
- CN202411520505.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-02-07
AI Technical Summary
In the prior art, the cigarette battery is in full charge for a long time during charging, which affects the service life and aging speed of the battery.
By detecting the connection between the heating smoke device and the charging device, the selected charging mode is obtained. If it is the first charging mode, the charging is started, and the power percentage is determined based on the charging voltage and power. When the power reaches this percentage, charge is paused; reboot the charging as soon as before the predicted time until full.
Reduces battery full charge time, delays battery aging speed and extends battery life.
Smart Images

Figure CN119401601A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a charging processing method, device, electronic device and storage medium for a heating smoking device. Background Art
[0002] Heated cigarettes are also called heat-not-burn cigarettes and low-temperature cigarettes. They have become a new market hotspot because of their tar-reducing and harm-reducing effects compared to traditional cigarettes. Heated smoking devices provide heat for heated cigarettes to allow heated cigarettes to inhale smoke, so heated smoking devices also play an extremely critical role in the smoking of heated cigarettes.
[0003] In order to enable the heated smoking device to provide heat for the heated cigarettes for a long time, a smoking device battery is provided in the heated smoking device. Since the capacity of the smoking device battery is small, if the smoking device battery is in a fully charged state for a long time during the charging process, it will affect the battery life and the speed of battery aging. Summary of the invention
[0004] In view of this, the embodiments of the present invention provide a charging processing method, device, electronic device and storage medium for a heating smoking device to solve the problems existing in the prior art that affect the service life of the battery and the speed of battery aging.
[0005] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0006] The first aspect of the embodiment of the present invention shows a charging processing method of a heated smoking device, which is applied to a heated cigarette controller, and the method includes:
[0007] When detecting that the heating smoking device is connected to the charging port of the charging device, obtaining a charging mode selected for the heating smoking device;
[0008] If it is determined that the selected charging mode is the first charging mode, starting charging;
[0009] Determine the power percentage based on the currently collected charging voltage and charging power;
[0010] When it is determined that the smoking device battery in the heated smoking device is charged to the power percentage, charging is suspended; when the first time from the suspension of charging to the predicted time is reached, the charging instruction for the heated smoking device is restarted to fully charge the smoking device battery in the heated smoking device through the charging device, and the predicted time is predicted based on the user's power usage data.
[0011] Optionally, before obtaining the charging mode selected for the heating smoking device, the method further includes:
[0012] Collecting the initial power of the smoking device battery in the heating smoking device;
[0013] When it is determined that the initial power level is lower than a preset value, charging is started.
[0014] Optionally, the power percentage is determined based on the currently collected charging voltage and charging power, including:
[0015] Collect the current charging voltage and charging power;
[0016] The corresponding power percentage is determined by searching the power dynamic matching table according to the charging voltage and the charging power.
[0017] Optionally, the predicted time is obtained based on the user's electricity consumption data, including:
[0018] Obtaining the electricity consumption data of the user recorded in the heating smoking device;
[0019] The power usage data is input into a power usage identification model, the power usage data is processed based on the power usage identification model, and a predicted time is output, wherein the power usage identification model is trained based on historical power usage data of different users.
[0020] Optionally, the process of training the electricity consumption recognition model based on the historical electricity consumption data of different users includes:
[0021] The historical electricity consumption data of different users are used as sample sets, and the sample sets are divided into training sets and test sets;
[0022] Using the training set to perform data simulation training on the initial model to obtain a trained initial model;
[0023] Use the test set to test the initial model and output the predicted time;
[0024] If it is determined that the output predicted time is consistent with the actual time in the test set, the initial model is used as the trained electricity consumption recognition model.
[0025] Optionally, the first time from when charging is suspended to before the predicted time includes:
[0026] Collecting a second time, wherein the second time is the time from when charging is suspended to the present;
[0027] Determining whether the second time reaches a first time before the predicted time, wherein the first time is calculated based on the current charged power percentage and the charging voltage;
[0028] If so, determine the first time from when charging is suspended to before the predicted time.
[0029] Optionally, also include:
[0030] If it is determined that the selected charging mode is the second charging mode, collecting initial power parameters of the smoking device battery in the heating smoking device;
[0031] When it is determined that the initial power parameter does not meet the preset value, starting charging;
[0032] When the power level of the battery of the smoking device is equal to the power level of the preset gear, charging is suspended;
[0033] When the first time from the time when charging is suspended to the predicted time is reached, the charging instruction for the heating smoking device is restarted to fully charge the cigarette battery through the charging device, and the predicted time is predicted based on the user's power consumption data.
[0034] The second aspect of the embodiment of the present invention shows a charging processing device for a heated smoking device, which is applied to a heated cigarette controller, and the device includes:
[0035] A detection unit, configured to obtain a charging mode selected for the heating smoking device when detecting that the heating smoking device is connected to a charging port of a charging device;
[0036] A first starting unit, configured to start charging if it is determined that the selected charging mode is the first charging mode;
[0037] A determination unit, used to determine the power percentage according to the currently collected charging voltage and charging power;
[0038] A pausing unit, used for pausing charging when it is determined that the smoking device battery in the heating smoking device is charged to the power percentage;
[0039] The second starting unit is used to restart the charging instruction for the heated smoking device when the first time from the time when charging is suspended to the predicted time is reached, so as to fully charge the smoking device battery in the heated smoking device through the charging device, and the predicted time is predicted based on the user's power consumption data.
[0040] A third aspect of the embodiment of the present invention shows an electronic device, which is used to run a program, wherein when the program is run, the charging processing method for the heated smoking device shown in the first aspect of the embodiment of the present invention is executed.
[0041] A fourth aspect of an embodiment of the present invention shows a storage medium, which includes a storage program, wherein when the program is running, the device where the storage medium is located is controlled to execute the charging processing method for the heated smoking device shown in the first aspect of the embodiment of the present invention.
[0042] Based on the above-mentioned embodiment of the present invention, a charging processing method, device, electronic device and storage medium for a heating smoking device are provided. The method includes: when detecting that the heating smoking device is connected to the charging port of the charging device, obtaining the charging mode selected for the heating smoking device; if it is determined that the selected charging mode is the first charging mode, starting charging; determining the power percentage according to the currently collected charging voltage and charging power; when it is determined that the smoking device battery in the heating smoking device is charged to the power percentage, suspending charging; when reaching the first time from the suspension of charging to the predicted time, restarting the charging instruction for the heating smoking device, so as to fully charge the smoking device battery in the heating smoking device through the charging device, and the predicted time is predicted based on the user's power consumption data. In the embodiment of the present invention, different charging methods are determined by different charging modes. If it is the first charging mode, the power percentage is first determined according to the charging voltage and charging power, and the charging device is controlled to charge the heating smoking device until the smoking device battery in the heating smoking device is charged to the power percentage, suspending charging; and resuming charging to full power at the first time from the suspension of charging to the predicted time, which can reduce the battery full charge time, thereby delaying the battery aging speed and extending the battery life. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0044] Figure 1 This is a schematic diagram of the architecture of a heated cigarette controller, a heated smoking device and a charging device according to an embodiment of the present invention;
[0045] Figure 2 A schematic flow chart of a charging method for a heated smoking device according to an embodiment of the present invention;
[0046] Figure 3 A schematic flow chart of another charging method for a heated smoking device according to an embodiment of the present invention;
[0047] Figure 4 A charging process flow chart of a heating smoking device shown in an embodiment of the present invention;
[0048] Figure 5 A schematic flow chart of another charging method for a heating smoking device according to an embodiment of the present invention;
[0049] Figure 6 This is a flowchart of another charging process of a heating smoking device according to an embodiment of the present invention;
[0050] Figure 7 It is a schematic structural diagram of a charging processing device for a heated smoking device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0052] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0053] It should be noted that the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0054] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.
[0055] See also Figure 1 , is a schematic diagram of the architecture of a heated cigarette controller, a heated smoking device and a charging device shown in an embodiment of the present invention.
[0056] The heating cigarette controller 10 is connected to the heating cigarette device 20 and the charging device 30 respectively;
[0057] The heating smoking device 20 is provided with a smoking device battery 21 and a memory 22 .
[0058] The memory 22 is used to record the user's electricity consumption and store various data.
[0059] The charging device 30 is used to access the mains electricity.
[0060] The heated cigarette controller 10 may be disposed in the heated smoking device 20 .
[0061] The process of implementing the charging process of the heating smoking device based on the above-mentioned architecture includes:
[0062] When the heated cigarette controller 10 detects that the heated smoking device 20 is connected to the charging port of the charging device 30, it obtains the charging mode selected for the heated smoking device 20; if it is determined that the selected charging mode is the first charging mode, charging is started; the power percentage is determined according to the currently collected charging voltage and charging power; when it is determined that the smoking device battery 21 in the heated smoking device 20 is charged to the power percentage, charging is suspended; when the first time from the suspension of charging to the predicted time is reached, the charging instruction for the heated smoking device is restarted to fully charge the cigarette battery through the charging device, and the predicted time is predicted based on the user's power usage data.
[0063] Optionally, when the heated cigarette controller controls the charging device to charge the smoking device battery in the heated smoking device, the power supply mode of the automatic power switching switch and the micro uninterruptible power supply UPS is switched. Under normal circumstances, the UPS power supply is in the AC power inverter mode. The AC power is converted into stable and pure AC power after being processed by the rectification, filtering and inverter circuits inside the UPS to supply the load.
[0064] When the mains power is interrupted or abnormal, the UPS power supply will automatically switch to battery inverter mode. At this time, the battery pack inside the UPS begins to discharge, and is converted into AC power through the inverter circuit to continue to supply power to the load, ensuring normal use when the mains power fails.
[0065] Among them, when the load requires AC power to start running (such as electromagnetic smoking devices), the power supply mode is automatically switched as follows: the charging device converts AC power into DC power through a rectifier, and then divides the DC power into two paths, one path passes through the battery to charge the battery, and the other path is converted into AC power through an inverter to power the load.
[0066] Optionally, when the heated cigarette controller controls the charging device to cut off power, the cigarette set battery flows into the inverter through the switch, is inverted into alternating current, and then flows into the load.
[0067] Among them, when the load requires direct current to start operation (such as resistive smoking devices), the inverter link can be removed.
[0068] Optionally, the current switching process is completed by conversion of electrical chip components on the circuit board.
[0069] In the embodiment of the present invention, in order to maximize the battery working time, the energy loss is reduced by modifying the electrical layout and using low-impedance components. For example, the on-state circuit of the field effect transistor MOSFET is miniaturized to improve the system efficiency, and the system thermal performance can be further improved by optimizing the efficient layout design and thermal regulation loop to ensure that the maximum junction temperature is not exceeded while maintaining high charging efficiency.
[0070] In the embodiment of the present invention, the power percentage is first determined according to the charging voltage and the charging power, and the charging device is controlled to charge the heating smoking device until the smoking device battery in the heating smoking device is charged to the power percentage, and then the charging is suspended; and the charging is resumed to full power at the first time before the predicted time from the time when the charging is suspended, so that the battery fully charges. The time can be reduced, thereby slowing down the battery aging speed and extending the battery life.
[0071] See also Figure 2 , is a schematic flow chart of a charging method for a heating smoking device according to an embodiment of the present invention, the method comprising:
[0072] Step S201: Detect whether the heating smoking device is connected to the charging port of the charging device. If so, execute step S202; if not, continue to execute step S201 to re-detect the interface of the charging device.
[0073] In the process of implementing step S201, the heated cigarette controller 10 detects in real time whether the charging interface of the heated cigarette device is coupled with the charging port of the charging device. If coupled, it means that the connection is successful. At this time, the charging instruction sent by the heated cigarette device is received and step S202 is executed. If not, step S201 is continued to be executed to re-detect the interface of the charging device.
[0074] Step S202: obtaining a charging mode selected for the heating smoking device.
[0075] Optionally, there is a display in the heating smoking device, and the heating cigarette controller displays the selectable charging modes through the built-in display of the heating smoking device, so that the user can select the charging mode displayed on the display of the heating smoking device.
[0076] In the specific implementation of step S202, the heated cigarette controller obtains the charging mode selected by the user for the display of the heated smoking device.
[0077] It should be noted that the charging mode includes a first charging mode and a second charging mode.
[0078] The first charging mode refers to the intelligent switching charging mode, and the second charging mode refers to the preset charging mode.
[0079] It should be further explained that the preset charging mode refers to a pre-defined charging mode.
[0080] Step S203: determine whether the charging mode is the first charging mode, if yes, execute step S204, if no, it means that the currently selected charging mode is the second charging mode, and execute corresponding steps based on the process of the second charging mode.
[0081] In the specific implementation of step S203, the charging model selected by the user is received and identified to determine whether the selected charging mode is the first charging mode. If so, step S204 is executed. If not, it indicates that the currently selected charging mode is the second charging mode.
[0082] Optionally, the charging mode currently selected is recorded, and the current charging start time is also recorded.
[0083] Optionally, if the charging mode selected by the user for the display of the heated smoking device is not received within a set time, the memory is traversed to determine whether there is a historical charging mode. If so, the most recent historical charging mode during the last charging is obtained and used as the charging mode for this charging.
[0084] Specifically, the memory is traversed to determine whether there is a historical charging mode. If so, according to the current charging start time and each historical charging start time, the historical charging mode with the shortest time difference is selected, that is, the charging mode of the last charging is used as the charging mode of this charging.
[0085] Step S204: start charging;
[0086] In the specific implementation of step S204, the heated cigarette controller determines that the heated smoking device can be charged, and sends a charging instruction to the heated smoking device to control the charging device to start, thereby charging the smoking device battery in the heated smoking device.
[0087] Step S205: determining the power percentage according to the currently collected charging voltage and charging power;
[0088] It should be noted that the specific implementation of step S205 includes the following steps:
[0089] Step S11: Collect the current charging voltage and charging power.
[0090] In the specific implementation of step S11, the heated cigarette controller controls the voltage and power detectors provided at the charging interface to detect the current charging voltage and charging power.
[0091] Step S12: searching a dynamic power matching table according to the charging voltage and charging power to determine a corresponding power percentage.
[0092] In the specific implementation of step S12, the power dynamic matching table is traversed to find the charging ratio corresponding to the charging voltage and the charging power.
[0093] The power dynamic matching table is pre-set, and the process of pre-setting the power dynamic matching table includes:
[0094] Obtain different historical charging voltages and charging powers;
[0095] Experiments will be conducted based on different historical charging voltages and charging powers to determine at what percentage of battery power under different charging voltages and charging powers that the battery life is longer, and the charging voltage and charging power at this time, as well as the corresponding percentage of power, will be recorded.
[0096] Write the different historical charging voltages and charging powers, as well as the corresponding power percentages, into the control program.
[0097] Specifically, discharge and charge tests are conducted on fully charged smoking devices, and the battery voltage is monitored at different charging voltages and charging powers. The change in power is determined by the change in voltage to determine the percentage of power at which the battery life is the longest. The charging voltage and charging power at this time, as well as the corresponding percentage of power, are recorded and compiled into the control program of the heated cigarette controller. In actual use, the charging voltage and power are dynamically collected to determine the power.
[0098] Step S206: Determine whether the charging power of the smoking device battery in the heating smoking device reaches the power percentage. If it reaches, execute step S207. If not, continue to control the charging device to charge the smoking device battery in the heating smoking device, and return to continue to execute step S206.
[0099] In the specific implementation of step S206, the heated cigarette controller detects the current charging power in real time through the power SOC detector connected to the smoking device battery, and compares the current charging power with the power percentage obtained in step S205. If they are equal, it means that the smoking device battery in the heated smoking device has been charged to the power percentage, and step S207 is executed. If it has not been reached, the charging device continues to be controlled to charge the smoking device battery in the heated smoking device, and returns to continue executing step S206.
[0100] It should be noted that the current charging capacity refers to the current charging capacity percentage.
[0101] Step S207: suspend charging;
[0102] In the specific implementation of step S207, the battery in the heating device is charged to a certain proportion, that is, the charging is automatically suspended after the power percentage is reached. At this time, the heating cigarette controller controls the heating device to enter a waiting state.
[0103] Optionally, after entering the waiting state, counting is started.
[0104] Step S208: Determine whether the collected second time is the first time from the time charging is stopped to the time before the predicted time. If so, it means that charging can be restarted at this time, and execute step S209. If not, continue to wait.
[0105] The predicted time refers to the time when the user will use the heated smoking device next time, which is predicted based on the user's electricity usage data.
[0106] The predicted time shown in the present invention is greater than the sum of the time for the smoking device battery to be charged to the power percentage and the first time.
[0107] It should be noted that the specific implementation of step S208 includes the following steps:
[0108] Step S21: obtaining the power consumption data recorded in the heating smoking device;
[0109] It should be noted that the specific process of implementing step S205 includes the following steps:
[0110] Step S31: Determine whether there is user's power usage data in the memory of the heating smoking device. If yes, execute step S32. If not, prompt the user to use other methods, such as the second charging mode, for charging.
[0111] It should be noted that electricity usage data refers to the user's electricity usage habits, including the time the user uses the heated smoking device each time, the time each charging starts, the charging time, and the time connected to the charging device.
[0112] For example, charging overnight or long-term charging will last for several hours, and charging will stop after about a few hours.
[0113] Every time a user uses a heated smoking device, the internal memory will record the corresponding power consumption data.
[0114] Step S32: Obtain corresponding power consumption data.
[0115] Step S22: inputting the power consumption data into a power consumption identification model, processing the power consumption data based on the power consumption identification model, and outputting a predicted time.
[0116] The electricity consumption recognition model is trained based on historical electricity consumption data of different users.
[0117] It should be noted that the process of training an electricity consumption recognition model based on the historical electricity consumption data of different users includes: taking the historical electricity consumption data of different users as a sample set, and dividing the sample set into a training set and a test set; using the training set to perform data simulation training on the initial model to obtain a trained initial model; using the test set to test the initial model and output a predicted time; if it is determined that the output predicted time is consistent with the actual time in the test set, the initial model is used as the trained electricity consumption recognition model.
[0118] It should be noted that the historical electricity consumption data includes the actual time each time a user starts using the heated smoking device, the time each time the heated smoking device is used, the time each time charging starts, the charging time, and the time connected to the charging device, etc.
[0119] Specifically, when the initial model is tested using the test set, determine whether the predicted time output by the initial model is consistent with the actual time in the test set. If they are consistent, the initial model at this time is used as the trained electricity consumption recognition model. If they are inconsistent, continue to train the initial model with the training set until the predicted time output by the test is consistent with the actual time in the test set, and use the initial model as the trained electricity consumption recognition model.
[0120] It should be noted that the initial model is an intelligent algorithm or a machine learning model.
[0121] In the specific implementation of step S22, the user data of the user is identified using the trained power usage identification model to determine the time when the user will use the heated smoking device next time, ie, the predicted time, according to the user's charging habits.
[0122] Step S23: Collect the second time.
[0123] In the specific implementation of step S23, the heated cigarette controller uses a timer set in itself to collect the time from the charging suspension to the present time, and uses it as the second time.
[0124] Optionally, after the user stops charging, the heating device and the charging device need to be kept connected.
[0125] Step S24: Determine whether the second time reaches the first time before the predicted time. If so, it means that charging can be restarted at this time, and execute step S209. If not, continue to wait.
[0126] It should be noted that the first time is calculated based on the current charged power percentage, charging voltage and charging power, and refers to the time required to fully charge the battery from the charged power percentage.
[0127] Further, the process of calculating the first time according to the current charged power percentage and the charging voltage includes:
[0128] First, the remaining power percentage is calculated based on the current charged power percentage.
[0129] Specifically, the current percentage of charged power is collected in real time, and the remaining power percentage is obtained by subtracting 1 from the current percentage of charged power.
[0130] Secondly, the corresponding charging time, ie the first time, is calculated according to the charging voltage, charging power and the percentage of remaining power.
[0131] Specifically, the product of the rated power of the smoking device battery and the percentage of remaining power is calculated to obtain the required power; then the charging current is calculated by dividing the charging power by the charging voltage; the required power is divided by the product of the charging power and the charging voltage to obtain the charging time, that is, the first time.
[0132] Optionally, in order to prevent the battery from being fully charged when the preset time is reached, after obtaining the charging time based on the required electrical energy divided by the product of the charging power and the charging voltage, the sum of the charging time and the reserved time can be used as the first time.
[0133] Among them, the reserved time is set based on multiple experiments and can generally be set to 5 minutes.
[0134] In the specific implementation of step S24, after stopping charging, the battery enters a waiting state and starts counting, that is, recording the second time, and detecting in real time whether the second time reaches the first time before the predicted time.
[0135] It should be noted that, generally speaking, the predicted time is greater than the first time. If the preset time is equal to the first time, charging is resumed in time after charging is stopped.
[0136] Step S209: restarting the charging instruction for the heating smoking device to fully charge the cigarette battery through the charging device.
[0137] In the specific implementation of step S209, the heated cigarette controller restarts the charging device to send a charging instruction to the heated smoking device so as to control the charging device to start, thereby charging the smoking device battery in the heated smoking device until it is fully charged.
[0138] In the embodiment of the present invention, different charging methods are determined by different charging modes. If it is the first charging mode, the power percentage is first determined according to the charging voltage and the charging power, and the charging device is controlled to charge the heating smoking device until the smoking device battery in the heating smoking device is charged to the power percentage, and then the charging is suspended; and the charging is resumed to full power at the first time before the predicted time from the time when the charging is suspended, so as to reduce the battery full charging time, thereby slowing down the battery aging speed and extending the battery life.
[0139] Optionally, based on the charging processing method of the heating smoking device in the above embodiment of the present invention, the embodiment of the present invention further discloses a flow chart of the charging processing method of the heating smoking device, such as Figure 3 As shown, the method includes:
[0140] Step S301: Detect whether the heating smoking device is connected to the charging port of the charging device. If so, execute step S302; if not, continue to execute step S301 to re-detect the interface of the charging device.
[0141] Step S302: obtaining a charging mode selected for the heating smoking device.
[0142] Optionally, there is a display in the heating smoking device, and the heating cigarette controller displays the selectable charging modes through the built-in display of the heating smoking device, so that the user can select the charging mode displayed on the display of the heating smoking device.
[0143] Step S303: determine whether the charging mode is the first charging mode, if yes, execute step S304, if no, it means that the currently selected charging mode is the second charging mode, and execute corresponding steps based on the process of the second charging mode.
[0144] It should be noted that the specific implementation process of step S301 to step S303 is the same as the specific implementation process of the above-mentioned specific implementation step S201 to step S203, and they can refer to each other.
[0145] Step S304: collecting the initial power level of the smoking device battery in the heating smoking device.
[0146] In the specific implementation of step S304, when the heated cigarette controller determines that the heated cigarette device is successfully connected to the charging device, the system receives a charging instruction sent by the charging device and first collects the battery initial status information of the battery in the heated cigarette device, that is, the initial power.
[0147] It should be noted that the initial power is the power of the battery of the smoking device at that time.
[0148] Step S305: Determine whether the initial power is lower than the preset value. If so, execute step S306. If greater than or equal to, determine whether the initial power is 100%. If so, output the information that the power is full. If the initial power is not 100%, suspend charging, and wait to execute step S309.
[0149] It should be noted that the preset value refers to the power level at which charging is suspended, that is, the power level corresponding to the power percentage determined based on the currently collected charging voltage and charging power.
[0150] In the process of implementing step S305, the initial power is compared with the preset value. When it is determined that the initial power is lower than the preset value, step S306 is executed. If it is greater than or equal to the preset value, it is determined whether the initial power is 100%. If so, the full power information is output. If the initial power is not 100%, charging is suspended, and waiting is performed, that is, step S308 is executed.
[0151] It should be noted that, if the initial power is greater than or equal to the preset value, the first time in step S309 is calculated based on the initial power, charging voltage and charging power, and refers to the time required to fully charge the battery from the initial power.
[0152] Step S306: start charging;
[0153] Step S307: determining the power percentage according to the currently collected charging voltage and charging power;
[0154] It should be noted that the power percentage is greater than the initial power.
[0155] Step S308: Determine whether the charging power of the smoking device battery in the heating smoking device reaches the power percentage. If it reaches, execute step S309. If not, continue to control the charging device to charge the smoking device battery in the heating smoking device, and return to continue to execute step S308.
[0156] At this time, the predicted time is greater than the sum of the time required for the smoking device battery to charge from the initial power to the preset gear power and the first time.
[0157] Step S309: suspend charging;
[0158] Step S310: Determine whether the collected first time is the first time from the time charging is stopped to the time before the predicted time. If so, it means that charging can be restarted at this time, and execute step S311. If not, continue to wait.
[0159] Step S311: restarting the charging instruction for the heated smoking device to fully charge the cigarette battery through the charging device.
[0160] It should be noted that the specific implementation process of step S306 to step S311 is the same as the specific implementation process of the above-mentioned specific implementation step S204 to step S209, and they can refer to each other.
[0161] In the embodiment of the present invention, the specific implementation process of step S301 to step S310 can be Figure 4 The flowchart shown is explained.
[0162] In the implementation of the present invention, different charging methods are determined by different charging modes. If it is the first charging mode, the relationship between the initial power of the smoking device battery in the heated smoking device and the preset value is first determined to determine whether charging is needed. When it is determined that the initial power is less than the preset value, charging is started; then, the power percentage is determined according to the charging voltage and the charging power, and the charging device is controlled to charge the heated smoking device until the smoking device battery in the heated smoking device is charged to the power percentage, and charging is suspended; and charging is resumed to full power from the time of charging suspension to the first time before the predicted time, which can reduce the battery full charging time, thereby slowing down the battery aging rate and extending the battery life.
[0163] Optionally, based on the charging processing method of the heating smoking device in the above embodiment of the present invention, the embodiment of the present invention further discloses a flow chart of the charging processing method of the heating smoking device, such as Figure 5 As shown, the method includes:
[0164] Step S501: Detect whether the heating smoking device is connected to the charging port of the charging device. If so, execute step S502. If not, continue to execute step S501 to re-detect the interface of the charging device.
[0165] Step S502: obtaining a charging mode selected for the heating smoking device.
[0166] Optionally, there is a display in the heating smoking device, and the heating cigarette controller displays the selectable charging modes through the built-in display of the heating smoking device, so that the user can select the charging mode displayed on the display of the heating smoking device.
[0167] It should be noted that the specific implementation process of step S501 to step S303 is the same as the specific implementation process of the above-mentioned specific implementation step S201 to step S203, and they can refer to each other.
[0168] Step S503: determine whether the charging mode is the second charging mode, if yes, execute step S504, if no, execute the process from step S304 to step S311.
[0169] Step S504: collecting the initial power level of the smoking device battery in the heating smoking device.
[0170] In the specific implementation of step S504, when the heated cigarette controller determines that the heated cigarette device is successfully connected to the charging device, the system receives a charging instruction sent by the charging device and first collects the battery initial status information of the battery in the heated cigarette device, that is, the initial power.
[0171] It should be noted that the initial power is the power of the battery of the smoking device at that time.
[0172] Step S505: Determine whether the initial power is lower than the preset value. If so, execute step S506. If greater than or equal to, determine whether the initial power is 100%. If so, output the information that the power is full. If the initial power is not 100%, suspend charging, and wait to execute step S509.
[0173] It should be noted that the preset value refers to the power level at which charging is suspended, that is, the power level corresponding to the power percentage determined based on the currently collected charging voltage and charging power.
[0174] Step S506: start charging;
[0175] It should be noted that the specific process of implementing step S506 is the same as the specific process of implementing step S204 described above, and they can refer to each other.
[0176] Step S507: determine whether the current power level of the smoking device battery is equal to the preset gear power level. If so, execute step S508. If not, continue to control the charging device to charge the smoking device battery in the heating smoking device, and return to step S506.
[0177] In the process of implementing step S507, the heated cigarette controller detects the current charging power in real time through the power SOC detector connected to the smoking device battery, and compares the current charging power with the preset gear power. If they are equal, it means that the smoking device battery in the heated smoking device has been charged to the preset gear power and step S508 is executed. If not, the charging device continues to be controlled to charge the smoking device battery in the heated smoking device, and returns to continue to execute step S506.
[0178] In order to extend the service life of the heated tobacco device, the preset gear power can be pre-set to a maximum charging power setting between 70% and 90%. When the custom charging mode is turned on (set value <100%), each charge will default to the custom charging protection, and the charging will automatically stop when the power reaches the set maximum power. If you click the "Full this time" option on the device screen, the power will be fully charged to 100%.
[0179] Among them, the preset gear power can set the maximum charging power, for example, 70%, 80%, 90%, and 100%, which are set by the user according to his own situation.
[0180] Step S508: Pause charging.
[0181] It should be noted that the specific implementation process of step S508 is the same as the specific implementation process of the above-mentioned specific implementation step S207, and they can refer to each other.
[0182] Optionally, also include:
[0183] After charging is paused, the display of the heating device shows whether the current charging is fully charged. If the full charging operation selected by the user is received within the specified response time, steps S509 and S510 are executed, or charging continues directly until it is fully charged; if no feedback is received within the specified response time, or the user selects no operation, charging is stopped.
[0184] Step S509: Determine whether the collected second time is the first time from the time charging is stopped to the time before the predicted time. If so, it means that charging can be restarted at this time, and execute step S510. If not, continue to wait.
[0185] The predicted time refers to the time when the user will use the heated smoking device next time, which is predicted based on the user's electricity usage data.
[0186] At this time, the predicted time is greater than the sum of the time required for the smoking device battery to charge from the initial power to the preset gear power and the first time.
[0187] Step S510: restarting the charging instruction for the heating smoking device to fully charge the cigarette battery through the charging device.
[0188] It should be noted that the specific implementation process of step S509 to step S510 is the same as the specific implementation process of the above-mentioned specific implementation step S208 to step S209, and they can refer to each other.
[0189] Among them, the custom charging mode, i.e. the second charging mode, and the smart charging mode, i.e. the first charging mode, can only be enabled by default. When charging the heated smoking device, the user can choose according to their actual needs. For example, for the scenario of long-term plug-in charging of smoking devices, choose the custom charging mode and set it to a lower gear (such as 70%); for smoking devices that are often charged at night, choose the smart charging mode to avoid the battery being fully charged for a long time, thereby delaying the battery aging speed and extending the battery life.
[0190] In the embodiment of the present invention, the specific implementation process of step S501 to step S510 can be Figure 6 The flowchart shown is explained.
[0191] Figure 6 The maximum charging capacity shown in refers to the preset gear capacity set in advance according to actual needs.
[0192] Among them, the dynamic adaptation of the charging program refers to the need to detect whether the smoking device battery in the heating smoking device has been charged to the maximum charging power.
[0193] In the embodiment of the present invention, different charging modes are used to determine different charging methods. If the second charging mode is used, the charging device is controlled to charge the heating smoking device until the smoking device battery in the heating smoking device is charged to a preset level and the charging is suspended; and the charging is resumed to be fully charged at the first time before the predicted time from the suspension of charging. Any of the above selected charging modes can prevent the battery from being in a fully charged state for a long time, thereby slowing down the battery aging rate and extending the battery life.
[0194] Based on the charging processing method of the heating smoking device shown in the above embodiment of the present invention, the embodiment of the present invention also discloses a charging processing device for the heating smoking device, such as Figure 7 As shown, the device comprises:
[0195] The detection unit 701 is used to detect that the heating smoking device is connected to the charging port of the charging device, and obtain the charging mode selected for the heating smoking device;
[0196] A first starting unit 702, configured to start charging if it is determined that the selected charging mode is the first charging mode;
[0197] The determination unit 703 is used to determine the power percentage according to the currently collected charging voltage and charging power;
[0198] The pausing unit 704 is used to suspend charging when it is determined that the smoking device battery in the heating smoking device is charged to the power percentage;
[0199] The second starting unit 705 is used to restart the charging instruction for the heating device when the first time from the suspension of charging to the predicted time is reached, so as to fully charge the cigarette battery through the charging device, and the predicted time is predicted based on the user's power consumption data.
[0200] The specific principles and execution processes of each unit in the charging processing device for the heated smoking device disclosed in the above embodiment of the present invention are the same as the corresponding contents in the charging processing method for the heated smoking device provided in the above embodiment of the present invention. Please refer to the corresponding parts of the charging processing method for the heated smoking device disclosed in the above embodiment of the present invention, and no further details will be given here.
[0201] In the embodiment of the present invention, different charging methods are determined by different charging modes. If it is the first charging mode, the power percentage is first determined according to the charging voltage and the charging power, and the charging device is controlled to charge the heating smoking device until the smoking device battery in the heating smoking device is charged to the power percentage, and then the charging is suspended; and the charging is resumed to full power at the first time before the predicted time from the time when the charging is suspended, so as to reduce the battery full charging time, thereby slowing down the battery aging speed and extending the battery life.
[0202] Optionally, based on the charging processing device for the heated smoking article shown in the above embodiment of the present invention, the first starting unit 702 is further used for:
[0203] Before acquiring the charging mode selected for the heated smoking device, collecting the initial power of the smoking device battery in the heated smoking device;
[0204] When it is determined that the initial power level is lower than a preset value, charging is started.
[0205] Optionally, based on the charging processing device for the heated smoking device shown in the above embodiment of the present invention, the determining unit 703 is specifically used for:
[0206] Collect the current charging voltage and charging power;
[0207] The corresponding power percentage is determined by searching the power dynamic matching table according to the charging voltage and the charging power.
[0208] Optionally, based on the charging processing device for the heating smoking device shown in the above embodiment of the present invention, the second starting unit 705 that obtains the predicted time according to the user's power consumption data is specifically used for:
[0209] Obtaining power consumption data recorded in the heating smoking device;
[0210] Inputting the electricity usage data into an electricity usage recognition model, processing the electricity usage data based on the electricity usage recognition model, and outputting a predicted time, wherein the electricity usage recognition model is trained based on historical electricity usage data of different users;
[0211] The process of training the electricity consumption recognition model based on the historical electricity consumption data of different users includes:
[0212] The historical electricity consumption data of different users are used as sample sets, and the sample sets are divided into training sets and test sets;
[0213] Using the training set to perform data simulation training on the initial model to obtain a trained initial model;
[0214] Use the test set to test the initial model and output the predicted time;
[0215] If it is determined that the output predicted time is consistent with the actual time in the test set, the initial model is used as the trained electricity consumption recognition model.
[0216] Optionally, based on the charging processing device for the heated smoking device shown in the above embodiment of the present invention, the second starting unit 705 reaching the first time from the suspension of charging to the predicted time is specifically used for:
[0217] Collecting a second time, wherein the second time is the time from when charging is suspended to the present;
[0218] Determining whether the second time reaches a first time before the predicted time, wherein the first time is calculated based on the current charged power percentage and the charging voltage;
[0219] If so, determine the first time from when charging is suspended to before the predicted time.
[0220] Optionally, based on the charging processing device for the heated smoking device shown in the above embodiment of the present invention, the first starting unit 702 is further used to: if it is determined that the selected charging mode is the second charging mode, collect the initial power parameter of the smoking device battery in the heated smoking device; when it is determined that the initial power parameter does not meet the preset value, start charging;
[0221] Correspondingly, the pausing unit 704 is further configured to suspend charging when the power level of the smoking device battery is equal to the power level of a preset gear.
[0222] An embodiment of the present application provides an electronic device, which includes a processor and a memory. The memory is used for program codes and data for charging processing of heated smoking devices. The processor is used to call program instructions in the memory to execute the steps shown in the charging processing method of heated smoking devices in the above embodiment.
[0223] An embodiment of the present application provides a storage medium, which includes a storage program, wherein when the program is running, the device where the storage medium is located is controlled to execute the charging processing method for the heated smoking device shown in the above embodiment.
[0224] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.
[0225] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0226] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A charging method for a heating smoking device, characterized in that: Applied to a heated cigarette controller, the method comprises: When detecting that the heating smoking device is connected to the charging port of the charging device, obtaining a charging mode selected for the heating smoking device; If it is determined that the selected charging mode is the first charging mode, starting charging; Determine the power percentage based on the currently collected charging voltage and charging power; When it is determined that the smoking device battery in the heating smoking device is charged to the power percentage, suspending the charging; When the first time from the time when charging is suspended to the predicted time is reached, the charging instruction for the heated smoking device is restarted to fully charge the smoking device battery in the heated smoking device through the charging device, and the predicted time is predicted based on the user's power consumption data.
2. The method according to claim 1, characterized in that Before obtaining the charging mode selected for the heating smoking device, the method further includes: Collecting the initial power of the smoking device battery in the heating smoking device; When it is determined that the initial power level is lower than a preset value, charging is started.
3. The method according to claim 1, characterized in that Determine the power percentage based on the currently collected charging voltage and charging power, including: Collect the current charging voltage and charging power; The corresponding power percentage is determined by searching the power dynamic matching table according to the charging voltage and the charging power.
4. The method according to claim 1, characterized in that: The predicted time is obtained based on the user's electricity consumption data, including: Obtaining the electricity consumption data of the user recorded in the heating smoking device; The power usage data is input into a power usage identification model, the power usage data is processed based on the power usage identification model, and a predicted time is output, wherein the power usage identification model is trained based on historical power usage data of different users.
5. The method according to claim 4, characterized in that The process of training the electricity consumption recognition model based on the historical electricity consumption data of different users includes: The historical electricity consumption data of different users are used as sample sets, and the sample sets are divided into training sets and test sets; Using the training set to perform data simulation training on the initial model to obtain a trained initial model; Use the test set to test the initial model and output the predicted time; If it is determined that the output predicted time is consistent with the actual time in the test set, the initial model is used as the trained electricity consumption recognition model.
6. The method according to claim 1, characterized in that The first time from the time charging is suspended to the time before the predicted time, including: Collecting a second time, wherein the second time is the time from when charging is suspended to the present; Determining whether the second time reaches a first time before the predicted time, wherein the first time is calculated based on the current charged power percentage and the charging voltage; If so, determine the first time from when charging is suspended to before the predicted time.
7. The method according to claim 1, characterized in that Also includes: If it is determined that the selected charging mode is the second charging mode, collecting initial power parameters of the smoking device battery in the heating smoking device; When it is determined that the initial power parameter does not meet the preset value, starting charging; When the power level of the battery of the smoking device is equal to the power level of the preset gear, charging is suspended; When the first time from the time when charging is suspended to the predicted time is reached, the charging instruction for the heating smoking device is restarted to fully charge the cigarette battery through the charging device, and the predicted time is predicted based on the user's power consumption data.
8. A charging processing device for a heated smoking device, characterized in that: Applied to a heating cigarette controller, the device comprises: A detection unit, configured to obtain a charging mode selected for the heating smoking device when detecting that the heating smoking device is connected to a charging port of a charging device; A first starting unit, configured to start charging if it is determined that the selected charging mode is the first charging mode; A determination unit, used to determine the power percentage according to the currently collected charging voltage and charging power; A pausing unit, used for pausing charging when it is determined that the smoking device battery in the heating smoking device is charged to the power percentage; The second starting unit is used to restart the charging instruction for the heated smoking device when the first time from the time when charging is suspended to the predicted time is reached, so as to fully charge the smoking device battery in the heated smoking device through the charging device, and the predicted time is predicted based on the user's power consumption data.
9. An electronic device, characterized in that: The electronic device is used to run a program, wherein the charging processing method for the heated smoking device according to any one of claims 1 to 7 is executed when the program is run.
10. A storage medium, characterized in that: The storage medium includes a storage program, wherein when the program is running, the device where the storage medium is located is controlled to execute the charging processing method for the heated smoking device according to any one of claims 1 to 7.