Firmware upgrading method and electronic equipment

By communicating between home devices and the cloud, device parameters are automatically reported and firmware download addresses are obtained, solving the problem of improper firmware version management for smart home products and achieving efficient and accurate firmware upgrades.

CN121658032APending Publication Date: 2026-03-13GUANGDONG WANHE THERMAL ENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-17
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

In existing technologies, firmware version management for smart home products is difficult to control effectively, leading to firmware upgrade or update errors and reducing upgrade efficiency.

Method used

After the home appliances connect to the cloud, they automatically report their device parameters. The cloud analyzes the current firmware information and generates a firmware download address. The home appliances then use this address to obtain the target product firmware for upgrades.

Benefits of technology

This improves the accuracy and efficiency of firmware upgrades, ensuring that home devices can automatically obtain and upgrade to the latest target product firmware.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121658032A_ABST
    Figure CN121658032A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of smart home, and discloses a firmware upgrading method and electronic equipment, comprising: if a home device is in communication connection with a cloud, sending device parameters of the home device to the cloud, the device parameters comprising a physical address and current firmware information; if a firmware downloading address sent by the cloud end is received within the preset duration, target product firmware is obtained based on the firmware downloading address, and the firmware downloading address is sent by the cloud end based on the current firmware type obtained by analyzing the current firmware information of the home equipment; and performing firmware upgrading based on the target product firmware. According to the method, after the home equipment is connected with the cloud, the equipment parameters can be automatically reported, so that the firmware downloading address sent by the cloud is received under the condition that the firmware needs to be upgraded, the target product firmware is obtained according to the firmware downloading address, then firmware upgrading is carried out, and the accuracy and efficiency of firmware upgrading are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of smart home technology, and in particular to a firmware upgrade method and an electronic device. Background Technology

[0002] With the development of IoT technology, the types and models of smart home products are increasing daily, along with the corresponding firmware versions. In this technology, firmware is managed by upstream suppliers, and terminal manufacturers cannot effectively control firmware versions, which can easily lead to firmware upgrades or updates being incorrect. Therefore, improving the accuracy of firmware upgrades or updates is a pressing issue that needs to be addressed. Summary of the Invention

[0003] The technical problem solved by this invention is to provide a firmware upgrade method and an electronic device, which effectively solves the problem of low efficiency in terminal firmware upgrades.

[0004] The above-mentioned technical problems are solved by the following technical solutions: A firmware upgrade method, applied to a home appliance, the home appliance storing basic firmware, the method comprising: If the home device establishes a communication connection with the cloud, it sends the device parameters of the home device to the cloud. The device parameters include the physical address and the current firmware information. If a firmware download address is received from the cloud within a preset time period, the firmware of the target product is obtained based on the firmware download address. The firmware download address is sent by the cloud based on the current firmware type obtained by analyzing the current firmware information of the home device. Perform firmware upgrades based on the target product firmware. Compared with the prior art, the firmware upgrade method of this invention has the following advantages: Applied to home appliances, which store basic firmware, if the home appliance establishes a communication connection with the cloud, it sends device parameters to the cloud, including the physical address and current firmware information. If a firmware download address is received from the cloud within a preset time period, the target product firmware is obtained based on the firmware download address, where the firmware download address is issued by the cloud based on the current firmware type obtained from analyzing the current firmware information of the home appliance. Firmware upgrade is then performed based on the target product firmware. In this method, after connecting to the cloud, the home appliance can automatically report its device parameters, thereby receiving the firmware download address sent by the cloud when a firmware upgrade is needed, obtaining the target product firmware based on the firmware download address, and then performing a firmware upgrade, thus improving the accuracy and efficiency of firmware upgrades.

[0005] In one embodiment, the method further includes: If the firmware download address sent by the cloud is not received within the preset time period, the firmware upgrade will end.

[0006] In one embodiment, after the firmware upgrade based on the target product firmware, the method further includes: Restart the home appliance and establish a communication connection with the cloud after restarting; Send the physical address and current firmware information to the cloud; Receive the verification result of the current firmware information sent by the cloud; If the verification result indicates that the current firmware information is consistent with the firmware information stored in the cloud, then a success message indicating that the firmware upgrade was successful is sent to the cloud.

