Intelligent upgrading method and system for program
A program and intelligent technology, applied in the field of program intelligent upgrade, to achieve the effect of simplifying the manual judgment process, improving efficiency and reliability
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2015-03-11
- Estimated Expiration
- Not applicable · inactive patent
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to a method for program upgrading, in particular to a method and system for intelligent program upgrading. Background technique
[0002] For embedded devices, in the process of actual use, its program version will always be updated continuously, and new branch versions will be derived continuously, as follows figure 1 shown. In practical applications, the same batch of devices must be programmed with the same version of the program when they leave the factory. However, after a period of time, due to various reasons, there will definitely be multiple versions coexisting (such as figure 1 shown). Moreover, which version of the program each device is running cannot be effectively distinguished from the appearance of the device at all, and can only be checked and confirmed through some manual methods (such as viewing the display screen, etc.).
[0003] In this case, if for some reason, all E version programs need to be upgraded to...
Examples
Embodiment Construction
[0032] see Figure 1 to Figure 3 , a method for program intelligent upgrading of the present invention, when only one version needs to be upgraded, take upgrading all E versions to T versions as an example, set the length of the comprehensive check to be 1, the length of the file type to be 1, The total number of version numbers of the replacement program is 1, the length of the version number of the E version is 3, the version number of the E version is 00E, the total number of the upgrade program version numbers is 1, the length of the version number of the T version is 3, The version number of the T version is 00T, the original program file is file A, and the modified program file is file B. The length is all in bytes, and the method includes the following steps:
[0033] Step 1. Insert a field of data at the file header of file A to generate a file B. The field data includes comprehensive verification, file type, total number of version numbers of the replacement program, ...