CN103064700A - Zero code integration auto update method - Google Patents

Zero code integration auto update method Download PDF

Info

Publication number
CN103064700A
CN103064700A CN2012104924029A CN201210492402A CN103064700A CN 103064700 A CN103064700 A CN 103064700A CN 2012104924029 A CN2012104924029 A CN 2012104924029A CN 201210492402 A CN201210492402 A CN 201210492402A CN 103064700 A CN103064700 A CN 103064700A
Authority
CN
China
Prior art keywords
software
upgrade
program
auto
master routine
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
Application number
CN2012104924029A
Other languages
Chinese (zh)
Inventor
杜春辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhenjiang Is World Information Service Co Ltd
Original Assignee
Zhenjiang Is World Information Service Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhenjiang Is World Information Service Co Ltd filed Critical Zhenjiang Is World Information Service Co Ltd
Priority to CN2012104924029A priority Critical patent/CN103064700A/en
Publication of CN103064700A publication Critical patent/CN103064700A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a zero code integration auto update method. The method comprises the steps of arranging an inlet of pre-updated software into an auto update program, and when carrying out the pre-updated software, directly starting the auto update program under an installation directory of the pre-updated software, and not needing to start a main program of the pre-updated software; after the auto update program is started, instantly performing networking to search whether the software is updated, directly starting the main program if the software is not updated, and if the software is updated, popping up an interface to guide users to download software documents capable of carrying out update, carrying out the update-to-download software documents, and restarting the main program of a pre-updated program after update. Due to the fact that auto update of the program can be achieved without modifying source codes, update and maintenance of the program are greatly facilitated.

Description

