Firmware updating method and device, equipment, storage medium and program product

By displaying the firmware upgrade interface in the aerosol generation device and updating the firmware program, the problem of the device firmware cannot be updated is solved, and the device performance and adaptability are improved.

CN120508302APending Publication Date: 2025-08-19SHENZHEN GEEKVAPE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510416851.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-02
Publication Date
2025-08-19

AI Technical Summary

Technical Problem

Existing aerosol generation equipment runs with fixed firmware programs after leaving the factory, and cannot perform effective firmware updates, resulting in the inability to improve the equipment performance.

Method used

A firmware update method is provided, displaying a firmware upgrade interface by receiving an upgrade trigger operation, matching a second firmware program with device parameters, and updating the first firmware program to a second firmware program to improve device performance.

Benefits of technology

The performance improvement of aerosol generation equipment and the adaptability of firmware programs have been achieved to meet the technical development needs of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120508302A_ABST
    Figure CN120508302A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of firmware updating, and provides a firmware updating method and device, equipment, a storage medium and a program product, and the firmware updating method comprises the following steps: running aerosol generation equipment by using a first firmware program; in response to the received upgrade triggering operation on the aerosol generation equipment, displaying a firmware upgrade interface which comprises a second firmware program; and in response to a received firmware confirmation operation on the second firmware program, updating the first firmware program into the second firmware program, and running the aerosol generation equipment by using the second firmware program. And when the aerosol generation equipment has a firmware updating requirement, the corresponding firmware program is matched according to the equipment parameters to perform firmware updating, so that the equipment performance of the aerosol generation equipment is improved, and the adaptation degree of the upgraded firmware program to the aerosol generation equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of firmware update technology, and in particular relates to a firmware update method, apparatus, device, storage medium, and program product. Background Art

[0002] With the development of technology, the application of aerosol generating equipment has become increasingly widespread. When in use, a built-in power supply provides electrical energy, and the aerosol generating matrix is heated and atomized to produce atomized aerosol.

[0003] In the related art, an aerosol generating device starts and runs with a fixed firmware program after completing factory settings. Therefore, how to implement the firmware update process of the aerosol generating device has become an urgent problem to be solved. Summary of the Invention

[0004] The embodiments of the present application provide a firmware update method, apparatus, device, storage medium, and program product, which improve the product performance of the aerosol generating device by matching the device parameters of the aerosol generating device to a new firmware program for updating.

[0005] In a first aspect, an embodiment of the present application provides a firmware update method, which is applied to an aerosol generating device, and the method includes:

[0006] operating the aerosol generating device in a first firmware program;

[0007] In response to receiving an upgrade trigger operation for the aerosol generating device, displaying a firmware upgrade interface, the firmware upgrade interface including a second firmware program, the second firmware program matching device parameters of the aerosol generating device, the second firmware program being different from the first firmware program;

[0008] In response to receiving a firmware confirmation operation for the second firmware program, the first firmware program is updated to the second firmware program, and the aerosol generating device is operated with the second firmware program.

[0009] Optionally, in response to receiving an upgrade trigger operation for the aerosol generating device, displaying a firmware upgrade interface, wherein the firmware upgrade interface includes a second firmware program, includes:

[0010] In response to receiving the upgrade trigger operation for the aerosol generating device, displaying a firmware upgrade interface, wherein the firmware upgrade interface displays an upgrade confirmation control;

[0011] In response to receiving a trigger operation on the upgrade confirmation control, the second firmware program is displayed.

[0012] Optionally, before displaying the second firmware program in response to receiving a trigger operation on the upgrade confirmation control, the method further includes:

[0013] acquiring a first device parameter of the aerosol generating device based on the triggering operation, wherein the first device parameter is used to indicate a device operating capability of the aerosol generating device;

[0014] Acquire a plurality of first candidate firmware programs, wherein the plurality of first candidate firmware programs respectively correspond to different candidate device parameters;

