[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115802526A - Startup and shutdown method, device, equipment and storage medium - Google Patents

Startup and shutdown method, device, equipment and storage medium Download PDF

Info

Publication number
CN115802526A
CN115802526A CN202310064276.5A CN202310064276A CN115802526A CN 115802526 A CN115802526 A CN 115802526A CN 202310064276 A CN202310064276 A CN 202310064276A CN 115802526 A CN115802526 A CN 115802526A
Authority
CN
China
Prior art keywords
condition
electronic heating
state quantity
equal
power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310064276.5A
Other languages
Chinese (zh)
Inventor
沈再雄
吴红艳
戴兴科
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Weiyuan Semiconductor Co ltd
Original Assignee
Shenzhen Weiyuan Semiconductor Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Weiyuan Semiconductor Co ltd filed Critical Shenzhen Weiyuan Semiconductor Co ltd
Priority to CN202310064276.5A priority Critical patent/CN115802526A/en
Publication of CN115802526A publication Critical patent/CN115802526A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The application discloses a startup and shutdown method, a startup and shutdown device, equipment and a storage medium, and belongs to the technical field of electric digital data processing. The startup and shutdown method comprises the following steps: and outputting a control signal under the condition that the number of times that the real-time detection value of the state quantity of the target meets the first condition is equal to multiple times within the set window time, wherein the control signal is used for triggering the electronic heating equipment to be started or shut down, and the target comprises substances outside the electronic heating equipment and/or substances contained in the electronic heating equipment. According to the startup and shutdown method, the startup and shutdown device, the startup and shutdown equipment and the storage medium, when the real-time detection value of the state quantity of the target meets the first condition under the condition that the state quantity of the target is changed, and the number of times of meeting the first condition within the set window time is equal to multiple times, the control signal for triggering the electronic heating equipment to be started is output, so that the risk of mistakenly triggering the electronic heating equipment to be started can be reduced, and the hardware cost can be reduced.

Description

Startup and shutdown method, device, equipment and storage medium
Technical Field
The application belongs to the technical field of electric digital data processing, and particularly relates to a startup and shutdown method, device, equipment and storage medium.
Background
An electronic heating device is currently on the market, which comprises a power supply and a load, wherein the load generates heat to realize a heating function under the condition that the power supply supplies power to the load. As an example, the heat generated by the load may be applied in the field of atomizing substances.
For safety reasons, the above-mentioned electric heating device needs to be powered on to control the power supply to supply power to the load. The conventional power on/off technology usually triggers the electronic heating device to be powered on through key operation. However, the key operation risks triggering the electronic heating device to be turned on by mistaken pressing, and additional hardware cost is required to be added.
Disclosure of Invention
The application provides a startup and shutdown method, a startup and shutdown device, equipment and a storage medium, and aims to reduce the risk of mistakenly triggering electronic heating equipment to be started and reduce hardware cost.
A first aspect of the embodiments of the present application provides a power on/off method, including:
and outputting a control signal under the condition that the number of times that the real-time detection value of the state quantity of the target meets the first condition is equal to multiple times within the set window time, wherein the control signal is used for triggering the electronic heating equipment to be started, and the target comprises substances outside the electronic heating equipment and/or substances contained in the electronic heating equipment.
Optionally, in a case that the electronic heating device is turned on, the control signal is further used for triggering the electronic heating device to be turned off.
Optionally, in a case that the electronic heating apparatus is turned on, the power on/off method further includes:
and under the condition that the real-time detection value meets a second condition, controlling the power supply to supply power to the load, wherein the second condition is the same as or different from the first condition.
Optionally, the substance other than the electronic heating device comprises a gas;
the first condition includes that a duration of a change value of the state quantity of the gas being greater than or equal to a first change threshold is greater than or equal to a first anti-shake duration, which is less than a duration of the window time.
Optionally, outputting a control signal when the number of times that the real-time detection value of the state quantity of the target satisfies the first condition is equal to a plurality of times within the set window time includes:
acquiring a real-time detection value of the state quantity of the gas;
starting timing in a case where a change value of the state quantity of the gas is greater than or equal to a first change threshold value;
the control signal is output in a case where the number of times the change value of the state quantity of the gas satisfies the first condition is equal to a plurality of times within the window time.
Optionally, in a case that the electronic heating device is turned on, the power on/off method further includes:
and under the condition that the duration of the change value of the state quantity of the gas is greater than or equal to a second change threshold value and is greater than or equal to a first anti-shake duration, controlling the power supply to supply power to the load, wherein the first change threshold value is greater than the second change threshold value.
Optionally, the substance contained in the electronic heating device comprises a load, and the state quantity comprises a connection state of the load and a power supply interface of the electronic heating device;
the first condition comprises that the connection state of the load is continuously changed twice, the duration of the connection state after each change is greater than or equal to the second anti-shake duration, and the second anti-shake duration is less than the duration of the window time.
Optionally, outputting a control signal when the number of times that the real-time detection value of the state quantity of the target satisfies the first condition is equal to a plurality of times within the set window time includes:
acquiring a real-time detection value of the state quantity of the load;
starting timing when the connection state of the load changes;
and outputting a control signal under the condition that the number of times that the real-time detection value of the state quantity of the load meets the first condition is equal to a plurality of times within the window time.
A second aspect of the embodiments of the present application provides a power on/off device, which includes a module for executing the power on/off method provided in the first aspect.
A third aspect of the embodiments of the present application provides an electronic heating apparatus, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the power on/off method provided in the first aspect are implemented.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the power on/off method provided in the first aspect are implemented.
Compared with the prior art, the embodiment of the application has the advantages that:
according to the startup and shutdown method provided by the embodiment of the application, under the condition that the state quantity of the target is changed, when the real-time detection value of the state quantity of the target meets the first condition, and the number of times of meeting the first condition within the set window time is equal to multiple times, the control signal for triggering the electronic heating equipment to be started is output, so that the risk of mistakenly triggering the electronic heating equipment to be started can be reduced, and the hardware cost can be reduced.
Drawings
Fig. 1 is a schematic structural diagram of an electric heating apparatus provided in an embodiment of the present application;
fig. 2 is a first flowchart illustrating a power on/off method according to an embodiment of the present application;
fig. 3 is a second flowchart illustrating a power on/off method according to an embodiment of the present application;
fig. 4 is a third flowchart illustrating a power on/off method according to an embodiment of the present application;
fig. 5 is a fourth flowchart illustrating a power on/off method according to an embodiment of the present application;
fig. 6 shows a fifth flowchart of a power on/off method according to an embodiment of the present application;
fig. 7 shows a schematic structural diagram of an electronic heating device provided in an embodiment of the present application.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present application clearer, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It should be noted that the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "multiple times" means two or more times unless specifically defined otherwise.
An electronic heating device is currently on the market, which comprises a power supply and a load, wherein the load generates heat to realize a heating function under the condition that the power supply supplies power to the load. As an example, the heat generated by the load may be applied in the field of nebulizing substances.
For safety reasons, the above-mentioned electric heating device needs to be turned on to control the power supply to supply power to the load. The conventional power on/off technology usually triggers the electronic heating device to be powered on through key operation. However, the key operation risks triggering the electronic heating device to be turned on by mistaken pressing, and additional hardware cost is required to be added.
In view of this, embodiments of the present application provide a power on/off method, apparatus, device and storage medium, so as to reduce the risk of false triggering of the electronic heating device to power on and reduce hardware cost.
As shown in fig. 1, the electronic heating apparatus has a sensor, a control chip, a power supply, and a load. The sensor is used for detecting the state quantity of the substance outside the electronic heating device, and the detected state quantity can be provided for the control chip to use. The control chip is also connected with a load and a power supply, and the control chip can detect the state quantity of a substance (such as the load) contained in the electronic heating device and is used for controlling whether the power supply supplies power to the load or not, namely, controlling whether a path between the power supply and the load is conducted or not. In case the path between the power source and the load is conductive, the load may generate heat to perform a heating function. The state quantity is a physical quantity for describing a state of a matter system, and includes, for example, velocity, pressure, instantaneous flow, temperature, humidity, light intensity, position, connection state, impedance value, momentum, kinetic energy, angular velocity, angular momentum, pressure, volume, potential energy, and the like. The state of the matter system changes with time under the action of the external environment, and the state quantity describing the matter system also changes with time.
The design idea of the embodiment of the application is as follows: under the condition that hardware is not additionally added, the sensor, the load and the control chip of the electronic heating equipment are utilized, the sensor is used for detecting the change of the state quantity of substances outside the electronic heating equipment, and/or the control chip is used for detecting the change of the state quantity of the substances contained in the electronic heating equipment, and whether the change of the state quantity of the substances meets the preset condition or not is judged so as to judge whether the electronic heating equipment needs to be triggered to start or not.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
Fig. 2 shows a flowchart of a power on/off method provided in an embodiment of the present application, and for convenience of description, only the portions related to the embodiment are shown.
As shown in fig. 2, the power on/off method provided in this embodiment includes the following steps:
s101, outputting a control signal under the condition that the number of times that the real-time detection value of the state quantity of the target meets the first condition is equal to multiple times within the set window time, wherein the control signal is used for triggering the electronic heating equipment to start.
Wherein the target comprises a substance other than the electronic heating device and/or a substance contained by the electronic heating device.
The window time refers to a time period having a set duration, but the start time of the time period is not fixed. For example, the window time is a time period having a duration of 3 seconds, and the above-described control signal is output in a case where the number of times that the real-time detection value of the state quantity of the target satisfies the first condition is equal to a plurality of times within an arbitrary duration of 3 seconds. The specific duration and the specific times of the window time are not specifically limited in this embodiment, and technicians can set the window time according to actual application requirements.
It should be noted that the state quantity of the target in the present embodiment may be changed, so that the electronic heating device may be triggered to start by changing the state quantity of the target. The present embodiment does not specifically limit what kind of substance the target is, and how to change the state quantity of the target, and the skilled person can set the target as needed. As an example, the state quantity of the target may be changed by the action of the user. For example, the user's motion includes a blowing motion of the mouth on the electric heating apparatus, a sucking motion, a shaking motion of the hand on the electric heating apparatus, and the like. As an example, the state quantity of the target may also be changed by an environmental change of the external physical world. For example, the environmental changes of the outside physical world include changes in temperature and humidity in the air, changes in illumination, changes in atmospheric pressure, and the like.
In this embodiment, the sensor in the electric heating apparatus is used to detect the state quantity of the substance outside the electric heating apparatus, and the control chip is used to detect the state quantity of the substance contained in the electric heating apparatus. Therefore, the real-time detection value of the state quantity of the substance outside the electronic heating device can be acquired through the sensor, and the real-time detection value of the state quantity of the substance contained in the electronic heating device can be acquired through the control chip, so that the aim of not additionally increasing hardware is fulfilled.
It should be noted that, in this embodiment, the signal type of the real-time detection value is not specifically limited, and for example, the signal type may be a digital quantity or an analog quantity. In this embodiment, the signal type of the control signal is not specifically limited, and a technician may select a corresponding type of control signal to trigger the electronic heating device to start up according to the structure or type of the electronic heating device.
In this embodiment, the number of times that the first condition is satisfied is set to be multiple times instead of one time, so that the risk of false triggering of starting the electronic heating device can be reduced. It is to be understood that, when the target is set to include both the substance other than the electronic heating apparatus and the substance contained in the electronic heating apparatus, the number of times that the real-time detection value of the state quantity of the substance other than the electronic heating apparatus satisfies the first condition is required to be equal to a plurality of times and the number of times that the real-time detection value of the state quantity of the substance contained in the electronic heating apparatus satisfies the first condition is required to be equal to a plurality of times within the set window time to trigger the electronic heating apparatus to be turned on. The setting can also reduce the risk of false triggering of the electronic heating device for starting. In this embodiment, the first condition is not specifically limited, and a technician may set the first condition as needed. For example, the corresponding setting is made according to the type of the state quantity of the target.
In summary, in the power on/off method provided in this embodiment, when the real-time detection value of the state quantity of the target meets the first condition and the number of times of meeting the first condition within the set window time is equal to multiple times, the control signal for triggering the electronic heating device to start up is output, so that not only can the risk of false triggering of starting up the electronic heating device be reduced, but also the hardware cost can be reduced.
As an optional implementation manner of this embodiment, in a case that the electronic heating device is turned on, the control signal is further used to trigger the electronic heating device to be turned off. In other words, step S101 may be used to trigger the electronic heating device to be turned on or turned off. It should be noted that the shutdown may also be understood as a standby (standby by), a sleep (sleep) or a Suspend (Suspend) state of the electronic heating apparatus, so that the electronic heating apparatus can still respond to the step S101 in the shutdown state.
It should be noted that in the embodiment of the present application, the turning on and off of the electronic heating apparatus may be understood as turning on and off a system in the electronic heating apparatus, and the system may be regarded as a control system including a processor. For example, in the case of a system power-on, the power supply may be controlled to supply power to the load. For example, in the case of system shutdown, it may be set to respond only to the power-on instruction, for example, to the power-on instruction of step S101.
As shown in fig. 3, as an alternative implementation manner of this embodiment, in a case that the electronic heating device is turned on, the power on/off method further includes:
and S102, controlling a power supply to supply power to the load under the condition that the real-time detection value meets a second condition, wherein the second condition is the same as or different from the first condition.
It should be noted that, when the electronic heating device is in the on state, the power supply may be in a state of supplying power to the load, or may be in a state of disconnecting the power from the load.
In step S102 provided in this embodiment, the same target state quantity may be used to trigger the electronic heating device to be turned on or turned off, and to trigger whether the power supply supplies power to the load, so as to achieve the purpose of reducing the hardware cost. It is to be understood that the same object herein may include both substances other than the electric heating device and substances contained in the electric heating device.
It should be further noted that, when the second condition is the same as the first condition, the implementation difficulty of the power on/off method may be reduced. When the second condition is different from the first condition, the realization difficulty of the second condition can be set to be higher than that of the first condition as required so as to reduce the risk of mistakenly triggering the electronic heating device to start up, or the realization difficulty of the second condition can be set to be lower than that of the first condition so as to reduce the risk of mistakenly supplying power (the power supply supplies power for the load).
In another embodiment of the present application, the substance other than the electronic heating device comprises a gas. For example, the state quantity of the gas includes at least one of a speed, a pressure, and an instantaneous flow rate.
The first condition includes that a duration of a change value of the state quantity of the gas being greater than or equal to a first change threshold is greater than or equal to a first anti-shake duration, which is less than a duration of the window time.
One purpose of setting the first anti-shake duration is to prevent the real-time detection value of the misjudged gas state quantity from meeting the first condition, so as to prevent the electronic heating device from being triggered to start or shut down by mistake.
For example, the gas is air, when the user inhales, the sensor detects that the change value of the speed of the air is greater than or equal to a first change threshold value, and when the duration of keeping the change value of the speed of the air greater than or equal to the first change threshold value is greater than or equal to a first anti-shake duration, the real-time detection value representing the speed of the air meets a first condition once. When the user stops inhaling and inhales again, the sensor detects that the change value of the speed of the air is larger than or equal to the first change threshold value, and the real-time detection value representing the speed of the air meets the first condition again under the condition that the continuous time length for keeping the change value of the speed of the air larger than or equal to the first change threshold value is larger than or equal to the first anti-shake time length. And if the number of times that the real-time detection value of the speed of the air meets the first condition is equal to a plurality of times within the set window time, outputting a control signal for triggering the electronic heating equipment to be started or shut down.
As shown in fig. 4, as an alternative implementation manner of this embodiment, step S101 includes the following steps:
1011. a real-time detection value of the state quantity of the gas is acquired.
For example, a sensor (e.g., a gas flow sensor) in the electronic heating device obtains a real-time detection value of the velocity of the gas.
1012. The time counting is started when the change value of the state quantity of the gas is greater than or equal to the first change threshold value.
For example, the velocity of the gas is zero before the user is not inhaling. After the user inhales, the velocity of the gas increases and the increase (i.e., change) from zero is greater than or equal to a first change threshold, which begins timing.
1013. The control signal is output in a case where the number of times the change value of the state quantity of the gas satisfies the first condition is equal to a plurality of times within the window time.
For example, the window time is set to have a duration of 2 seconds, the first anti-shake duration is 0.1 seconds, and the number of times is set to 3 times. After the setting, the electronic heating device is inhaled 3 times within 2 seconds, and the electronic heating device can be triggered to be turned on or turned off under the condition that the single time is greater than or equal to 0.1 second.
As shown in fig. 5, as an optional implementation manner of this embodiment, in a case that the electronic heating device is turned on, the power on/off method provided in this embodiment further includes the following steps:
and S1021, controlling the power supply to supply power to the load under the condition that the duration of the change value of the state quantity of the gas is greater than or equal to the second change threshold value and is greater than or equal to the first anti-shake duration. Wherein the first variation threshold is greater than the second variation threshold.
It is to be understood that "the duration of the change value of the state quantity of gas being greater than or equal to the second change threshold value being greater than or equal to the first anti-shake duration" in this embodiment may be regarded as the second condition, or a part of the second condition, in the above-described embodiment.
In this embodiment, since the first change threshold is greater than the second change threshold, the implementation difficulty that the change value of the state quantity of the gas is greater than or equal to the second change threshold is greater than or equal to the implementation difficulty that the change value of the state quantity of the gas is greater than or equal to the first change threshold, so that the implementation difficulty of starting up and shutting down can be increased, the electronic heating device is prevented from being turned on and off by a mistake of a child, and the child is prevented from mistakenly triggering the power supply to supply power to the load.
In another embodiment of the present application, the substance contained by the electronic heating device comprises a load. For example, the state quantity of the load comprises a connection state of the load with a power supply interface of the electric heating device. Optionally, the connection state comprises an access state and a removal state.
In this embodiment, the first condition includes that the connection state of the load changes twice continuously, the duration of the connection state after each change is greater than or equal to the second anti-shake duration, and the second anti-shake duration is less than the duration of the window time. Wherein the change of the connection state of the load includes a mutual transition between the access state and the removal state.
In the present embodiment, one purpose of setting the second anti-shake duration is to prevent the real-time detection value of the load state quantity from being judged by mistake and satisfying the first condition, so as to prevent the electronic heating device from being triggered to start or shut down by mistake.
Therefore, as an example, in the process that the connection state of the load is changed from the connection state to the removal state and then changed to the connection state, or changed from the removal state to the connection state and then changed to the removal state, the duration of the two changed connection states is greater than or equal to the second anti-shake duration, and the real-time detection value representing the connection state of the load satisfies the first condition once.
And if the number of times that the real-time detection value of the connection state of the load meets the first condition is equal to multiple times within the set window time, triggering the electronic heating equipment to start or shut down.
As shown in fig. 6, as an alternative implementation manner of this embodiment, step S101 includes the following steps:
and S1014, acquiring a real-time detection value of the state quantity of the load.
For example, the connection state of the load is acquired by a control chip in the electronic heating device.
In this embodiment, how to detect and determine the connection state of the load is not specifically limited, and a technician may select a corresponding technology according to the actual situation of the electronic heating device.
For example, the power supply interface of the load and the electronic heating device is fixed in a magnetic attraction manner, so that a user can conveniently and quickly remove the load or insert the load to quickly change the connection state of the load.
As an example, the control chip may determine whether the load is in the connected state or the removed state by detecting an impedance value of the power supply interface.
S1015, when the connection state of the load changes, a timer is started.
For example, when it is detected that the connection state of the load changes from the access state to the removal state or from the removal state to the access state, the timer is started.
And S1016, outputting a control signal under the condition that the number of times that the real-time detection value of the state quantity of the load meets the first condition is equal to a plurality of times within the window time.
For example, the window time is set to have a duration of 3 seconds, the second anti-shake duration is set to 0.2 seconds, and the number of times is set to 3 times. After the setting, the load is removed and accessed for 3 times within 3 seconds, the removal and the access are not sequential, and the electronic heating device can be triggered to be started or shut down under the condition that the time of a single time (including one removal and one access) is greater than or equal to 0.2 second.
In summary, the power on/off method provided in the above embodiment can trigger the electronic heating device to be powered on or powered off by using the sensor, the load, and the control chip of the electronic heating device without adding additional hardware, so as to reduce the risk of false triggering of the electronic heating device to be powered on and reduce the hardware cost.
In another embodiment of the present application, a schematic structural diagram of a switching device is provided, which corresponds to the switching method described in the foregoing embodiment.
The switching on and shutting down device that this embodiment provided includes:
and the on-off control module is used for outputting a control signal under the condition that the number of times that the real-time detection value of the state quantity of the target meets the first condition is equal to a plurality of times within the set window time. The control signal is used for triggering the electronic heating equipment to be started, and the target comprises substances outside the electronic heating equipment and/or substances contained in the electronic heating equipment.
In some embodiments, the control signal is further used to trigger the electronic heating device to be powered off in case the electronic heating device is powered on.
In some embodiments, the power on/off method further comprises:
and the power supply control module is used for controlling the power supply to supply power to the load under the condition that the real-time detection value meets a second condition when the electronic heating equipment is started. Wherein the second condition is the same as or different from the first condition.
In some embodiments, the substance other than the electronic heating device comprises a gas.
The first condition includes that the duration of the change value of the state quantity of the gas being greater than or equal to the first change threshold is greater than or equal to a first anti-shake duration, which is less than the duration of the window time.
In some embodiments, the on-off control module comprises:
a first acquisition unit for acquiring a real-time detection value of the state quantity of the gas;
a first timing unit configured to start timing when a change value of the state quantity of the gas is greater than or equal to a first change threshold;
and a first output unit configured to output a control signal when the number of times that the change value of the state quantity of the gas satisfies the first condition is equal to a plurality of times within the window time.
In some embodiments, the power supply control module comprises:
and the first power supply control unit is used for controlling the power supply to supply power to the load under the condition that the duration of the change value of the state quantity of the gas is greater than or equal to the second change threshold value and is greater than or equal to the first anti-shake duration, and the first change threshold value is greater than the second change threshold value.
In some embodiments, the substance contained by the electronic heating device comprises a load, and the state quantity comprises a connection state of the load to a power supply interface of the electronic heating device.
The first condition comprises that the connection state of the load is continuously changed twice, the duration of the connection state after each change is greater than or equal to the second anti-shake duration, and the second anti-shake duration is less than the duration of the window time.
In some embodiments, the on-off control module comprises:
a second acquisition unit for acquiring a real-time detection value of the state quantity of the load;
the second timing unit is used for starting timing under the condition that the connection state of the load is changed;
and the second output unit is used for outputting the control signal under the condition that the number of times that the real-time detection value of the state quantity of the load meets the first condition is equal to a plurality of times within the window time.
The process of implementing each function by each module in the switch device provided in the embodiment of the present application may specifically refer to the description of the embodiment shown in fig. 1 and other related method embodiments, and is not described herein again.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The startup and shutdown method provided by the embodiment of the application can be applied to electronic heating equipment such as atomization equipment, and the embodiment of the application does not limit the specific type of the electronic heating equipment.
Fig. 7 is a schematic structural diagram of an electronic heating device according to an embodiment of the present application. As shown in fig. 7, the electric heating apparatus 7 of this embodiment includes: at least one processor 70 (only one shown in fig. 7), a memory 71, said memory 71 having stored therein a computer program 72 operable on said processor 70. The processor 70, when executing the computer program 72, implements the steps in the various power on/off method embodiments described above.
The electric heating device 7 may be an electronic device such as an atomizing device. The electronic heating device may include, but is not limited to, a processor 70, a memory 71. It will be appreciated by those skilled in the art that fig. 7 is merely an example of an electronic heating device 7, and does not constitute a limitation of the electronic heating device 7, and may include more or less components than those shown, or combine some components, or different components, for example, the electronic heating device may further include an input transmitting device, a network access device, a bus, etc.
The Processor 70 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable gate array (FPGA) or other Programmable logic device, discrete gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 71 may in some embodiments be an internal storage unit of the electronic heating device 7, such as a hard disk or a memory of the electronic heating device 7. The memory 71 may also be an external storage device of the electronic heating device 7, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic heating device 7. Further, the memory 71 may also include both an internal storage unit and an external storage device of the electric heating device 7. The memory 71 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer program. The memory 71 may also be used to temporarily store data that has been transmitted or is to be transmitted.
In addition, it is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing functional units and modules are merely illustrated in terms of division, and in practical applications, the foregoing functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to complete all or part of the functions described above. Each functional unit in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The present application further provides an electronic heating device, which includes at least one memory, at least one processor, and a computer program stored in the at least one memory and executable on the at least one processor, and when the computer program is executed by the processor, the electronic heating device implements the steps in any of the above method embodiments.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the foregoing method embodiments.
The embodiments of the present application provide a computer program product, which when running on an electronic heating device, enables the electronic heating device to implement the steps in the above method embodiments.
An embodiment of the present application further provides a chip system, where the chip system includes a processor, the processor is coupled with the memory, and the processor executes a computer program stored in the memory to implement the steps in the above method embodiments.
The integrated module/unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application, and are intended to be included within the scope of the present application.

Claims (11)

1. The startup and shutdown method is characterized by comprising the following steps:
and outputting a control signal under the condition that the number of times that the real-time detection value of the state quantity of the target meets the first condition is equal to multiple times within the set window time, wherein the control signal is used for triggering the electronic heating equipment to be started, and the target comprises substances outside the electronic heating equipment and/or substances contained in the electronic heating equipment.
2. The power on/off method according to claim 1, wherein the control signal is further used to trigger the power off of the electronic heating device when the electronic heating device is powered on.
3. The power on/off method according to claim 1, wherein in a case where the electronic heating device is powered on, the power on/off method further comprises:
and under the condition that the real-time detection value meets a second condition, controlling a power supply to supply power to a load, wherein the second condition is the same as or different from the first condition.
4. A method according to any one of claims 1 to 3, wherein the substance outside the electric heating device comprises a gas;
the first condition includes that a duration of a change value of the state quantity of the gas being greater than or equal to a first change threshold is greater than or equal to a first anti-shake duration that is less than a duration of the window time.
5. The power on/off method according to claim 4, wherein outputting the control signal when the number of times that the real-time detection value of the state quantity of the target satisfies the first condition within the set window time is equal to a plurality of times comprises:
acquiring the real-time detection value of the state quantity of the gas;
starting timing in a case where a change value of the state quantity of the gas is greater than or equal to the first change threshold value;
outputting the control signal if the number of times that the change value of the state quantity of the gas satisfies the first condition is equal to the plurality of times within the window time.
6. The power on/off method according to claim 4, wherein in a case where the electronic heating device is turned on, the power on/off method further comprises:
and under the condition that the duration of the state quantity change value of the gas is greater than or equal to a second change threshold value and is greater than or equal to the first anti-shake duration, controlling a power supply to supply power to a load, wherein the first change threshold value is greater than the second change threshold value.
7. The power on/off method according to any one of claims 1 to 3, wherein the substance contained in the electronic heating device comprises a load, and the state quantity comprises a connection state of the load and a power supply interface of the electronic heating device;
the first condition comprises that the connection state of the load is continuously changed twice, the duration of the connection state after each change is greater than or equal to a second anti-shake duration, and the second anti-shake duration is less than the duration of the window time.
8. The power on/off method according to claim 7, wherein outputting the control signal when the number of times that the real-time detection value of the state quantity of the target satisfies the first condition within the set window time is equal to a plurality of times comprises:
acquiring the real-time detection value of the state quantity of the load;
starting timing when the connection state of the load is changed;
outputting the control signal if the number of times that the real-time detection value of the state quantity of the load satisfies the first condition is equal to the plurality of times within the window time.
9. Switching device, characterized in that it comprises means for carrying out the switching method according to any one of claims 1 to 8.
10. Electronic heating device, characterized in that it comprises a memory, a processor and a computer program stored in said memory and executable on said processor, said processor implementing the steps of the switching method according to any one of claims 1 to 8 when executing said computer program.
11. Computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the switching method according to any one of claims 1 to 8.
CN202310064276.5A 2023-02-06 2023-02-06 Startup and shutdown method, device, equipment and storage medium Pending CN115802526A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310064276.5A CN115802526A (en) 2023-02-06 2023-02-06 Startup and shutdown method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310064276.5A CN115802526A (en) 2023-02-06 2023-02-06 Startup and shutdown method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115802526A true CN115802526A (en) 2023-03-14

Family

ID=85429878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310064276.5A Pending CN115802526A (en) 2023-02-06 2023-02-06 Startup and shutdown method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115802526A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5097113A (en) * 1989-04-27 1992-03-17 Kabushiki Kaisha Toshiba Touch switch arrangement for a heating cooking appliance
CN106648416A (en) * 2016-10-18 2017-05-10 维沃移动通信有限公司 Method for starting application and mobile terminal
CN111600294A (en) * 2020-07-10 2020-08-28 苏州鼎威新能源有限公司 Starting control method and device of solar energy utilization equipment and storage medium
CN112353015A (en) * 2020-12-03 2021-02-12 深圳湃科锐锋科技有限公司 Electronic cigarette control chip and electronic cigarette
CN112998328A (en) * 2021-03-27 2021-06-22 深圳新琦隆科技有限公司 Control method and device of atomization equipment and computer equipment
CN114108240A (en) * 2020-08-27 2022-03-01 无锡小天鹅电器有限公司 Heating control method and device, clothes treatment equipment and storage medium
CN114138100A (en) * 2021-12-02 2022-03-04 无锡睿勤科技有限公司 Low-power-consumption startup and shutdown method, startup and shutdown circuit and intelligent terminal
CN114698875A (en) * 2022-05-05 2022-07-05 深圳市华诚达精密工业有限公司 Atomization device with child lock and control method thereof
CN115056846A (en) * 2021-09-22 2022-09-16 长城汽车股份有限公司 Vehicle control method, computer-readable storage medium, and vehicle
CN115613907A (en) * 2022-10-11 2023-01-17 长城汽车股份有限公司 Door lock control method, door lock control system, electronic device, and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5097113A (en) * 1989-04-27 1992-03-17 Kabushiki Kaisha Toshiba Touch switch arrangement for a heating cooking appliance
CN106648416A (en) * 2016-10-18 2017-05-10 维沃移动通信有限公司 Method for starting application and mobile terminal
CN111600294A (en) * 2020-07-10 2020-08-28 苏州鼎威新能源有限公司 Starting control method and device of solar energy utilization equipment and storage medium
CN114108240A (en) * 2020-08-27 2022-03-01 无锡小天鹅电器有限公司 Heating control method and device, clothes treatment equipment and storage medium
CN112353015A (en) * 2020-12-03 2021-02-12 深圳湃科锐锋科技有限公司 Electronic cigarette control chip and electronic cigarette
CN112998328A (en) * 2021-03-27 2021-06-22 深圳新琦隆科技有限公司 Control method and device of atomization equipment and computer equipment
CN115056846A (en) * 2021-09-22 2022-09-16 长城汽车股份有限公司 Vehicle control method, computer-readable storage medium, and vehicle
CN114138100A (en) * 2021-12-02 2022-03-04 无锡睿勤科技有限公司 Low-power-consumption startup and shutdown method, startup and shutdown circuit and intelligent terminal
CN114698875A (en) * 2022-05-05 2022-07-05 深圳市华诚达精密工业有限公司 Atomization device with child lock and control method thereof
CN115613907A (en) * 2022-10-11 2023-01-17 长城汽车股份有限公司 Door lock control method, door lock control system, electronic device, and storage medium

Similar Documents

Publication Publication Date Title
KR102294180B1 (en) Electronic device and method for controlling power in electronic device
US20180213849A1 (en) Control method for electronic cigarette apparatus and system, and electronic cigarette
CN110769319B (en) Standby wakeup interaction method and device
US20140244272A1 (en) Control method and electronic device
CN107911919B (en) Control device and method of remote controller, storage medium, remote controller and equipment
CN109717518A (en) The control method and device of electronic cigarette
US8371896B2 (en) Method and apparatus for performing try-me and normal play routines
CN105635492A (en) Method and device for realizing alarm clock in electronic equipment and electronic equipment
CN113778772B (en) Electronic device, state detection method and device thereof and readable storage medium
US11436170B2 (en) Digital bus activity monitor
CN115802526A (en) Startup and shutdown method, device, equipment and storage medium
CN111327744A (en) Function control assembly and electronic equipment
US8059835B2 (en) Impulsive communication activated computer control device and method
CN107291213B (en) Mode selection method, device, terminal and computer readable storage medium
CN114624569A (en) Sensor circuit abnormality detection method, circuit, device, intelligent device, and medium
CN110716158B (en) Detection method, system, storage medium and mobile terminal
CN111124088B (en) Control method and electronic equipment
CN112998328A (en) Control method and device of atomization equipment and computer equipment
CN112083792A (en) Mobile terminal control method and device and mobile terminal
CN114546612A (en) System mode switching method and electronic equipment
CN115378439B (en) Control method and device for key multiplexing, electronic equipment and medium
CN108681467B (en) System awakening method and terminal
CN109616836B (en) Foreign matter cleaning method and device for Type-c interface, storage medium and electronic equipment
CN112866807B (en) Intelligent shutdown method and device and electronic device
CN117667240B (en) Electronic device wake-up method, electronic device, and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20230314