Firmware upgrading method and device, equipment and storage medium

The order of firmware upgrades to be upgraded for home appliances such as air conditioners is determined through cloud devices, which solves the upgrade sequence problem caused by different firmware dependencies between different devices, and realizes the firmware upgrade in a short time, improving the user experience.

CN119166173APending Publication Date: 2024-12-20MIDEA GROUP WUHAN REFRIGERATION EQUIPMENT CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310739303.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-20
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

In the process of firmware upgrade of air conditioners and other home appliances, the upgrade sequence problem caused by different firmware dependencies between different devices is not effectively handled, resulting in poor user experience, and the firmware upgrade cannot be completed and new functions can be used in a short continuous period of time. .

Method used

Through cloud devices, determine the order of upgraded firmware to be upgraded based on the firmware version and type information of electronic devices, and send upgrade instructions to the terminal device to ensure that the firmware dependencies between different devices can meet the upgrade needs and achieve a short continuous time. firmware upgrade.

Benefits of technology

It realizes the upgrade needs of multiple firmware dependencies between different devices, improves the user experience, and allows firmware upgrades and new functions to be completed in a short time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119166173A_ABST
    Figure CN119166173A_ABST
Patent Text Reader

Abstract

The invention discloses a firmware upgrading method and device, equipment and a storage medium, the method is applied to cloud equipment, and the method comprises the steps that at least two pieces of firmware to be upgraded corresponding to electronic equipment are determined according to version information of at least two pieces of firmware in the electronic equipment; based on the type information of the to-be-upgraded firmware, upgrading information of the to-be-upgraded firmware is determined; the upgrading information is used for indicating an upgrading sequence of the to-be-upgraded firmware; sending the upgrading information to the terminal equipment; the upgrading information is also used for instructing the terminal equipment to determine an upgrading instruction; the upgrading instruction is used for indicating the electronic equipment to upgrade the to-be-upgraded firmware. The cloud device determines the upgrade information of each to-be-upgraded firmware based on the type information of each to-be-upgraded firmware, the upgrade information corresponds to the upgrade sequence of each to-be-upgraded firmware, and the to-be-upgraded firmware with higher priority in the upgrade sequence can be upgraded in sequence according to the upgrade information, so that the upgrade efficiency of the to-be-upgraded firmware is improved. And the requirement of upgrading can also be met by different dependency relationships of a plurality of firmware among different devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of device upgrade, and in particular to a firmware upgrade method, apparatus, device and storage medium. Background Art

[0002] In the related art, the strategy for firmware upgrades for home appliances such as air conditioners is: the home appliance requests the cloud whether there is a corresponding upgradeable version, and when there is an upgradeable version, the home appliance is notified that it can be downloaded and upgraded. When there are multiple firmwares that need to be upgraded, and the firmware upgrade sequence has dependencies, the current technical solution is to set dependencies between firmwares, but when different devices share the same firmware upgrade package and the dependencies of multiple firmwares in different devices are different, it cannot meet the upgrade requirements of different devices. There is currently no effective solution to this problem. Summary of the invention

[0003] In view of this, the embodiments of the present application provide a firmware upgrade method, apparatus, electronic device and storage medium, aiming to achieve that the upgrade requirements can be met even when multiple firmware dependencies between different devices are different.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

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

[0006] Determine at least two firmwares to be upgraded corresponding to the electronic device according to version information of at least two firmwares in the electronic device;

[0007] Determining upgrade information of the firmware to be upgraded based on the type information of the firmware to be upgraded; the upgrade information is used to indicate the upgrade order of the firmware to be upgraded;

[0008] The upgrade information is sent to the terminal device; the upgrade information is also used to instruct the terminal device to determine an upgrade instruction; the upgrade instruction is used to instruct the electronic device to upgrade the firmware to be upgraded.

[0009] In some embodiments, determining the upgrade information of the firmware to be upgraded based on the type information of each firmware to be upgraded includes:

[0010] Sorting the at least two firmwares to be upgraded according to the subordinate relationship between the type information to obtain a first sorting result;

[0011] The upgrade information is determined based on the first sorting result.

[0012] In some embodiments, determining the upgrade information of the firmware to be upgraded based on the type information of each firmware to be upgraded includes:

[0013] Sorting the at least two firmwares to be upgraded according to the level order of the type information to obtain a second sorting result;

[0014] The upgrade information is determined based on the second sorting result.

[0015] In some embodiments, after sending the upgrade information to the terminal device, the method further includes:

[0016] receiving an upgrade instruction determined by the terminal device based on the upgrade information;

[0017] The upgrade instruction is sent to the electronic device.

[0018] In a second aspect, an embodiment of the present application provides a firmware upgrade method, which is applied to an electronic device, and the method includes:

[0019] Receiving an upgrade instruction determined based on upgrade information of at least two firmwares to be upgraded in the electronic device;

[0020] In response to the upgrade instruction, the at least two firmwares to be upgraded are upgraded.

[0021] In some embodiments, the upgrade instruction includes at least a first instruction and a second instruction; and in response to the upgrade instruction, upgrading the at least two firmwares to be upgraded includes:

[0022] In response to the first instruction, upgrading a first firmware to be upgraded that has the highest upgrade order among the at least two firmware to be upgraded;

[0023] In response to the second instruction, a second firmware to be upgraded that has a second upgrade order among the at least two firmware to be upgraded is upgraded.

[0024] In some embodiments, the upgrade instruction further includes a third instruction; before upgrading the second firmware to be upgraded that has the second highest upgrade order among the at least two firmware to be upgraded, the method further includes:

[0025] In response to the third instruction, the electronic device is restarted.

[0026] In a third aspect, an embodiment of the present application provides a firmware upgrade method, which is applied to a terminal device, and the method includes:

[0027] Receiving upgrade information of each firmware to be upgraded of at least two firmwares to be upgraded determined by the cloud device according to the type information of the electronic device;

[0028] Displaying the at least two firmwares to be upgraded according to the upgrade information;