[0007] In one embodiment, after receiving the verification result of the current firmware information sent by the cloud, the method further includes: If the verification result indicates that the current firmware information is inconsistent with the firmware information stored in the cloud, then the firmware download address sent by the cloud is received within a preset time period, and the target product firmware is obtained based on the firmware download address. Perform firmware upgrades based on the target product firmware.

[0008] A firmware upgrade method, applied in the cloud, the method comprising: Receive device parameters sent by home appliances, the device parameters including at least physical address and current firmware information; Analyze the current firmware information to obtain the current firmware type of the home device; Based on the current firmware type, a firmware download address is sent to the home device so that the home device can obtain the target product firmware based on the firmware download address and perform a firmware upgrade based on the target product firmware.

[0009] In one embodiment, if the current firmware type is basic firmware, sending the firmware download address to the home device based on the current firmware type includes: Verify the physical address of the home device to determine whether the target product firmware of the home device is stored locally in the cloud; If the target product firmware of the home device is stored locally in the cloud, then the firmware download address is sent to the home device.

[0010] In one embodiment, if the current firmware type is product firmware, sending the firmware download address to the home device based on the current firmware type includes: The current firmware information of the home device is compared with the firmware information stored locally in the cloud. The current firmware information includes at least the product information, product firmware version, hardware version, and product cloud address of the home device. If the current firmware information is inconsistent with the locally stored firmware information, then a firmware download address is sent to the home device.

[0011] In one embodiment, after comparing the current firmware information of the home device with locally stored firmware information, the method further includes: If the current firmware information is consistent with the locally stored firmware information, a firmware upgrade success command is sent to the home device.

[0012] A firmware upgrade method, the method comprising: If the home device establishes a communication connection with the cloud, it sends the device parameters of the home device to the cloud. The device parameters include the physical address and the current firmware information. The cloud analyzes the current firmware information of the home device to obtain the current firmware type of the home device, and sends the firmware download address to the home device based on the current firmware type; If the home device receives the firmware download address sent by the cloud within a preset time period, the target product firmware is obtained based on the firmware download address; The home appliance undergoes a firmware upgrade based on the target product's firmware.

[0013] An electronic device, comprising: The system includes a memory and a processor, which are interconnected. The memory stores computer instructions, and the processor executes these computer instructions to perform the firmware upgrade method described above. Attached Figure Description

[0014] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0015] Figure 1 This is a flowchart illustrating a firmware upgrade method according to an embodiment of the present invention; Figure 2 This is a flowchart illustrating a firmware upgrade method according to an embodiment of the present invention; Figure 3 This is a schematic diagram of an electronic device according to an embodiment of the present invention. Detailed Implementation

[0016] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0017] In the description of this application, it should be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.

[0018] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.

[0019] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection between two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0020] According to an embodiment of the present invention, a firmware upgrade method is provided, applied to home appliances. The home appliance stores basic firmware, which is a general-purpose low-level software pre-burned into the home appliance, including the basic firmware version, hardware version, and basic upgrade platform address. It consists of a network module, an information storage module, a communication module, and a firmware upgrade module. The network module can search for and connect to a default WiFi hotspot after the home appliance is powered on, and access the basic upgrade platform address after the home appliance is connected to the network. The information storage module stores information such as the basic firmware version, hardware version, basic upgrade cloud address, WiFi hotspot name, and password. The communication module reports the current firmware information and physical address to the cloud, and transmits data with the MCU on the control board. The firmware upgrade module parses, installs, and verifies newly downloaded firmware. Figure 1 This is a flowchart of a firmware upgrade method according to an embodiment of the present invention, such as... Figure 1 As shown, the process includes the following steps: Step S101: If the home device establishes a communication connection with the cloud, send the device parameters of the home device to the cloud.

[0021] The device parameters include the physical address and current firmware information. After the home appliance is powered on, its internally stored basic firmware begins running, enabling the device to connect to the local area network (LAN) and establish a communication connection with a remote firmware management and distribution platform (i.e., the cloud). After establishing a communication connection with the cloud, the home appliance sends device parameters to the cloud via its communication module. These parameters identify the home appliance's identity and status, including its physical address (e.g., MAC address (Media Access Control Address, LAN address)) and current firmware information. The current firmware information includes the current firmware type in the home appliance, which can be either basic firmware or product firmware.

