Integrated upgrading file manufacturing and upgrading method and device
A technology for upgrading files and production methods, applied in computer security devices, software deployment, instruments, etc., can solve problems such as bad brand image, upgrade errors, impact, etc., to avoid unauthorized upgrades, simplify version management, and enhance security Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] Such as figure 1 As shown, this embodiment provides a method for making an integrated upgrade file, including:
[0051] Step 100, storing the upgrade files of each functional unit in the same directory.
[0052] For example, the upgrade file MCU.bin of the microcontroller unit, the upgrade file MPEG.bin of the decoding unit, and the upgrade file LCD.bin of the liquid crystal drive unit are stored in the Update folder.
[0053] Step 101 : Configure functional units to be upgraded according to upgrade requirements, and generate an upgrade configuration file, where the upgrade configuration file includes upgrade information of each functional unit.
[0054] For example, name the upgrade configuration file Upg.cfg, and its first byte is the functional unit upgrade information: if the value of the first byte is 0xff, each functional unit is upgraded in turn (for example, according to MPEG-> LCD->MCU sequence); if the value of the first byte is 0x01, only the MPEG functiona...
Embodiment 2
[0065] Such as figure 2 As shown, this embodiment provides an integrated upgrade file production device, including a storage module, an upgrade configuration module, a first logo read and write module, a first upgrade file module, a first summary generation module, an encryption module, and a second upgrade file module ;
[0066] The storage module, the upgrade configuration module, the first logo read-write module, the first abstract generation module, and the second upgrade file module are connected to the first upgrade file module, and the upgrade configuration module is also connected to the first logo read-write module. The writing module is connected, and the encryption module is connected with the first summary generation module and the second upgrade file module;
[0067] The storage module is used to store the upgrade files of each functional unit;
[0068] The upgrade configuration module is used to configure the functional units that need to be upgraded;
[0069...
Embodiment 3
[0082] Such as image 3 As shown, this embodiment provides an integrated upgrade file upgrade method, including:
[0083] Step 200, the target upgrade board determines whether the integrated upgrade file is read, and if yes, obtains the first encrypted information digest of the integrated upgrade file and decrypts it to obtain the second information digest, otherwise exits the upgrade mode.
[0084] In this embodiment, the first encrypted information digest is decrypted by using an AES-128 algorithm.
[0085] Step 201. Read the upgrade main file of the integrated upgrade file, and generate a third information summary.
[0086] In this embodiment, the third information digest is generated through the SHA-256 algorithm.
[0087] Step 202. Determine whether the second information abstract and the third information abstract are consistent. If yes, enter the upgrade mode and enter the next step; otherwise, exit the upgrade mode.
[0088] Step 203, read the value of the upgrade f...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


