CN104657177A - Program automatic update method - Google Patents

Program automatic update method Download PDF

Info

Publication number
CN104657177A
CN104657177A CN201510075684.6A CN201510075684A CN104657177A CN 104657177 A CN104657177 A CN 104657177A CN 201510075684 A CN201510075684 A CN 201510075684A CN 104657177 A CN104657177 A CN 104657177A
Authority
CN
China
Prior art keywords
program
address information
file
installation procedure
client
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
CN201510075684.6A
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.)
Beijing Senseshield Technology Co Ltd
Original Assignee
Beijing Senseshield Technology 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 Beijing Senseshield Technology Co Ltd filed Critical Beijing Senseshield Technology Co Ltd
Priority to CN201510075684.6A priority Critical patent/CN104657177A/en
Publication of CN104657177A publication Critical patent/CN104657177A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a program automatic update method. The method comprises the following steps: when the version of a program is changed, updating the address information of a newly installed program in an update configuration file of a server side; when a client where the program is installed needs program update detection, acquiring current newest program version information and the address information of the newly installed program from the server side update configuration file according to the address information of the locally-saved server side update configuration file; judging whether or not a local client program needs to be updated according to the program version information by the client, downloading the newly installed program according to the address information of the newly installed program when update is needed, and installing the newly installed program. By adopting the method, automatic update of the program can be ensured.

Description

Program automatic update method
Technical field
The present invention relates to mobile communication technology, particularly relate to a kind of program automatic update method.
Background technology
At present, when program updates is software metric tools usually can with a function, to ensure that user can use up-to-date program.Traditional method for updating program is that the server address for depositing recent program is written to program inside, after program starts, automatically or under the triggering of user, obtain recent program from this server address upgrade.
In above-mentioned traditional update method, what subscription client was preserved is fixing for the server address upgraded, once this server address changes, then the program on subscription client cannot realize automatic renewal.In this situation, usually needing is required efforts by application developer again develops special automatic refresh routine, to solve the problem that subscription client program can not upgrade automatically.
As can be seen here, when the server address depositing recent program occurs to change, can there is the problem that cannot automatically upgrade in traditional program automatic update method.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of program automatic update method, and the method can guarantee the automatic renewal of program.
In order to achieve the above object, the technical scheme that the present invention proposes is:
A kind of program automatic update method, comprising:
When the version of program occurs to change, in the Reconfigurations file of service end, preserve the address information of up-to-date installation procedure;
Described program place client is when needs carry out program updates detection, according to the address information of the server end Reconfigurations file that this locality is preserved, from described server end Reconfigurations file, obtain the address information of current up-to-date program version information and up-to-date installation procedure;
Described client, according to described program version information, determines whether to need to upgrade local client program, when determining to need to upgrade, according to the address information of described up-to-date installation procedure, downloading described up-to-date installation procedure and installing.
In sum, the program automatic update method that the present invention proposes, when automatically upgrading, by the address of the up-to-date installation procedure of Reconfigurations file acquisition of access services end, and then according to the address information of this address acquisition recent program version information and up-to-date installation procedure, like this, the installation procedure address of server end is changed, the program that also can not affect user side upgrades automatically, therefore, can solve the server address depositing recent program change caused by the program problem that cannot automatically upgrade.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the embodiment of the present invention one;
Fig. 2 is this locality configuration ini configuration file schematic diagram of the present invention;
Fig. 3 is service end Reconfigurations file schematic diagram of the present invention;
Fig. 4 is the upgrading schematic diagram being checked through redaction of the present invention;
Fig. 5 is redaction scheme of installation of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, the present invention is described in further detail below in conjunction with the accompanying drawings and the specific embodiments.
Core concept of the present invention is: set up Reconfigurations file at server end, by the latest version information of save routine and server chained address, installation procedure place in this Reconfigurations file, when subscription client carries out program updates, to first access this Reconfigurations file, and then remove latest version information and the installation procedure of acquisition program according to the server chained address in this Reconfigurations file, to realize the renewal of program.Like this, developer is when carrying out the renewal of program version, if the server address at recent program place changes, also only need to upgrade accordingly the address information in configuration file, and do not need to spend a lot of time and energy again and write the automatic refresh routine of new program, thus can solve the server address depositing recent program change caused by the program problem that cannot automatically upgrade.
Fig. 1 is the schematic flow sheet of the embodiment of the present invention one, and as shown in Figure 1, this embodiment mainly comprises:
A kind of program automatic update method, comprising:
Step 101, when program version occur change time, in the Reconfigurations file of service end, preserve the address information of up-to-date installation procedure.
In this step, introducing one Reconfigurations file being preserved the address information of up-to-date installation procedure, like this, only needing the installation procedure of this redaction and version information to be kept at wherein when there is new program version.And do not require that the server address at the installation procedure place of each version must the identical automatic renewal that just can realize user program, correspondingly, when not needing the server address of developer at redaction installation procedure place to occur to change yet, again write automatic refresh routine with inconvenience.
Particularly, the Reconfigurations file of service end can be initialization (ini) configuration file.
Step 102, described program place client are when needs carry out program updates detection, according to the address information of the server end Reconfigurations file that this locality is preserved, from described server end Reconfigurations file, obtain the address information of current up-to-date program version information and up-to-date installation procedure.
Step 103, described client, according to described program version information, determine whether to need to upgrade local client program, when determining to need to upgrade, according to the address information of described up-to-date installation procedure, downloading described up-to-date installation procedure and installing.
Preferably, in said method, client can utilize a dynamic link library dll to upgrade plug-in unit, carry out download and installation that described program updates detects described judgement and described up-to-date installation procedure, this dll upgrades plug-in unit and will automatically run after described program starts, to realize the automatic renewal of program.
Particularly, dll file carries out the trigger mechanism of program updates detection, can be periodically to detect.
Preferably, the address information of server end Reconfigurations file can be kept in an ini configuration file.Dll upgrades plug-in unit by this ini configuration file of access, can obtain the address information of described server end Reconfigurations file.
Below by Fig. 2-Fig. 5, specific implementation of the present invention is further elaborated.
The ini configuration file of local configuration as shown in Figure 2, service end Reconfigurations file as shown in Figure 3, when being checked through new version, client can demonstrate the information as Fig. 4, after new installation procedure has been downloaded, the mount message shown in Fig. 5 can be shown, click the renewal of installing and getting final product practical programs.
In sum, these are only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (5)