[0015] The second firmware program is determined from the plurality of first candidate firmware programs based on the first device parameter.

[0016] Optionally, obtaining a plurality of first candidate firmware programs includes:

[0017] Sending a firmware acquisition request to a server, where the firmware acquisition request is used to request acquisition of the second firmware program, the firmware acquisition request includes the first device parameter, and the server is used to store the multiple first candidate firmware programs;

[0018] A firmware selection result sent by the server is received, where the firmware selection result includes the second firmware program.

[0019] Optionally, the first device parameter includes a first device model corresponding to the aerosol generating device and a first release time corresponding to the first firmware program;

[0020] The determining the second firmware program from the plurality of first candidate firmware programs based on the first device parameter includes:

[0021] determining at least one second candidate firmware program from the plurality of first candidate firmware programs based on the device model, wherein the candidate device model corresponding to the second candidate firmware program corresponds to the first device model;

[0022] The second firmware program is determined from the at least one second candidate firmware program based on the first release time, the second firmware program corresponds to a second release time, and the second release time is later than the first release time.

[0023] Optionally, the first firmware program is stored in a first folder of the aerosol generating device;

[0024] The updating of the first firmware program to the second firmware program and operating the aerosol generating device with the second firmware program includes:

[0025] writing the second firmware program into the first folder;

[0026] deleting the first firmware program in the first folder;

[0027] The aerosol generating device is operated in the second firmware program.

[0028] Optionally, the method further includes:

[0029] The firmware upgrade progress is displayed in the firmware upgrade interface, and the firmware upgrade progress is used to indicate the update status of the second firmware program.

[0030] In a second aspect, an embodiment of the present application provides a firmware update device, comprising:

[0031] an operating module, configured to operate the aerosol generating device using a first firmware program;

[0032] a display module configured to display a firmware upgrade interface in response to receiving an upgrade trigger operation for the aerosol generating device, wherein the firmware upgrade interface includes a second firmware program, the second firmware program matches device parameters of the aerosol generating device, and the second firmware program is different from the first firmware program;

[0033] An updating module is configured to, in response to receiving a firmware confirmation operation on the second firmware program, update the first firmware program to the second firmware program, and operate the aerosol generating device with the second firmware program.

[0034] In a third aspect, an embodiment of the present application provides a computer device 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 firmware update method described in any one of the first aspects above is implemented.

[0035] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the firmware update method described in any one of the first aspects is implemented.

[0036] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed on a computer device, enables the computer device to execute the firmware update method described in any one of the above-mentioned first aspects.

[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 beneficial effects of the technical solutions provided in the embodiments of the present application include at least:

[0039] During the process of running the aerosol generating device with a first firmware program, if an upgrade trigger operation for the aerosol generating device is received, a firmware upgrade interface is displayed, and a second firmware program that matches the device parameters of the aerosol generating device is displayed in the firmware upgrade interface. If it is confirmed that the aerosol generating device needs to be updated with firmware, the first firmware program is updated to the second firmware program, and the aerosol generating device is run with the second firmware program. That is, when there is a firmware update requirement for the aerosol generating device, the firmware is updated by matching the corresponding firmware program according to the device parameters, so as to improve the device performance of the aerosol generating device while improving the adaptability of the upgraded firmware program to the aerosol generating device. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. 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 any creative work.

[0041] Figure 1 This is a schematic diagram of a device detection system provided in one embodiment of the present application;

[0042] Figure 2 This is a flowchart of a firmware update method provided by an embodiment of the present application;

[0043] Figure 3 This is a flowchart of a firmware update method provided by an embodiment of the present application;

[0044] Figure 4 This is a schematic diagram of the structure of the firmware update device provided in an embodiment of the present application;

[0045] Figure 5 It is a structural diagram of the computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] In the following description, specific details such as specific system structures and techniques are provided for purposes of illustration rather than limitation to facilitate a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may 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 obscuring the description of the present application with unnecessary detail.

