CN1924802A - Self-upgrading method for updating program - Google Patents
Self-upgrading method for updating program Download PDFInfo
- Publication number
- CN1924802A CN1924802A CN 200610113593 CN200610113593A CN1924802A CN 1924802 A CN1924802 A CN 1924802A CN 200610113593 CN200610113593 CN 200610113593 CN 200610113593 A CN200610113593 A CN 200610113593A CN 1924802 A CN1924802 A CN 1924802A
- Authority
- CN
- China
- Prior art keywords
- upgrading
- self
- file
- update
- suffix
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Stored Programmes (AREA)
Abstract
This invention relates to update method in computer network technique field, which comprises the following steps: dividing update file and other files to store list and distribution files; determining update self synchronic update and priority in part; back original files; adding update self files with fix suffix and updating to new user machine; before update program, starting other program A.exe to fulfill other update module exit and then removing update self files names with suffix files.
Description
Technical field
The present invention relates to the gordian technique of product upgrading system---self-upgrading method for updating program, belong to technical field of the computer network.
Background technology
In common product up-gradation implementation be: in the product installation process ROMPaq is installed on the subscriber set, ROMPaq is carried out the AKU that obtains by upgrading website or other modes again, thereby finishes escalation process.
Because the certain module of upgrade-system moves in the escalation process, forbid making amendment, delete or replace and the module of moving generally is operated system, the function of self so common upgrade-system is not upgraded, usually the former inefficient phenomenon of ROMPaq that is installed on the subscriber set can be occurred in the product up-gradation process, the task of the life cycle of safeguarding entire product can not be finished so well.For example upgrade-system itself also has BUG needs to revise, new function need increase and waits requirement, thus upgrade self become one must solution problem.
But common upgrading self method has following limitation:
1. realize complicated.The development amount is big.
2. Compatibility of Operating System deficiency.Operational excellence on some operating system, but on another kind of operating system, can not move.
3. less stable.Because user's hardware environment varies, often the situation that self upgrades can not be normally finished in appearance.
Summary of the invention
In order to overcome the deficiencies in the prior art, the invention provides a kind of self-upgrading method for updating program.The method of the upgrading that the present invention can both well move on various operating systems self.
The technical solution adopted for the present invention to solve the technical problems is: comprise the steps:
(1) distinguishes upgrading self file and alternative document.This can be that modes such as configuration file are carried out by storing directory;
When (2) determining upgrading self is all to upgrade simultaneously, the part of still can upgrading earlier;
(3) backup original;
(4) the suffix of upgrading self file name additional fastening, be upgraded on the subscriber set;
(5) before ROMPaq withdraws from, start another program A.exe, the task that it will be finished is to wait for that earlier other upgrading modules withdraw from, and removes in upgrading self file name to comprise the fixedly suffix of the file of suffix again.
The present invention is general upgrading self method of design.It has following characteristics:
1. exploitation is simple, is easy to various upgrade-systems integrated.
2. be applicable to various operating systems.Because the present invention does not utilize the characteristic of operating system, so be operating system independent.
3. stability is high, has fully handled various upgradings self failure scenarios.
Description of drawings
Fig. 1, program flow diagram of the present invention.
Below in conjunction with drawings and Examples invention is further specified.
Embodiment
Embodiment 1: a kind of self-upgrading method for updating program, and (see figure 1) that the method includes the steps of:
1. be file in the system that the upgrade information of self file is kept in the configuration file.
2. according to each product characteristics, be that all self files that need upgrade are upgraded (using when the old and new's module is incompatible) simultaneously when determining upgrading self, wherein the part of module (using when the old and new's module is compatible) of still can upgrading earlier.This setting is saved in each AKU, or is saved on the subscriber set.The advantage that is kept in the AKU is to change (this also meets truth) at which kind of strategy of this time upgrading employing, and is kept on the subscriber set, if need to change this setting later on, and can more complicated.
3. before the single file of upgrading, back up original earlier.
4. carry out document upgrading.Then directly carry out file if not upgrading self file and replace, otherwise the suffix of file name additional fastening, for example suffix is extension name (.upd), is upgraded on the subscriber set.After upgrading finished like this, self file of newly upgrading all was kept on the subscriber set in the fixing mode of suffix title.
5. before ROMPaq withdraws from, start another program A.exe.This program does not belong to self file of upgrading, and the task that it will be finished is to wait for that earlier other upgrading modules withdraw from, and removes in upgrading self file name to comprise the fixedly suffix of the file of suffix again, and self file of upgrading has so just become new file.The situation that in the A.exe program process, may occur failing, this two kinds of countermeasures: A) self file if the time upgrading of seeking common ground is respectively upgraded, then recover the file of successful execution, and end the operation of A.exe from backup; B) if can upgrade part of module earlier, then ignore this mistake, continue to handle alternative document.
Illustrate: because A.exe does not belong to upgrading self file, and the not operation in the upgrade file process of this program, so the upgrading of this file is treated according to ordinary file.
Because the unsuccessful situation of upgrading can occur in the A.exe processing procedure.General upgrade-system all can have regularly upgrade function, can start the operation of A.exe in the module of regularly upgrading at interval with regular time, self can obtain upgrading as early as possible to guarantee to upgrade.
Claims (2)
1. a self-upgrading method for updating program is characterized in that: comprise the steps:
(1) distinguish upgrading self file and alternative document, this can be that modes such as configuration file are carried out by storing directory;
When (2) determining upgrading self is all to upgrade simultaneously, the part of still can upgrading earlier;
(3) backup original;
(4) the suffix of upgrading self file name additional fastening, be upgraded on the subscriber set;
(5) before ROMPaq withdraws from, start another program A.exe, the task that it will be finished is to wait for that earlier other upgrading modules withdraw from, and removes in upgrading self file name to comprise the fixedly suffix of the file of suffix again.
2. a kind of self-upgrading method for updating program according to claim 1 is characterized in that: in order to handle the situation of upgrading failure, regularly upgrade module with Fixed Time Interval calling module A.exe.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200610113593 CN1924802A (en) | 2006-10-08 | 2006-10-08 | Self-upgrading method for updating program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200610113593 CN1924802A (en) | 2006-10-08 | 2006-10-08 | Self-upgrading method for updating program |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1924802A true CN1924802A (en) | 2007-03-07 |
Family
ID=37817458
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200610113593 Pending CN1924802A (en) | 2006-10-08 | 2006-10-08 | Self-upgrading method for updating program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1924802A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102184263A (en) * | 2011-06-15 | 2011-09-14 | 刘志伟 | Method and system for disseminate information according to file name |
CN102929706A (en) * | 2012-10-31 | 2013-02-13 | 广州市久邦数码科技有限公司 | Method for combining files |
CN101630263B (en) * | 2009-08-19 | 2013-09-18 | 用友软件股份有限公司 | Software upgrade method |
CN104702631A (en) * | 2013-12-04 | 2015-06-10 | 航天信息股份有限公司 | Method and system for upgrading client software |
CN114095788A (en) * | 2021-11-16 | 2022-02-25 | 深圳康佳电子科技有限公司 | Wifi drive and firmware hot update processing method, device, terminal and medium |
-
2006
- 2006-10-08 CN CN 200610113593 patent/CN1924802A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101630263B (en) * | 2009-08-19 | 2013-09-18 | 用友软件股份有限公司 | Software upgrade method |
CN102184263A (en) * | 2011-06-15 | 2011-09-14 | 刘志伟 | Method and system for disseminate information according to file name |
CN102929706A (en) * | 2012-10-31 | 2013-02-13 | 广州市久邦数码科技有限公司 | Method for combining files |
CN102929706B (en) * | 2012-10-31 | 2015-11-25 | 广州市久邦数码科技有限公司 | A kind of method of merged file folder |
CN104702631A (en) * | 2013-12-04 | 2015-06-10 | 航天信息股份有限公司 | Method and system for upgrading client software |
CN104702631B (en) * | 2013-12-04 | 2018-04-10 | 航天信息股份有限公司 | The upgrade method and system of a kind of client software |
CN114095788A (en) * | 2021-11-16 | 2022-02-25 | 深圳康佳电子科技有限公司 | Wifi drive and firmware hot update processing method, device, terminal and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8667482B2 (en) | Automated application modeling for application virtualization | |
CN103345411A (en) | Method and device for uninstalling application program | |
US8112745B2 (en) | Apparatus and method for capabilities verification and restriction of managed applications in an execution environment | |
CN101063959A (en) | Portable storage device with stand-alone antivirus capability | |
US20080163185A1 (en) | Delay-load optimizer | |
CN101697133A (en) | Software upgrading method, software upgrading system and client | |
CN101046749A (en) | Chip firmware updating method | |
CN1834915A (en) | Method of updating firmware in computer server systems | |
CN101110788A (en) | Method and system for updating client software | |
EP2681654A2 (en) | Application compatibility with library operating systems | |
CN1924802A (en) | Self-upgrading method for updating program | |
US7627866B2 (en) | Systems and methods for dynamic application patching | |
EP2805233B1 (en) | Installation engine and package format for parallelizable, reliable installations | |
CN1955925A (en) | TV system software updating method with power-off protection | |
CN101610449A (en) | The method and system of configuration data upgrading and rollback | |
CN102207878A (en) | Method for upgrading internetwork television difference | |
CN1272708C (en) | Custom method of embedded appliance applied software | |
CN1178131C (en) | Modular system and method of updating application software in execution | |
CN1295601C (en) | Time-optimized replacement of software application | |
CN101930377A (en) | Link library compiling method by dynamically acquiring UID | |
US8997077B1 (en) | Systems and methods for remediating a defective uninstaller during an upgrade procedure of a product | |
CN111949290B (en) | Hot patch management method and device, electronic equipment and storage medium | |
CN101079955A (en) | Secure download method of TV system software | |
CN100504787C (en) | Virtual executing method for installing software, and system | |
CN1920777A (en) | System software upgrading method for digital household appliances and updated system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |