CN-121970934-A - Power-on presentation method for atomizing device, and readable storage medium
Abstract
The application relates to the technical field of atomizing equipment, and discloses a power-on presentation method of atomizing equipment, the atomizing equipment and a readable storage medium, wherein the power-on presentation method comprises the steps of acquiring reset source information and identification data of a preset storage area after power-on; and displaying power-on presentation information according to the reset type. According to the technical scheme, the situation that the short circuit reset is misjudged to be normally powered on in the prior art is effectively avoided, so that the system is ensured to output a correct protection prompt under the abnormal condition, and misguidance caused by misdisplaying of starting information is avoided.
Inventors
- XU JINJIAN
Assignees
- 珠海市奇思智能制造有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20251216
Claims (10)
- 1. A power-on presentation method of an atomizing apparatus, wherein the atomizing apparatus includes a control module, the power-on presentation method being applied to the control module, the power-on presentation method comprising: acquiring reset source information and identification data of a preset storage area after power-on, wherein the identification data is written in based on the detected inhalation state; Determining a reset type according to the reset source information and the identification data; And displaying power-on indicating information according to the reset type, wherein the power-on indicating information is used for indicating the atomizing equipment to be powered on normally or after abnormal reset.
- 2. The power-on-abstraction method of claim 1, wherein the reset type includes an abnormal reset and a normal reset; The obtaining the reset type according to the reset source information and the identification data includes: when the reset source information is an abnormal power-down reset mark and the identification data is first data, judging that the reset type is abnormal reset; When the reset source information is a normal power-down reset mark and the identification data is second data, judging that the reset type is normal reset; The first data is data written into the preset storage area when the inspiration trigger signal is detected, and the second data is data written into the preset storage area when the inspiration trigger signal is not detected within a preset time period.
- 3. The power-on presentation method of claim 2 wherein the atomizing device includes an inhalation detection module and a power switching device, the control module being connected to the inhalation detection module and the power switching device, respectively, the power switching device being further connected to a battery and a heating device, respectively; After the power-on, acquiring reset source information and identification data of a preset storage area, wherein the method further comprises the following steps: after the inspiration trigger signal is detected by the inspiration detection module, first data are written in a preset storage area, and the power switch device is controlled to be conducted so as to heat the heating device.
- 4. The power-on presentation method as claimed in claim 3, wherein before the reset source information and the identification data of the preset storage area are acquired after the power-on, and after the power switching device is controlled to be turned on to heat the heating device, the method further comprises: when the current flowing through the power switch device is detected to be larger than a preset current value, the power switch device is controlled to be disconnected and an abnormal power-down reset mark is set.
- 5. The power-on presentation method as claimed in claim 3, wherein before the reset source information and the identification data of the preset storage area are acquired after the power-on, and after the power switching device is controlled to be turned on to heat the heating device, the method further comprises: and when the inspiration trigger signal is not detected within a preset time period, writing second data in a preset storage area.
- 6. The power-on presentation method as claimed in claim 5, wherein said writing second data in the preset storage area comprises: judging whether the number of times of writing data of a current page of the sector reaches a preset number of times or not; When the judgment result is yes, switching to the next page storage address of the sector to write second data and the writing times of the second data; and when the judgment result is negative, writing the second data and the writing times thereof in the current page storage address.
- 7. The power-on presentation method as claimed in claim 6, wherein the performing the data writing of the second data and the number of times of writing thereof at the current page memory address includes: And writing the second data at a first position which is offset from the preset position after the start address by taking the start address of the current page as a reference, and writing times of the second data at a second position which is offset from the preset position after the first position.
- 8. The power-on prompting method according to claim 3, wherein after power-on, acquiring reset source information and identification data of a preset storage area, further comprises: Initializing a clock and a peripheral, wherein the peripheral comprises a timer, an analog-to-digital converter and a pulse width modulation module; reading third data of a starting address in a preset storage area, and judging whether the third data is equal to a preset initialization identification value or not; When the third data is not equal to the initialization identification value, determining that the atomizing equipment is electrified for the first time, executing an erasing operation on a sector to which the preset storage area belongs, and immediately writing the preset initialization identification value into the starting address after the erasing operation is completed; and when the third data is equal to the initialization identification value, skipping an erasing operation and continuing to execute a subsequent program.
- 9. An atomizing device comprising at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, the processor implementing the method of any one of claims 1 to 8 when the computer program is executed.
- 10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the method according to any one of claims 1 to 8.
Description
Power-on presentation method for atomizing device, and readable storage medium Technical Field The present invention relates to the technical field of atomizing devices, and in particular, to a power-on presentation method for an atomizing device, and a readable storage medium. Background The atomizing equipment generally comprises an electric core, a control module, an air suction detection module, a power switch device and an atomizing assembly, wherein the control module drives the power switch to output current to the atomizer according to a trigger signal when a user inhales so as to finish atomization. In the prior art, the control module often judges whether the equipment is normally powered on or enters short-circuit protection according to the reset state, but in some scenes, the system can misjudge the reset caused by short circuit as normal power on, so that the short-circuit protection prompt which is originally output is displayed as a startup prompt in error, thereby causing misunderstanding of a user and affecting the consistency of production test. Disclosure of Invention The embodiment of the invention provides a power-on prompting method of atomizing equipment, the atomizing equipment and a readable storage medium, so as to solve the technical problems. An embodiment of the present invention provides a power-on prompting method for an atomizing device, where the atomizing device includes a control module, and the power-on prompting method is applied to the control module, and the power-on prompting method includes: acquiring reset source information and identification data of a preset storage area after power-on, wherein the identification data is written in based on the detected inhalation state; Determining a reset type according to the reset source information and the identification data; And displaying power-on indicating information according to the reset type, wherein the power-on indicating information is used for indicating the atomizing equipment to be powered on normally or after abnormal reset. Optionally, the reset type includes abnormal reset and normal reset; The obtaining the reset type according to the reset source information and the identification data includes: when the reset source information is an abnormal power-down reset mark and the identification data is first data, judging that the reset type is abnormal reset; When the reset source information is a normal power-down reset mark and the identification data is second data, judging that the reset type is normal reset; The first data is data written into the preset storage area when the inspiration trigger signal is detected, and the second data is data written into the preset storage area when the inspiration trigger signal is not detected within a preset time period. Optionally, the atomization device comprises an air suction detection module and a power switch device, the control module is respectively connected with the air suction detection module and the power switch device, and the power switch device is also respectively connected with a battery and a heating device; After the power-on, acquiring reset source information and identification data of a preset storage area, wherein the method further comprises the following steps: after the inspiration trigger signal is detected by the inspiration detection module, first data are written in a preset storage area, and the power switch device is controlled to be conducted so as to heat the heating device. Optionally, before the reset source information and the identification data of the preset storage area are obtained after the power is turned on, and after the power switch device is controlled to be turned on to heat the heating device, the method further includes: when the current flowing through the power switch device is detected to be larger than a preset current value, the power switch device is controlled to be disconnected and an abnormal power-down reset mark is set. Optionally, before the reset source information and the identification data of the preset storage area are obtained after the power is turned on, and after the power switch device is controlled to be turned on to heat the heating device, the method further includes: and when the inspiration trigger signal is not detected within a preset time period, writing second data in a preset storage area. Optionally, the writing the second data in the preset storage area includes: judging whether the number of times of writing data of a current page of the sector reaches a preset number of times or not; When the judgment result is yes, switching to the next page storage address of the sector to write second data and the writing times of the second data; and when the judgment result is negative, writing the second data and the writing times thereof in the current page storage address. Optionally, the writing of the data into the second data and the writing times thereof are performed at the current page