[0047] 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 preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or collections thereof.

[0048] It will also be understood that the term "and / or" used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0049] As used in this specification and the appended claims, the term "if" can be interpreted as "when" or "upon" 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 "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.

[0050] 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.

[0051] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.

[0052] For illustration, please refer to Figure 1 , which shows a schematic diagram of an aerosol generating device system provided by an exemplary embodiment of the present application, such as Figure 1 As shown, the aerosol generating device system includes an aerosol generating device 110 .

[0053] In one example, a first firmware program 11 is installed in the aerosol generating device 110. When the aerosol generating device 110 receives an upgrade trigger operation, a firmware upgrade interface is displayed in the aerosol generating device 110, wherein the firmware upgrade interface includes a second firmware program 12. If the aerosol generating device 110 receives a firmware confirmation operation for the second firmware program, the first firmware program 11 is updated to the second firmware program 12, and the aerosol generating device 110 is operated with the second firmware program.

[0054] Optionally, the aerosol generating device 110 includes at least one of an electric heating device or a carbon heating device.

[0055] In conjunction with the above-mentioned aerosol generating device system, the firmware update method provided in the embodiment of the present application is described in detail. For schematic illustration, please refer to Figure 2 , which shows a flowchart of a firmware update method provided by an exemplary embodiment of the present application, the method includes the following steps 210 to 230.

[0056] Step 210 : operating the aerosol generating device with a first firmware program.

[0057] Schematically, after the aerosol generating device starts the power supply, the battery heats the heating component. After the heating component heats up, the heat is transferred to the aerosol generating matrix, causing the aerosol generating matrix to reach the boiling point and atomize, generating a suspended aerosol for the user to inhale. During the heating process, the aerosol generating matrix will be consumed.

[0058] Schematically, the firmware program is the core control program of the aerosol generating device, which controls various operations of the aerosol generating device.

[0059] Optionally, the program functions that can be implemented by the firmware program include at least one of the following functions:

[0060] The first is working mode control: the firmware program determines the working mode of the aerosol generating device, including the heating method, aerosol atomization output, etc., so as to ensure that the aerosol generating device can work according to the parameters set by the user.

[0061] The second type is taste adjustment: Through firmware programming, users can adjust the taste of the aerosol generating device to meet different smoking preferences. This usually involves precise control of parameters such as heating temperature and aerosol atomization volume.

[0062] The third type is power output management: the firmware program is responsible for the power output management of the aerosol generating device, ensuring that the aerosol generating device can provide stable and appropriate power during operation to ensure the stability of the heating effect and aerosol atomization amount.

[0063] Fourth, battery management: The firmware is also responsible for the battery management of the aerosol generating device, including battery status monitoring, power display, charging control, etc. This helps to extend the service life of the aerosol generating device and ensures that the aerosol generating device can work normally when the power is sufficient.

[0064] Fifth, safety protection: The firmware includes a series of safety protection measures, such as reverse battery protection, atomizer output short circuit protection, and anti-dry burn protection. These protection measures can ensure the safety of the aerosol generating device during use and prevent safety accidents caused by improper operation or device failure.

[0065] Firmware upgrades and maintenance: Firmware upgrades enable aerosol-generating devices to continuously adapt to new technologies and user needs. By upgrading firmware, manufacturers can fix known issues, improve performance, and add new features, thereby enhancing the overall performance and user experience of aerosol-generating devices.

[0066] Optionally, the first firmware program is a firmware program set before the aerosol generating device leaves the factory; or, the first firmware program refers to a firmware program updated by the aerosol generating device within a historical period.

[0067] Optionally, the first firmware program is a complete firmware program, that is, the first firmware program cannot be split; or, the first firmware program can be split into multiple sub-programs, and different sub-programs are used to implement different functions corresponding to the aerosol generating device. This embodiment of the present application is not limited to this.

[0068] Step 220 : In response to receiving a trigger operation to upgrade the aerosol generating device, display a firmware upgrade interface.

