Sleep control method and device, atomization equipment and storage medium
By detecting the working state parameters in the atomization equipment and calculating the power consumption rate, the problem of improperly being in the wake-up state is solved, and the effect of reducing energy consumption and extending the usage time is achieved.
Patent Information
- Application Number
- CN202411808691.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-09
- Publication Date
- 2025-02-14
AI Technical Summary
The atomization device may be improperly awakened when it is not awakened, resulting in increased energy consumption and reduced heating time.
After receiving the wake-up command, the working state parameters of the power supply component and the atomization component are detected, the starting and closing time points are determined, the actual power consumption rate is calculated, and when the preset conditions are not met, the device is forced to switch to the sleep state.
Effectively identify and solve the problem of improperly being awakened by atomization equipment, reduce energy consumption in the unused stage, and extend the working time of the equipment during the use stage.
Smart Images

Figure CN119423374A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic atomization, and in particular to a sleep control method, device, atomization equipment and storage medium. Background Art
[0002] When not awakened, the atomizer device will remain in a dormant state to minimize the energy consumption of the atomizer device when not in use and extend the working time of the atomizer device when in use. Once the atomizer device receives a wake-up command, it will immediately switch from the dormant state to the awakened state, and in the awakened state, control the atomizer component of the atomizer device to heat the atomizer matrix, or control the power supply component of the atomizer device to receive the power supplied by the external power supply for storage.
[0003] Atomizer equipment usually needs to undergo a self-starting aging heating test before leaving the factory. During this test, the working state parameters corresponding to the awake state of the atomizer equipment need to be continuously maintained to ensure that the atomizer equipment cannot enter a dormant state. After this test process is completed, if the working state parameters corresponding to the awake state are lost or not reset, it will be difficult to identify whether the atomizer equipment is in an awake state, which may cause the atomizer equipment to generate a large amount of unnecessary energy consumption due to being improperly awake, and improperly shorten the heating time of the atomizer equipment. Summary of the invention
[0004] The present application provides a sleep control method, device, atomization device and storage medium, aiming to solve the problem that the atomization device is in an improperly awake state.
[0005] To achieve the above objectives:
[0006] In a first aspect, an embodiment of the present application provides a sleep control method, the method comprising: receiving a wake-up instruction of the atomization device, and controlling the atomization device to be in a wake-up state based on the wake-up instruction;
[0007] Detecting a first working state parameter of the power supply component and a second working state parameter of the atomization component;
[0008] Determine a starting time point and an ending time point based on the first working state parameter and the second working state parameter;
[0009] The actual power consumption rate of the power supply component is determined according to the starting time point and the ending time point, and it is judged whether the actual power consumption rate meets the preset condition. When the actual power consumption rate does not meet the preset condition, the atomization device is controlled to be in a dormant state.
[0010] In one embodiment, after the step of determining whether the actual power consumption rate meets a preset condition, the method further includes:
[0011] When the actual power consumption rate satisfies the preset condition, the steps of detecting the first working state parameter of the power supply component and the second working state parameter of the atomization component are repeatedly performed.
[0012] In one embodiment, the step of detecting the first working state parameter of the power supply component and the second working state parameter of the atomization component includes:
[0013] Determine a first starting time point when the atomization device is in the awake state;
[0014] Obtaining a first preset time interval;
[0015] Starting from the first starting time point, the first working state parameter and the second working state parameter are detected at continuous first preset time intervals.
[0016] In one embodiment, the step of determining the starting time point and the ending time point based on the first working state parameter and the second working state parameter includes:
[0017] Obtaining a second starting time point at which both the first working state parameter and the second working state parameter are first preset values, and determining the second starting time point as the starting time point, wherein the first preset value indicates that the atomization component or the power supply component is in a non-working state;
[0018] Obtain a third starting time point at which one of the first working state parameter and the second working state parameter is first a second preset value, and determine the third starting time point as the end time point, wherein the second preset value indicates that the atomization component or the power supply component is in a working state.
[0019] In one embodiment, the step of controlling the atomization device to be in a dormant state comprises:
[0020] Setting the first working state parameter and the second working state parameter to the first preset value, and determining a fourth starting time point when the first working state parameter and the second working state parameter are both set to the first preset value;
[0021] Obtaining a second preset duration;
[0022] At an end time point of the second preset time length starting from the fourth starting time point, the atomization device is controlled to switch from the awake state to the sleep state.
[0023] In one embodiment, the step of determining the actual power consumption rate of the power supply component according to the starting time point and the end time point includes:
[0024] Acquire a first voltage value of the power supply component according to the starting time point, wherein the first voltage value is a voltage value of the power supply component at the starting time point;
[0025] Acquire a second voltage value of the power supply component according to the cut-off time point, wherein the second voltage value is a voltage value of the power supply component at the cut-off time point;
[0026] The actual power consumption rate is determined according to the accumulated duration obtained from the end time point and the start time point, and the voltage change value obtained from the first voltage value and the second voltage value.
[0027] In one implementation, the preset condition is that a power consumption rate difference between the actual power consumption rate and the reference power consumption rate is less than or equal to a power consumption rate threshold.
[0028] In one embodiment, before the step of determining whether the actual power consumption rate meets a preset condition, the method further includes:
[0029] Determining the power supply capacity of the power supply component and the static current of the power supply component;
[0030] Determining the operating voltage range of the atomization device;
[0031] The reference power consumption rate is calculated according to the operating voltage range, the power supply capacity and the static current, and the reference power consumption rate is stored.
[0032] In a second aspect, an embodiment of the present application provides a sleep control device, comprising:
[0033] A wake-up control module is configured to receive a wake-up instruction of the atomization device, and control the atomization device to be in a wake-up state based on the wake-up instruction;
[0034] A working state parameter detection module, configured to detect a first working state parameter of a power supply component of the atomization device and a second working state parameter of an atomization component of the atomization device;
[0035] A time point determination module, configured to determine a start time point and an end time point based on the first working state parameter and the second working state parameter;
[0036] an actual power consumption rate calculation module, configured to determine the actual power consumption rate of the power supply component according to the starting time point and the end time point;
[0037] A preset condition determination module is configured to determine whether the actual power consumption rate meets a preset condition;
[0038] The sleep control module is configured to control the atomization device to be in a sleep state when the actual power consumption rate does not meet the preset condition.
[0039] In a third aspect, an embodiment of the present application provides an atomization device, comprising:
[0040] Power supply components;
[0041] an atomizing assembly, wherein the atomizing assembly is heated based on the electric energy provided by the power supply assembly;
[0042] A processor and a memory, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the above method.
[0043] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.
[0044] In the sleep control method, device, atomization device and storage medium provided in the present application, after the atomization device is controlled to be in the wake-up state based on the wake-up instruction, the first working state parameter of the power supply component and the second working state parameter of the atomization component are detected respectively, and then the starting time and the ending time of the accumulated power consumption time are determined based on the first working state parameter and the second working state parameter, and the actual power consumption rate of the power supply component is determined according to the starting time and the ending time, and it is judged whether the actual power consumption rate meets the preset conditions, and when the actual power consumption rate does not meet the preset conditions, the atomization device is controlled to be in the sleep state. The fact that the actual power consumption rate does not meet the preset conditions means that the atomization device is improperly in the wake-up state. At this time, forcibly controlling the atomization device to enter the sleep state can shorten the time that the atomization device is improperly in the wake-up state, reduce the energy consumption generated by the atomization device during the non-use stage, and extend the working time of the atomization device during the use stage. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 A schematic diagram of a sleep control method according to an embodiment of the present application;
[0046] Figure 2 A schematic diagram of a sleep control method according to another embodiment of the present application;
[0047] Figure 3 A block diagram of a sleep control device provided in one embodiment of the present application;
[0048] Figure 4 A schematic diagram of the structure of an atomization device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0049] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0050] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes 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 "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.
[0051] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are displayed in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and it can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0052] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0053] The sleep control method provided in the present application can be executed by the sleep control device provided in the present application, and the device can be implemented in software and / or hardware. In any embodiment of the present application, the executor of the method is an atomization device as an example, wherein the atomization device includes a power supply component and an atomization component.
[0054] The power supply component is used to receive and store the electric energy provided by the external power supply to provide the electric energy required for the operation of other power-consuming modules of the atomization device. The atomization component is used to convert the electric energy into heat energy to heat the atomization matrix.
[0055] It is worth mentioning that the present application does not limit the type of atomization equipment. The atomization equipment may specifically be a cartridge-type atomization equipment, or a heat not burn (Heat Not Burning, HNB) atomization equipment, etc.
[0056] Specifically, Figure 1 As shown, the sleep control method 100 of this embodiment includes:
[0057] Step S104, receiving a wake-up instruction of the atomization device, and controlling the atomization device to be in a wake-up state based on the wake-up instruction.
[0058] Among them, the wake-up instruction is generated according to the operation behavior acting on the atomization device. Specifically, the wake-up instruction can be generated according to the user pressing the button of the atomization device, and the wake-up instruction can also be generated according to the user clicking the touch screen of the atomization device. If the atomization device is also provided with a motion sensor, then the wake-up instruction can also be generated according to the trajectory of the user's action behavior acting on the atomization device. If the atomization device is also provided with an airflow sensor, such as a microphone, then the wake-up instruction can also be generated according to the user's suction action on the atomization device.
[0059] Once the atomizing device receives the wake-up instruction, it will immediately switch from the dormant state to the awakened state. If the atomizing device is in the awakened state before receiving the wake-up instruction, the atomizing device will still maintain itself in the awakened state after receiving the wake-up instruction.
[0060] It is worth mentioning that in any embodiment provided in the present application, the awake state and the dormant state of the atomizer device are two relative states of the atomizer device, that is, the atomizer device is either in the awake state or in the dormant state. In the dormant state, all components of the atomizer device do not work. At this time, the display screen of the atomizer device is off, the atomizer component is not heated, and the power supply component does not receive power from the external power supply, so that the energy consumption of the entire atomizer device in the dormant state is low, so as to save power when the user is not using the atomizer device.
[0061] Step S105, detecting a first working state parameter of the power supply component and a second working state parameter of the atomization component.
[0062] That is to say, the first working state parameter of the power supply component and the second working state parameter of the atomization component will be detected only after the atomization device is in the awakened state.
[0063] The first working state parameter indicates whether the power supply component is in a working state of receiving electric energy provided by an external power source for charging. The second working state parameter indicates whether the atomization component is in a working state of converting electric energy into heat energy.
[0064] Specifically, the first working state parameter is the specific value of the flag bit of the power supply component recorded in the memory (usually flash memory) of the atomization device. The second working state parameter is the specific value of the flag bit of the atomization component recorded in the memory. The flag bit is usually used to indicate whether a specific state or condition is met. In the binary system, the specific value of the flag bit is "0" and "1" to represent "false" and "true" in Boolean logic respectively. The control module of the atomization device (such as the microcontroller of the atomization device) reads the flag bit of the atomization component and the flag bit of the power supply component to respond to specific events of the atomization device and implement the control logic of the atomization device.
[0065] Step S106, determining a starting time point and an ending time point based on the first working state parameter and the second working state parameter.
[0066] By determining when the atomizer component is in the heating working state and when the power supply component is in the charging working state, the subsequent step S107 can accurately calculate the actual power consumption rate of the atomizer device.
[0067] Step S107, determining the actual power consumption rate of the power supply component according to the starting time point and the ending time point.
[0068] After determining the starting time point and the ending time point, the power consumption of the atomization device in the time period between the starting time point and the ending time point can be quantified.
[0069] Step S108, determining whether the actual power consumption rate meets a preset condition.
[0070] In this step, the actual power consumption rate is judged in combination with the preset conditions to determine whether it is within the normal consumption range of the atomization device. If the actual power consumption rate meets the preset conditions, it indicates that the power consumption of the atomization device in the time period between the start time point and the end time point is normal. On the contrary, if the actual power consumption rate does not meet the preset conditions, it indicates that the power consumption of the atomization device in the time period between the start time point and the end time point is abnormal.
[0071] When the actual power consumption rate does not meet the preset condition, step S109 is executed to control the atomization device to be in a dormant state.
[0072] That is, when the power consumption of the atomizer device in the time period between the starting time point and the ending time point is abnormal, the atomizer device is forcibly controlled to switch from the awake state to the sleep state, shortening the time that the atomizer device is improperly in the awake state, so as to reduce the energy consumption generated by the atomizer device in the non-use stage and extend the working time of the atomizer device in the use stage.
[0073] From the above, it can be seen that in this embodiment, the actual power consumption rate of the atomizer device in a specific period of time is determined by detecting the first working state parameter of the atomizer component and the second working state parameter of the power supply component, so as to measure whether the working state parameter corresponding to the wake-up state of the atomizer device is improperly maintained. Specifically, it is measured whether the specific value of the flag "unsleep" corresponding to the wake-up state of the atomizer device is improperly maintained as "1", so as to determine whether the atomizer device is improperly in the awake state, and when the atomizer device is improperly in the awake state, the atomizer device is forcibly controlled to enter the sleep state, so as to reduce the energy consumption generated by the atomizer device in the non-use stage, reduce the phenomenon of the normal working power of the atomizer device being reduced, and extend the working time of the atomizer device in the use stage.
[0074] Further, in an embodiment of the present application, please continue to refer to Figure 1 After step S108, if the actual power consumption rate meets the preset condition, then step S105 is repeated.
[0075] That is, when the power consumption of the atomization device in the time period between the starting time point and the ending time point is normal, and the atomization device is not inappropriately in an awake state, the atomization component and the power supply component are continuously detected to determine a new starting time point and a new ending time point, and then it is determined whether the power consumption of the atomization device in the time period between the new starting time point and the new ending time point is abnormal, and the atomization device that is inappropriately in an awake state is switched to a sleep state in time.
[0076] Further, in an embodiment of the present application, step S105 specifically includes steps S1051 to S1053:
[0077] Step S1051, determining a first starting time point when the atomization device is in a wake-up state.
[0078] That is, the time point when the atomization device starts to be in the awake state based on receiving the awakening instruction is determined as the first starting time point.
[0079] Step S1052: Obtain a first preset time interval.
[0080] The first preset time interval is set for the atomization device before it leaves the factory. The present application does not limit the specific value of the first preset time interval.
[0081] Step S1053 , starting from the first starting time point, detecting the first working state parameter and the second working state parameter at continuous first preset time intervals.
[0082] That is, during the time period when the atomizer device is in the awake state, the atomizer component and the power supply component are detected once every first preset time interval. For example, the first preset time interval is 1 second, and from the first starting time point, the atomizer component and the power supply component are detected once every 1 second.
[0083] In this embodiment, when the atomization device is in the awake state, the atomization component and the power supply component are detected once every first preset time interval to ensure timely identification of the time point when the first working state parameter changes and the time point when the second working state parameter changes, which is beneficial to improve the calculation accuracy of the actual power consumption rate in step S107 after step S105.
[0084] Furthermore, in one embodiment of the present application, step S106 specifically includes step S1061 to step S1062:
[0085] Step S1061, obtaining a second starting time point at which the first working state parameter and the second working state parameter are both first preset values, and determining the second starting time point as the starting time point.
[0086] The first preset value indicates that the atomizer assembly or the power supply assembly is in a non-working state. In a binary system, the specific value of the first preset value is usually represented by "0".
[0087] It should be noted that, in this step, the starting time point is the starting time point when the first working state parameter is the first preset value and the second working state parameter is the first preset value. For example, the first working state parameter is the first preset value at the nth minute and mth second and remains the first preset value for 5 minutes after the nth minute and mth second. The second working state parameter is not the first preset value at the nth minute and mth second but is the first preset value at the n+1th minute and mth second. Then the starting time point is the n+1th minute and mth second.
[0088] In other words, if one of the first working state parameter and the second working state parameter is the first preset value, and the other of the first working state parameter and the second working state parameter is not the first preset value, then any time point when one of the first working state parameter and the second working state parameter is the first preset value will not be the starting time point.
[0089] Step S1062, obtaining a third starting time point at which one of the first working state parameter and the second working state parameter is first a second preset value, and determining the third starting time point as the end time point.
[0090] The second preset value indicates that the atomizing component or the power supply component is in a working state. In a binary system, the specific value of the second preset value is usually represented by "1".
[0091] It should be noted that in this step, the cut-off time point is the starting time point when one of the first working state parameter and the second working state parameter, both of which are the first preset value, is first switched to the second preset value. For example, at the n+5th minute and mth second, the first working state parameter is switched from the first preset value to the second preset value, and the second working state parameter is still the first preset value at the n+5th minute and mth second, then the n+5th minute and mth second is the cut-off time point. It is worth mentioning that if at the n+5th minute and mth second, the first working state parameter and the second working state parameter are simultaneously switched to the second preset value, then the n+5th minute and mth second is still the cut-off time point.
[0092] In this embodiment, by determining the starting time point and the end time point, the time period during which the atomizer device is in the awake state, the power supply component is not charged and the atomizer component is not heated can be determined. Further, in one embodiment of the present application, step S107 specifically includes:
[0093] Step S1071, obtaining a first voltage value of the power supply component according to the starting time point, wherein the first voltage value is the voltage value of the power supply component at the starting time point.
[0094] Step S1072, obtaining a second voltage value of the power supply component according to the cut-off time point, wherein the second voltage value is the voltage value of the power supply component at the cut-off time point.
[0095] Step S1073, determining the actual power consumption rate according to the accumulated duration obtained from the end time point and the start time point, the voltage change value obtained from the first voltage value and the second voltage value.
[0096] Specifically, step S1073 calculates the actual power consumption rate using a first preset relationship, wherein the first preset relationship is:
[0097] P 实际 =(V1-V0) / (T1-T0) (1);
[0098] In the first preset relational expression (1), V1 is the first voltage value, V0 is the second voltage value, T1 is the cut-off time point, T0 is the start time point, P 实际 The actual power consumption rate.
[0099] Combining steps S1071 to S1073, it can be known that in this embodiment, the actual power consumption rate is the average voltage consumed per unit time during the time period when the atomizer device is in the awake state, the power supply component is not charged, and the atomizer component is not heated. It is worth mentioning that the unit of quantization of unit time can be seconds (one second as a unit time), minutes (one minute as a unit time), hours (one hour as a unit time), or days (twenty-four hours as a unit time).
[0100] Further, in an embodiment of the present application, the preset condition is that the power consumption rate difference between the actual power consumption rate and the reference power consumption rate is less than or equal to the power consumption rate threshold. Therefore, step S108 is specifically: determining whether the power consumption rate difference between the actual power consumption rate and the reference power consumption rate is less than or equal to the power consumption rate threshold.
[0101] It is worth mentioning that in this embodiment, the reference power consumption rate and the power consumption rate threshold are both pre-set and stored in the atomizer device. Different models of atomizer devices may have different reference power consumption rates and power consumption rate thresholds due to the different power supply capacities and static currents of their power supply components.
[0102] Further, in one embodiment of the present application, if Figure 2 As shown, the difference between this embodiment and the above-mentioned embodiment is that before step S108, it also includes steps S101 to S103:
[0103] Step S101, determining the power supply capacity of the power supply component and the static current of the power supply component.
[0104] Step S102, determining the operating voltage range of the atomization device.
[0105] Step S103, calculating a reference power consumption rate according to the operating voltage range, the power supply capacity and the static current, and storing the reference power consumption rate.
[0106] Specifically, assuming that the power supply capacity of the power supply component is 1600 milliampere hours (mAh), the static current is 0.1 milliampere (mA), and the operating voltage range of the atomizer device (i.e., the normal operating voltage range of the microprocessor of the atomizer device) is greater than or equal to 3.0 volts (V) and less than or equal to 4.2 volts. Then, the number of days that the atomizer device has been in a dormant state is: 1600 / 0.1 / 24=666.7 days, and the daily power consumption of the atomizer device in the dormant state is: (4.2-3.0) / 666.7=1.8 millivolts (mV).
[0107] The reference power consumption rate is calculated based on the power consumption of the atomizer device in the dormant state. For example, if the unit of time of the reference power consumption rate is day, the reference power consumption rate is 1.8 millivolts. If the unit of time of the reference power consumption rate is hour, the reference power consumption rate is 1.8 / 24=0.075 millivolts. If the unit of time of the reference power consumption rate is minute, the reference power consumption rate is 1.8 / 24 / 60=0.00125 millivolts.
[0108] It is worth mentioning that steps S101 to S103 may be executed simultaneously with any one of steps S104 to S107, and steps S101 to S103 may also be executed before any one of steps S104 to S107, and the present application does not impose any limitation on this.
[0109] Further, in an embodiment of the present application, step S109 specifically includes steps S1091 to S1093:
[0110] Step S1091, setting both the first working state parameter and the second working state parameter to first preset values, and determining a fourth starting time point at which both the first working state parameter and the second working state parameter are set to the first preset values.
[0111] The fourth starting time point is a starting time point when the first working state parameter and the second working state parameter are both the first preset values.
[0112] Step S1092, obtaining a second preset duration.
[0113] The second preset duration is a time reference that is preset and stored in the atomization device and is used to measure whether the atomization device needs to be switched from the awake state to the sleep state.
[0114] Step S1093, at the end time point of the second preset time length starting from the fourth starting time point, controlling the atomization device to switch from the awake state to the sleep state.
[0115] The fourth starting time point is also the starting time point of the second preset time length, that is, the timing starts from the fourth starting time point. When the accumulated time reaches the second preset time length, the atomization device is controlled to switch from the awake state to the sleep state, shortening the time that the atomization device is improperly in the awake state, reducing the energy consumption generated by the atomization device in the non-use stage, and extending the working time of the atomization device in the use stage.
[0116] In a second aspect, the present application further provides a sleep control device, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated hereafter. The term "module" used below may be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware or a combination of software and hardware is also possible and conceivable.
[0117] Specifically, Figure 3 As shown, the sleep control device 200 includes:
[0118] The wake-up control module 201 is configured to receive a wake-up instruction of the atomization device, and control the atomization device to be in a wake-up state based on the wake-up instruction.
[0119] The working state parameter detection module 202 is configured to detect a first working state parameter of a power supply component of the atomization device and a second working state parameter of an atomization component of the atomization device.
[0120] The time point determination module 203 is configured to determine a start time point and an end time point based on the first working state parameter and the second working state.
[0121] The actual power consumption rate calculation module 204 is configured to determine the actual power consumption rate of the power supply component according to the starting time point and the ending time point.
[0122] The preset condition determination module 205 is configured to determine whether the actual power consumption rate meets the preset condition.
[0123] The sleep control module 206 is configured to control the atomization device to be in a sleep state when the actual power consumption rate does not meet a preset condition.
[0124] For the specific definition of the sleep control device, please refer to the definition of the sleep control method above, which will not be repeated here. Each module in the above sleep control device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0125] Based on the same inventive concept as the above embodiments, the present application provides an atomization device in a third aspect. Figure 4 As shown, the atomizing device includes: a processor, a memory, a communication interface, a display screen, an input device, a power supply component and an atomizing component connected through a system bus. Among them, the processor of the atomizing device is used to provide computing and control capabilities. The memory of the atomizing device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the atomizing heating device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a sleep control method is implemented. The display screen of the atomizing device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the atomizing device can be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the atomizing device, or an external keyboard, touchpad or mouse, etc.
[0126] Those skilled in the art will understand that Figure 4The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of the present application, and does not constitute a limitation on the atomizing heating device to which the scheme of the present application is applied. The specific atomizing heating device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0127] Based on the same inventive concept as the aforementioned embodiments, in the fourth aspect of the present application, a computer-readable storage medium is further provided, and when the computer program is executed by a processor, the steps in the aforementioned method embodiments are implemented.
[0128] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and / or features involved in this application are all information, data and / or features authorized by the user or fully authorized by all parties.
[0129] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0130] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of the description of this application.
[0131] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A sleep control method, applied to an atomization device including a power supply component and an atomization component, characterized in that: The method comprises: receiving a wake-up instruction of the atomization device, and controlling the atomization device to be in a wake-up state based on the wake-up instruction; Detecting a first working state parameter of the power supply component and a second working state parameter of the atomization component; Determine a starting time point and an ending time point based on the first working state parameter and the second working state parameter; The actual power consumption rate of the power supply component is determined according to the starting time point and the ending time point, and it is judged whether the actual power consumption rate meets the preset condition. When the actual power consumption rate does not meet the preset condition, the atomization device is controlled to be in a dormant state.
2. The method according to claim 1, characterized in that After the step of determining whether the actual power consumption rate meets a preset condition, the method further includes: When the actual power consumption rate satisfies the preset condition, the steps of detecting the first working state parameter of the power supply component and the second working state parameter of the atomization component are repeatedly performed.
3. The method according to claim 1, characterized in that The step of detecting the first working state parameter of the power supply component and the second working state parameter of the atomization component comprises: Determine a first starting time point when the atomization device is in the awake state; Obtaining a first preset time interval; Starting from the first starting time point, the first working state parameter and the second working state parameter are detected at continuous first preset time intervals.
4. The method according to claim 1, characterized in that: The step of determining the starting time point and the ending time point based on the first working state parameter and the second working state parameter comprises: Obtaining a second starting time point at which both the first working state parameter and the second working state parameter are first preset values, and determining the second starting time point as the starting time point, wherein the first preset value indicates that the atomizer component or the power supply component is in a non-working state; Obtain a third starting time point at which one of the first working state parameter and the second working state parameter is first a second preset value, and determine the third starting time point as the end time point, wherein the second preset value indicates that the atomization component or the power supply component is in a working state.
5. The method according to claim 4, characterized in that The step of controlling the atomization device to be in a dormant state comprises: Setting the first working state parameter and the second working state parameter to the first preset value, and determining a fourth starting time point when the first working state parameter and the second working state parameter are both set to the first preset value; Obtaining a second preset duration; At an end time point of the second preset time length starting from the fourth starting time point, the atomization device is controlled to switch from the awake state to the sleep state.
6. The method according to claim 1, characterized in that The step of determining the actual power consumption rate of the power supply component according to the starting time point and the ending time point comprises: Acquire a first voltage value of the power supply component according to the starting time point, wherein the first voltage value is a voltage value of the power supply component at the starting time point; Acquire a second voltage value of the power supply component according to the cut-off time point, wherein the second voltage value is a voltage value of the power supply component at the cut-off time point; The actual power consumption rate is determined according to the accumulated duration obtained from the end time point and the start time point, and the voltage change value obtained from the first voltage value and the second voltage value.
7. The method according to claim 1, characterized in that The preset condition is that the power consumption rate difference between the actual power consumption rate and the reference power consumption rate is less than or equal to the power consumption rate threshold.
8. The method according to claim 7, characterized in that Before the step of determining whether the actual power consumption rate meets a preset condition, the method further includes: Determining the power supply capacity of the power supply component and the static current of the power supply component; Determining the operating voltage range of the atomization device; The reference power consumption rate is calculated according to the operating voltage range, the power supply capacity and the static current, and the reference power consumption rate is stored.
9. A sleep control device, characterized in that: include: A wake-up control module is configured to receive a wake-up instruction of the atomization device, and control the atomization device to be in a wake-up state based on the wake-up instruction; A working state parameter detection module, configured to detect a first working state parameter of a power supply component of the atomization device and a second working state parameter of an atomization component of the atomization device; A time point determination module, configured to determine a start time point and an end time point based on the first working state parameter and the second working state parameter; an actual power consumption rate calculation module, configured to determine the actual power consumption rate of the power supply component according to the starting time point and the end time point; A preset condition determination module is configured to determine whether the actual power consumption rate meets a preset condition; The sleep control module is configured to control the atomization device to be in a sleep state when the actual power consumption rate does not meet the preset condition.
10. An atomization device, characterized in that: include: Power supply components; an atomizing assembly, wherein the atomizing assembly is heated based on the electric energy provided by the power supply assembly; A processor and a memory, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 8.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
Citation Information
Cited By
Intelligent sleep wake-up method and device based on active prediction, equipment and medium
CN122069967A
Intelligent hibernation wakeup method and device based on active prediction, equipment and medium
CN122069967B