Equipment detection method and device, equipment, storage medium and program product
By detecting the suction operation of the aerosol generation device in real time and counting, prompt information is triggered to remind the replacement of components, which solves the problem of how to replace consumables in time and improves component replacement efficiency and user experience.
Patent Information
- Application Number
- CN202510388423.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-28
- Publication Date
- 2025-07-04
AI Technical Summary
How to replace the consumed components in aerosol generation equipment in a timely manner to improve user experience and efficiency.
By detecting the suction operation of the aerosol generation device in real time and counting, prompt information is triggered to remind the replacement of components, including displaying text, playing alarms, displaying animations or indicators.
Improves the efficiency of component replacement and improves the user's product user experience.
Smart Images

Figure CN120240739A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of aerosol generating devices, and particularly relates to a device detection method, apparatus, device, storage medium, and program product. Background Art
[0002] With the development of technology, aerosol generating devices are increasingly widely used. When in use, electrical energy is provided by a built-in power source, and an aerosol generating matrix is heated and atomized by a heating component to generate an atomized aerosol.
[0003] In related technologies, there are multiple components in aerosol generating devices that are consumables, and it is usually necessary to regularly replace the components in the aerosol generating device.
[0004] Therefore, how to timely replace the components in the aerosol generating device has become an urgent problem to be solved. Summary of the Invention
[0005] Embodiments of this application provide a device detection method, apparatus, device, storage medium, and program product. By detecting the suction operation of the aerosol generating device in real time and counting, it timely reminds to replace the first component in the aerosol generation, improving the component replacement efficiency.
[0006] In a first aspect, embodiments of this application provide a device detection method, which is applied to an aerosol generating device. The method includes:
[0007] Run the aerosol generating device;
[0008] When the received suction operation on the aerosol generating device meets the counting condition, count the number of suction times of the aerosol generating device to obtain a counting result corresponding to the number of suction times;
[0009] When the counting result meets the first condition, trigger a first prompt message, where the first prompt message is used to remind to replace the first component in the aerosol generating device.
[0010] Optionally, the triggering of the first prompt message includes:
[0011] Display text prompt content in a first area of the aerosol generating device, where the text prompt content indicates a reminder to replace the first component in the aerosol generating device; or,
[0012] Play alarm prompt content, where the alarm prompt content indicates a reminder to replace the first component in the aerosol generating device; or,
[0013] Display a prompt animation in the second area of the aerosol generating device, the prompt animation indicating a reminder to replace the first component in the aerosol generating device; or,
[0014] Display the first state corresponding to the first indicator light in the aerosol generating device, the first state being used to remind to replace the first component in the aerosol generating device.
[0015] Optionally, the first condition corresponds to a first number threshold;
[0016] Before triggering the first prompt message, it further includes:
[0017] When the counting result reaches the second number threshold and does not reach the first number threshold, trigger a second prompt message, the second prompt message being used to remind that the counting result is about to reach the first number threshold, the second number threshold being less than the first number threshold.
[0018] Optionally, after triggering the first prompt message, it further includes:
[0019] Detect the replacement status of the first component to obtain the replacement result corresponding to the first component;
[0020] When the replacement result meets the replacement success condition, clear the count of the puffing times to obtain the cleared result of the puffing times.
[0021] Optionally, a first switch is provided in the aerosol generating device, and the opening and closing state of the first switch is related to the replacement result;
[0022] The detecting the replacement status of the first component to obtain the replacement result corresponding to the first component includes:
[0023] Detect the opening and closing state of the first switch to obtain the replacement result corresponding to the first component.
[0024] Optionally, the detecting the opening and closing state of the first switch to obtain the replacement result corresponding to the first component includes:
[0025] When it is detected that the adjustment duration corresponding to the state adjustment process of the first switch meets the first duration condition, determine that the replacement of the first component is completed, and the state adjustment process includes the following:
[0026] Adjust from the open state to the closed state; or,
[0027] Adjust from the closed state to the open state.
[0028] Optionally, the detecting the on / off state of the first switch to obtain the replacement result corresponding to the first component includes:
[0029] In the case that the state adjustment process triggered by the first switch is not detected, it is determined that the first component is in a non-replaced state, and the state adjustment process includes the following:
[0030] from an open state to a closed state; or,
[0031] Adjust from the closed state to the open state.
[0032] Optionally, the first condition includes a first number threshold;
[0033] The method further comprises:
[0034] Acquire a plurality of first puff parameters of the aerosol generating device within a specified time range, wherein the first puff parameters include at least one of a total puff duration, the number of puffs, an operation duration corresponding to a single puff operation, or an interval duration corresponding to two adjacent puff operations;
[0035] Extracting suction feature representations corresponding to the plurality of suction parameters respectively;
[0036] Obtaining a reference characteristic representation corresponding to an aerosol generating device, wherein the reference characteristic representation is used to indicate a reference puff parameter corresponding to the aerosol generating device under preset conditions;
[0037] Based on the feature distance between the suction feature representation and the reference feature representation, the first number threshold is adjusted to obtain a third number threshold.
[0038] In a second aspect, an embodiment of the present application provides a device detection apparatus, including:
[0039] An operating module, used for operating the aerosol generating device;
[0040] a counting module, configured to count the number of puffs of the aerosol generating device when the received puff operation of the aerosol generating device meets the counting condition, and obtain a counting result corresponding to the number of puffs;
[0041] The trigger module is used to trigger a first prompt message when the counting result meets a first condition, wherein the first prompt message is used to remind the user to replace a first component in the aerosol generating device.
[0042] In a third aspect, an embodiment of the present application provides a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, where when the processor executes the computer program, the device detection method described in any one of the above first aspects is implemented.
[0043] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, where when the computer program is executed by a processor, the device detection method described in any one of the first aspects is implemented.
[0044] In a fifth aspect, an embodiment of the present application provides a computer program product, where when the computer program product runs on a computer device, the computer device is caused to execute the device detection method described in any one of the above first aspects.
[0045] It can be understood that the beneficial effects of the above second to fifth aspects can be referred to the relevant descriptions in the above first aspect, and will not be elaborated here.
[0046] The beneficial effects brought by the technical solution provided by the embodiment of the present application at least include:
[0047] During the operation of the aerosol generating device, whenever a suction operation on the aerosol generating device is received, the number of suction operations on the aerosol generating device is counted. When the number of suction operations meets a pre-set condition, a first prompt message is triggered, and the first prompt message is used to remind to replace the first component in the aerosol generating device. That is, the aerosol generating device is detected in real time during the suction operation and counted, and according to the counting result, the user is timely reminded to replace the first component in the aerosol generating device, which can improve the component replacement efficiency of the aerosol generating device and enhance the user product experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0049] Figure 1 It is a schematic diagram of a device detection system provided by an embodiment of the present application;
[0050] Figure 2 It is a flowchart of a device detection method provided by an embodiment of the present application;
[0051] Figure 3 It is a flowchart of a device detection method provided by an embodiment of the present application;
[0052] Figure 4 is the flowchart of the device detection method provided by an embodiment of the present application;
[0053] Figure 5 is the schematic structural diagram of the device detection apparatus provided by an embodiment of the present application;
[0054] Figure 6 is the schematic structural diagram of the computer device provided by an embodiment of the present application. Detailed implementation manners
[0055] In the following description, for the purpose of illustration rather than limitation, specific details such as specific system architectures, technologies, etc. are proposed to thoroughly understand the embodiments of the present application. However, those skilled in the art should clearly understand that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary details from interfering with the description of the present application.
[0056] It should be understood that when used in the specification of the present application and the appended claims, the term "comprising" indicates the presence of the described features, wholes, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their combinations.
[0057] It should also be understood that the term "and / or" used in the specification of the present application and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0058] As used in the specification of the present application and the appended claims, the term "if" can be interpreted as "when", "once", "in response to determining", or "in response to detecting" according to the context. Similarly, the phrase "if determined" or "if detecting [the described condition or event]" can be interpreted as meaning "once determined", "in response to determining", "once detecting [the described condition or event]", or "in response to detecting [the described condition or event]" according to the context.
[0059] In addition, in the description of the specification of the present application and the appended claims, the terms "first", "second", "third", etc. are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.
[0060] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that specific features, structures or characteristics described in connection with that embodiment are included in one or more embodiments of this application. Thus, statements such as "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments" etc. that appear in different places in this specification do not necessarily all refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in another way. The terms "comprising", "including", "having" and their variants all mean "including but not limited to", unless otherwise specifically emphasized in another way.
[0061] Schematically, please refer to Figure 1 , which shows a schematic diagram of an aerosol generating device system provided by an exemplary embodiment of this application, as Figure 1 shown, the aerosol generating device system includes an aerosol generating device 110.
[0062] In one example, a first component belonging to a consumable is installed in the aerosol generating device 110, for example: a heating component. During the operation of the aerosol generating device 110, when the suction operation on the aerosol generating device meets the counting condition, the number of suction operations on the aerosol generating device is counted. For example: each time the aerosol generating device receives a suction operation, the corresponding number of suction operations on the aerosol generating device is incremented by one; or for example: when the number of received suction operations reaches 3 times, the corresponding number of suction operations on the aerosol generating device is incremented by one.
[0063] In one example, when the number of suction operations of the aerosol generating device meets the first condition (for example: the number of suction operations reaches 100 times), a first prompt message is triggered to prompt the replacement of the first component of the aerosol generating device. For example: display the prompt content, and the prompt content is "The heating component needs to be replaced".
[0064] Optionally, the aerosol generating device 110 includes at least one of an electrically heated device or a carbon heated device.
[0065] Combined with the above aerosol generating device system, the device detection method provided by the embodiments of this application will be described in detail. Schematically, please refer to Figure 2 , which shows a flowchart of a device detection method provided by an exemplary embodiment of this application. The method includes the following steps 210 to step 230.
[0066] Step 210, operate the aerosol generating device.
[0067] Schematically, after the aerosol generating device is powered on, the heating component is heated by the battery. After the heating component warms up, it transfers heat to the aerosol generating substrate, causing the aerosol generating substrate to reach its boiling point and atomize, generating aerosol in a suspended state for the user to inhale. During the heating process, the aerosol generating substrate is consumed.
[0068] Schematically, there are multiple different components in the aerosol generating device. Among them, some components will experience wear and tear after a certain usage duration. Therefore, in order to ensure the usage experience of the aerosol generating device, it is necessary to regularly replace these components that have experienced wear and tear.
[0069] Optionally, the components in the aerosol generating device that experience wear and tear include at least one of the following:
[0070] · The aerosol generating substrate. The aerosol generating substrate will experience wear and tear during the atomization process. Therefore, it is necessary to regularly replace the aerosol generating substrate.
[0071] · The battery assembly. Over time, the battery life of the battery assembly will gradually decline. Therefore, it is necessary to regularly replace the battery assembly to provide sufficient power for the aerosol generating device.
[0072] · The heating component. For example, the heating wire. During the process of atomizing the aerosol generating substrate in the aerosol generating device using the heating principle of the heating component, over time, the heating component will age and be unable to provide enough heat energy for atomization. Therefore, it is necessary to regularly replace the heating component in the aerosol generating device to ensure the atomization efficiency.
[0073] · The oil storage cotton. During the process of using the oil storage cotton to store and filter the aerosol generating substrate, the oil storage cotton will gradually age, affecting its oil storage performance and filtering effect. Therefore, it is necessary to regularly replace the oil storage cotton of the aerosol generating device to ensure its corresponding oil storage performance and filtering effect.
[0074] Step 220, when the suction operation on the aerosol generating device meets the counting condition, count the number of suction operations of the aerosol generating device to obtain the counting result corresponding to the number of suction operations.
[0075] Schematically, the suction operation means that when the user inhales the aerosol generating device, a negative pressure will be generated inside the aerosol generating device. This negative pressure will cause the aerosol generating device to flow through the oil guiding medium (such as the oil storage cotton) to the heating component. And at this time, the battery assembly in the aerosol generating device will continuously supply power to the heating component to keep it in a heated state, using the heated state of the heating component to evaporate the aerosol generating substrate on the surface of the oil storage cotton at a high temperature, atomizing it into aerosol for the user to inhale.
[0076] Schematically, counting the number of puffs of an aerosol generating device means accumulating the number of puffs of the aerosol generating device within a certain time range to obtain an accumulated calculation result.
[0077] Optionally, the puff operation corresponds to the counting result. For example, one puff operation corresponds to one counting result; or, the puff operation does not correspond to the counting result. For example, three puff operations correspond to one counting result. The embodiments of the present application do not limit this.
[0078] Optionally, the counting method for the number of puffs includes at least one of the following methods:
[0079] First, whenever a puff operation on the aerosol generating device is received, the number of puffs of the aerosol generating device is incremented by one. For example, in the case where three puff operations on the aerosol generating device have been received, the counting result of the number of puffs is 3. If a fourth puff operation on the aerosol generating device is received, the counting result of the number of puffs is incremented by 1, so the counting result is updated to 4.
[0080] Second, when the number of puff operations on the aerosol generating device received reaches a preset number threshold, the puff operation on the aerosol generating device is incremented by one. For example, in the case where three puff operations on the aerosol generating device have been received, the counting result of the number of puffs is 1. If a sixth puff operation on the aerosol generating device is received, and every three puff operations correspond to one count, the counting result of the number of puffs is incremented by 1, so the counting result is updated to 2.
[0081] Third, when the number of puff operations on the aerosol generating device received reaches a preset number threshold, the puff operation on the aerosol generating device is counted, and the number of counts corresponds to the number of puff operations. For example, in the case where three puff operations on the aerosol generating device have been received, the counting result of the number of puffs is 3. If a sixth puff operation on the aerosol generating device is received, the counting result of the number of puffs is incremented by 3, so the counting result is updated to 6.
[0082] Fourth, when the receiving duration of the puff operation on the aerosol generating device reaches a preset duration threshold, the puff operation on the aerosol generating device is incremented by one. For example, in the case of receiving multiple puff operations on the aerosol generating device, the number of puffs of the aerosol generating device is incremented by one every five seconds.
[0083] It should be noted that the above counting methods for the number of puffs of the aerosol generating device are only schematic examples, and the embodiments of the present application do not limit this.
[0084] Step 230, when the counting result meets the first condition, trigger the first prompt message.
[0085] The first prompt message is used to remind to replace the first component in the aerosol generating device.
[0086] Illustratively, the first prompt message indicates that the first component in the current aerosol generating device is in a state to be replaced.
[0087] Optionally, the first condition that the counting result meets includes at least one of the following cases:
[0088] First, the counting result reaches a pre-set number threshold, for example: the counting result reaches 1000 times.
[0089] Second, the counting duration of the counting result reaches a pre-set duration threshold, for example: the counting duration of multiple counting results reaches 50000 seconds;
[0090] Third, the number of counts corresponding to the counting result reaches a pre-set number threshold, for example: the counting result is 300 times, and the counting result is incremented by 3 every time 3 suction operations are received, so the number of counts is 100 times. When the number of counts reaches 100 times, it is considered that the counting result meets the first condition.
[0091] It should be noted that the above cases where the counting result meets the first condition are only illustrative examples, and the embodiments of the present application are not limited thereto.
[0092] Optionally, the first prompt message includes various forms of expression. Below, the information expression forms corresponding to the first prompt message will be described in detail.
[0093] In some embodiments, display text prompt content in the first area of the aerosol generating device, where the text prompt content indicates a reminder to replace the first component in the aerosol generating device; or, play alarm prompt content, where the alarm prompt content indicates a reminder to replace the first component in the aerosol generating device; or, display a prompt animation in the second area of the aerosol generating device, where the prompt animation indicates a reminder to replace the first component in the aerosol generating device; or, display the first state corresponding to the first indicator light in the aerosol generating device, where the first state is used to remind to replace the first component in the aerosol generating device.
[0094] First, there is a first area displayed in the aerosol generating device. When the counting result meets the first condition, text prompt content is displayed in the first area. For example: the heating component needs to be replaced currently, and the semantic result expressed by the text prompt content is consistent with the reminder to replace the heating component in the aerosol generating device.
[0095] Optionally, the text prompt content is continuously displayed in the first area, that is, the text prompt content will be displayed in the first area before the first component is replaced; or, the text prompt content is displayed in the first area based on a preset display duration. For example, the text prompt content is continuously displayed in the first area for five seconds, and after the display duration reaches five seconds, the text prompt content is cancelled from being displayed in the first area; or, the text prompt content is displayed in the first area in the form of character scrolling. For example, the text prompt content is: The heating wire needs to be replaced. The text prompt content contains seven characters, and these seven characters are alternately scrolled and displayed in the first area.
[0096] Second, the aerosol generating device has a sound playback function. Therefore, when the counting result meets the first condition, the aerosol generating device plays an alarm prompt content to remind that the first component in the current aerosol generating device is in a state to be replaced. For example, when the counting result meets the first condition, the alarm device installed in the aerosol generating device makes a sound to remind of replacing the first component. Another example is that when the counting result meets the first condition, the motor device installed in the aerosol generating device vibrates to remind of replacing the first component. Still another example is that when the counting result meets the first condition, the voice module installed in the aerosol generating device plays the voice content: The first component needs to be replaced currently.
[0097] Third, a second area is displayed in the aerosol generating device. When the counting result meets the first condition, a prompt animation is played in the second area, and the prompt animation indicates a reminder to replace the first component in the aerosol generating device.
[0098] Fourth, a first indicator light is provided in the aerosol generating device. When the counting result meets the first condition, the first state corresponding to the first indicator light is displayed, and the first state is used to remind of replacing the first component in the aerosol generating device. For example, the first indicator light is in an off state, and when the counting result meets the first condition, the on state corresponding to the first indicator light is displayed.
[0099] In the device detection method provided by the embodiments of the present application, during the operation of the aerosol generating device, whenever a suction operation on the aerosol generating device is received, the number of suction operations on the aerosol generating device is counted. When the number of suction operations meets the preset conditions, a first prompt message is triggered, and the first prompt message is used to remind of replacing the first component in the aerosol generating device. That is, the aerosol generating device is detected in real time for the suction operation and counted, and according to the counting result, the replacement of the first component in the aerosol generating device is timely reminded, which can improve the component replacement efficiency in the aerosol generating device and enhance the user product usage experience.
[0100] In some embodiments, the reminder process for the first component in the aerosol generating device is described in detail. Schematically, please refer to Figure 3 , which shows the flowchart of the device detection method provided by an exemplary embodiment of the present application. That is, before step 230, there is also step 230a, and after step 230, there are also steps 241 to 242. As Figure 3 shown, the method further includes the following steps.
[0101] Step 230a, when the counting result reaches the second number threshold and does not reach the first number threshold, trigger the second prompt message.
[0102] Among them, the first condition corresponds to the first number threshold, the second prompt message is used to remind that the counting result is about to reach the first number threshold, and the second number threshold is less than the first number threshold.
[0103] Schematically, when the first condition is implemented as the first number threshold, if the counting result reaches the second number threshold but does not reach the first number threshold, trigger the second prompt message. Among them, the second prompt message indicates that the current counting result is about to reach the first number threshold. That is to say, the second prompt message is used to give a warning prompt for the counting result to reach the first number threshold.
[0104] Step 241, detect the replacement status of the first component to obtain the replacement result corresponding to the first component.
[0105] In some embodiments, a first switch is provided in the aerosol generating device. The opening and closing state of the first switch is related to the replacement result. Detect the opening and closing state of the first switch to obtain the replacement result corresponding to the first component.
[0106] In this embodiment, a first switch is provided in the aerosol generating device. The first switch includes two states: the open state or the closed state. The opening and closing state of the first switch is used to determine whether the first component in the aerosol generating device has been replaced.
[0107] In a realizable case, if the first switch is in the closed state, it means that the first component in the aerosol generating device is not in the replacement process. At this time, the first component may be in the replaced state, or the first component may be in the unreplaced state.
[0108] In another realizable case, if the first switch is in the open state, it means that the first component in the aerosol generating device is in the replacement process.
[0109] In another feasible situation, if it is detected that the first switch is adjusted from an open state to a closed state, or it is detected that the first switch is adjusted from a closed state to an open state, it indicates that the first component is in a replacement state and the replacement has been completed.
[0110] In some embodiments, when it is detected that the adjustment time corresponding to the state adjustment process of the first switch meets the first time condition, it is determined that the replacement of the first component is completed, and the state adjustment process includes the following: adjusting from an open state to a closed state; or, adjusting from a closed state to an open state.
[0111] In some embodiments, when the first switch is not detected to trigger a state adjustment process, it is determined that the first component is in a non-replaced state, and the state adjustment process includes the following: adjusting from an open state to a closed state; or, adjusting from a closed state to an open state.
[0112] In this embodiment, the replacement result corresponding to the first component is determined by detecting the open and closed state of the first switch. For example, if it is detected that the time it takes for the first switch to be adjusted from an open state to a closed state is greater than 1 second, it indicates that the first component has been replaced. For another example, if no adjustment process of the first switch is detected, or the time it takes for the first switch to be adjusted from an open state to a closed state is less than 1 second, it indicates that the first component has not been replaced.
[0113] Step 242, when the replacement result meets the replacement success condition, the number of puffs is counted and reset to obtain a result of the number of puffs being reset.
[0114] Illustratively, if the replacement result is that the first component in the aerosol generating device has been replaced, the current accumulated counting result is reset, that is, after the reset result is obtained, the puffing operations received by the aerosol generating device are counted again.
[0115] In some embodiments, the first condition includes a first number threshold; obtaining multiple first puff parameters of the aerosol generating device within a specified time range, the first puff parameters including at least one of the total puff duration, the number of puffs, the operation duration corresponding to a single puff operation, or the interval duration between two adjacent puff operations; extracting the puff feature representations corresponding to the multiple first puff parameters respectively; obtaining a reference feature representation corresponding to the aerosol generating device, the reference feature representation is used to indicate a reference puff parameter corresponding to the aerosol generating device under preset conditions; based on the characteristic distance between the puff feature representation and the reference feature representation, adjusting the first number threshold to obtain a third number threshold.
[0116] In this embodiment, taking the first condition being implemented as the first number threshold as an example, the first number threshold is also provided with a function of automatically calibrating the first number threshold according to the user's puffing habits.
[0117] In this embodiment, a plurality of first suction parameters of the aerosol generating device within a specified time range are obtained, including at least one of the total suction duration, the number of suctions, the operation duration corresponding to a single suction operation, or the interval duration between two adjacent suction operations. The suction feature representations corresponding to the plurality of first suction parameters are extracted. For example, for the total suction duration, the total suction duration in different time periods is extracted, a plurality of data intervals are pre-divided, the frequency in each interval is calculated, a histogram corresponding to the total suction duration is generated, and the interval with the highest frequency in the histogram is selected as the suction feature representation corresponding to the total suction duration.
[0118] In this embodiment, the reference feature representation is the feature representation corresponding to the suction parameters generated by the aerosol generating device under the preset operating conditions.
[0119] In this embodiment, according to the feature distance between the suction feature representation and the reference feature representation, the first number threshold is increased or decreased to obtain the third number threshold, and the third number threshold is used as the first condition. Wherein, if the suction feature representation is greater than the reference feature representation, the first number threshold is increased; if the suction feature representation is less than the reference feature representation, the first number threshold is decreased.
[0120] In the device detection method provided by the embodiment of the present application, during the operation of the aerosol generating device, whenever a suction operation on the aerosol generating device is received, the number of suctions of the aerosol generating device is counted. When the number of suctions meets the preset conditions, a first prompt message is triggered. The first prompt message is used to remind to replace the first component in the aerosol generating device. That is, the aerosol generating device is detected in real time when it performs a suction operation and is counted, and the first component in the aerosol generating device is reminded to be replaced in time according to the counting result, which can improve the component replacement efficiency of the aerosol generating device and enhance the user's product use experience.
[0121] Schematically, please refer to Figure 4 , which shows the flowchart of the device detection method provided by an exemplary embodiment of the present application. As Figure 4 shown, the method includes the following steps.
[0122] Step 410, add a touch screen switch at the position of the heating component.
[0123] When developing and designing the hardware circuit, a touch screen switch is added at the position of the heating component to detect in real time whether the heating component is replaced. If the heating wire is replaced, the touch screen switch needs to be turned on. If the heating component replacement is completed, the touch screen switch is turned off.
[0124] Step 420, configure the function module.
[0125] The aerosol generating device is programmed with functional applications for programming various functions of the aerosol generating device, such as voice control function, display function, heating function, motor vibration function, etc.
[0126] Step 430, add a counting module.
[0127] The software adds a counter in the flash memory with an initial value of 0, and the data increments by 1.
[0128] Step 440, count the number of times through the microphone function.
[0129] Through the microphone function, data is superimposed: the software judges through the high and low levels of the microphone. (The principle of the microphone does not define the output high and low levels according to the hardware. For example, high level = count the suction operation, and low level means no counting. When the software detects a high level, the suction count is incremented by one and the data is superimposed. Otherwise, the counting result remains unchanged.
[0130] If the counting result is greater than 1000 times, execute step 450; otherwise, repeat step 440.
[0131] Step 450, remind the user to replace the heating component.
[0132] If the counting result is greater than 1000 times, trigger a first reminder message to remind the user to replace the heating component.
[0133] The aerosol generating device continuously detects the touch switch of the heating component at intervals greater than 1 second: when the duration from the touch switch being opened to closed is greater than 1 second, it indicates that the heating component has been replaced. If no opening or closing action of the touch switch is detected, it is defaulted that the heating component has not been replaced, and step 470 is executed. When the duration from the touch switch being opened to closed is greater than 1 second, it indicates that the user has replaced the heating component, and step 460 is executed.
[0134] Step 460, reset the counting result to zero.
[0135] When the duration from the touch switch being opened to closed is greater than 1 second, it indicates that the user has replaced the heating component, and the currently accumulated counting result is cleared.
[0136] Step 470, end.
[0137] The aerosol generating device sucks until it ends.
[0138] The device detection method provided in the embodiment of the present application, during the operation of the aerosol generating device, each time a puff operation on the aerosol generating device is received, the number of puffs of the aerosol generating device is counted, and when the number of puffs meets a pre-set condition, a first prompt message is triggered, and the first prompt message is used to remind to replace the first component in the aerosol generating device, that is, the aerosol generating device is detected in real time to perform a puff operation and count the puff operations, and a prompt to replace the first component in the aerosol generating device is given in time according to the counting result, which can improve the efficiency of component replacement in the aerosol generating device and enhance the user experience of the product.
[0139] For illustration, please refer to Figure 5 , which shows a schematic diagram of the structure of a device detection device provided by an exemplary embodiment of the present application, wherein the device detection device may specifically include the following modules:
[0140] An operation module 510, for operating the aerosol generating device;
[0141] A counting module 520, configured to count the number of puffs of the aerosol generating device when the received puff operation of the aerosol generating device meets the counting condition, and obtain a counting result corresponding to the number of puffs;
[0142] The trigger module 530 is used to trigger a first prompt message when the counting result meets a first condition, wherein the first prompt message is used to remind the user to replace a first component in the aerosol generating device.
[0143] Optionally, the trigger module 530 is also used to display text prompt content in the first area of the aerosol generating device, and the text prompt content indicates a reminder to replace the first component in the aerosol generating device; or, play alarm prompt content, and the alarm prompt content indicates a reminder to replace the first component in the aerosol generating device; or, display a prompt animation in the second area of the aerosol generating device, and the prompt animation indicates a reminder to replace the first component in the aerosol generating device; or, display a first state corresponding to the first indicator light in the aerosol generating device, and the first state is used to remind to replace the first component in the aerosol generating device.
[0144] Optionally, the first condition corresponds to a first numerical threshold;
[0145] The trigger module 530 is also used to trigger a second prompt message when the counting result reaches a second number threshold but does not reach the first number threshold, and the second prompt message is used to remind that the counting result is about to reach the first number threshold, and the second number threshold is less than the first number threshold.
[0146] Optionally, the triggering module 530 is further configured to detect the replacement status of the first component to obtain a replacement result corresponding to the first component; and when the replacement result meets the replacement success condition, clear the count of the number of draws to obtain a cleared result of the number of draws.
[0147] Optionally, a first switch is provided in the aerosol generating device, and the open / closed state of the first switch is related to the replacement result; the triggering module 530 is further configured to detect the open / closed state of the first switch to obtain the replacement result corresponding to the first component.
[0148] Optionally, the triggering module 530 is further configured to determine that the first component is replaced when it is detected that the adjustment duration corresponding to the state adjustment process of the first switch meets the first duration condition, where the state adjustment process includes: adjusting from the open state to the closed state; or, adjusting from the closed state to the open state.
[0149] Optionally, the triggering module 530 is further configured to determine that the first component is in an unreplaced state when the state adjustment process of the first switch is not detected, where the state adjustment process includes: adjusting from the open state to the closed state; or, adjusting from the closed state to the open state.
[0150] Optionally, the first condition includes a first number threshold.
[0151] The triggering module 530 is further configured to obtain a plurality of first draw parameters of the aerosol generating device within a specified time range, where the first draw parameters include at least one of the total draw duration, the number of draws, the operation duration corresponding to a single draw operation, or the interval duration between two adjacent draw operations; extract the draw feature representations corresponding to the plurality of first draw parameters respectively; obtain a reference feature representation corresponding to the aerosol generating device, where the reference feature representation is used to indicate the reference draw parameters of the aerosol generating device under preset conditions; and adjust the first number threshold based on the feature distance between the draw feature representation and the reference feature representation to obtain a third number threshold as the first condition.
[0152] The device detection apparatus provided by the embodiments of the present application counts the number of suction operations of the aerosol generating device whenever a suction operation on the aerosol generating device is received during the operation of the aerosol generating device. When the number of suction operations meets a preset condition, a first prompt message is triggered. The first prompt message is used to remind to replace a first component in the aerosol generating device. That is, the aerosol generating device is detected in real time for the suction operation and counted, and according to the counting result, the user is timely reminded to replace the first component in the aerosol generating device, which can improve the component replacement efficiency of the aerosol generating device and enhance the user experience of using the product.
[0153] See Figure 6 , which shows a schematic structural diagram of a computer device provided by an embodiment of the present application. As Figure 6 shown, the computer device 1000 of this embodiment includes: at least one processor 1010 ( Figure 6 only one is shown in the figure), a processor, a memory 1020, and a computer program 1021 stored in the memory 1020 and executable on at least one processor 1010. When the processor 1010 executes the computer program 1021, the steps in the embodiment of the above device detection method are implemented.
[0154] The computer device 1000 may be a computing device such as a desktop computer, a notebook, a palm computer, and a cloud server. The terminal device may include, but is not limited to, a processor 1010 and a memory 1020. Those skilled in the art can understand that Figure 6 merely examples of the computer device 1000, which do not constitute a limitation on the computer device 1000, and may include more or fewer components than those shown in the figure, or combine some components, or different components. For example, it may also include input / output devices, network access devices, etc.
[0155] The so-called processor 1010 may be a central processing unit (CPU), and the processor 1010 may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0156] The memory 1020 can be an internal storage unit of the computer device 1000 in some embodiments, such as the hard disk or memory of the computer device 1000. The memory 1020 can also be an external storage device of the computer device 1000 in other embodiments, such as a plug-in hard disk equipped on the computer device 1000, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. Further, the memory 1020 can also include both the internal storage unit and the external storage device of the computer device 1000. The memory 1020 is used to store an operating system, application programs, a Boot Loader, data, and other programs, such as the program code of a computer program. The memory 1020 can also be used to temporarily store data that has been output or will be output.
[0157] Those skilled in the art can clearly understand that, for the convenience and conciseness of description, only the above division of each functional unit and module is used as an example. In actual applications, the above functions can be assigned to different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiments can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of the present application. The specific working processes of the units and modules in the above system can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0158] In the above embodiments, the descriptions of the various embodiments have their own emphases. For parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0159] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or by a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. A professional technician can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0160] In the embodiments provided in the present application, it should be understood that the disclosed device / computer equipment and method can be implemented in other ways. For example, the device / computer equipment embodiments described above are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of devices or units can be in electrical, mechanical or other forms.
[0161] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0162] In addition, each functional unit in various embodiments of the present application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
[0163] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, to implement all or part of the processes in the above-mentioned embodiment methods of the present application, it can also be completed by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form, etc. The computer-readable medium can include: any entity or device that can carry computer program code, recording medium, USB flash drive, removable hard disk, magnetic disk, optical disc, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content included in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0164] The implementation of all or part of the processes in the method of the above embodiments in this application can also be completed by a computer program product. When the computer program product runs on a computer device, it enables the computer device to execute the steps in the above method embodiments.
[0165] The above embodiments are only used to illustrate the technical solutions of this application, rather than to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A device detection method, characterized in that, The method is applied to an aerosol generating device, and the method includes: Operating the aerosol generating device; When the received sucking operation on the aerosol generating device meets the counting condition, counting the number of sucking operations of the aerosol generating device to obtain a counting result corresponding to the number of sucking operations; When the counting result meets the first condition, triggering a first prompt message, where the first prompt message is used to remind to replace a first component in the aerosol generating device.
2. The method according to claim 1, wherein The triggering of the first prompt message includes: Displaying text prompt content in a first area of the aerosol generating device, where the text prompt content indicates a reminder to replace the first component in the aerosol generating device; or, Playing an alarm prompt content, where the alarm prompt content indicates a reminder to replace the first component in the aerosol generating device; or, Displaying a prompt animation in a second area of the aerosol generating device, where the prompt animation indicates a reminder to replace the first component in the aerosol generating device; or, Displaying a first state corresponding to a first indicator light in the aerosol generating device, where the first state is used to remind to replace the first component in the aerosol generating device.
3. The method according to claim 1 or 2, characterized in that, The first condition corresponds to a first number threshold; Before triggering the first prompt message, it further includes: When the counting result reaches a second number threshold and does not reach the first number threshold, triggering a second prompt message, where the second prompt message is used to remind that the counting result is about to reach the first number threshold, and the second number threshold is less than the first number threshold.
4. The method according to claim 1 or 2, characterized in that, After triggering the first prompt message, it further includes: Detecting the replacement status of the first component to obtain a replacement result corresponding to the first component; When the replacement result meets the replacement success condition, clearing the count of the number of sucking operations to obtain a cleared result of the number of sucking operations.
5. The method according to claim 4, wherein A first switch is provided in the aerosol generating device, and the opening and closing state of the first switch is related to the replacement result; The detecting the replacement status of the first component to obtain a replacement result corresponding to the first component includes: Detecting the opening and closing state of the first switch to obtain the replacement result corresponding to the first component.
6. The method according to claim 5, wherein The detecting the opening and closing state of the first switch to obtain the replacement result corresponding to the first component includes: When it is detected that the adjustment duration corresponding to the state adjustment process of the first switch meets a first duration condition, determining that the first component replacement is completed, and the state adjustment process includes the following: Adjusting from the open state to the closed state; or, Adjusting from the closed state to the open state.
7. The method according to claim 5, characterized in that The detecting the opening and closing state of the first switch to obtain the replacement result corresponding to the first component includes: When it is not detected that the first switch triggers a state adjustment process, determining that the first component is in an unreplaced state, and the state adjustment process includes the following: Adjusting from the open state to the closed state; or, Adjusting from the closed state to the open state.
8. The method according to any one of claims 1 or 2, characterized in that, The first condition includes a first number threshold; The method further comprises: Acquire a plurality of first puff parameters of the aerosol generating device within a specified time range, wherein the first puff parameters include at least one of a total puff duration, the number of puffs, an operation duration corresponding to a single puff operation, or an interval duration corresponding to two adjacent puff operations; extracting suction feature representations corresponding to the plurality of first suction parameters respectively; Obtaining a reference characteristic representation corresponding to an aerosol generating device, wherein the reference characteristic representation is used to indicate a reference puff parameter corresponding to the aerosol generating device under preset conditions; Based on the feature distance between the suction feature representation and the reference feature representation, the first number threshold is adjusted to obtain a third number threshold as the first condition.
9. An equipment detection device, characterized in that, The device comprises: An operating module, used for operating the aerosol generating device; a counting module, configured to count the number of puffs of the aerosol generating device when the received puff operation of the aerosol generating device meets the counting condition, and obtain a counting result corresponding to the number of puffs; The trigger module is used to trigger a first prompt message when the counting result meets a first condition, wherein the first prompt message is used to remind the user to replace a first component in the aerosol generating device.
10. A computer device, characterized in that, The computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the device detection method according to any one of claims 1 to 8 is implemented.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the device detection method according to any one of claims 1 to 8 is implemented.
12. A computer program product, characterized in that, The invention comprises a computer program, and when the computer program is executed, the device detection method according to any one of claims 1 to 8 is executed.