[0069] The firmware upgrade interface includes a second firmware program, the second firmware program matches the device parameters of the aerosol generating device, and the second firmware program is different from the first firmware program.

[0070] Illustratively, the upgrade trigger operation is used to trigger a firmware upgrade function of the aerosol generating device.

[0071] Schematically, the firmware upgrade interface is used to indicate that the current aerosol generating device is in a firmware upgrade state. In this state, the aerosol generating device can heat the aerosol generating substrate according to a preset operating temperature; or, in this state, the aerosol generating device cannot perform other functions.

[0072] Illustratively, the second firmware program is different from the first firmware program, and the second firmware program is released later than the first firmware program.

[0073] Illustratively, device parameters are used to indicate device performance of an aerosol generating device.

[0074] Optionally, the device parameters include at least one of the following parameter types:

[0075] The first type: device model;

[0076] The second type: battery parameters, including battery capacity, charging interface, etc.

[0077] The third type: aerosol generation matrix capacity;

[0078] Fourth: output power;

[0079] The fifth type is the operating mode, which includes normal mode, enhanced mode, etc. Different modes correspond to different smoking tastes;

[0080] The sixth type is the interactive method, such as button control, voice control, etc.

[0081] Illustratively, the first firmware program and the second firmware program are both firmware programs that match the device parameters of the aerosol generating device. That is to say, taking the first firmware program as an example, when the aerosol generating device is run with the first firmware program, the first firmware program can control the normal operation of various functions in the aerosol generating device.

[0082] In some embodiments, in response to receiving an upgrade trigger operation for the aerosol generating device, a firmware upgrade interface is displayed, in which an upgrade confirmation control is displayed; in response to receiving a trigger operation for the upgrade confirmation control, a second firmware program is displayed.

[0083] In this embodiment, the upgrade confirmation control is used to confirm whether the firmware of the aerosol generating device needs to be upgraded to prevent the user from accidentally touching it.

[0084] In this embodiment, in a feasible case, a function upgrade control is also displayed in the firmware upgrade interface, which is used to separately upgrade some functions of the aerosol generating matrix, for example: a battery life upgrade control, an output power upgrade control, and an operating mode upgrade control are displayed.

[0085] In this embodiment, different function upgrade controls are used to independently upgrade different subroutines in the first firmware program. For example, the output power upgrade control is used to independently update the output power subroutine in the first firmware program, while the remaining subroutines are not updated. In other words, the second firmware program can be implemented as a firmware program that only updates the output power subroutine in the first firmware program.

[0086] In some embodiments, a first device parameter of the aerosol generating device is obtained based on a triggering operation, and the first device parameter is used to indicate the device operating capability of the aerosol generating device; a plurality of first candidate firmware programs are obtained, and the plurality of first candidate firmware programs respectively correspond to different candidate device parameters; and a second firmware program is determined from the plurality of first candidate firmware programs based on the first device parameter.

[0087] In this embodiment, the first device parameter may be implemented as at least one of the multiple device parameters corresponding to the above-mentioned aerosol generating device.

[0088] In this embodiment, in a feasible case, multiple first candidate firmware programs are stored in a folder of the aerosol generating device, each first candidate firmware program is marked with a corresponding candidate device parameter, and a specified firmware program that matches the first device parameter is selected from the first candidate firmware programs according to the first device parameter of the aerosol generating device as the second firmware program.

[0089] In some embodiments, a firmware acquisition request is sent to a server, the firmware acquisition request is used to request acquisition of a second firmware program, the firmware acquisition request includes first device parameters, and the server is used to store multiple first candidate firmware programs; and a firmware selection result sent by the server is received, the firmware selection result includes the second firmware program.

[0090] In another optional aspect of this embodiment, the aerosol-generating device is provided with a communication module for transmitting data with a server. The aerosol-generating device sends a firmware acquisition request including first device parameters to the server, requesting the server to return a second firmware program that matches the first device of the aerosol-generating device. Upon receiving the firmware acquisition request, the server selects a second firmware program that matches the first device parameters from a plurality of stored first candidate firmware programs and returns the selected second firmware program to the aerosol-generating device.

