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

CN104407897AInactive Publication Date: 2015-03-11XIAMEN YAXON NETWORKS CO LTD
4 Cites 6 Cited by

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 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides an intelligent upgrading method for a program. The method comprises the following steps: 1, inserting a piece of field data at a file header of an original program file to generate an amended program file, wherein the field data comprises integrated check, file type, total number of alternative program version numbers, lengths of the alternative program version numbers, version numbers of alternative program versions, total number of upgrading program version numbers, lengths of upgrading program version numbers and version numbers of upgrading program versions; 2, downloading the amended program file to equipment; 3, receiving and storing the amended program file by the equipment, and analyzing the field data; 4, judging whether one alternative version meets the requirement on upgrading through the field data, executing cover upgrading if the requirement is met, and otherwise, giving up the upgrading. The invention also provides an intelligent upgrading system for the program. The efficiency and the reliability of the upgrading are greatly improved.
Need to check novelty before this filing date? Find Prior Art

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