[0029] Determine, based on the upgrade information, an upgrade instruction for upgrading the at least two firmwares to be upgraded;

[0030] Sending the upgrade instruction to the electronic device.

[0031] In some embodiments, displaying the at least two firmware to be upgraded according to the upgrade information includes:

[0032] Determine the display status corresponding to each firmware to be upgraded according to the upgrade information;

[0033] Each firmware to be upgraded is displayed according to the display state.

[0034] In a fourth aspect, an embodiment of the present application provides a firmware upgrade device, which is applied to a cloud device, and the device includes:

[0035] A first determining module, configured to determine at least two firmwares to be upgraded corresponding to the electronic device according to version information of at least two firmwares in the electronic device;

[0036] A second determining module, configured to determine the upgrade information of the firmware to be upgraded based on the type information of the firmware to be upgraded; the upgrade information is used to indicate the upgrade order of the firmware to be upgraded;

[0037] The first sending module is used to send the upgrade information to the terminal device; the upgrade information is also used to instruct the terminal device to determine an upgrade instruction; the upgrade instruction is used to instruct the electronic device to upgrade the firmware to be upgraded.

[0038] In a fifth aspect, an embodiment of the present application provides a firmware upgrade device, which is applied to an electronic device, and the device includes:

[0039] A first receiving module, configured to receive an upgrade instruction determined based on upgrade information of at least two firmwares to be upgraded in the electronic device;

[0040] An upgrading module is used to upgrade the at least two firmwares to be upgraded in response to the upgrading instruction.

[0041] In a sixth aspect, an embodiment of the present application provides a firmware upgrade device, applied to a terminal device, the device comprising:

[0042] A second receiving module is used to receive the upgrade information of each firmware to be upgraded of at least two firmwares to be upgraded determined by the cloud device according to the type information of the electronic device;

[0043] A display module, configured to display the at least two firmwares to be upgraded according to the upgrade information;

[0044] A third determining module, configured to determine, based on the upgrading information, an upgrading instruction for upgrading the at least two firmwares to be upgraded;

[0045] The second sending module is used to send the upgrade instruction to the electronic device.

[0046] In a seventh aspect, an embodiment of the present application provides a cloud device, comprising: a first processor and a first memory for storing a computer program that can be run on the processor,

[0047] Among them, when the first processor is used to run the computer program, it executes the steps of the method described in the first aspect of the embodiment of the present application.

[0048] In an eighth aspect, an embodiment of the present application provides an electronic device, comprising: a second processor and a second memory for storing a computer program that can be run on the processor,

[0049] Among them, when the second processor is used to run the computer program, it executes the steps of the method described in the second aspect of the embodiment of the present application.

[0050] In a ninth aspect, an embodiment of the present application provides a terminal device, comprising: a third processor and a third memory for storing a computer program that can be run on the processor,

[0051] Among them, the third processor is used to execute the steps of the method described in the third aspect of the embodiment of the present application when running the computer program.

[0052] In the tenth aspect, an embodiment of the present application provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in the first aspect of the embodiment of the present application are implemented, or the steps of the method described in the second aspect of the embodiment of the present application are implemented, or the steps of the method described in the third aspect of the embodiment of the present application are implemented.

[0053] The embodiment of the present application provides a firmware upgrade method, device, equipment and storage medium, which are applied to cloud devices, and the method includes: determining at least two firmwares to be upgraded corresponding to the electronic device according to the version information of at least two firmwares in the electronic device; determining the upgrade information of the firmware to be upgraded based on the type information of the firmware to be upgraded; the upgrade information is used to indicate the upgrade order of the firmware to be upgraded; sending the upgrade information to the terminal device; the upgrade information is also used to instruct the terminal device to determine the upgrade instruction; the upgrade instruction is used to instruct the electronic device to upgrade the firmware to be upgraded. Using the technical solution of the embodiment of the present application, the cloud device determines at least two firmwares to be upgraded corresponding to the electronic device; based on the type information of each firmware to be upgraded, the upgrade information of each firmware to be upgraded is determined, and the upgrade order of each firmware to be upgraded is corresponding to the upgrade information. According to the upgrade information, the firmware to be upgraded with a higher priority in the upgrade order can be upgraded in sequence according to the upgrade information, so that the upgrade requirements can be met even if multiple firmware dependencies between different devices are different. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 A schematic diagram of the corresponding relationship between electronic devices and firmware in the related technology of the firmware upgrade method of the embodiment of the present application;

[0055] Figure 2 This is a schematic diagram of the implementation process of the cloud device side firmware upgrade method of the present application embodiment;

[0056] Figure 3 This is a schematic diagram of the implementation flow of the method for upgrading the firmware of an electronic device according to an embodiment of the present application;

[0057] Figure 4 This is a schematic diagram of the implementation flow of the method for upgrading the firmware on the terminal device side according to an embodiment of the present application;

[0058] Figure 5 This is a schematic diagram of the firmware upgrade method implementation process of the present application embodiment;

[0059] Figure 6 This is a schematic diagram of the terminal display interface of the firmware upgrade method according to an embodiment of the present application;

[0060] Figure 7 This is a schematic diagram of the structure of a firmware upgrade device on the cloud device side according to an embodiment of the present application;

[0061] Figure 8 This is a schematic diagram of the structure of a firmware upgrade device on an electronic device side according to an embodiment of the present application;

[0062] Fig. 9 This is a schematic diagram of the structure of a terminal device side firmware upgrade device according to an embodiment of the present application;

[0063] Fig.10This is a schematic diagram of the structure of the cloud device in the embodiment of the present application;

[0064] Fig.11 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present application;

[0065] Fig.12 This is a schematic diagram of the structure of the terminal device according to an embodiment of the present application. DETAILED DESCRIPTION

[0066] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments.

[0067] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0068] The embodiments of the present application provide a firmware upgrade method, apparatus, device and storage medium, which are applied to cloud devices. Based on the firmware upgrade method of the embodiments of the present application, it is possible to meet the upgrade requirements even if multiple firmware dependencies between different devices are different.