[0091] In some embodiments, the first device parameters of the aerosol generating device include a first device model corresponding to the aerosol generating device and a first release time corresponding to the first firmware program of the aerosol generating device; based on the aerosol generating device model, at least one second candidate firmware program is determined from multiple first candidate firmware programs of the aerosol generating device, and the candidate device model corresponding to the second candidate firmware program of the aerosol generating device corresponds to the first device model of the aerosol generating device; based on the first release time of the aerosol generating device, a second firmware program of the aerosol generating device is determined from at least one second candidate firmware program of the aerosol generating device, the second firmware program of the aerosol generating device corresponds to a second release time, and the second release time of the aerosol generating device is later than the first release time of the aerosol generating device.

[0092] In this embodiment, the second firmware program not only needs to match the device model of the aerosol generating device, but also its corresponding second release time needs to be later than the first release time corresponding to the first firmware program.

[0093] Step 230 : In response to receiving a firmware confirmation operation for the second firmware program, updating the first firmware program to the second firmware program, and operating the aerosol generating device with the second firmware program.

[0094] In some embodiments, a first firmware program of the aerosol generating device is stored in a first folder of the aerosol generating device; a second firmware program of the aerosol generating device is written into the first folder of the aerosol generating device; the first firmware program of the aerosol generating device in the first folder of the aerosol generating device is deleted; and the aerosol generating device is operated with the second firmware program of the aerosol generating device.

[0095] In this embodiment, during the firmware update process, the second firmware program is written into the first folder corresponding to the first firmware program to overwrite the first firmware program, or, after the second firmware program is written into the first folder corresponding to the first firmware program, the first firmware program is deleted, or, in the case where the second firmware program is only used to update the specified function of the aerosol generating device, taking the second firmware program corresponding to the first sub-function as an example, after the second firmware program is written into the first folder, the sub-program content corresponding to the first sub-function in the first firmware program is deleted.

[0096] In some embodiments, the firmware upgrade progress is displayed in the firmware upgrade interface, and the firmware upgrade progress is used to indicate the update status of the second firmware program.

[0097] In this embodiment, the firmware upgrade progress includes displaying at least one of the following progress contents: an update percentage of the second firmware program, an update status of the firmware programs corresponding to various functions in the aerosol generating device, and the like.

[0098] The firmware update method provided in the embodiment of the present application is as follows: during the process of operating the aerosol generating device with a first firmware program, if an upgrade trigger operation for the aerosol generating device is received, a firmware upgrade interface is displayed, and a second firmware program that matches the device parameters of the aerosol generating device is displayed in the firmware upgrade interface; if it is confirmed that the aerosol generating device needs to be updated with the firmware, the first firmware program is updated to the second firmware program, and the aerosol generating device is operated with the second firmware program. That is, when there is a firmware update requirement for the aerosol generating device, the firmware is updated by matching the corresponding firmware program according to the device parameters, so as to improve the device performance of the aerosol generating device while improving the adaptability of the upgraded firmware program to the aerosol generating device.

[0099] For illustration, please refer to Figure 3, which shows a flowchart of a firmware update method provided by an exemplary embodiment of the present application, such as Figure 3 As shown, the method includes the following steps.

[0100] Step 310: Add a communication module.

[0101] During the hardware development process, a communication module is added for data transmission with the server.

[0102] Step 320: Configure the functional modules.

[0103] The aerosol generating device is burned with functional application programs, which are used to compile programs for various functional modules of the aerosol generating device, such as: indicator light display function, voice control function, display function, heating function, motor vibration function, charging and discharging function, voltage acquisition function, clock timing function, negative temperature coefficient thermistor (NTC) failure function (used to detect or handle NTC failure), etc.

