A method for updating terminal equipment program
A technology for updating programs and terminal equipment, applied in transmission systems, software deployment, electrical components, etc., can solve problems such as high operational complexity, leakage of important files, difficult operation, etc., to simplify the operation process and improve data security , the effect of process simplification
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2020-09-01
Smart Images

Figure 1
Abstract
Description
technical field
[0001] The invention relates to the field of industrial control equipment, in particular to a method for updating terminal equipment programs. Background technique
[0002] At present, in many industrial control equipment fields, the control terminal is generally a device with complex functions based on an operating system, which can flexibly and efficiently handle various complex functional tasks; while the terminal is generally a device with a single function based on a single-chip microcomputer, which is only suitable for processing some established tasks. Task. In specific usage scenarios, the terminals are generally installed in specific locations scatteredly, and are connected to the control terminal through control signal cables. After the installation is completed, unless necessary equipment failure maintenance or equipment replacement is performed, on-site operations are rarely performed, and On-site operation is more difficult. The terminal is gen...
Examples
Embodiment 1
[0040] A method for updating a terminal device program, comprising the following steps,
[0041] 1) Establish an encrypted internal communication mechanism
[0042] Customize a dedicated encrypted internal communication mechanism based on the serial communication between the control terminal and the terminal connection.
[0043] 2) Encryption and decoding
[0044] Encryption module: Encrypt the update package twice. For the encryption process of the update program package, you can choose to encrypt it directly at the manufacturer to effectively prevent the update data from leaking.
[0045] Decoding module: the decoding module is installed on the control terminal, and the decoding module communicates with the terminal through a serial port. This decoding module is to decrypt the secondary encryption in the update program package.
[0046] 3) Get the update package
[0047] Acquisition module: an acquisition module is integrated on the control terminal, and the acquisition...
Embodiment 2
[0060] The difference between this embodiment and Embodiment 1 is: Step 6) Divide the update program package into several data blocks, send and decrypt them in batches.
[0061] details as follows,
[0062] The control terminal divides the update program package into several data blocks and sends them to the terminal according to the storage space and memory size of the terminal;
[0063] The terminal receives the data block correspondingly multiple times, and the data block received each time is decrypted and verified by the decryption module; if the verification is successful, the data is partially updated; if the verification fails, the data block received this time is discarded ;
[0064] Repeat receiving, decrypting and verifying until the file is received. After the file is received, the terminal verifies the integrity of the update package through the decryption module. If the integrity verification is successful, the program update is successful; if the integrity ve...