Output energy calculation method and device of electronic atomization equipment, equipment and product
By responding to the user's temperature curve introduction operation in the electronic atomization device and calculating and displaying the target and actual energy values, the problem of difficulty in accurately calculating and adjusting the energy of the electronic atomization device in the prior art is solved, and precise energy monitoring and management are achieved.
Patent Information
- Application Number
- CN202510054478.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-13
- Publication Date
- 2025-04-18
AI Technical Summary
The prior art is difficult to accurately calculate and adjust the target energy and actual energy of electronic atomization equipment, and cannot meet users' needs for precise monitoring and management.
By responding to the user's temperature curve import operation, the target temperature curve is determined and stored; the target temperature value selected by the user and its corresponding time nodes are displayed; the energy calculation function is called, and the target and actual energy values are calculated based on the target and actual temperature values and time nodes.
It realizes accurate calculation and real-time adjustment of the target energy and actual energy of electronic atomization equipment to meet users' needs for precise monitoring and management.
Smart Images

Figure CN119837315A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic atomization equipment, and more specifically, to an output energy calculation method, device, equipment and product of an electronic atomization equipment. Background Art
[0002] In the relevant technical field, although the temperature curve is used to preset and regulate the heating process of the electronic atomization equipment to a certain extent, the adjustment of the target energy and actual energy of the electronic atomization equipment mostly depends on the user's usage experience. There is no perfect solution for how to more accurately calculate and adjust the target energy and actual energy.
[0003] Especially for electronic atomization devices, the control of temperature and energy is relatively precise. Existing technologies mostly rely on user experience to adjust the target energy and actual energy of electronic atomization devices, which cannot meet users' needs for precise monitoring and management of electronic atomization devices. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a method, device, equipment and product for calculating the output energy of an electronic atomization device, aiming to solve the technical problem that the prior art relies heavily on the user's usage experience to adjust the target energy and actual energy of the electronic atomization device.
[0005] To achieve the above purpose, according to the first aspect of the present application, a method for calculating the output energy of an electronic atomization device is provided, comprising:
[0006] In response to a user's temperature curve importing operation on the electronic atomization device, determining a target temperature curve corresponding to the temperature curve importing operation, wherein the target temperature curve is stored in a memory;
[0007] In response to the user's operation of selecting a temperature value of the target temperature curve, displaying a first target temperature value of a first temperature control segment and a second target temperature value of a second temperature control segment of the heating element of the electronic atomization device selected by the user, and time nodes corresponding to the first target temperature value and the second target temperature value respectively;
[0008] In response to the user's target energy acquisition operation, calling an energy calculation function to calculate a target energy value based on the first target temperature value and the second target temperature value, and time nodes corresponding to the first target temperature value and the second target temperature value respectively;
[0009] In response to the actual energy acquisition operation of the user, if the heating element of the electronic atomization device is performing a heating operation, a first actual temperature value of a first temperature control section and a second actual temperature value of a second temperature control section of the heating element are collected, as well as time nodes corresponding to the first actual temperature value and the second actual temperature value respectively;
[0010] The energy calculation function is called to calculate an actual energy value based on the first actual temperature value, the second actual temperature value, and time nodes corresponding to the first actual temperature value and the second actual temperature value.
[0011] Optionally, in a possible implementation manner of the first aspect, in response to a temperature curve importing operation by a user, determining a target temperature curve corresponding to the temperature curve importing operation includes:
[0012] In response to the user clicking on the import curve control displayed on the upper computer interface, calling a file selection dialog box corresponding to the temperature curve import operation;
[0013] In response to the user selecting the target temperature curve from the file selection dialog box, triggering the temperature curve import operation, and acquiring file path information of the target temperature curve in the memory;
[0014] The target temperature curve is read according to the file path information.
[0015] Optionally, in a possible implementation manner of the first aspect, the calling the energy calculation function to calculate the actual energy value based on the first actual temperature value and the second actual temperature value, and time nodes respectively corresponding to the first actual temperature value and the second actual temperature value, includes:
[0016] Determine an actual temperature rise curve of the electronic atomization device based on the first actual temperature value and the second actual temperature value, and time nodes corresponding to the first actual temperature value and the second actual temperature value respectively;
[0017] Taking the time point when the user performs the actual energy acquisition operation as the starting time;
[0018] The energy calculation function is called, an actual detection period is determined with the starting time as the starting point and the current time as the end point, the actual temperature rise curve of the electronic atomization device and the area of the actual detection period are calculated, and the actual energy value is obtained.
[0019] Optionally, in a possible implementation manner of the first aspect, in response to the target energy acquisition operation of the user, calling an energy calculation function to calculate a target energy value based on the first target temperature value and the second target temperature value, and time nodes corresponding to the first target temperature value and the second target temperature value, respectively, includes:
[0020] In response to the user clicking on the target energy acquisition control displayed on the upper computer interface, the target energy acquisition operation is triggered, and the energy calculation function is called to calculate the target energy value based on the first target temperature value and the second target temperature value, and the time nodes corresponding to the first target temperature value and the second target temperature value respectively.
[0021] Optionally, in a possible implementation manner of the first aspect, the method further includes:
[0022] Different colors and annotation information are used to visually display the target energy value and the actual energy value;
[0023] An energy value adjustment operation input by the user is received, and the target energy value and / or the actual energy value is adjusted.
[0024] According to a second aspect of the present application, there is provided an output energy calculation device for an electronic atomization device, comprising:
[0025] a determination unit, configured to determine, in response to a temperature curve importing operation of the electronic atomization device by a user, a target temperature curve corresponding to the temperature curve importing operation, wherein the target temperature curve is stored in a memory;
[0026] A display unit, configured to display, in response to the user's operation of selecting a temperature value of the target temperature curve, a first target temperature value of a first temperature control section and a second target temperature value of a second temperature control section of the heating element of the electronic atomization device selected by the user, and time nodes corresponding to the first target temperature value and the second target temperature value respectively;
[0027] A first calling unit is configured to, in response to the target energy acquisition operation of the user, call an energy calculation function to calculate a target energy value based on the first target temperature value and the second target temperature value, and time nodes corresponding to the first target temperature value and the second target temperature value respectively;
[0028] A collection unit, in response to the actual energy acquisition operation of the user, if the heating element of the electronic atomization device is performing a heating operation, collects a first actual temperature value of a first temperature control section and a second actual temperature value of a second temperature control section of the heating element, and time nodes corresponding to the first actual temperature value and the second actual temperature value respectively;
[0029] The second calling unit calls the energy calculation function to calculate the actual energy value based on the first actual temperature value and the second actual temperature value and the time nodes corresponding to the first actual temperature value and the second actual temperature value respectively.
[0030] Optionally, in a possible implementation manner of the second aspect, the second calling unit includes:
[0031] A determination subunit, configured to determine an actual temperature rise curve of the electronic atomization device based on the first actual temperature value and the second actual temperature value, and time nodes corresponding to the first actual temperature value and the second actual temperature value respectively; and taking the time point when the user performs the actual energy acquisition operation as the starting time;
[0032] The calling subunit is used to call the energy calculation function, determine an actual detection period with the starting time as the starting point and the current time as the end point, calculate the actual temperature rise curve of the electronic atomization device and the area of the actual detection period, and obtain the actual energy value.
[0033] The second aspect and any implementation of the second aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the second aspect and any implementation of the second aspect can refer to the technical effects corresponding to the first aspect and any implementation of the first aspect, which will not be repeated here.
[0034] According to a third aspect of the present application, an electronic device is provided, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the electronic device implements any of the methods described in one embodiment.
[0035] According to a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the above is implemented.
[0036] According to a fifth aspect of the present application, a computer program product is provided. When the computer program product is run on an electronic device, the electronic device executes any one of the methods described in the first aspect.
[0037] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.
[0038] The embodiments of the present application provide an output energy calculation method, device, equipment and product of an electronic atomization device. The method determines a target temperature curve corresponding to the temperature curve import operation in response to a user's temperature curve import operation for the electronic atomization device, wherein the target temperature curve is stored in a memory; in response to a user's temperature value selection operation for the target temperature curve, the method displays a first target temperature value of a first temperature control segment and a second target temperature value of a second temperature control segment of a heating element of the electronic atomization device selected by the user, as well as time nodes corresponding to the first target temperature value and the second target temperature value respectively; in response to a user's target energy acquisition operation, an energy calculation function is called to calculate a target energy value based on the first target temperature value and the second target temperature value, as well as time nodes corresponding to the first target temperature value and the second target temperature value respectively; in response to the user's actual energy acquisition operation, if the heating element of the electronic atomization device is performing a heating operation, the first actual temperature value of the first temperature control segment and the second actual temperature value of the heating element, as well as time nodes corresponding to the first actual temperature value and the second actual temperature value respectively, are collected; the energy calculation function is called to calculate an actual energy value based on the first actual temperature value and the second actual temperature value, as well as time nodes corresponding to the first actual temperature value and the second actual temperature value respectively.
[0039] Through the output energy calculation method of the electronic atomization device provided in the above-mentioned embodiment of the present application, multiple aspects such as user interface design, file reading and data processing, interaction with hardware to collect data, and writing energy calculation functions based on reasonable physical and mathematical models are coordinated to realize the functions corresponding to each step, so as to accurately provide users with relevant information of target energy and actual energy, so that users can make real-time adjustments to the target energy and actual energy. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0041] Figure 1 It is a flow chart of a method for calculating the output energy of an electronic atomization device provided in an embodiment of the present application;
[0042] Figure 2 is a schematic diagram of an optional operation interface of a host computer provided in another embodiment of the present application;
[0043] Figure 3 It is a flow chart of an optional method for calculating the output energy of an electronic atomization device provided in an embodiment of the present application;
[0044] Figure 4 It is a flow chart of an optional method for calculating the output energy of an electronic atomization device provided in an embodiment of the present application;
[0045] Figure 5 It is a flow chart of an optional method for calculating the output energy of an electronic atomization device provided in an embodiment of the present application;
[0046] Figure 6 It is a structural schematic diagram of an output energy calculation device of an electronic atomization device provided in an embodiment of the present application;
[0047] Figure 7 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may 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 prevent unnecessary details from obstructing the description of the present application.
[0049] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0050] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0051] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0052] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0053] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0054] This application example provides an example of a method for calculating the output energy of an electronic atomization device. Please refer to Figure 1 As shown, Figure 1 A schematic flowchart of an output energy calculation method of an electronic atomization device provided in the present application is shown. As an example but not a limitation, the method can be applied to or run in an electronic device.
[0055] The method includes:
[0056] S101, in response to a user's temperature curve importing operation on an electronic atomization device, determining a target temperature curve corresponding to the temperature curve importing operation, wherein the target temperature curve is stored in a memory.
[0057] S102, in response to the user's operation of selecting the temperature value of the target temperature curve, displays the first target temperature value of the first temperature control segment and the second target temperature value of the second temperature control segment of the heating element of the electronic atomization device selected by the user, as well as the time nodes corresponding to the first target temperature value and the second target temperature value respectively.
[0058] S103, in response to the user's target energy acquisition operation, calling the energy calculation function to calculate the target energy value based on the first target temperature value and the second target temperature value, and the time nodes corresponding to the first target temperature value and the second target temperature value respectively.
[0059] S104, in response to the user's actual energy acquisition operation, if the heating element of the electronic atomization device is performing a heating operation, the first actual temperature value of the first temperature control segment and the second actual temperature value of the second temperature control segment of the heating element are collected, as well as the time nodes corresponding to the first actual temperature value and the second actual temperature value, respectively.
[0060] S105, calling an energy calculation function, and calculating an actual energy value based on the first actual temperature value and the second actual temperature value, and the time nodes corresponding to the first actual temperature value and the second actual temperature value, respectively.
[0061] In this application example, an interactive element for importing curves is created on the control application of the host computer or the display operation interface of the device, for example, Figure 2 The "Import Curve" button shown has clear and explicit text prompts to help users identify the operation.
[0062] In one example, the file format of the target temperature curve includes: static cursor file format. When the user clicks the "Import Curve" button, a file selection dialog box pops up. The user can select the file type as a static cursor file format (such as .cur format, etc.). At the same time, the initial search directory can be pre-set (for example, opening a folder specifically for storing temperature curve files, or a user document folder, etc. by default), which can facilitate users to find temperature curve files that meet the requirements from the memory of the electronic atomization device.
[0063] After the user selects the temperature curve file in the corresponding static cursor file format, the read temperature curve file content is parsed according to the specifications of the static cursor file format (for example, specific file headers, data structures, etc.), and data information related to the target temperature curve is extracted from it. After sorting and conversion, the target temperature curve is obtained.
[0064] On the operation interface, the temperature values of each stage of the temperature curve can be displayed in the form of a list or chart for the user to check, or the user can use the mouse to move the temperature curve graph (such as Figure 2 The user can select the desired temperature value by clicking on the actual temperature curve of the lower section and the temperature curve of the upper section shown in the figure. When the user completes the selection operation, the host computer identifies which two temperature control sections of the heating element of the electronic atomization device the specific position selected by the user corresponds to.
[0065] Optionally, the first temperature control section and the second temperature control section are different areas divided according to the function, position and other factors of the heating element, such as Figure 2 As shown, for example, the upper area of the heating element is the first temperature control section, the lower area of the heating element is the second temperature control section, and so on. For another example, the left area of the heating element is the first temperature control section, the right area of the heating element is the second temperature control section, and so on.
[0066] Through the interface update mechanism, the first target temperature value CH-H-Target of the first temperature control segment and the second target temperature value CH-L-Target of the second temperature control segment selected by the user are displayed in the designated area of the operation interface (such as a specific data display box, the annotation bar next to the chart, etc.), and at the same time, according to the time information contained in the target temperature curve, the time nodes corresponding to the two target temperature values are displayed, and presented to the user in a clear and intuitive form (such as directly displaying numbers, marking on the time axis, etc.), so that the user can know the temperature conditions expected to be achieved in different temperature control segments at different times.
[0067] like Figure 2 As shown, by setting clickable elements such as interactive buttons or menu items of "target energy" on the operation interface, when the user clicks the "target energy" button to perform the target energy acquisition operation, the program logic inside the host computer receives the instruction and triggers the call of the pre-written energy calculation function, which is based on the received input parameters and performs calculations according to the established energy calculation logic. For example, in one example, after receiving the user's target energy acquisition operation instruction, the first target temperature value and the second target temperature value obtained previously, as well as their corresponding time nodes, are passed as parameters to the energy calculation function.
[0068] The energy calculation function calculates the target energy value based on the input parameters such as the target temperature value and time information, combined with the heating characteristics of the electronic atomization device, the law of heat transfer and other related physical models (such as the calculation relationship of the heating power at different temperatures, the formula for the accumulation of heat over time, etc.), through corresponding mathematical operations (involving a combination of multiple operations such as integration, multiplication, and addition, depending on the energy calculation model used), that is, the energy that the electronic atomization device needs to consume under ideal conditions according to the target temperature curve selected by the user and the corresponding time node is obtained.
[0069] The host computer monitors in real time whether the heating element of the electronic atomization device is in a state of performing a heating operation, and can make a judgment through communication with the hardware of the electronic atomization device (such as a heating circuit start signal fed back by a sensor, a temperature start rising signal, etc.).
[0070] When it is determined that the heating element is being heated, the temperature data is collected using temperature sensors (such as thermocouples, thermistors and other temperature detection elements, which convert the temperature into electrical signals for collection in real time) installed at the corresponding positions of the first temperature control section and the second temperature control section of the heating element, to obtain the first actual temperature value CH-H-Current of the first temperature control section and the second actual temperature value CH-L-Current of the second temperature control section, and the corresponding time nodes when these temperature values are obtained are recorded at the same time. Similarly, the energy calculation function written previously is called, but this time the collected first actual temperature value and the second actual temperature value, as well as their corresponding time nodes, are passed into the function as parameters.
[0071] The energy calculation function is based on the actual parameters of the electronic atomization device. According to the calculation logic similar to that of the above-mentioned target energy value but based on the actual situation (taking into account the influence of actual factors such as actual heat loss and changes in heating efficiency), the actual energy value is calculated through corresponding operations. This value reflects the actual energy consumed by the device during the current heating process.
[0072] Through the output energy calculation method of the electronic atomization device provided in the above-mentioned embodiment of the present application, multiple aspects such as user interface design, file reading and data processing, interaction with hardware to collect data, and writing energy calculation functions based on reasonable physical and mathematical models are coordinated to realize the functions corresponding to each step, so as to accurately provide users with relevant information of target energy and actual energy, so that users can make real-time adjustments to the target energy and actual energy.
[0073] In one possible implementation, Figure 3 This is a flow chart of an optional method for calculating the output energy of an electronic atomization device provided in an embodiment of the present application. Please refer to Figure 3 As shown, in response to a temperature curve importing operation by a user, determining a target temperature curve corresponding to the temperature curve importing operation includes:
[0074] S201, in response to a user clicking on an import curve control displayed on a host computer interface, calling a file selection dialog box corresponding to a temperature curve import operation.
[0075] S202, in response to the user selecting the target temperature curve from the file selection dialog box, triggering the temperature curve import operation, and obtaining the file path information of the target temperature curve in the memory.
[0076] S203, reading the target temperature curve according to the file path information.
[0077] Still Figure 2As shown in the figure, on the upper computer operation interface of the electronic atomization device, an "Import Curve" control is designed to be presented to the user, or an "Import Curve" item can be provided in the menu options for the user to find and click. When the user sees the "Import Curve" control and clicks the "Import Curve" control using an input device such as a mouse, the corresponding file selection dialog box is triggered to be called, providing an operation interface for the user to find and select the target temperature curve file.
[0078] For example, in one example, after the host computer receives the user's operation of clicking the "Import Curve" control, a dialog box specifically for selecting files is called out according to the pre-set program logic. The file selection dialog box matches the temperature curve import operation. In the file selection dialog box, there are corresponding settings to guide the user to select a suitable temperature curve file. For example, the type of selectable files is limited to ensure that the file finally selected by the user meets the format requirements for subsequent temperature curve processing, avoiding errors caused by inconsistent file formats, and also facilitating users to quickly locate the target temperature curve file among multiple files in the memory.
[0079] In the pop-up file selection dialog box, the user browses through various folders in the memory, finds the target temperature curve file that meets the requirements (static cursor file format), and selects it. After the user completes the selection operation, the host computer responds to the selection operation and obtains the complete file path information of the target temperature curve file in the memory. The file path information can accurately locate the specific location of the target temperature curve file in the host computer. After determining the path information of the target temperature curve file, the host computer can download and obtain the target temperature curve file according to the file path information, and read the content in the file according to the specification of the static cursor file format.
[0080] Since this file format has a specific structure and data storage method, the host computer can parse the target temperature curve file according to predetermined corresponding rules, extract the data information related to the temperature curve in the target temperature curve file, and organize it into the target temperature curve data format required for subsequent functions such as temperature and energy calculation in electronic atomization equipment.
[0081] In one possible implementation, Figure 4 This is a flow chart of an optional method for calculating the output energy of an electronic atomization device provided in an embodiment of the present application. Please refer to Figure 4 As shown, calling the energy calculation function, based on the first actual temperature value and the second actual temperature value, and the time nodes corresponding to the first actual temperature value and the second actual temperature value, respectively, calculates the actual energy value, including:
[0082] S301, determining an actual temperature rise curve of the electronic atomization device based on the first actual temperature value and the second actual temperature value, and the time nodes corresponding to the first actual temperature value and the second actual temperature value respectively.
[0083] S302, taking the time point when the user performs the actual energy acquisition operation as the starting time.
[0084] S303, calling the energy calculation function, taking the start time as the starting point and the current time as the end point to determine an actual detection period, calculating the actual temperature rise curve of the electronic atomization device and the area of the actual detection period, and obtaining the actual energy value.
[0085] In the example of this application, when the user clicks the "actual energy" button set on the operation interface to perform the actual energy acquisition operation, the time point corresponding to the actual energy acquisition operation is determined as the starting moment. The starting moment clarifies the starting point of the time range for subsequent calculations of the actual energy. Taking the starting moment of the user's actual energy acquisition operation determined above as the starting point, and then determining the time when the energy calculation is currently performed as the end point, an actual detection period is delineated, which covers the time period from the starting moment to the current moment, that is, the specific time period range of the actual energy consumption of the electronic atomization device.
[0086] From the perspective of physical meaning and mathematical principles, during the actual detection period, the actual energy consumed by the electronic atomization device corresponds to the area enclosed by the actual temperature rise curve and the time axis. This is because the temperature change process is accompanied by heat transfer and energy conversion. By integrating the curve of temperature change over time (i.e. calculating the area enclosed by the actual temperature rise curve and the time axis), the actual energy consumed by the device during this period can be quantified.
[0087] For the actual temperature rise curve of the first temperature control section, during the actual detection period, the area enclosed by the time axis is calculated by numerical integration and other specific mathematical methods, and the numerical value corresponding to the area reflects the actual energy consumed by the first temperature control section during the period; similarly, the same area calculation operation is performed on the actual temperature rise curve of the second temperature control section to obtain the actual energy of the second temperature control section during the actual detection period.
[0088] Finally, the actual energies calculated for the first temperature control section and the second temperature control section are added together, and the total energy value obtained is the actual energy value of the entire electronic atomization device during the actual detection period. Furthermore, the actual energy consumed by the electronic atomization device during actual operation can be accurately quantified, and the performance, energy utilization efficiency and other aspects of the electronic atomization device can be evaluated based on the actual energy value. For example, the actual energy can be compared with the target energy to see if it meets expectations, so as to further optimize or troubleshoot the electronic atomization device.
[0089] For example, the actual detection period is divided into multiple small time intervals. For the actual temperature rise curve of the first temperature control section, within each small time interval, the area of each small trapezoid is calculated according to the trapezoid area formula S = (a + b)h / 2 (where a and b are temperature values at adjacent time points, and h is the time interval). By adding the areas of these small trapezoids, the actual energy value of the first temperature control section within the actual detection period can be approximately obtained.
[0090] Through the above method example, by collecting and processing actual temperature data, determining the calculation period according to user operations, and using the integration principle to calculate the area enclosed by the actual temperature rise curve and the time axis, the actual energy value is finally obtained, providing a feasible method for energy monitoring and performance evaluation of electronic atomization equipment.
[0091] In a possible implementation, in response to a user's target energy acquisition operation, an energy calculation function is called to calculate a target energy value based on a first target temperature value and a second target temperature value, and time nodes corresponding to the first target temperature value and the second target temperature value, respectively, including:
[0092] In response to the user clicking on the target energy acquisition control displayed on the upper computer interface, the target energy acquisition operation is triggered, and the energy calculation function is called to calculate the target energy value based on the first target temperature value and the second target temperature value, and the time nodes corresponding to the first target temperature value and the second target temperature value respectively.
[0093] On the upper computer operation interface corresponding to the electronic atomization device, there is a control for obtaining the target energy. The control can be in the form of a button with a clear text prompt such as "target energy" on it, which is convenient for users to identify and know; it may also be an option in the menu and be classified in the energy-related operation menu group.
[0094] When the user clicks the "target energy" acquisition control using a mouse or other input device (such as a touch screen operation), a clear command signal is sent to the host computer to trigger the target energy acquisition operation. The program in the host computer captures this user operation event and then starts the subsequent corresponding processing flow to call the energy calculation function to calculate the target energy value. The energy calculation function encapsulates specific calculation logic to calculate the target energy value based on the given relevant parameters.
[0095] When the host computer calls the energy calculation function, it accurately passes the first target temperature value, the second target temperature value and their corresponding time nodes as parameters to the energy calculation function. For example, if the first target temperature value is a specific degree (such as 180°C), the corresponding time node is the 5th minute after the start of heating, and the second target temperature value is 200°C, the corresponding time node is the 10th minute after the start of heating, then these specific values and time information will be completely passed to the energy calculation function.
[0096] After the energy calculation function receives these passed parameters, it performs calculations based on pre-set physical models and mathematical calculation rules. From a physical point of view, the energy consumption of electronic atomization equipment during the heating process is closely related to temperature changes and time changes. Different target temperatures require different amounts of energy at different time stages. The energy calculation function considers many factors such as the heating power, heat transfer efficiency, and specific heat capacity of the electronic atomization equipment to build a corresponding mathematical calculation model (complex mathematical processing processes such as integral operations and derivation and calculation based on thermal formulas, which depends on the device characteristics of the electronic atomization equipment and the calculation method used), and then uses the passed-in first target temperature value, second target temperature value, and their corresponding time nodes to perform specific calculations and finally obtain the target energy value.
[0097] Through the above method steps, the user interacts with the target energy acquisition control on the host computer interface to trigger the corresponding program to call the energy calculation function to calculate the target energy value based on the parameters necessary for the calculation, which helps to effectively adjust the operating status and output energy of the electronic atomization device.
[0098] In one possible implementation, Figure 5 This is a flow chart of an optional method for calculating the output energy of an electronic atomization device provided in an embodiment of the present application. Please refer to Figure 5 As shown, the above method also includes:
[0099] S401, using different colors and annotation information to visually display the target energy value and the actual energy value;
[0100] S402, receiving an energy value adjustment operation input by a user, and adjusting the target energy value and / or the actual energy value.
[0101] Still Figure 2As shown in the figure, by visually displaying the target energy value (i.e., P target ) and the actual energy value (i.e., P1 actual, P2 actual, P3 actual), users can more intuitively and clearly understand the energy settings and actual operation of the electronic atomization device. Converting the abstract energy value into a visual element makes it convenient for users to quickly compare the difference between the target energy value and the actual energy value, and then judge whether the energy utilization efficiency and operating status of the electronic atomization device meet expectations.
[0102] It should be noted that in the example of this application, different colors are selected to represent the target energy value and the actual energy value respectively in order to form a sharp contrast visually, so that users can distinguish between two types of data of different natures. For example, the target energy value can be represented by red, which represents the pre-set energy standard expected to be achieved. Red is more eye-catching and easy to attract attention; and the actual energy value is represented by green. Green is often associated with concepts such as normal and in line with expectations, so that users can intuitively feel the comparison between the actual energy and the target energy when viewing. Of course, the choice of color can be flexibly adjusted according to factors such as the specific interface design style and user habits, as long as it can be clearly distinguished.
[0103] In addition to color distinction, in the example of this application, the display elements of the target energy value are marked with clear text descriptions such as "target energy" and "set energy", which can remind users that the value represents the expected energy value pre-set before the electronic atomization device is operated; similarly, "actual energy" and "consumed energy" are marked in the display position of the actual energy value, so that users can accurately understand the specific meaning. In the example of this application, the display method combining annotation information with color can enhance the clarity and accuracy of the visual display and avoid confusion.
[0104] In addition, in the example of this application, the target energy value and the actual energy value can also be displayed in the form of a bar graph. For example, the red bar graph corresponding to the target energy value and the green bar graph corresponding to the actual energy value can be placed side by side in the same area of the operation interface. The height of the bar graph represents the size of the energy value. The user can intuitively see the size relationship and the gap between the two by observing the height of the bar graph and the corresponding color and annotation. Alternatively, a line graph can be used, with time as the horizontal axis (for example, showing the energy situation in different time periods) and the energy value as the vertical axis, with red and green broken lines used to represent the target energy value and the actual energy value with time. Trends, etc., are convenient for users to analyze the energy change characteristics of the electronic atomization device during the entire operation process and whether it develops as expected.
[0105] Furthermore, in order to meet the needs of users to flexibly adjust the energy value according to actual conditions, corresponding interactive elements can be set on the upper computer operation interface to receive energy value adjustment operations input by users. For example, an input box with "+" and "-" buttons can be set, and users can gradually increase or decrease the target energy value by clicking the "+" or "-" button; or a text box for directly entering specific values can be provided. After the user enters the energy value to be adjusted, click the "Confirm" button to complete the adjustment operation. In addition, it is also possible to decide whether to allow users to directly adjust the actual energy value based on the specific operating rules and functional permissions of the electronic atomization device. If allowed, a similar interactive method can be used for user operation.
[0106] There are various reasons why users adjust the energy value. For example, based on different usage scenarios, material characteristics, expectations for atomization effects, etc., it is determined that the current target energy setting is not appropriate and needs to be optimized; or it is found that the actual energy deviates greatly from the target energy, and the energy statistics of the electronic atomization device are recalibrated by adjusting the actual energy value (provided that the device allows and complies with relevant logic and safety requirements). After the user adjusts the target energy value, the operating parameters can be changed according to the new target energy setting in the subsequent operation process, such as adjusting the heating power, heating time, etc., to try to reach the new target energy value; and the adjustment of the actual energy value is more reflected in the correction of the energy statistical record, so as to more accurately reflect the actual energy consumption of the electronic atomization device.
[0107] After the user completes the energy value adjustment operation, the host computer will update the corresponding energy value in a timely manner, and again feed back the adjusted target energy value and / or actual energy value to the user through visual display, so that the user can confirm whether the adjustment is effective and view the overall energy situation after the adjustment. At the same time, the host computer can also adjust the parameters and operation logic of other related calculation, control and other functional modules according to the adjusted energy value, to ensure that the energy management of the electronic atomization device can be coordinated and stable.
[0108] In summary, these two steps further improve the display of energy-related information of electronic atomization devices and the user's control over energy values, enhance the interactivity and practicality of electronic atomization devices in energy management, and facilitate users to better use and monitor the operating status of electronic atomization devices.
[0109] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0110] Corresponding to the output energy calculation method of the electronic atomization device in the above embodiment, Figure 6 is a schematic diagram of the structure of an output energy calculation device of an electronic atomization device provided in an embodiment of the present application. The device can be implemented as part or all of a computer device by software, hardware or a combination of both. The computer device can be Figure 7 Electronic equipment shown.
[0111] Reference Figure 6 , the output energy calculation device of the electronic atomization device includes:
[0112] A determination unit 601 is used to determine a target temperature curve corresponding to the temperature curve importing operation of the electronic atomization device in response to the user's temperature curve importing operation, wherein the target temperature curve is stored in a memory;
[0113] The display unit 602 is used to display the first target temperature value of the first temperature control section and the second target temperature value of the second temperature control section of the heating element of the electronic atomization device selected by the user in response to the user's operation of selecting the temperature value of the target temperature curve, and the time nodes corresponding to the first target temperature value and the second target temperature value respectively;
[0114] The first calling unit 603 is used to respond to the user's target energy acquisition operation, call the energy calculation function based on the first target temperature value and the second target temperature value, and the time nodes corresponding to the first target temperature value and the second target temperature value, and calculate the target energy value;
[0115] The collection unit 604, in response to the actual energy acquisition operation of the user, if the heating element of the electronic atomization device is performing a heating operation, collects a first actual temperature value of a first temperature control section and a second actual temperature value of a second temperature control section of the heating element, and time nodes corresponding to the first actual temperature value and the second actual temperature value respectively;
[0116] The second calling unit 605 calls the energy calculation function to calculate the actual energy value based on the first actual temperature value and the second actual temperature value and the time nodes corresponding to the first actual temperature value and the second actual temperature value.
[0117] Further, based on any of the above embodiments, as an example of the present application, the second calling unit includes:
[0118] A determination subunit is used to determine an actual temperature rise curve of the electronic atomization device based on the first actual temperature value and the second actual temperature value, and the time nodes corresponding to the first actual temperature value and the second actual temperature value respectively; and the time point when the user performs the actual energy acquisition operation is taken as the starting time;
[0119] The calling subunit is used to call the energy calculation function, determine an actual detection period with the starting time as the starting point and the current time as the end point, calculate the actual temperature rise curve of the electronic atomization device and the area of the actual detection period, and obtain the actual energy value.
[0120] It should be noted that the output energy calculation device of the electronic atomization device provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0121] The functional units and modules in the above embodiments may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit, and the above integrated units may be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present application.
[0122] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0123] An embodiment of the present application further provides an electronic device, the electronic device comprising one or more processors and a memory;
[0124] The memory is coupled to one or more processors, and the memory is used to store computer program code, the computer program code includes computer instructions, and one or more processors call the computer instructions to enable the electronic device to execute the output energy calculation method of the electronic atomization device shown above.
[0125] Figure 7 The schematic diagram of the structure of an electronic device provided in the embodiment of the present application is that the electronic device 700 can be a mobile phone, a smart screen, a tablet computer, a wearable electronic device, an in-vehicle electronic device, an augmented reality (AR) device, a virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a projector, or a communication device such as a server, a storage device, a base station, or a smart car, etc. The embodiment of the present application does not impose any restrictions on the specific type of the electronic device.
[0126] The memory 701 can be used to store computer software programs 702 and modules, and the processor 703 executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory 701. The memory 701 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the memory 701 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0127] Among them, the processor 703 may include one or more processors such as a central processing unit, an application processor (AP), a baseband processor, etc. The processor may be the nerve center and command center of the wireless router. The processor 703 may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions. The memory 701 may be used to store computer executable program codes, and the executable program codes include instructions. The processor 703 executes various functional applications and data processing of the network device by running the instructions stored in the memory. The memory 701 may include a program storage area and a data storage area, such as storing data of a sound signal to be played. For example, the memory may be a double rate synchronous dynamic random access memory DDR or a flash memory Flash.
[0128] An embodiment of the present application also provides a computer-readable storage medium, in which computer instructions are stored; when the computer-readable storage medium is run on an electronic device, the electronic device executes the output energy calculation method of the electronic atomization device shown above.
[0129] The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes one or more available media integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium, or a semiconductor medium (e.g., a solid state disk (SSD)), etc.
[0130] An embodiment of the present application also provides a computer program product including computer instructions. When the computer program product is run on an electronic device, the electronic device can execute the output energy calculation method of the electronic atomization device shown above.
[0131] The computer storage medium and computer program product provided in the above-mentioned embodiments of the present application are used to execute the method provided above. Therefore, the beneficial effects that can be achieved can refer to the corresponding beneficial effects of the method provided above, and will not be repeated here.
[0132] In the above embodiments, it can also be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (such as: coaxial cable, optical fiber, data subscriber line (Digital Subscriber Line, DSL)) or wireless (such as: infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access, or a data storage device such as a server or data center that includes one or more available media integrations. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a digital versatile disc (DVD)), or a semiconductor medium (such as a solid state disk (SSD)).
[0133] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0134] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments applied for herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0135] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as 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 mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0136] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0137] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for calculating the output energy of an electronic atomization device, characterized in that: include: In response to a user's temperature curve importing operation on the electronic atomization device, determining a target temperature curve corresponding to the temperature curve importing operation, wherein the target temperature curve is stored in a memory; In response to the user's operation of selecting a temperature value of the target temperature curve, displaying a first target temperature value of a first temperature control segment and a second target temperature value of a second temperature control segment of the heating element of the electronic atomization device selected by the user, and time nodes corresponding to the first target temperature value and the second target temperature value respectively; In response to the user's target energy acquisition operation, calling an energy calculation function to calculate a target energy value based on the first target temperature value and the second target temperature value, and time nodes corresponding to the first target temperature value and the second target temperature value respectively; In response to the actual energy acquisition operation of the user, if the heating element of the electronic atomization device is performing a heating operation, a first actual temperature value of a first temperature control section and a second actual temperature value of a second temperature control section of the heating element are collected, as well as time nodes corresponding to the first actual temperature value and the second actual temperature value respectively; The energy calculation function is called to calculate an actual energy value based on the first actual temperature value, the second actual temperature value, and time nodes corresponding to the first actual temperature value and the second actual temperature value.
2. The method according to claim 1, characterized in that: The step of determining, in response to a temperature curve importing operation by a user, a target temperature curve corresponding to the temperature curve importing operation comprises: In response to the user clicking on the import curve control displayed on the upper computer interface, calling a file selection dialog box corresponding to the temperature curve import operation; In response to the user selecting the target temperature curve from the file selection dialog box, triggering the temperature curve import operation, and acquiring file path information of the target temperature curve in the memory; The target temperature curve is read according to the file path information.
3. The method according to claim 1, characterized in that The calling of the energy calculation function to calculate the actual energy value based on the first actual temperature value and the second actual temperature value and the time nodes respectively corresponding to the first actual temperature value and the second actual temperature value includes: Determine an actual temperature rise curve of the electronic atomization device based on the first actual temperature value and the second actual temperature value, and time nodes corresponding to the first actual temperature value and the second actual temperature value respectively; Taking the time point when the user performs the actual energy acquisition operation as the starting time; The energy calculation function is called, an actual detection period is determined with the starting time as the starting point and the current time as the end point, the actual temperature rise curve of the electronic atomization device and the area of the actual detection period are calculated, and the actual energy value is obtained.
4. The method according to claim 1, characterized in that: The step of invoking an energy calculation function to calculate a target energy value based on the first target temperature value and the second target temperature value, and time nodes corresponding to the first target temperature value and the second target temperature value, in response to the target energy acquisition operation of the user, includes: In response to the user clicking on the target energy acquisition control displayed on the upper computer interface, the target energy acquisition operation is triggered, and the energy calculation function is called to calculate the target energy value based on the first target temperature value and the second target temperature value, and the time nodes corresponding to the first target temperature value and the second target temperature value respectively.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Different colors and annotation information are used to visually display the target energy value and the actual energy value; An energy value adjustment operation input by the user is received, and the target energy value and / or the actual energy value is adjusted.
6. An output energy calculation device for an electronic atomization device, characterized in that: include: a determination unit, configured to determine, in response to a temperature curve importing operation of the electronic atomization device by a user, a target temperature curve corresponding to the temperature curve importing operation, wherein the target temperature curve is stored in a memory; A display unit, configured to display, in response to the user's operation of selecting a temperature value of the target temperature curve, a first target temperature value of a first temperature control section and a second target temperature value of a second temperature control section of the heating element of the electronic atomization device selected by the user, and time nodes corresponding to the first target temperature value and the second target temperature value respectively; A first calling unit is configured to, in response to the user's target energy acquisition operation, call an energy calculation function to calculate a target energy value based on the first target temperature value and the second target temperature value, and time nodes corresponding to the first target temperature value and the second target temperature value respectively; A collection unit, in response to the actual energy acquisition operation of the user, if the heating element of the electronic atomization device is performing a heating operation, collects a first actual temperature value of a first temperature control section and a second actual temperature value of a second temperature control section of the heating element, and time nodes corresponding to the first actual temperature value and the second actual temperature value respectively; The second calling unit calls the energy calculation function to calculate the actual energy value based on the first actual temperature value and the second actual temperature value and the time nodes corresponding to the first actual temperature value and the second actual temperature value respectively.
7. The device according to claim 6, characterized in that The second calling unit includes: A determination subunit, configured to determine an actual temperature rise curve of the electronic atomization device based on the first actual temperature value and the second actual temperature value, and time nodes corresponding to the first actual temperature value and the second actual temperature value respectively; and taking the time point when the user performs the actual energy acquisition operation as the starting time; The calling subunit is used to call the energy calculation function, determine an actual detection period with the starting time as the starting point and the current time as the end point, calculate the actual temperature rise curve of the electronic atomization device and the area of the actual detection period, and obtain the actual energy value.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the electronic device implements the method according to any one of claims 1 to 5.
9. A computer program product, characterized in that The invention comprises a computer program which, when executed, causes the method according to any one of claims 1 to 5 to be performed.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.