[0022] Step S102: If a firmware download address is received from the cloud within a preset time period, the firmware of the target product is obtained based on the firmware download address.

[0023] The firmware download address is generated by the cloud based on analysis of the current firmware information of the home appliance, determining the current firmware type. After the home appliance sends its device parameters to the cloud, the cloud first analyzes the current firmware information within those parameters to determine whether the device is running only basic firmware or also includes product firmware. Based on this determination, the cloud further queries its locally stored database for the product model and target firmware version information pre-bound to the home appliance's physical address. If the query is successful, the cloud generates the corresponding target product firmware download address and sends it to the device. If the home appliance receives this address within a preset timeframe, its firmware upgrade module will download the complete data package of the target product firmware from the specified network location using that address.

[0024] If the current firmware information only includes basic firmware information, then the current firmware type is determined to be basic firmware. If the current firmware information also includes product firmware information, then the current firmware type is determined to be product firmware.

[0025] Step S103: Upgrade the firmware based on the target product firmware.

[0026] After the target product firmware data package is downloaded, the home appliance device performs integrity verification and security analysis on the downloaded data package to ensure it is compatible with the device. Then, it upgrades the old firmware stored in the device's memory. The upgrade operation includes erasing and writing to the firmware storage partition. After the upgrade, the home appliance device stores the latest target product firmware.

[0027] The firmware upgrade method provided in this invention is applied to home appliances. The home appliances store basic firmware. If the home appliances establish a communication connection with the cloud, they send device parameters to the cloud, including the physical address and current firmware information. If a firmware download address is received from the cloud within a preset time period, the target product firmware is obtained based on the firmware download address. The firmware download address is issued by the cloud based on the current firmware type determined by analyzing the current firmware information of the home appliances. A firmware upgrade is then performed based on the target product firmware. In this method, after connecting to the cloud, the home appliances can automatically report device parameters, thereby receiving the firmware download address sent by the cloud when a firmware upgrade is needed, obtaining the target product firmware based on the firmware download address, and then performing a firmware upgrade, thus improving the accuracy and efficiency of firmware upgrades.

[0028] In some optional implementations, the method further includes: if the firmware download address sent by the cloud is not received within a preset time period, then the firmware upgrade is terminated.

[0029] After a home appliance sends its device parameters to the cloud, the cloud checks its database for matching information. This includes checking if the device's physical address, product model, or firmware version is pre-stored. If not, the cloud will not send a firmware download link. In this scenario, if the home appliance does not receive a firmware download link after a preset time, it indicates that the device has not yet been registered with the cloud.

[0030] After the home appliances send device parameters to the cloud, if there is a temporary failure of the cloud server or network communication interruption, the home appliances can end the firmware upgrade process after waiting for a preset time. That is, they can exit in time when they cannot interact with the platform normally, so as to avoid affecting the processing efficiency due to excessive waiting.

[0031] The preset duration is set according to actual needs. Optionally, the preset duration is set to 3 minutes. In some optional implementations, after step S103 above, the method further includes: Step S201: Restart the home appliances and establish a communication connection with the cloud after restarting.

[0032] After the target product firmware is written, the home appliance's control system triggers a hard reboot or system reset. The reboot signal resets the device's central processing unit (CPU) and reloads and executes the firmware from the program's start address in memory. After rebooting, the home appliance runs the target product firmware, reconnects to the local area network via the networking module, and establishes a communication connection with the cloud.

[0033] Step S202: Send the physical address and current firmware information to the cloud.

[0034] After establishing a communication connection with the cloud, the home device sends its current firmware information and physical address to the cloud. This step is identical to step S101.

[0035] Step S203: Receive the verification result of the current firmware information sent by the cloud.

[0036] After the home appliance sends its physical address and current firmware information, it waits for a response from the cloud. Upon receiving the physical address and current firmware information, the cloud executes a verification logic: it compares the version number in the current firmware information sent by the home appliance with a preset target firmware version number stored in the cloud that corresponds to the physical address of the home appliance, generating a verification result. The cloud then sends this verification result to the home appliance, which receives it via a communication link.

[0037] Step S204: If the verification result indicates that the current firmware information is consistent with the firmware information stored in the cloud, then send a success message to the cloud to indicate that the firmware upgrade was successful.