[0104] The aerosol generating device has a first firmware program stored therein.

[0105] Step 330: Receive an upgrade trigger operation.

[0106] The aerosol generating device is provided with a start control. If a trigger operation on the start control is received, it is determined whether the trigger operation is an upgraded trigger operation.

[0107] If the trigger duration is greater than 5 seconds, execute step 360 ; otherwise, execute step 350 .

[0108] Step 340: Start the aerosol generating device.

[0109] If the triggering time is less than 5 seconds, the aerosol generating device is started normally to heat the aerosol generating substrate.

[0110] Step 350: Receive a suction operation.

[0111] If a suction operation is received, the atomized aerosol generating matrix produces an aerosol in an atomized form.

[0112] Step 360: Display the firmware upgrade interface.

[0113] If the trigger duration is longer than 5 seconds, the firmware upgrade interface will be displayed.

[0114] The firmware upgrade interface displays an upgrade confirmation control. If a trigger operation is received for the upgrade confirmation control, a firmware update request is sent to the server through the communication module. If no trigger operation is received for the upgrade confirmation control, a trigger duration is returned.

[0115] The server receives the firmware update request and determines whether the first firmware program is the latest firmware program. If it is the latest firmware program, step 370 is executed. Otherwise, the second firmware program is determined based on the device model and the release time of the firmware program.

[0116] Step 370: Alarm prompt: no update is required.

[0117] Inform the user that the current first firmware program is the latest firmware program and does not need to be updated.

[0118] Step 380: Firmware upgrade.

[0119] After determining the second firmware program, the communication module receives the second firmware program sent by the server, writes the second firmware program into the folder where the first firmware program is located, and overwrites the first firmware program.

[0120] Step 390, end.

[0121] The firmware update method provided in the embodiment of the present application is as follows: during the process of operating the aerosol generating device with a first firmware program, if an upgrade trigger operation for the aerosol generating device is received, a firmware upgrade interface is displayed, and a second firmware program that matches the device parameters of the aerosol generating device is displayed in the firmware upgrade interface; if it is confirmed that the aerosol generating device needs to be updated with the firmware, the first firmware program is updated to the second firmware program, and the aerosol generating device is operated with the second firmware program. That is, when there is a firmware update requirement for the aerosol generating device, the firmware is updated by matching the corresponding firmware program according to the device parameters, so as to improve the device performance of the aerosol generating device while improving the adaptability of the upgraded firmware program to the aerosol generating device.

[0122] For illustration, please refer to Figure 4 , which shows a schematic structural diagram of a firmware update device provided by an exemplary embodiment of the present application, wherein the firmware update device may specifically include the following modules:

[0123] An operating module 410 is configured to operate the aerosol generating device using a first firmware program;

[0124] a display module 420 configured to display a firmware upgrade interface in response to receiving an upgrade trigger operation for the aerosol generating device, wherein the firmware upgrade interface includes a second firmware program, the second firmware program matches device parameters of the aerosol generating device, and the second firmware program is different from the first firmware program;

[0125] The updating module 430 is configured to update the first firmware program to the second firmware program in response to receiving a firmware confirmation operation on the second firmware program, and operate the aerosol generating device with the second firmware program.

[0126] Optionally, the display module 420 is further configured to display a firmware upgrade interface in response to receiving the upgrade trigger operation on the aerosol generating device, wherein the firmware upgrade interface displays an upgrade confirmation control;

[0127] In response to receiving a trigger operation on the upgrade confirmation control, the second firmware program is displayed.

[0128] Optionally, the update module 430 is further used to obtain a first device parameter of the aerosol generating device based on the trigger operation, where the first device parameter is used to indicate the device operating capability of the aerosol generating device; obtain multiple first candidate firmware programs, where the multiple first candidate firmware programs correspond to different candidate device parameters respectively; and determine the second firmware program from the multiple first candidate firmware programs based on the first device parameter.

