Remote firmware upgrading method for Internet-of-Things terminal equipment with master-slave machine structure

A firmware upgrade and firmware technology, which is applied in software deployment, electrical components, data exchange networks, etc., can solve problems such as sub-device firmware damage, abnormal interruption, and inability to run firmware, achieving high stability and avoiding waste.

Active Publication Date: 2021-06-04
CHINA ELECTRONIC TECH GRP CORP NO 38 RES INST
View PDF12 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this case, it seems that the upgrade is successful, but the firmware cannot be run after the sub-device restarts
[0009] (2) Abnormal interruption during the upgrade interaction between the main device and the sub-device, such as an unexpected power failure

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
  • Remote firmware upgrading method for Internet-of-Things terminal equipment with master-slave machine structure
  • Remote firmware upgrading method for Internet-of-Things terminal equipment with master-slave machine structure
  • Remote firmware upgrading method for Internet-of-Things terminal equipment with master-slave machine structure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] Embodiment 1 Master-slave serial connection

[0050] figure 1 The system structure of Embodiment 1 of the present invention is shown, and the system includes a host and several slaves; wherein the host has a wireless communication module and a serial communication interface; the slave has two serial communication interfaces; each host and The slave has two program memories and one nonvolatile memory. The host can communicate with the Internet server through the wireless communication module, and communicate with the slave through the serial communication interface;

[0051] figure 2 Displays the data content in the first program memory, which is composed of device parameters and BOOT program (boot program). The device parameters include at least a device ID and an APP program update flag (firmware update flag), and are placed in a specified location in the first program memory.

[0052] image 3 shows the data content in the second program memory, Figure 4 is th...

Embodiment 2

[0099]Embodiment 2 master-slave parallel connection

[0100] Figure 15 The embodiment in which the master-slave machine adopts the parallel communication mode in the patent of the present invention is given. In this embodiment, the system includes a host and several slaves; wherein the host has a wireless communication module and a local communication interface; the slave has a local communication interface; each host and slave have two program memories and a nonvolatile memory.

[0101] In this embodiment, the master and slave use a local area communication interface for parallel communication, and the local area communication interface may be, but not limited to, a WIFI / LoRa / ZigBee / RS485 / CAN / I2C interface. The upstream device of each slave is the master, and each slave no longer has a downstream device.

[0102] In this embodiment, the remote firmware upgrade method of the host is exactly the same as the method in Embodiment 1.

[0103] In this embodiment, the remote fi...

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 invention discloses a remote firmware upgrading method for Internet-of-Things terminal equipment with a master-slave structure. The method at least comprises a host and a plurality of slaves, the slaves are in serial or parallel communication connection with the host, each host or slave at least comprises two program memories and one nonvolatile memory, and the first program memory is used for storing equipment parameters and bootstrap programs; the second program memory is used for storing firmware; the nonvolatile memory is used for caching and backing up equipment firmware; the host acquires a firmware upgrading data packet and transmits the firmware upgrading data packet to each slave according to needs, and the firmware upgrading data packet is stored in the nonvolatile memory at the same time; before the firmware in the second program memory is updated, the firmware in the nonvolatile memory is verified, so that the wrong firmware is prevented from being upgraded into the equipment; and before the firmware in the second program memory is operated, the program firmware in the second program memory is verified, so that the failure of equipment operation at the time caused by the failure of firmware upgrading at the last time is prevented, and the condition of'waste chips' is effectively avoided.

Description

technical field [0001] The invention relates to the technical field of remote firmware upgrade, in particular to a remote firmware upgrade method for an Internet of Things terminal device with a master-slave structure. Background technique [0002] With the development of the Internet of Things technology, the number of smart terminal devices has increased dramatically. For installed terminal devices, if a functional software loophole is found during use, the firmware of the terminal device needs to be upgraded. If technicians go to the installation site to manually upgrade the firmware of the device, the huge number of devices will result in huge maintenance costs. The technology of remote firmware upgrade (also known as over-the-air upgrade) of terminal equipment has become particularly important. Terminal equipment basically has communication functions and can be directly or indirectly connected to the Internet. Batch and programmed firmware upgrade of remote terminal e...

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
IPC IPC(8): H04L12/24H04L29/08G16Y30/00G06F8/65
CPCH04L41/082H04L67/06H04L67/12G16Y30/00G06F8/65
Inventor 侯其立黎川汪兴汪洋邱志刚郭晓明顾立春王晨辰雷鸣叶振宇唐李洋丁茜
Owner CHINA ELECTRONIC TECH GRP CORP NO 38 RES INST
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