[0038] If the verification result indicates that the current firmware information of the home device is consistent with the firmware information stored in the cloud, it means that the firmware of the home device is the latest version. In this case, the home device will actively send a predefined message to the cloud to indicate that the firmware upgrade was successful, i.e., a success message.

[0039] In some alternative implementations, after step S203 above, the method further includes: Step S205: If the verification result indicates that the current firmware information is inconsistent with the firmware information stored in the cloud, then within a preset time period, receive the firmware download address sent by the cloud, and obtain the target product firmware based on the firmware download address.

[0040] If the cloud verification determines that the current firmware information of the home device is inconsistent with the firmware information stored in the cloud, it indicates that the local firmware of the home device has not been upgraded to the latest firmware version. The cloud sends a firmware download address to the home device. If the home device receives this address within a preset time, its firmware upgrade module will download the complete data package of the target product firmware from the specified network location based on this address.

[0041] Step S206: Upgrade the firmware based on the target product firmware.

[0042] After the target product firmware data package is downloaded, the home appliance device performs integrity verification and security analysis on the downloaded data package to ensure it is compatible with the device. Then, it upgrades the old firmware stored in the device's memory. The upgrade operation includes erasing and writing to the firmware storage partition. After the upgrade, the home appliance device stores the latest target product firmware.

[0043] According to embodiments of the present invention, a firmware upgrade method is provided, applied in the cloud. The cloud database stores the latest product firmware corresponding to home appliances at various physical addresses. The product firmware includes product information, firmware version, hardware version, and cloud address. The home appliances also include an information storage module, a network module, a communication module, an upgrade module, and a data parsing module. The information storage module is used to read firmware information, product information, physical address, WiFi hotspot name and password, and cloud address. The network module is used to search for and connect to the stored specified WiFi hotspots. The communication module is used to send firmware information, product information, physical address, and OTA firmware (a firmware package that can be directly downloaded and installed on the device via a wireless network) to the cloud backend, as well as to report and receive device control information. The upgrade device verifies whether the firmware sent from the cloud is correct; if correct, it overwrites the old firmware stored in the MCU with the new firmware. The function parsing module receives information from the home appliances, parses it, forwards it to the communication module, and receives information from the communication module, parses it, and forwards the information to the home appliances.

[0044] Figure 2 This is a flowchart of a firmware upgrade method according to an embodiment of the present invention, such as... Figure 2 As shown, the process includes the following steps: Step S301: Receive device parameters sent by home appliances.

[0045] The device parameters include at least the physical address and current firmware information. After the home appliance is powered on, its internally stored basic firmware begins running, enabling the device to connect to the local area network (LAN) and establish a communication connection with a remote firmware management and distribution platform (i.e., the cloud). After establishing a communication connection with the cloud, the home appliance sends device parameters to the cloud via its communication module. These parameters identify the home appliance's identity and status, including its physical address (e.g., MAC address (Media Access Control Address, LAN address)) and current firmware information. The current firmware information includes the current firmware type in the home appliance, which can be either basic firmware or product firmware.

[0046] Step S302: Analyze the current firmware information to obtain the current firmware type of the home device.

[0047] After a home appliance sends its device parameters to the cloud, the cloud first analyzes the current firmware information within those parameters. This analysis determines whether the device is running only basic firmware or also includes product firmware. Based on this determination, the cloud further queries its locally stored database for the product model and target firmware version information pre-bound to the device's physical address. If the current firmware information only includes basic firmware, it is determined to be basic firmware; otherwise, it is determined to be product firmware.

[0048] Step S303: Send a firmware download address to the home device based on the current firmware type, so that the home device can obtain the target product firmware based on the firmware download address and perform firmware upgrade based on the target product firmware.

[0049] After determining the current firmware type, if it's basic firmware, a firmware download address is sent to the home appliance. If it's product firmware, the system analyzes whether the product firmware on the home appliance matches the product firmware stored in the cloud. If they don't match, a firmware download address is sent to the home appliance. If the home appliance receives this address within a preset time, its firmware upgrade module will download the complete data package of the target product firmware from the specified network location based on that address. After the target product firmware data package is downloaded, the home appliance performs integrity verification and security analysis on the downloaded data package to ensure it's suitable for the device. Then, it upgrades the old firmware stored in the device's memory. The upgrade operation includes erasing and writing to the firmware storage partition. After the upgrade, the home appliance stores the latest target product firmware.