[0129] Optionally, the update module 430 is also used to send a firmware acquisition request to the server, the firmware acquisition request is used to request to obtain the second firmware program, the firmware acquisition request includes the first device parameters, and the server is used to store the multiple first candidate firmware programs; receive the firmware selection result sent by the server, the firmware selection result includes the second firmware program.

[0130] Optionally, the first device parameter includes a first device model corresponding to the aerosol generating device and a first release time corresponding to the first firmware program;

[0131] Optionally, the update module 430 is further used to determine at least one second candidate firmware program from the multiple first candidate firmware programs based on the device model, and the candidate device model corresponding to the second candidate firmware program corresponds to the first device model; based on the first release time, determine the second firmware program from the at least one second candidate firmware program, the second firmware program corresponds to a second release time, and the second release time is later than the first release time.

[0132] Optionally, the first firmware program is stored in a first folder of the aerosol generating device;

[0133] The updating module 430 is further configured to write the second firmware program into the first folder; delete the first firmware program in the first folder; and operate the aerosol generating device using the second firmware program.

[0134] Optionally, the display module 420 is further configured to display a firmware upgrade progress in the firmware upgrade interface, where the firmware upgrade progress is used to indicate an update status of the second firmware program.

[0135] The firmware update device provided in the embodiment of the present application, during the process of running the aerosol generating device with a first firmware program, if an upgrade trigger operation for the aerosol generating device is received, a firmware upgrade interface is displayed, and a second firmware program matching the device parameters of the aerosol generating device is displayed in the firmware upgrade interface; if it is confirmed that the aerosol generating device needs to be updated with the firmware, the first firmware program is updated to the second firmware program, and the aerosol generating device is operated with the second firmware program. That is, when there is a firmware update requirement for the aerosol generating device, the firmware is updated by matching the corresponding firmware program according to the device parameters, so as to improve the device performance of the aerosol generating device while improving the adaptability of the upgraded firmware program to the aerosol generating device.

[0136] See also Figure 5 , shows a schematic diagram of the structure of the computer device provided in the embodiment of the present application. Figure 5 As shown, the computer device 1000 of this embodiment includes: at least one processor 1010 ( Figure 5 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 above-mentioned firmware update method embodiment are implemented.

[0137] The computer device 1000 may be a desktop computer, a notebook computer, a PDA, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 1010 and a memory 1020. Those skilled in the art will appreciate that Figure 5 This is merely an example of the computer device 1000 and does not constitute a limitation on the computer device 1000 . The computer device 1000 may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the computer device 1000 may also include input and output devices, network access devices, etc.

[0138] The processor 1010 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor may be a microprocessor or any conventional processor.

[0139] In some embodiments, the memory 1020 may be an internal storage unit of the computer device 1000, such as a hard disk or memory of the computer device 1000. In other embodiments, the memory 1020 may also be an external storage device of the computer device 1000, 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. Furthermore, the memory 1020 may include both an internal storage unit of the computer device 1000 and an external storage device. 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 may also be used to temporarily store data that has been output or is about to be output.

[0140] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can 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 scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0141] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.

[0142] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed 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 beyond the scope of this application.

[0143] In the embodiments provided in this application, it should be understood that the disclosed apparatus / computer equipment and methods can be implemented in other ways. For example, the apparatus / computer equipment embodiments described above are merely schematic. For example, the division of modules or units is merely a logical function division. In actual implementation, there may be other division methods, 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 the apparatus or unit, which can be electrical, mechanical or other forms.

[0144] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0145] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0146] 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 this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, it can implement the steps of the above-mentioned various method embodiments. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, USB flash drive, shaking hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained 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, computer-readable media do not include electric carrier signals and telecommunication signals.

[0147] The present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed through a computer program product. When the computer program product runs on a computer device, the computer device can implement the steps in the above-mentioned method embodiments when executing.

[0148] The above embodiments are intended only to illustrate the technical solutions of the present application and are not intended to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they may still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein with equivalents; and such modifications or replacements do not deviate from the spirit and scope of the technical solutions of the various embodiments of the present application and should be included within the scope of protection of the present application.