[0069] The cloud device of the embodiment of the present application can be a device that provides communication platform services based on a cloud computing business model; the electronic device can be a household appliance, especially an air-conditioning device; the terminal device can be a portable terminal device such as a smartphone, tablet computer, smart wearable device, etc. that has the function of running an application (Application, APP).

[0070] In the related art, the strategy for firmware upgrade of air-conditioning equipment is as follows: the electronic control of the air-conditioning equipment polls the wireless communication technology (WiFi) module for upgradeable versions of the display, main control, parameters and other firmware, and the WiFi module requests the cloud device whether there is a corresponding upgradeable version. When there is an upgradeable version, the WiFi module and the electronic control are notified, and the firmware with the upgradeable version can be downloaded and upgraded.

[0071] In the related art, if there are multiple firmware upgrade packages in the upgrade strategy, they need to be pulled and upgraded one by one. After waiting for a period of time (for example, 12 hours), the electronic control will initiate a round-robin command again to repeat the firmware upgrade process. This will cause the firmware upgrade order to be uncontrollable when multiple firmware upgrade packages need to be upgraded, and the user cannot complete the firmware upgrade and use the new functions in a short continuous period of time, resulting in a poor user experience.

[0072] In addition, when there are multiple firmwares that need to be upgraded, and the device upgrade sequence has dependencies, the solution in the related art is to set dependencies between the firmwares, but for different devices to share the same firmware upgrade package, such as Figure 1As shown in the figure, when different devices have different dependencies for multiple firmware upgrade packages, the upgrade requirements of different devices cannot be met. For example, the firmware upgrade dependency of air conditioner C is B firmware-C firmware-A firmware; the firmware upgrade dependency of air conditioner D is B firmware-A firmware. If the firmware sets the dependency, only one air conditioner can be upgraded, and other models cannot be upgraded.

[0073] In a first aspect, the present application provides a firmware upgrade method, which is applied to a cloud device, such as Figure 2 As shown, the method includes:

[0074] Step 201: Determine at least two firmwares to be upgraded corresponding to the electronic device according to version information of at least two firmwares in the electronic device.

[0075] It can be understood that the firmware upgrade method in the embodiment of the present application is applied to a cloud device, and the cloud device can receive query requests sent by at least one electronic device respectively; the query request includes at least version information of at least two firmware in the electronic device.

[0076] Exemplarily, the version information may be the current version information of each firmware in the electronic device, specifically, the version information of the firmware currently being used in the electronic device. According to the version information of at least two firmwares in the electronic device, at least two firmwares to be upgraded corresponding to the electronic device are determined, which may be to compare the first version information of the first firmware in the electronic device with the preset version information of the first firmware stored in the cloud device to obtain a comparison result; if the comparison result indicates that the first version information is inconsistent with the preset version information, the first firmware is determined to be the firmware to be upgraded; if the comparison result indicates that the first version information is consistent with the preset version information, the first firmware is determined not to be the firmware to be upgraded; the first firmware may be any one of the at least two firmwares.

[0077] In other embodiments, after the cloud device determines at least two firmwares to be upgraded corresponding to the electronic device, the cloud device sends download information of each of the at least two firmwares to be upgraded to the electronic device, wherein the download information may be an upgrade package of the firmware to be upgraded.

[0078] In other embodiments, after the cloud device sends the download information of the firmware to be upgraded to the electronic device, the cloud device receives the upgrade request sent by the electronic device and sends the upgrade request to the terminal device. The upgrade request can be a request generated by the electronic device according to the download information.

[0079] In other embodiments, after the cloud device sends the upgrade request to the terminal device, the cloud device receives the upgrade instruction issued by the terminal device and sends the upgrade instruction to the electronic device.

[0080] Step 202: Determine upgrade information of the firmware to be upgraded based on the type information of the firmware to be upgraded; the upgrade information is used to indicate the upgrade order of the firmware to be upgraded.

[0081] Exemplarily, in the embodiment of the present application, the upgrade information may be the upgrade level of the firmware to be upgraded, and the upgrade level can be used to indicate the upgrade order of the firmware to be upgraded. It should be noted that the upgrade level is different from the upgrade dependency.

[0082] Specifically, the existence of an upgrade dependency relationship between the second firmware and the third firmware may indicate that upgrading the third firmware depends on the second firmware. Based on the upgrade dependency relationship, the third firmware will be upgraded only when the second firmware is upgraded. If the second firmware does not exist in at least two firmwares to be upgraded of the electronic device, the third firmware cannot be upgraded.

[0083] The different upgrade levels corresponding to the second firmware and the third firmware may indicate that the upgrade level of the second firmware is higher than the upgrade level of the third firmware. Based on the above upgrade levels, when the second firmware does not exist in at least two firmwares to be upgraded of the electronic device, the third firmware can be upgraded independently of the second firmware, and only when the second firmware and the third firmware are included in at least two firmwares to be upgraded of the electronic device, the third firmware will be upgraded when the second firmware upgrade is completed. The second firmware is any firmware of the at least two firmwares to be upgraded of the electronic device, and the third firmware is any firmware of the at least two firmwares to be upgraded of the electronic device except the second firmware.

[0084] Exemplarily, the type information of the firmware to be upgraded may be the functional information of the firmware in the electronic device, and each functional information corresponds to a unique type identifier. The functional information of the firmware may be determined based on the encoding information of the firmware. Based on the type information of the firmware to be upgraded, the upgrade information of the firmware to be upgraded is determined, and at least two firmware to be upgraded are sorted based on the subordinate relationship of the functional information of the firmware to be upgraded, and the upgrade information of each firmware to be upgraded is determined based on the sorting result.

[0085] Wherein, determining the upgrade information of each firmware to be upgraded based on the sorting result may be determining the sorting order of the firmware to be upgraded in the sorting result, and determining the upgrade level of the firmware to be upgraded based on the sorting order. For example, determining the sorting order of the firmware to be upgraded in the sorting result is the first order; determining the upgrade information of the firmware to be upgraded with the first order as the first level; determining the sorting order of the firmware to be upgraded in the sorting result is the second order, and determining the upgrade information of the firmware to be upgraded with the second order as the second level; wherein the upgrade level of the first level is higher than the second level.