1. a program automatic update method, is characterized in that, comprising:
When the version of program occurs to change, in the Reconfigurations file of service end, preserve the address information of up-to-date installation procedure;
Described program place client is when needs carry out program updates detection, according to the address information of the server end Reconfigurations file that this locality is preserved, from described server end Reconfigurations file, obtain the address information of current up-to-date program version information and up-to-date installation procedure;
Described client, according to described program version information, judges whether to need to upgrade local client program, when needs upgrade, according to the address information of described up-to-date installation procedure, downloads described up-to-date installation procedure and install.
2. method according to claim 1, it is characterized in that, described client utilizes a dynamic link library dll to upgrade plug-in unit, carry out described program updates detection, the download of described judgement and described up-to-date installation procedure and installation, wherein, described dll upgrades plug-in unit operation automatically after described program starts.
3. method according to claim 2, is characterized in that, the address information of described server end Reconfigurations file is kept in initialization ini configuration file.
4. method according to claim 3, is characterized in that, described dll upgrades plug-in unit by the described ini configuration file of access, obtains the address information of described server end Reconfigurations file.
5. method according to claim 1, is characterized in that, the Reconfigurations file of described service end is ini configuration file.
CN201510075684.6A 2015-02-12 2015-02-12 Program automatic update method Pending CN104657177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510075684.6A CN104657177A (en) 2015-02-12 2015-02-12 Program automatic update method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510075684.6A CN104657177A (en) 2015-02-12 2015-02-12 Program automatic update method

Publications (1)

Publication Number Publication Date
CN104657177A true CN104657177A (en) 2015-05-27

Family

ID=53248356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510075684.6A Pending CN104657177A (en) 2015-02-12 2015-02-12 Program automatic update method

Country Status (1)

