A method for generating a tamper-proof program file and a method for upgrading equipment

A program file and file technology, which is applied in the direction of program code conversion, software engineering design, software deployment, etc., can solve problems such as inability to ensure program files, upgrade failures, etc., and achieve tamper-proof problems, less resource requirements, and avoid abnormal operation Effect

Active Publication Date: 2021-06-08
GREE ELECTRIC APPLIANCES INC
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In order to solve the technical problem in the prior art that the upgrade fails due to the inability to ensure that the program file is correct when performing segmented upgrades on devices with a shortage of storage space, the present invention proposes a method for generating a tamper-proof program file and an upgrade method for devices

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
  • A method for generating a tamper-proof program file and a method for upgrading equipment
  • A method for generating a tamper-proof program file and a method for upgrading equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The principles and embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0031] The technical solution provided by the invention is mainly aimed at the program upgrade of embedded devices with scarce controller resources, that is, there is no redundant storage space, and the server is unconditionally deployed at the same time. By formulating a corresponding agreement between the host computer and the device to be upgraded, the relevant information of the device to be upgraded, including the name, model, and program version number of the character or character string as the identification code of the program file, and the content of the program file The checksum of the code is compiled at a fixed address in the program file. When upgrading, when the device to be upgraded receives part of the program files, obtain the corresponding identification code and check code, and after all verifications are passed, ...

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 method for generating a tamper-proof program file and a method for upgrading equipment. The method for generating a program file includes the steps of: compiling an identification code used to identify the program file at a first fixed position of the address of the program file; dividing the program file into multiple segments, and generating a code for verifying each segment. The first check code is compiled in the second fixed position of the address of the program file; a complete program file is generated by compiling. The present invention can effectively implement anti-tampering in equipment with scarce resources.

Description

technical field [0001] The invention relates to hardware upgrade technology, in particular to a tamper-proof compiling method for a program upgrade file of an embedded device with scarce controller resources, and a corresponding device upgrade method. Background technique [0002] The software program upgrade of the device is an important way to update the device. Generally speaking, the software program upgrade of the device requires the device to have a large-capacity cache and storage space outside the program space. When an upgrade is required, the device will save all program files After downloading and verifying OK, then erase and burn. At this time, the old and new versions of the program will be saved at the same time to avoid program switching and recovery after the program upgrade fails abnormally. [0003] However, due to cost considerations, many devices do not have a large-capacity cache, do not have storage space other than the program space, and cannot downloa...

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 Patents(China)
IPC IPC(8): G06F8/41G06F8/65G06F8/71G06F21/64
CPCG06F8/447G06F8/65G06F8/71G06F21/64
Inventor 贺小林叶铁英杨都赖东锋张光旭颜辉
Owner GREE ELECTRIC APPLIANCES INC
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