[0086] In an application example, based on the type information of each firmware to be upgraded, determining the upgrade information of each firmware to be upgraded includes:

[0087] Sorting at least two firmwares to be upgraded according to the subordinate relationship between the type information to obtain a first sorting result;

[0088] Upgrade information is determined based on the first sorting result.

[0089] Exemplarily, the subordinate relationship between the type information may be a master-slave relationship between the type information, and specifically, the master-slave relationship may be a relationship between the main function information of the firmware to be upgraded and the subordinate function information corresponding to the main function information. Sorting the at least two firmware to be upgraded according to the subordinate relationship between the type information may be sorting the at least two firmware to be upgraded based on the subordinate relationship of the function information of the at least two firmware to be upgraded. For example, the function information of each firmware to be upgraded is sorted from the subordinate function information to the main function information, so that each firmware to be upgraded is sorted according to the master-slave relationship between the function information and from the subordinate function information to the main function information.

[0090] Exemplarily, the subordinate relationship between type information may also be a transmission link relationship for information transmission. Specifically, the transmission link relationship may be a transmission link relationship for information transmission in firmware to be upgraded corresponding to different functional information. At least two firmware to be upgraded may be sorted according to the subordinate relationship between type information, and at least two firmware to be upgraded may be sorted based on the transmission link relationship for information transmission in firmware to be upgraded corresponding to different functional information. For example, the firmware to be upgraded may be sorted in the reverse order of the transmission links for information transmission in the firmware to be upgraded corresponding to each functional information, so that each firmware to be upgraded is sorted in the order in which the information is transmitted in the firmware to be upgraded corresponding to each functional information, and in the reverse order of the information transmission.

[0091] In an application example, based on the type information of each firmware to be upgraded, determining the upgrade information of each firmware to be upgraded includes:

[0092] Sorting at least two firmwares to be upgraded according to the level order of the type information to obtain a second sorting result;

[0093] The upgrade information is determined based on the second sorting result.

[0094] Exemplarily, the level order of the type information can be determined based on the subordinate relationship between the aforementioned type information; or it can be determined based on a preset rule, which characterizes the preset level order corresponding to each functional information. Before sorting at least two firmwares to be upgraded based on the level order of the type information, the method further includes: determining the level order corresponding to the type information based on the preset rule and the type information. For example, the level order corresponding to each functional information is determined based on the functional information of the firmware to be upgraded and the preset rule.

[0095] Step 203, the upgrade information is sent to the terminal device; the upgrade information is also used to instruct the terminal device to determine the upgrade instruction; the upgrade instruction is used to instruct the electronic device to upgrade the firmware to be upgraded.

[0096] Here, the upgrade information at least includes upgrade level information corresponding to each of the two firmwares to be upgraded. Sending the upgrade information to the terminal device may be sending the upgrade level information corresponding to each of the two firmwares to be upgraded to the terminal device.

[0097] In an application example, after sending the upgrade information to the terminal device, the method further includes:

[0098] Receiving an upgrade instruction determined by the terminal device based on the upgrade information;

[0099] Send upgrade instructions to electronic devices.

[0100] Here, the upgrade instruction at least includes a first instruction for upgrading the first firmware to be upgraded, a second instruction for upgrading the second firmware to be upgraded, and a third instruction for restarting the electronic device. The upgrade instruction is sent to the electronic device, which can be: first receiving a first instruction issued by a terminal device, sending the first instruction to the electronic device, receiving a first upgrade completion message issued by the electronic device, and sending the first upgrade completion message to the terminal device; receiving a third instruction issued by the terminal device, sending the third instruction to the electronic device, receiving a restart completion message issued by the electronic device, and sending the restart completion message to the terminal device; receiving a second instruction issued by the terminal device, sending the second instruction to the electronic device, receiving a second upgrade completion message issued by the electronic device, and sending the second upgrade completion message to the terminal device; receiving a third instruction issued by the terminal device again, sending the third instruction to the electronic device, waiting for the electronic device to restart, receiving other upgrade instructions issued by the terminal device, and sending other upgrade instructions to the electronic device, and the other upgrade instructions are used to instruct the electronic device to upgrade the firmware to be upgraded other than the first firmware to be upgraded and the second firmware to be upgraded.

[0101] Here, after the last firmware to be upgraded is upgraded, a third instruction issued by the terminal device is received, the third instruction is sent to the electronic device, and the electronic device waits for restart to be completed, thereby reloading the updated firmware into the memory of the electronic device so that the updated firmware can take effect.

[0102] Or, receiving a third instruction from the terminal device, sending the third instruction to the electronic device, receiving a second instruction from the terminal device after a preset time, sending the second instruction to the electronic device, receiving a second upgrade completion message from the electronic device, and sending the second upgrade completion message to the terminal device. The preset time represents the minimum time required for the electronic device to restart.

[0103] Among them, if there are multiple firmware to be upgraded, after each upgrade of the firmware to be upgraded is executed, it is necessary to restart based on the third instruction, and then execute the upgrade of the next firmware to be upgraded based on the upgrade instruction determined by the upgrade sequence until all the firmware to be upgraded are upgraded.

[0104] In the related art, after multiple firmwares to be upgraded are determined through query information sent by the electronic device to the cloud device, only one of the firmwares to be upgraded can be upgraded. After the upgrade of the current firmware to be upgraded is completed, after waiting for a period of time (for example, 12 hours), multiple firmwares to be upgraded are determined through query information sent by the electronic device to the cloud device again. Still, only one of the firmwares to be upgraded can be upgraded, resulting in the user being unable to complete the firmware upgrade and use the new functions in a short continuous period of time, resulting in a poor user experience. In the related art, if continuous upgrades are required, the user can unplug the electronic device to power off and restart.

