Unlock instant, AI-driven research and patent intelligence for your innovation.

TCP-protocol-based firmware upgrading method, electronic device, and storage medium

A firmware upgrade and equipment technology, applied in electrical components, digital transmission systems, transmission systems, etc., can solve the problem of unreliable transmission firmware and achieve the effect of reliable transmission relationship

Inactive Publication Date: 2018-01-30
深圳益邦阳光有限公司
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to overcome the deficiencies in the prior art, one of the purposes of the present invention is to provide a firmware upgrade method based on the TCP protocol, which can solve the problem of unreliable transmission of firmware in the prior art

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
  • TCP-protocol-based firmware upgrading method, electronic device, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Below, in conjunction with accompanying drawing and specific embodiment, the present invention is described further:

[0031] The present invention provides a firmware upgrade method based on the TCP protocol. The application scenario is that multiple devices are respectively connected to a remote server based on the TCP protocol through corresponding data collectors. Such as figure 1 described, including the following steps:

[0032] S1: Receive a firmware upgrade command sent from a remote server in a preset message format, the preset message format is composed of a message header, a function code and a data area arranged in sequence;

[0033] In this embodiment, the method is applied in the data collector, the function code and the data area form a PDU, and the message header is 7 bytes, and the message header includes a 2-byte message number, a 2-byte device code, 2-byte data length and 1-byte device address. The message code is produced by the server to distingui...

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 TCP-protocol-based firmware upgrading method. The method comprises: a firmware upgrading command that is sent by a remote server in a preset message format is received, wherein the preset message format is formed by successive connection of a message header, a function code and a data area; a response is fed back to the remote server in a preset message format, wherein the response is one of a success, a failure and an error; when the response is the success, the upgrading is carried out; and an equipment upgrading instruction sent by the remote server in a preset message format is received and then firmware upgrading is carried out on all devices with the type or a specific device of an address corresponding to the message header. According to the invention, theremote server is used as a main device and the data collection device is used as a slave device; and the remote server and the data collection device carry out multi-times handshake responses to forma reliable transmission relationship.

Description

technical field [0001] The invention relates to a firmware burning technology, in particular to a TCP protocol-based firmware upgrade method, electronic equipment and a storage medium. Background technique [0002] In the communication application of industrial equipment, the Modbus protocol has become the de facto industrial standard. It is a standard, open, and message-oriented protocol, which formulates a common format for message domain structure and content. The Modbus protocol has three transmission modes, namely ASXII, RTU and TCP. According to the communication stack, users only need to care about the data in the application layer, and the transport layer and network layer adopt the mature and reliable TCP / IP protocol stack. The application scenario of the TCP protocol is that the data collector collects the operating data of each device, and then receives the query and setting instructions of the server through the TCP protocol. [0003] The original firmware pro...

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/06
Inventor 孟祥梯
Owner 深圳益邦阳光有限公司