A kind of zero integrated automatically updating method of code
Technical field
The present invention relates to the renewal upgrade technique field of software, particularly relate to a kind of method of the zero integrated auto-update of code.
Background technology
Now increasing software all wishes to have the auto-update function, the user is in the process of using software, software obtains the information of software latest edition automatically from the server of appointment by network, and automatically download the renewal that corresponding upgrade file is realized software version, removed the trouble of the latest edition of user oneself online inspection and download software from, this is a very intimate function, has increased to a certain extent ease for use and the friendliness of software.And make a general survey of all softwares that sky software, magnificent army software are included, and the software automatic updating function more than 99% is done all too coarse and crudely, only has the large-scale software enterprises such as Tengxun's software, 360 softwares, Kingsoft software, and this function point is done to get comparatively perfect.
But these traditional automatically updating methods have a drawback, need to call ROMPaq by pre-upgrading master routine, namely in master routine, add a little code, in order to call ROMPaq, thereby realization escalation process, this will need to revise the source code of pre-upgrade software inevitably, thereby destroy the property finished and the security of pre-upgrade software, the unsafe factor that easily appearance can not anticipation.
Fig. 2 is the method for the traditional integrated auto-update function of software, it is exactly that master routine calls ROMPaq that a upgrading link is arranged here, in master routine, add a little code, in order to call ROMPaq, software all is to adopt this scheme mostly at present, such as the wps-office in QQ, 360 security guards, Kingsoft etc., obviously, to be the integrated auto-update function of software, need in master routine, add invoke code, increase the program of upgrade function newly, need to revise the source code of software, to increase this upgrading link.
The problem of tradition upgrading scheme:
1. the language that uses of developing software is varied, powerbuild, C++, C#, Basic etc. are arranged, with traditional method, the problem that can not a basket solves the integrated auto-update function of software of different language exploitation, but need to be for the software development of different language exploitation and its corresponding ROMPaq separately;
2. the software of integrated upgrade function need to be revised source code, calls loaded down with trivial detailsly, does not have the user of source code can't realize the integrated of upgrade function to those;
3. so that the software function of auto-update is promoted the use of the relatively difficulty that becomes, be unfavorable in domestic consumer, popularizing and use.
Summary of the invention
For the problems referred to above, the invention discloses a kind of method of the zero integrated auto-update of code, the method has solved above-mentioned restriction to software development language at least, needs modification source code just can be upgraded and the problem of trivial operations, thereby so that domestic consumer just can upgrade to existing program, and do not need the source code of existing program is changed, also do not needed complex operations, greatly make things convenient for domestic consumer to maintenance and the use of existing program auto-update.
Principle of work is, the entrance of software startup is set to auto-upgrade program rather than common master routine, auto-upgrade program has obtained precedence in running, in the auto-upgrade program operational process, he checks at first whether software has renewal, if renewal is arranged, just ejects the upgrading interface of oneself, realize download and the renewal of file, if software does not upgrade then directly starts master routine.Application the present invention can solve two present ROMPaq and can not solve two problems, the one, do not write line code and realize the integrated of software automatic updating function, the 2nd, with same method, same software module, the integrated auto-update function of software product that develops for different language (C++, C#, delphi, powerbuild, basic etc.).
The method comprises:
Step 1: the entrance of pre-upgrade software is set to auto-upgrade program, when carrying out this pre-upgrade software, directly starts the auto-upgrade program under this pre-upgrade software installation directory, and needn't start the master routine of this pre-upgrade software;
Step 2: after auto-upgrade program starts, whether this software is searched in networking immediately renewal, if do not upgrade then directly start master routine, can carry out the software document of renewal, also carry out the software document that renewal changes download if there is renewal just to eject interface guiding user download, upgrade the complete master routine of restarting this pre-upgrade procedure;
Wherein, auto-upgrade program is a general program module, and its icon can not adapt to different software, the program file with pre-upgrade software when doing the installation kit of pre-upgrade software points to auto-upgrade program, and this icon points to the program of oneself.
Further, auto-upgrade program at first interconnection network judges whether software has renewal, if do not upgrade, then directly calls master routine, realizes the normal recurrence of software controller; If renewal arranged then eject the interface, download software document whether occupied to temp directory, inspection software document, cover software catalog from the temp directory copied files, the complete master routine of restarting of upgrading.
Further; auto-upgrade program is found without upgrading or upgrading complete; call again master routine; when pre-upgrade software issue is set individual configuration file to be arranged; in this configuration file, indicate: from where downloading the program name of software document, master routine, the file name of master routine, so that auto-upgrade program can normally be downloaded software document, calls and software controller is normally returned to master routine.
Further, the program of auto-upgrade program has the icon of oneself, does not change because serving different software, and when making the installation kit of software, the quick entry program file of software points to auto-upgrade program, and icon file points to alternative document.
By technique scheme, the present invention's effect that possesses skills at least:
(1) do not need to revise the auto-update that the master routine source code can be realized program.Use the present invention and can realize application program fast integration auto-update function, do not revise line code, can be different development environment development language services simultaneously.
(2) the auto-update function out can be done separately, and then can form the economies of scale of software industry, the auto-update function that needn't each software enterprise be Myself, thereby for software enterprise has alleviated cost of development and burden, also realize better the auto-update of program, improved the good experience that the user uses program.
Description of drawings
Fig. 1 is when adopting the present invention's zero integrated software automatic updating function of code, auto-upgrade program and master routine cooperation relation and collaboration process figure.
Fig. 2 is when using the integrated auto-update function of traditional approach, auto-upgrade program and master routine cooperation relation and collaboration process figure.

Claims (5)

1. the method for the zero integrated auto-update of code is characterized in that the method may further comprise the steps:
Step 1: the entrance of pre-upgrade software is set to auto-upgrade program, when carrying out this pre-upgrade software, directly starts the auto-upgrade program under this pre-upgrade software installation directory, and needn't start the master routine of this pre-upgrade software;
Step 2: after auto-upgrade program starts, whether this software is searched in networking immediately renewal, if do not upgrade then directly start master routine, can carry out the software document of renewal, also carry out the software document that renewal changes download if there is renewal just to eject interface guiding user download, upgrade the complete master routine of restarting this pre-upgrade procedure;
Wherein, auto-upgrade program is a general program module, and its icon can not adapt to different software, the program file with pre-upgrade software when doing the installation kit of pre-upgrade software points to auto-upgrade program, and this icon points to the program of oneself.
2. automatically updating method as claimed in claim 1 is characterized in that:
The entrance of this pre-upgrade software points to auto-upgrade program, but not master routine.
3. automatically updating method as claimed in claim 1 is characterized in that:
Auto-upgrade program at first interconnection network judges whether software has renewal, if do not upgrade, then directly calls master routine, realizes the normal recurrence of software controller; If renewal arranged then eject the interface, download software document whether occupied to temp directory, inspection software document, cover software catalog from the temp directory copied files, the complete master routine of restarting of upgrading.
4. automatically updating method as claimed in claim 1 is characterized in that:
Auto-upgrade program is found without upgrading or upgrading complete; call again master routine; when pre-upgrade software issue is set individual configuration file to be arranged; in this configuration file, indicate: from where downloading the program name of software document, master routine, the file name of master routine, so that auto-upgrade program can normally be downloaded software document, calls and software controller is normally returned to master routine.
5. automatically updating method as claimed in claim 1 is characterized in that:
The program of auto-upgrade program has the icon of oneself, does not change because serving different software, and when making the installation kit of software, the quick entry program file of software points to auto-upgrade program, and icon file points to alternative document.
CN2012104924029A 2012-11-28 2012-11-28 Zero code integration auto update method Pending CN103064700A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012104924029A CN103064700A (en) 2012-11-28 2012-11-28 Zero code integration auto update method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012104924029A CN103064700A (en) 2012-11-28 2012-11-28 Zero code integration auto update method

Publications (1)

Publication Number Publication Date
CN103064700A true CN103064700A (en) 2013-04-24

Family

ID=48107337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012104924029A Pending CN103064700A (en) 2012-11-28 2012-11-28 Zero code integration auto update method

Country Status (1)

Country Link
CN (1) CN103064700A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106502713A (en) * 2015-09-08 2017-03-15 中兴通讯股份有限公司 A kind of method for upgrading software and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1898643A (en) * 2003-10-27 2007-01-17 美国能量变换公司 System and method for updating a software program
US20110191453A1 (en) * 2010-02-02 2011-08-04 Microsoft Corporation Applicability detection using third party target state

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1898643A (en) * 2003-10-27 2007-01-17 美国能量变换公司 System and method for updating a software program
US20110191453A1 (en) * 2010-02-02 2011-08-04 Microsoft Corporation Applicability detection using third party target state

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
AS131442: "设计自动升级软件", 《HTTP://TINYURL.COM/GPFY2GO》 *
吴兆福: "基于. NET的分布式系统的自动升级", 《电脑开发与应用》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106502713A (en) * 2015-09-08 2017-03-15 中兴通讯股份有限公司 A kind of method for upgrading software and system

Similar Documents

Publication Publication Date Title
CA2915620C (en) Method and apparatus for code virtualization and remote process call generation
CN103701856B (en) A kind of method that definition and terminal device obtain AKU
CN104252342B (en) Embedded application implementation method and device capable of configuring parameters
CN108614701B (en) Linux operating system customizing method and device
EP2955627B1 (en) Managing versions of components of a software suite
CN101040260A (en) Platform independent dynamic linking
CN103713902B (en) A kind of BOA Compilation Methods and system based on android system
CN102955702A (en) Method and device for installing and upgrading software
US20200326914A1 (en) Creating an app method and system
US10078508B2 (en) Information providing method, device, and apparatus
WO2012148867A1 (en) Web-based app builder for mobile devices with automatic updates
EP2805233B1 (en) Installation engine and package format for parallelizable, reliable installations
CN105763626A (en) SDK initialization method suitable for application client end payment
CN103049283A (en) Automatic updating method for setting version numbers for every software file
CN100547971C (en) A kind of method of Control Network bitcom function
US20140143752A1 (en) Systems and methods for providing environments as a service
CN103997684A (en) Method and device for updating operating system
CN103064700A (en) Zero code integration auto update method
CN104267979A (en) Method and device for starting applications on Launcher and terminal
CN102043855B (en) Method and system for integrating configuration management and defect management
EP4006715A1 (en) Creating a native app method and system
JP2014164545A (en) Deployment method and program
Kuruvilla JIRA Development Cookbook
CN103064699A (en) Method for quickly updating files in software upgrading process
CN104346178A (en) B/S architecture software based online updating method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130424