[0105] In the present application scheme, after the electronic device completes upgrading the first firmware to be upgraded, the electronic device receives a third instruction issued by the terminal device (for example, the third instruction can be generated based on the operation information performed by the user on the terminal device, and the operation information can include information for restarting the electronic device), and the electronic device performs power-off and restart based on the third instruction. After the electronic device completes power-off and restart, the electronic device receives a second instruction issued by the terminal device (for example, the second instruction can be generated based on the operation information performed by the user on the terminal device; the operation information can include information for upgrading the second firmware to be upgraded), and the electronic device upgrades the second firmware to be upgraded based on the second instruction.

[0106] In this way, the electronic device can upgrade the first firmware to be upgraded among multiple firmware to be upgraded in response to the first instruction, and can also power off and restart in response to the third instruction. After power off and restart, it can respond to the second instruction to upgrade the second firmware to be upgraded among the multiple firmware to be upgraded, without having to wait for a long time to upgrade the second firmware to be upgraded after the upgrade of the first firmware to be upgraded is completed, thereby achieving the upgrade of the firmware to be upgraded in a short continuous time.

[0107] In a second aspect, the present application also provides a firmware upgrade method, which is applied to an electronic device, such as Figure 3 As shown, the method includes:

[0108] Step 301: receiving an upgrade instruction determined based on upgrade information of at least two firmwares to be upgraded in the electronic device.

[0109] Step 302: In response to the upgrade instruction, upgrade at least two firmwares to be upgraded.

[0110] It can be understood that the firmware upgrade method in the embodiment of the present application is applied to electronic devices, and each electronic device can send a query request to the cloud device.

[0111] In other embodiments, after the electronic device sends a query request to the cloud device, the electronic device receives download information of each of the at least two firmwares to be upgraded sent by the cloud device, wherein the download information may be an upgrade package of the firmware to be upgraded.

[0112] In other embodiments, after the cloud device receives the download information of the firmware to be upgraded, the electronic device downloads the firmware to be upgraded based on the download information. When the electronic device completes downloading the firmware to be upgraded, it generates an upgrade request and sends the upgrade request to the cloud device.

[0113] Exemplarily, receiving an upgrade instruction determined based on upgrade information of at least two firmware to be upgraded in the electronic device can be that the electronic device receives an upgrade instruction sent by a terminal device to a cloud device and sent by the cloud device; the electronic device can also receive an upgrade instruction sent by a cloud device.

[0114] In an application example, the upgrade instruction includes at least a first instruction and a second instruction; in response to the upgrade instruction, at least two firmwares to be upgraded are upgraded, including:

[0115] In response to the first instruction, upgrading a first firmware to be upgraded that has the highest upgrade order among the at least two firmware to be upgraded;

[0116] In response to the second instruction, a second firmware to be upgraded that has a second upgrade order among the at least two firmware to be upgraded is upgraded.

[0117] Exemplarily, in response to a first instruction, a first firmware to be upgraded that has the highest upgrade order among at least two firmware to be upgraded is upgraded. The electronic device can receive the first instruction sent via a cloud device or directly via a terminal device, upgrade the first firmware to be upgraded based on the first instruction, generate first upgrade completion information after the upgrade is completed, and send the first upgrade completion information to the terminal device via a cloud device or directly to the terminal device.

[0118] In response to the second instruction, the second firmware to be upgraded that has the second highest upgrade order among the at least two firmware to be upgraded is upgraded. The electronic device can receive the second instruction sent via a cloud device or directly via a terminal device, upgrade the second firmware to be upgraded based on the second instruction, generate second upgrade completion information after the upgrade is completed, and send the second upgrade completion information to the terminal device via the cloud device or directly to the terminal device.

[0119] In an application example, the upgrade instruction further includes a third instruction; before upgrading the second firmware with the second highest upgrade order among the at least two firmwares to be upgraded, the method further includes:

[0120] In response to the third instruction, the electronic device is restarted.

[0121] Exemplarily, after the electronic device sends the first upgrade completion information to the terminal device via the cloud device or directly to the terminal device, it receives a third instruction sent via the cloud device or directly to the terminal device, performs a restart operation based on the third instruction, generates restart completion information after the restart is complete, and sends the restart completion information to the terminal device via the cloud device or directly to the terminal device.

[0122] In a third aspect, the present application provides a firmware upgrade method, which is applied to a terminal device, such as Figure 4 As shown, the method includes:

[0123] Step 401: receiving upgrade information of each firmware to be upgraded of at least two firmware to be upgraded determined by the cloud device according to the type information of the electronic device.

[0124] It can be understood that the firmware upgrade method in the embodiment of the present application is applied to the terminal device, and the terminal device can send a query instruction to the electronic device through the cloud device or directly send a query instruction to the electronic device, and the query instruction is used to instruct the electronic device to send a query request to the cloud device.

[0125] Step 402: display at least two firmwares to be upgraded according to the upgrade information.

[0126] Exemplarily, the terminal device may be able to arrange at least two firmware to be upgraded according to the upgrade information, and sequentially display the at least two firmware to be upgraded according to the arrangement result.

[0127] In an application example, at least two firmwares to be upgraded are displayed according to the upgrade information, including:

[0128] Determine the display status corresponding to each firmware to be upgraded according to the upgrade information;

[0129] Each firmware to be upgraded is displayed according to the display status.

[0130] Exemplarily, the display state may include at least a color state and a font size state. Different upgrade information of the firmware to be upgraded corresponds to different upgrade levels, and different upgrade levels correspond to different display states. Specifically, the firmware to be upgraded with a higher upgrade level may be in a highlighted display state or a display state with a larger font; the firmware to be upgraded with a higher upgrade level may be in a first grayed-out display state or a first smaller font display state. Determining the display state corresponding to each firmware to be upgraded according to the upgrade information may be determining the upgrade level corresponding to the upgrade information of the firmware to be upgraded; and determining the display state corresponding to each firmware to be upgraded based on the upgrade level.

[0131] In this way, each firmware to be upgraded is displayed according to the display state, which can prompt the user to select the firmware to be upgraded with a higher upgrade level among the at least two firmware to be upgraded, and instruct the user to send operation information to the firmware to be upgraded with a higher upgrade level.

