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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