Country Link
CN (1) CN104657177A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250142A (en) * 2016-07-29 2016-12-21 四川天邑康和通信股份有限公司 A kind of software management platform and Oftware updating method
CN107592338A (en) * 2017-08-08 2018-01-16 新智云数据服务有限公司 More new system, method and the relevant device of a kind of dynamic base
CN108228213A (en) * 2017-12-29 2018-06-29 广州金十信息科技有限公司 A kind of application automatic update method, system, smart machine and storage medium
CN113518013A (en) * 2020-04-09 2021-10-19 奇安信安全技术(珠海)有限公司 Processing method and device for realizing heartbeat mechanism

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040215749A1 (en) * 2002-08-12 2004-10-28 Tsao Sheng Ted Tai Distributed virtual san
CN101222505A (en) * 2008-01-24 2008-07-16 中国海洋大学 Method for implementing client terminal local disposition
CN101771762A (en) * 2009-01-06 2010-07-07 北京邮电大学 Method and system for dynamically loading services in service system
US20120030741A1 (en) * 2008-09-28 2012-02-02 Huawei Technologies Co., Ltd Method for terminal configuration and management and terminal device
CN102646041A (en) * 2011-02-17 2012-08-22 腾讯科技(深圳)有限公司 Software installation method and system
CN102761583A (en) * 2011-04-27 2012-10-31 海尔集团公司 Method and system for copying configuration information of television
CN103514559A (en) * 2013-09-26 2014-01-15 Opera软件股份公司 On-line shopping price comparison method and device based on mobile terminal browser

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040215749A1 (en) * 2002-08-12 2004-10-28 Tsao Sheng Ted Tai Distributed virtual san
CN101222505A (en) * 2008-01-24 2008-07-16 中国海洋大学 Method for implementing client terminal local disposition
US20120030741A1 (en) * 2008-09-28 2012-02-02 Huawei Technologies Co., Ltd Method for terminal configuration and management and terminal device
CN101771762A (en) * 2009-01-06 2010-07-07 北京邮电大学 Method and system for dynamically loading services in service system
CN102646041A (en) * 2011-02-17 2012-08-22 腾讯科技(深圳)有限公司 Software installation method and system
CN102761583A (en) * 2011-04-27 2012-10-31 海尔集团公司 Method and system for copying configuration information of television
CN103514559A (en) * 2013-09-26 2014-01-15 Opera软件股份公司 On-line shopping price comparison method and device based on mobile terminal browser

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
云凤生: "使用Delphi编写DLL实现软件自动更新", 《电脑编程技巧与维护》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250142A (en) * 2016-07-29 2016-12-21 四川天邑康和通信股份有限公司 A kind of software management platform and Oftware updating method
CN107592338A (en) * 2017-08-08 2018-01-16 新智云数据服务有限公司 More new system, method and the relevant device of a kind of dynamic base
CN107592338B (en) * 2017-08-08 2021-07-06 新智云数据服务有限公司 Dynamic library updating system, method and related equipment
CN108228213A (en) * 2017-12-29 2018-06-29 广州金十信息科技有限公司 A kind of application automatic update method, system, smart machine and storage medium
CN113518013A (en) * 2020-04-09 2021-10-19 奇安信安全技术(珠海)有限公司 Processing method and device for realizing heartbeat mechanism
CN113518013B (en) * 2020-04-09 2022-09-30 奇安信安全技术(珠海)有限公司 Processing method and device for realizing heartbeat mechanism

Similar Documents

Publication Publication Date Title
CN106897086B (en) Method, device and system for upgrading robot operating system
CN108241500B (en) Method, device and system for repairing hardware component and storage medium
CN107291516B (en) A kind of firmware upgrade method and system
US7747995B2 (en) Method and system for controlling software version updates
US7003767B2 (en) System and method for remotely updating software applications
CN104216749A (en) Updating method and updating device for applications
KR101541112B1 (en) FOTA system and the method
RU2008144691A (en) SYSTEM AND METHOD FOR UPDATING THE PROGRAM FOR MOBILE TERMINAL WITH OTA SUPPORT
CN103781057A (en) Method and device for silently downloading upgrade package
CN104657177A (en) Program automatic update method
CN105323269A (en) Method for updating APP in Android system, terminal and storage medium
CN105743933A (en) Router module updating method and system
EP2805233B1 (en) Installation engine and package format for parallelizable, reliable installations
CN110865819B (en) OS installation method, server and system
CN104572207A (en) Intelligent accessories based APP expanded application method and intelligent accessories
CN104077161A (en) Client application updating method and device
CN105740027A (en) Application program updating method and device
CN104052769A (en) Method, apparatus and system for updating resources contained by mobile terminal application
CN103916846A (en) Terminal application updating method, system and device
CN105653298A (en) Application program update method and terminal
CN105094919A (en) Application program starting method
CN106293790B (en) application program upgrading method and device based on Firefox operating system
CN105808268B (en) Information processing method, electronic equipment and system
CN102681876A (en) Online distributed system updating method
CN104239108A (en) Software update method, software update server, client and software update 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
CB02 Change of applicant information

Address after: 100872 room 1706, building 59, Zhongguancun street, Haidian District, Beijing

Applicant after: BEIJING SHENSI SHUDUN SCIENCE & TECHNOLOGY CO., LTD.

Address before: 100872 room 1706, building 59, Zhongguancun street, Haidian District, Beijing

Applicant before: Beijing Shensi Shudun Technology Co., Ltd.

COR Change of bibliographic data
CB02 Change of applicant information

Address after: 100193 Beijing, Haidian District, East West Road, No. 10, East Hospital, building No. 5, floor 5, layer 510

Applicant after: BEIJING SHENSI SHUDUN SCIENCE & TECHNOLOGY CO., LTD.

Address before: 100872 room 1706, building 59, Zhongguancun street, Haidian District, Beijing

Applicant before: BEIJING SHENSI SHUDUN SCIENCE & TECHNOLOGY CO., LTD.

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication

Application publication date: 20150527

RJ01 Rejection of invention patent application after publication