[0132] In other embodiments, after the upgrade of the firmware to be upgraded is completed, the upgraded firmware to be upgraded can be in a second grayed-out style display state or a second smaller font display state; wherein the first grayed-out style and the second grayed-out style are different, and the first smaller font and the second smaller font are different, so as to distinguish whether the firmware to be upgraded is in an upgrade completion state or in a state of waiting for other firmware to be upgraded to be upgraded.

[0133] Step 403: Determine an upgrade instruction for upgrading at least two firmwares to be upgraded based on the upgrade information.

[0134] Exemplarily, the terminal device may determine an upgrade instruction for upgrading at least two firmwares to be upgraded in response to operation information of the user based on the upgrade information.

[0135] Step 404: Send an upgrade instruction to the electronic device.

[0136] Exemplarily, a cloud device may be provided for the terminal device to send a query instruction to the electronic device or directly send an upgrade instruction to the electronic device.

[0137] The firmware upgrade method of the embodiment of the present application is illustrated below with reference to an application example.

[0138] In this application example, by introducing the upgrade firmware type identification (for example, display class: A, main control class: B, indoor parameter class: C, outdoor program class: D, outdoor parameter class: E), the type identification can be obtained according to the coding information corresponding to the firmware function information; the firmware type upgrade priority is defined as E>D>C>B>A, or the firmware type upgrade priority is determined based on the subordinate relationship of the firmware function information. The firmware and the device establish a one-to-many relationship, that is, one firmware can correspond to multiple devices. For example, X air conditioner and Y air conditioner share A and C firmware, X air conditioner corresponds to B firmware, and Y air conditioner corresponds to B' firmware.

[0139] like Figure 5 As shown, the firmware upgrade method includes the following steps:

[0140] Step 501: The electronic control of the electronic device initiates a firmware version query to the cloud device via the WiFi module.

[0141] Step 502: The cloud device queries all upgradeable firmware of the electronic device.

[0142] Step 503: The cloud device notifies the WiFi module to download all firmware.

[0143] Step 504: After the electronic device has completed downloading the firmware, the electronic device displays the upgradeable firmware in the APP of the terminal device, and notifies the APP to prompt the user to upgrade the firmware.

[0144] For example, when the function of air conditioner X needs to be upgraded, three types of firmware, A, B, and C, are involved. According to the upgrade priority, C is upgraded first, then B, and finally A. The firmware C, B, and A are displayed in sequence according to the upgrade priority.

[0145] For example, when the Y air conditioner function needs to be upgraded, it involves two types of firmware, A and C. According to the upgrade priority, C is upgraded first, and then A. The C and A firmware are displayed in sequence according to the upgrade priority.

[0146] For example, when the Z air conditioning function needs to be upgraded, four types of firmware, A, B, D, and E, are involved. According to the upgrade priority, E is upgraded first, then D, then B, and finally A. The E, D, B, and A firmware are displayed in order according to the upgrade priority.

[0147] Step 505: The user clicks on the APP to highlight the firmware upgrade, and the firmware status shows that it is upgrading.

[0148] Step 506: After the upgrade is completed, the status is displayed as upgraded and the firmware is grayed out, and the next firmware is highlighted.

[0149] Step 507: After all firmware upgrades are completed, a new function guide is displayed.

[0150] The above upgrade process can be presented in task mode through the APP interface, guiding the user to complete all firmware upgrades in sequence.

[0151] For example, Figure 6 As shown, when the X air conditioner function is upgraded, the APP detects that the air conditioner firmware upgrade function has been released. The existing air conditioners need to perform multiple over-the-air technology (OTA) to use this function. When the module downloads all the firmware, the APP displays the firmware upgrade task, which is arranged in CBA order on the APP interface, and the C firmware upgrade prompt is highlighted. When the user clicks to upgrade the C firmware, the APP interface shows that the firmware is being upgraded, and it is expected to be completed in M ​​minutes. After the electronic control end returns the upgrade success status, it is updated to the APP interface. At this time, the C firmware status on the APP interface switches to upgraded and grayed out, and the B firmware is highlighted, guiding the user to click to upgrade. And so on. After all the firmware upgrades are completed, the novice guide for the new function is displayed.

[0152] This solution can solve the problem of different devices having upgrade sequence requirements for multiple firmware upgrade packages. It can present the firmware dependency upgrade relationship through APP guidance, so that the upgrade requirements can be met even if the upgrade package dependencies between different devices are different.

[0153] In a fourth aspect, in order to implement the method of the embodiment of the present application, the embodiment of the present application provides a firmware upgrade device, which is applied to a cloud device, such as Figure 7 As shown, the apparatus 700 includes:

[0154] A first determining module 701 is used to determine at least two firmwares to be upgraded corresponding to the electronic device according to version information of at least two firmwares in the electronic device;

[0155] The second determining module 702 is used to determine the upgrade information of the firmware to be upgraded based on the type information of the firmware to be upgraded; the upgrade information is used to indicate the upgrade order of the firmware to be upgraded;

[0156] The first sending module 703 is used to send the upgrade information to the terminal device; the upgrade information is also used to instruct the terminal device to determine the upgrade instruction; the upgrade instruction is used to instruct the electronic device to upgrade the firmware to be upgraded.

[0157] In some embodiments, the second determination module 702 is further configured to sort the at least two firmware to be upgraded according to the subordinate relationship between the type information to obtain a first sorting result; and determine the upgrade information based on the first sorting result.

[0158] In some embodiments, the second determination module 702 is further configured to sort the at least two firmware to be upgraded according to the level order of the type information to obtain a second sorting result; and determine the upgrade information based on the second sorting result.

[0159] In some embodiments, the first sending module 703 is further used to receive an upgrade instruction determined by the terminal device based on the upgrade information; and send the upgrade instruction to the electronic device.

[0160] In a fifth aspect, in order to implement the method of the embodiment of the present application, the embodiment of the present application provides a firmware upgrade device, which is applied to an electronic device, such as Figure 8 As shown, the device 800 includes:

