Firmware updating method and device

A firmware update and firmware technology, which is applied in the communication field, can solve the problems of insufficient, unsupported TCP protocol, and increased FOTA code volume, etc., and achieve the effects of strong network anti-interference, reduced code volume, and less resource occupation.

Inactive Publication Date: 2019-06-18
ALIBABA GRP HLDG LTD
View PDF3 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Since the FOTA firmware update method needs to be supported by multiple network protocols, the code size of FOTA increases
On the other hand, many IoT terminals on the market that emphasize low power consumption and low cost do not support the TCP protocol and do not have enough resources to implement the TCP protocol and other protocols. On such devices, the conventional FOTA firmware update method cannot be implemented.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Firmware updating method and device
  • Firmware updating method and device
  • Firmware updating method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0084] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0085] refer to figure 1 , which shows a flowchart of the steps of an embodiment of a firmware update method of the present application, which may specifically include the following steps:

[0086] Step 101, obtaining firmware update version information;

[0087] Firmware (Firmware) is the execution program at the bottom layer of the terminal. When the terminal performs over-the-air firmware download, the terminal needs to obtain updated version information of the firmware.

[0088] In the embodiment of the present application, the terminal may first send the current version information of the firmware to the server based on the CoAP protocol. After receiving the current version information of the term...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a firmware updating method and device. The method comprises the steps of acquiring updated version information of firmware; determining a target data block forthe firmware of the updated version; sending an acquisition request for the target data block to a server based on a CoAP protocol; receiving a target data block returned by the server based on a CoAP protocol; judging whether a next data block for the firmware of the updated version exists or not; ifyes, returning to the step of determining the target data block for the firmware of the updated version, the target data block being the next data block; if not, it is determined that downloading of the firmware of the updated version is completed. The embodiment of the invention provides a firmware updating mode based on a CoAP protocol, so that a terminal gets rid of dependence on a TCP protocol, and the terminal which does not support the TCP protocol can also normally realize firmware updating. Moreover, the CoAP protocol is customized for the Internet of Things equipment with limited resources, so that the resource occupation is extremely small, and the network anti-interference performance is high.

Description

technical field [0001] The present application relates to the technical field of communications, and in particular to a firmware update method and a firmware update device. Background technique [0002] FOTA (Firmware Over-The-Air) is a firmware update method suitable for IoT terminals. [0003] In the traditional FOTA firmware update method, the firmware download is based on the TCP (Transmission Control Protocol, Transmission Control Protocol) protocol, and the version query and progress report also need to be based on a separate protocol, such as TCP, CoAP (Constrained Application Protocol, restricted application protocol) , MQTT (Message Queuing Telemetry Transport, Message Queuing Telemetry Transport), etc. This makes the Internet of Things terminal need to support multiple network protocols, and it is required to support the TCP protocol. [0004] Since the FOTA firmware update method needs to be supported by multiple network protocols, the code size of the FOTA incr...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/24H04L29/08H04W8/22H04W8/24
Inventor 张畋曾旭桂挺
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products