Claims

1. A device upgrade method, characterized in that: The method is applied to an aerosol generating device, and the method comprises: operating the aerosol generating device in a first firmware program; In response to receiving an upgrade trigger operation for the aerosol generating device, displaying a firmware upgrade interface, the firmware upgrade interface including a second firmware program, the second firmware program matching device parameters of the aerosol generating device, the second firmware program being different from the first firmware program; In response to receiving a firmware confirmation operation for the second firmware program, the first firmware program is updated to the second firmware program, and the aerosol generating device is operated with the second firmware program.

2. The method according to claim 1, characterized in that In response to receiving an upgrade trigger operation for the aerosol generating device, displaying a firmware upgrade interface, wherein the firmware upgrade interface includes a second firmware program, includes: In response to receiving the upgrade trigger operation for the aerosol generating device, displaying a firmware upgrade interface, wherein the firmware upgrade interface displays an upgrade confirmation control; In response to receiving a trigger operation on the upgrade confirmation control, the second firmware program is displayed.

3. The method according to claim 2, characterized in that Before displaying the second firmware program in response to receiving a trigger operation on the upgrade confirmation control, the method further includes: acquiring a first device parameter of the aerosol generating device based on the triggering operation, wherein the first device parameter is used to indicate a device operating capability of the aerosol generating device; Acquire a plurality of first candidate firmware programs, wherein the plurality of first candidate firmware programs respectively correspond to different candidate device parameters; The second firmware program is determined from the plurality of first candidate firmware programs based on the first device parameter.

4. The method according to claim 3, characterized in that The obtaining of a plurality of first candidate firmware programs includes: Sending a firmware acquisition request to a server, where the firmware acquisition request is used to request acquisition of the second firmware program, the firmware acquisition request includes the first device parameter, and the server is used to store the multiple first candidate firmware programs; A firmware selection result sent by the server is received, where the firmware selection result includes the second firmware program.

5. The method according to claim 4, characterized in that The first device parameters include a first device model corresponding to the aerosol generating device and a first release time corresponding to the first firmware program; The determining the second firmware program from the plurality of first candidate firmware programs based on the first device parameter includes: determining at least one second candidate firmware program from the plurality of first candidate firmware programs based on the device model, wherein the candidate device model corresponding to the second candidate firmware program corresponds to the first device model; The second firmware program is determined from the at least one second candidate firmware program based on the first release time, the second firmware program corresponds to a second release time, and the second release time is later than the first release time.

6. The method according to any one of claims 1 to 5, characterized in that: the first firmware program is stored in a first folder of the aerosol generating device; The updating of the first firmware program to the second firmware program and operating the aerosol generating device with the second firmware program includes: writing the second firmware program into the first folder; deleting the first firmware program in the first folder; The aerosol generating device is operated in the second firmware program.

7. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: The firmware upgrade progress is displayed in the firmware upgrade interface, and the firmware upgrade progress is used to indicate the update status of the second firmware program.

8. A firmware update device, characterized in that: The device comprises: an operating module, configured to operate the aerosol generating device using a first firmware program; a display module configured to display a firmware upgrade interface in response to receiving an upgrade trigger operation for the aerosol generating device, wherein the firmware upgrade interface includes a second firmware program, the second firmware program matches device parameters of the aerosol generating device, and the second firmware program is different from the first firmware program; An updating module is configured to, in response to receiving a firmware confirmation operation on the second firmware program, update the first firmware program to the second firmware program, and operate the aerosol generating device with the second firmware program.

9. 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 firmware updating method according to any one of claims 1 to 7 is implemented.

10. 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 firmware updating method according to any one of claims 1 to 7 is implemented.

11. A computer program product, characterized in that The present invention comprises a computer program, which enables the firmware updating method according to any one of claims 1 to 7 to be executed when the computer program is executed.