[0161] The first receiving module 801 is used to receive an upgrade instruction determined based on upgrade information of at least two firmwares to be upgraded in the electronic device;

[0162] The upgrading module 802 is used to upgrade at least two firmwares to be upgraded in response to the upgrading instruction.

[0163] In some embodiments, the upgrade instruction includes at least a first instruction and a second instruction; the upgrade module 802 is also used to upgrade the first firmware to be upgraded that has the first upgrade order among at least two firmware to be upgraded in response to the first instruction; and to upgrade the second firmware to be upgraded that has the second upgrade order among at least two firmware to be upgraded in response to the second instruction.

[0164] In some embodiments, the upgrade instruction also includes a third instruction; the upgrade module 802 is further used to restart the electronic device in response to the third instruction.

[0165] In a sixth aspect, in order to implement the method of the embodiment of the present application, the embodiment of the present application provides a firmware upgrade device, which is applied to a terminal device, such as Fig. 9 As shown, the device 900 includes:

[0166] The second receiving module 901 is used to receive the upgrade information of each firmware to be upgraded of at least two firmwares to be upgraded determined by the cloud device according to the type information of the electronic device;

[0167] Display module 902, used for displaying at least two firmwares to be upgraded according to the upgrade information;

[0168] A third determining module 903 is used to determine an upgrade instruction for upgrading at least two firmwares to be upgraded based on the upgrade information;

[0169] The second sending module 904 is used to send an upgrade instruction to the electronic device.

[0170] In some embodiments, the display module 902 is further used to determine a display state corresponding to each firmware to be upgraded according to the upgrade information; and display each firmware to be upgraded according to the display state.

[0171] It should be noted that: when the firmware upgrade device provided in the above embodiment is controlled, only the division of the above program modules is used as an example. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the firmware upgrade device provided in the above embodiment and the aforementioned firmware upgrade method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0172] In a seventh aspect, based on the hardware implementation of the above-mentioned program module, and in order to implement the method on the cloud device side of the embodiment of the present application, the embodiment of the present application provides a cloud device, Fig.10 Only an exemplary structure of the cloud device is shown, not all structures, and can be implemented as needed. Fig.10 Partial or complete structure shown.

[0173] like Fig.10 As shown, the cloud device 1000 provided in the embodiment of the present application includes: at least one processor 1001, a memory 1002 and a user interface 1003. The various components in the cloud device 1000 are coupled together through a bus system 1004. It can be understood that the bus system 1004 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1004 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Fig.10 Various buses are labeled as bus system 1004 .

[0174] The user interface 1003 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch pad or a touch screen.

[0175] The memory 1002 in the embodiment of the present application is used to store various types of data to support the operation of the cloud device. Examples of such data include: any computer program used to operate on the cloud device.

[0176] The firmware upgrade method for the cloud device disclosed in the embodiment of the present application can be applied to the processor 1001, or implemented by the processor 1001. The processor 1001 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the firmware upgrade method for the cloud device can be completed by the hardware integrated logic circuit or software instructions in the processor 1001. The above-mentioned processor 1001 can be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 1001 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the memory 1002. The processor 1001 reads the information in the memory 1002 and completes the steps of the firmware upgrade method for the cloud device provided in the embodiment of the present application in combination with its hardware.

[0177] In an exemplary embodiment, the cloud device 1000 can be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), field programmable gate array (FPGA), general processor, controller, microcontroller (MCU), microprocessor, or other electronic components to execute the aforementioned method.

[0178] In an eighth aspect, based on the hardware implementation of the above program module, and in order to implement the method on the electronic device side of the embodiment of the present application, the embodiment of the present application provides an electronic device, Fig.11 Only an exemplary structure of the electronic device is shown, not all structures, and it can be implemented as needed. Fig.11 Partial or complete structure shown.

[0179] like Fig.11As shown, the electronic device 1100 provided in the embodiment of the present application includes: at least one processor 1101, a memory 1102 and a user interface 1103. The various components in the electronic device 1100 are coupled together through a bus system 1104. It can be understood that the bus system 1104 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1104 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Fig.11 Various buses are labeled as bus system 1104 .

[0180] The user interface 1103 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch pad or a touch screen.

[0181] The memory 1102 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program used to operate on the electronic device.

[0182] The firmware upgrade method of the electronic device disclosed in the embodiment of the present application can be applied to the processor 1101, or implemented by the processor 1101. The processor 1101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the firmware upgrade method of the electronic device can be completed by the hardware integrated logic circuit or software instructions in the processor 1101. The above-mentioned processor 1101 can be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 1101 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiment of the present application. The general-purpose processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the memory 1102, and the processor 1101 reads the information in the memory 1102, and completes the steps of the firmware upgrade method of the electronic device provided in the embodiment of the present application in combination with its hardware.

[0183] In an exemplary embodiment, the electronic device 1100 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general purpose processors, controllers, MCUs, Microprocessors, or other electronic components to perform the aforementioned methods.

[0184] In a ninth aspect, based on the hardware implementation of the above-mentioned program module, and in order to implement the method on the terminal device side of the embodiment of the present application, the embodiment of the present application provides a terminal device, Fig.12Only an exemplary structure of the terminal device is shown, not all structures, and can be implemented as needed. Fig.12 Partial or complete structure shown.

[0185] like Fig.12 As shown, the terminal device 1200 provided in the embodiment of the present application includes: at least one processor 1201, a memory 1202 and a user interface 1203. The various components in the terminal device 1200 are coupled together through a bus system 1204. It can be understood that the bus system 1204 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1204 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Fig.12 Various buses are labeled as bus system 1204.

[0186] The user interface 1203 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch pad or a touch screen.

[0187] The memory 1202 in the embodiment of the present application is used to store various types of data to support the operation of the terminal device. Examples of such data include: any computer program used to operate on the terminal device.