[0050] In some optional implementations, if the current firmware type is basic firmware, the step S303 above, which involves sending the firmware download address to the home device based on the current firmware type, includes: verifying the physical address of the home device to determine whether the target product firmware of the home device is stored locally in the cloud; if the target product firmware of the home device is stored locally in the cloud, then sending the firmware download address to the home device.

[0051] The cloud verifies the physical address of the home appliance and determines whether its database stores the product firmware associated with that physical address, i.e., the target product firmware. The target product firmware is the latest version of the firmware available for the home appliance stored in the cloud. If the cloud stores the target product firmware locally, it sends the firmware download address to the home appliance.

[0052] In some optional implementations, if the current firmware type is product firmware, the step S303 above, which involves sending the firmware download address to the home device based on the current firmware type, includes: comparing the current firmware information of the home device with the firmware information stored locally in the cloud; if the current firmware information is inconsistent with the locally stored firmware information, then sending the firmware download address to the home device.

[0053] The current firmware information includes at least the product information of the home appliance, the product firmware version, the hardware version, and the product cloud address. If the current firmware type is product firmware, it means that the home appliance has product firmware stored. By comparing the current firmware information of the home appliance with the firmware information stored locally in the cloud, it is determined whether the product firmware of the home appliance is the latest version. If the current firmware information is inconsistent with the locally stored firmware information, it means that the product firmware of the home appliance is not the latest version and needs to be upgraded. Therefore, the cloud sends the firmware download address to the home appliance.

[0054] In some alternative implementations, after comparing the current firmware information of the home device with the locally stored firmware information, the method further includes: if the current firmware information matches the locally stored firmware information, then sending a firmware upgrade success command to the home device.

[0055] If the current firmware information matches the locally stored firmware information, it indicates that the home appliance's product firmware is the latest version and does not require an upgrade. In this case, a command is sent to the home appliance to indicate that the firmware upgrade was successful.

[0056] According to an embodiment of the present invention, a firmware upgrade method is provided, comprising: if a home appliance is connected to the cloud, sending device parameters of the home appliance to the cloud, the device parameters including a physical address and current firmware information; the cloud analyzing the current firmware information of the home appliance to obtain the current firmware type of the home appliance, and sending a firmware download address to the home appliance based on the current firmware type; if the home appliance receives the firmware download address sent by the cloud within a preset time period, obtaining the target product firmware based on the firmware download address; and the home appliance performing a firmware upgrade based on the target product firmware.

[0057] Once the home appliance is powered on, its internally stored firmware begins running, enabling it to connect to the local area network and establish a communication connection with the cloud. After establishing this connection, the home appliance sends device parameters to the cloud via its communication module. These parameters identify the device and its status, including its physical address and current firmware information. The current firmware information includes the current firmware type, which can be either basic firmware or product firmware.

[0058] After the home appliance sends its device parameters to the cloud, the cloud first analyzes the current firmware information within those parameters. It analyzes the firmware type to determine whether the home appliance is currently running only basic firmware or also includes product firmware. Based on this determination, the cloud further queries its locally stored database for the product model and target firmware version information pre-bound to the home appliance's physical address. If the query is successful, the cloud generates the corresponding firmware download address for the target product firmware and sends it to the device. If the home appliance receives this address within a preset timeframe, its firmware upgrade module will download the complete data package of the target product firmware from the specified network location based on that address.

[0059] After the target product firmware data package is downloaded, the home appliance device performs integrity verification and security analysis on the downloaded data package to ensure it is compatible with the device. Then, it upgrades the old firmware stored in the device's memory. The upgrade operation includes erasing and writing to the firmware storage partition. After the upgrade, the home appliance device stores the latest target product firmware.

[0060] Please see Figure 3, Figure 3 This is a schematic diagram of the structure of an electronic device provided in an optional embodiment of the present invention, such as... Figure 3 As shown, the electronic device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise as required. The processors can process instructions executed within the electronic device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple electronic devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 3 Take a processor 10 as an example.

[0061] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.

