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

CN107329787BActive Publication Date: 2020-09-01广州市鸿远电子科技有限公司
4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2020-09-01

Smart Images

  • Figure 1
    Figure 1
Patent Text Reader

Abstract

The invention discloses a method for updating a program of a terminal device. The method comprises the following steps that firstly, an encrypted internal communication mechanism is built; secondly, encryption and decoding are conducted; thirdly, an update package is obtained; fourthly, synchronization and recognition are conducted; fifthly, an update status is prepared; sixthly, update and upgrade are conducted. The method has the advantages of being high in security, simple in operation, high in efficiency and the like.
Need to check novelty before this filing date? Find Prior Art

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...