[0188] The firmware upgrade method of the terminal device disclosed in the embodiment of the present application can be applied to the processor 1201, or implemented by the processor 1201. The processor 1201 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the firmware upgrade method of the terminal device can be completed by the hardware integrated logic circuit or software instructions in the processor 1201. The above-mentioned processor 1201 can be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 1201 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiment of the present application. The general-purpose processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the memory 1202. The processor 1201 reads the information in the memory 1202 and completes the steps of the firmware upgrade method of the terminal device provided in the embodiment of the present application in combination with its hardware.

[0189] In an exemplary embodiment, the terminal device 1200 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general purpose processors, controllers, MCUs, Microprocessors, or other electronic components to perform the aforementioned methods.

[0190] It can be understood that the memory (memory 1002, memory 1102, memory 1202) can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAMbus random access memory (DRRAM, Direct Rambus Random Access Memory).The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.

[0191] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0192] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

[0193] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A firmware upgrade method, characterized in that: Applied to a cloud device, the method includes: Determine at least two firmwares to be upgraded corresponding to the electronic device according to version information of at least two firmwares in the electronic device; Determining upgrade information of the firmware to be upgraded based on the type information of the firmware to be upgraded; the upgrade information is used to indicate the upgrade order of the firmware to be upgraded; The upgrade information is sent to the terminal device; the upgrade information is also used to instruct the terminal device to determine an upgrade instruction; the upgrade instruction is used to instruct the electronic device to upgrade the firmware to be upgraded.

2. The method according to claim 1, characterized in that: The determining, based on the type information of the firmware to be upgraded, the upgrade information of the firmware to be upgraded includes: Sorting the at least two firmwares to be upgraded according to the subordinate relationship between the type information to obtain a first sorting result; The upgrade information is determined based on the first sorting result.

3. The method according to claim 1, characterized in that The determining, based on the type information of the firmware to be upgraded, the upgrade information of the firmware to be upgraded includes: Sorting the at least two firmwares to be upgraded according to the level order of the type information to obtain a second sorting result; The upgrade information is determined based on the second sorting result.

4. The method according to claim 1, characterized in that: After sending the upgrade information to the terminal device, the method further includes: receiving an upgrade instruction determined by the terminal device based on the upgrade information; The upgrade instruction is sent to the electronic device.

5. A firmware upgrade method, characterized in that: Applied to electronic equipment, the method comprises: Receiving an upgrade instruction determined based on upgrade information of at least two firmwares to be upgraded in the electronic device; In response to the upgrade instruction, the at least two firmwares to be upgraded are upgraded.

6. The method according to claim 5, characterized in that The upgrade instruction includes at least a first instruction and a second instruction; and in response to the upgrade instruction, upgrading the at least two firmwares to be upgraded includes: In response to the first instruction, upgrading a first firmware to be upgraded that has the highest upgrade order among the at least two firmware to be upgraded; In response to the second instruction, a second firmware to be upgraded that has a second upgrade order among the at least two firmware to be upgraded is upgraded.

7. The method according to claim 6, characterized in that The upgrade instruction further includes a third instruction; before upgrading the second firmware to be upgraded that has the second highest upgrade order among the at least two firmware to be upgraded, the method further includes: In response to the third instruction, the electronic device is restarted.

8. A firmware upgrade method, characterized in that: Applied to a terminal device, the method comprises: Receiving upgrade information of each firmware to be upgraded of at least two firmwares to be upgraded determined by the cloud device according to the type information of the electronic device; Displaying the at least two firmwares to be upgraded according to the upgrade information; Determine, based on the upgrade information, an upgrade instruction for upgrading the at least two firmwares to be upgraded; Sending the upgrade instruction to the electronic device.

9. The method according to claim 8, characterized in that The displaying of the at least two firmwares to be upgraded according to the upgrade information includes: Determine the display status corresponding to each firmware to be upgraded according to the upgrade information; Each firmware to be upgraded is displayed according to the display state.

10. A firmware upgrade device, characterized in that: Applied to cloud devices, the device comprises: A first determining module, configured to determine at least two firmwares to be upgraded corresponding to the electronic device according to version information of at least two firmwares in the electronic device; A second determining module, configured to determine the upgrade information of the firmware to be upgraded based on the type information of the firmware to be upgraded; the upgrade information is used to indicate the upgrade order of the firmware to be upgraded; The first sending module is used to send the upgrade information to the terminal device; the upgrade information is also used to instruct the terminal device to determine an upgrade instruction; the upgrade instruction is used to instruct the electronic device to upgrade the firmware to be upgraded.

11. A firmware upgrade device, characterized in that: Applied to electronic equipment, the device comprises: A first receiving module, configured to receive an upgrade instruction determined based on upgrade information of at least two firmwares to be upgraded in the electronic device; An upgrading module is used to upgrade the at least two firmwares to be upgraded in response to the upgrading instruction.

12. A firmware upgrade device, characterized in that: Applied to a terminal device, the device comprises: A second receiving module is used to receive the upgrade information of each firmware to be upgraded of at least two firmwares to be upgraded determined by the cloud device according to the type information of the electronic device; A display module, configured to display the at least two firmwares to be upgraded according to the upgrade information; A third determining module, configured to determine, based on the upgrading information, an upgrading instruction for upgrading the at least two firmwares to be upgraded; The second sending module is used to send the upgrade instruction to the electronic device.

13. A cloud device, characterized in that: include: a first processor and a first memory for storing a computer program executable on the processor, Wherein, when the first processor is used to run the computer program, the steps of the method described in any one of claims 1 to 4 are executed.

14. An electronic device, characterized in that: include: a second processor and a second memory for storing a computer program executable on the processor, Wherein, when the second processor is used to run the computer program, the steps of the method described in any one of claims 5 to 7 are executed.

15. A terminal device, characterized in that: include: a third processor and a third memory for storing a computer program executable on the processor, Wherein, the third processor is used to execute the steps of the method described in any one of claims 8 to 9 when running the computer program.

16. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements the steps of the method described in any one of claims 1 to 4, or implements the steps of the method described in any one of claims 5 to 7, or implements the steps of the method described in any one of claims 8 to 9.