[0062] The memory 20 stores instructions executable by at least one processor 10 to cause the at least one processor 10 to perform the method shown in the above embodiments.

[0063] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the electronic device. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, and these remote memories may be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0064] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.

[0065] The electronic device also includes a communication interface 30 for communicating with other devices or communication networks.

[0066] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.

[0067] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.

[0068] In the specific implementation of the above embodiments, the technical features can be combined in any non-contradictory way. For the sake of brevity, not all possible combinations of the above technical features are described. However, as long as the combination of these technical features is not contradictory, it should be considered to be within the scope of this specification.

[0069] The specific embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention. Therefore, the scope of protection of this patent should be determined by the appended claims.

Claims

1. A firmware upgrade method, characterized in that, Applied to home appliances, the home appliances storing basic firmware, the method includes: If the home device establishes a communication connection with the cloud, it sends the device parameters of the home device to the cloud. The device parameters include the physical address and the current firmware information. If a firmware download address is received from the cloud within a preset time period, the firmware of the target product is obtained based on the firmware download address. The firmware download address is sent by the cloud based on the current firmware type obtained by analyzing the current firmware information of the home device. Perform firmware upgrades based on the target product firmware.

2. The firmware upgrade method according to claim 1, characterized in that, The method further includes: If the firmware download address sent by the cloud is not received within the preset time period, the firmware upgrade will end.

3. The firmware upgrade method according to claim 1, characterized in that, After performing a firmware upgrade based on the target product firmware, the method further includes: Restart the home appliance and establish a communication connection with the cloud after restarting; Send the physical address and current firmware information to the cloud; Receive the verification result of the current firmware information sent by the cloud; If the verification result indicates that the current firmware information is consistent with the firmware information stored in the cloud, then a success message indicating that the firmware upgrade was successful is sent to the cloud.

4. The firmware upgrade method according to claim 3, characterized in that, After receiving the verification result of the current firmware information sent by the cloud, the method further includes: If the verification result indicates that the current firmware information is inconsistent with the firmware information stored in the cloud, then the firmware download address sent by the cloud is received within a preset time period, and the target product firmware is obtained based on the firmware download address. Perform firmware upgrades based on the target product firmware.

5. A firmware upgrade method, characterized in that, Applied to the cloud, the method includes: Receive device parameters sent by home appliances, the device parameters including at least physical address and current firmware information; Analyze the current firmware information to obtain the current firmware type of the home device; Based on the current firmware type, a firmware download address is sent to the home device so that the home device can obtain the target product firmware based on the firmware download address and perform a firmware upgrade based on the target product firmware.

6. The firmware upgrade method according to claim 5, characterized in that, If the current firmware type is basic firmware, the step of sending the firmware download address to the home device based on the current firmware type includes: Verify the physical address of the home device to determine whether the target product firmware of the home device is stored locally in the cloud; If the target product firmware of the home device is stored locally in the cloud, then the firmware download address is sent to the home device.

7. The firmware upgrade method according to claim 5, characterized in that, If the current firmware type is product firmware, the step of sending the firmware download address to the home device based on the current firmware type includes: The current firmware information of the home device is compared with the firmware information stored locally in the cloud. The current firmware information includes at least the product information, product firmware version, hardware version, and product cloud address of the home device. If the current firmware information is inconsistent with the locally stored firmware information, then a firmware download address is sent to the home device.

8. The firmware upgrade method according to claim 7, characterized in that, After comparing the current firmware information of the home device with the locally stored firmware information, the method further includes: If the current firmware information is consistent with the locally stored firmware information, a firmware upgrade success command is sent to the home device.

9. A firmware upgrade method, characterized in that, The method includes: If the home device establishes a communication connection with the cloud, it sends the device parameters of the home device to the cloud. The device parameters include the physical address and the current firmware information. The cloud analyzes the current firmware information of the home device to obtain the current firmware type of the home device, and sends the firmware download address to the home device based on the current firmware type; If the home device receives the firmware download address sent by the cloud within a preset time period, the target product firmware is obtained based on the firmware download address; The home appliance undergoes a firmware upgrade based on the target product's firmware.

10. An electronic device, characterized in that, include: A memory and a processor are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to perform the firmware upgrade method according to any one of claims 1 to 4, any one of claims 5 to 8, or the firmware upgrade method according to claim 9.