CN101158906A - Customer terminals program automatic update method - Google Patents

Customer terminals program automatic update method Download PDF

Info

Publication number
CN101158906A
CN101158906A CNA2007101435918A CN200710143591A CN101158906A CN 101158906 A CN101158906 A CN 101158906A CN A2007101435918 A CNA2007101435918 A CN A2007101435918A CN 200710143591 A CN200710143591 A CN 200710143591A CN 101158906 A CN101158906 A CN 101158906A
Authority
CN
China
Prior art keywords
program
client
rompaq
upgrade
server
Prior art date
Application number
CNA2007101435918A
Other languages
Chinese (zh)
Inventor
林明辉
Original Assignee
林明辉
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 林明辉 filed Critical 林明辉
Priority to CNA2007101435918A priority Critical patent/CN101158906A/en
Publication of CN101158906A publication Critical patent/CN101158906A/en

Links

Abstract

A method that can make a client-end program automatically restore and automatically upgrade is provided: (1) an update program after encryption and an encrypted software version ID are stored in a hidden memory area of a client end, as a backup document of an update program for the client end; (2) the client-end program shall be stored in a free storage area at the client-end, the function of the client-end program is to log in a business server, the program also comprises an update program, which is matched with the client-end software version ID through the server software version ID, and then the functions of automatic restoration and automatic upgrade shall be conducted; (3) an update program without encryption and a client-end start-up program are stored in the client-end virtual storage area, so as to prevent that the subscribers manually copy the update program in the virtual storage area to the free storage area under the situation that the programs hidden in the storage area and free storage area are damaged, thereby realizing the functions on automatically restoring and automatically upgrading the client-end program.

Description

A kind of method of customer terminals program automatic update
Technical field
The present invention relates to the method for customer terminals program automatic update in the field of computer technology (Update), relate in particular to the automatic renewal upgrade method of terminal electronic product software.
Background technology
The utilization of electronic product now more and more widely; changes of function is also more and more faster; after the user buys electronic product; usually can run into this electronic product changes on function; software version has renewal; if traditionally the user want to upgrade version need go to the dealer of producer or producer's appointment there the upgrading, sale and the development to product brings very big inconvenience like this, and production marketing is restricted.
In addition,, cause the user can not normally use client, must go to the dealer of producer or producer's appointment to recover there, cause user's inconvenience in the use like this if in use the software of client is impaired for the client.
As everyone knows, traditional client-side program upgrades upgrade method following two kinds: the one, and the user is connected to the ftp server by hand, utilize ftp that required software download is finished renewal to this locality, but this way has following shortcoming: have relatively high expectations to the client user (1), and the client user must be the personage that can use the comparison specialty of some conventional ftp orders; (2) the operation more complicated is made mistakes easily; (3) to notify the client user to download which module before the download, waste time and energy, and download wrong file easily or omit file.Because the most of genus of client user non-computer professional, this method is all lacking feasibility in a lot of actual conditions.Another kind of popular Oftware updating method is to set up the web website at server end (server end), the software that needs are upgraded is placed on the server and the link of this software of guiding is set on the web page or leaf, and the user only needs to click this link at this web website and can download.Compare with a last method, download simple to operate, also do not need the too technology of specialty, but this method also exists following shortcoming: (1) will set up a web website, has increased the expense of time and funds; (2) need to notify the user which website to download which software before the software download to, cumbersome; (3) be unfamiliar with the user that web operates, the also difficult operation of this method for some.
Summary of the invention
In view of this, the problem and the difficulty that are run into when upgrading for the client-side program version updating of improving above-mentioned existence the present invention proposes a kind of method that makes client-side program repair and can upgrade automatically upgraded version automatically.So that can allow the client in time enjoy the function of latest edition, realized the networking of product, exempted the trouble of the manual updating client program of client.
One object of the present invention, be stored in the hiding memory block of client by upgrading Update program of the renewal after will encrypting and software version ID, with the backup file of above-mentioned two files as the renewal ROMPaq of client, when the client-side program in the free core pool or upgrade ROMPaq impaired or formatted after, the client terminal start-up program that is stored in the virtual storage region can be recovered the renewal ROMPaq of free core pool automatically, and simultaneously the client-side program renewal is upgraded to existing latest edition, upgrade ROMPaq and carry out the following step:
(1) detects automatically and login and upgrade upgrade server by network;
(2) upgrade the updating client program automatically;
(3) repair client-side program;
Thereby realize that client-side program is repaired automatically and the function of auto-update program.
Another object of the present invention, when the start-up routine of this client is activated, its program will be handled with following step:
At first, the start-up routine of client is started automatically by the automatic startup AutoRun function of system, and then start-up routine starts the renewal ROMPaq automatically, judges then whether upgrade ROMPaq starts success, if carry out following step:
Read the program ID that client itself is carried, upgrade server is upgraded in login;
Upgrade ROMPaq the program ID that carries is mated with the program ID on the server, whether have new ROMPaq exist, if having, just directly ROMPaq is downloaded to this locality if detecting, upgrade the updating client program then;
If do not have, upgrading ROMPaq mates the client-side program of preserving on the client-side program of this locality and the server, judge client-side program whether with server on program in full accord, if not, upgrade ROMPaq with the program on the automatic Download Server, upgrade local client-side program, the final updating ROMPaq withdraws from, and starts client-side program registering service server.
When new client-side program was issued, the renewal ROMPaq in the client can detect the client-side program of redaction automatically, and simultaneously existing version is upgraded to latest edition.
In the present invention, the client that the renewal ROMPaq is housed detects client-side program and infects virus, upgrading ROMPaq can compare client-side program and the program of upgrading on the ROMPaq server automatically, find out the file of concrete infective virus, upgrading ROMPaq then can download these several files from upgrading the ROMPaq server automatically, finishes the automatic reparation of client-side program.
In the present invention, can also be implemented in and the client of upgrading ROMPaq is housed to detect client-side program deleted or store the memory device of client-side program when formatted, upgrade the store path that ROMPaq can download to the client-side program on the renewal ROMPaq server client-side program in the client automatically, the full recovery client-side program is realized the normal operation of client-side program.
In the present invention, can also be implemented in and the client of upgrading ROMPaq is housed detects when upgrading the ROMPaq server redaction issue being arranged, upgrading ROMPaq can download to the client-side program that upgrades on the ROMPaq server in the store path of client-side program in the client automatically, former program is all override, and can control from upgrading the program amount of capacity that upgrade server is downloaded, realize the function of software automatic updating.
In the present invention, in the time of can also being implemented in the service provider and will on client, increasing new value-added service, they only need new client-side program is distributed on the renewal ROMPaq server, client is by download and upgrading local client program, thereby realization increases the function of new value-added service.
In the present invention, the service provider will realize the upgrade function of client, add that directly upgrading ROMPaq can realize, and the service provider does not need to install separately renewal ROMPaq server program, only need look for an energy to get final product at the server that download is provided on the Internet, the operating system of server can be general operating systems such as linux, Unix, Windows, to upgrading ROMPaq without any influence.If the upgraded version of software is too much, can take a lot of spaces of upgrading the ROMPaq server, use the software of the packing of upgrading ROMPaq, in storing process, all common parts in all software versions are only stored once on renewal ROMPaq server, then the corresponding software version information of parts different in all software versions is kept at and upgrades on the ROMPaq server, on renewal ROMPaq server, store client-side program by this way, the storage space of server be can on great achievement degree very, save, enterprise's saving resource and expense are effectively.
In the present invention, the saved software version all is to encrypt through particular form on the ROMPaq server upgrading, upgrading ROMPaq downloaded software version behind this locality, upgrading ROMPaq can be automatically with software decryption, and then replace former client-side program, can prevent client infective virus in upgrading so to greatest extent.
For doing more detailed understanding and understanding to purpose of the present invention, logic, functional character, the conjunction with figs. that gives an actual example now is described in detail as follows:
Description of drawings
Fig. 1 is a client-side program distribution block diagram of the present invention;
Fig. 2 is the process flow diagram of customer terminals program automatic update method of the present invention;
Fig. 3 is the user mode block schematic diagram of customer terminals program automatic update method of the present invention.
Embodiment
Referring to Fig. 1, the present invention relates to a kind of method that makes automatic reparation of client-side program and energy auto-update version, the memory block of client can be divided into three districts: free core pool, virtual storage region and hiding memory block.(1) the renewal ROMPaq after encryption of storage and the software version ID of encryption in the hiding memory block of client are as the backup file of the renewal ROMPaq of client;
(2) in the free core pool of client, store client-side program, the function of this client-side program is a login to service server, also comprise the renewal ROMPaq in this program, by with server on software version ID and the software version ID of client coupling, repair function then automatically with auto-update; (3) start-up routine of storage unencrypted renewal ROMPaq and client in the virtual storage region of client, under the situation about all being damaged with the program of defence in hiding memory block and free core pool, at this moment the user can manually copy the renewal ROMPaq in the virtual storage region in the free core pool to, finally reaches the function of automatic reparation and auto-update client-side program.
Referring to shown in Figure 2, after client insertion computer brings into operation, specifically carry out following steps:
1, at first utilize the hiding memory block of client to store the software version ID of an encryption, unique identification as software version identity in the client, the renewal ROMPaq of storage encryption in this hiding memory block simultaneously is as the backup file of the renewal ROMPaq of client-side program;
2, store the start-up routine that unencrypted upgrades ROMPaq and client then in the virtual storage region of client, the unencrypted here upgrades the effect that ROMPaq also plays backup file;
3, store client-side program in the free core pool of client, the function of this client-side program is a login to service server, also comprises the renewal ROMPaq in this program;
4, when the start-up routine in the virtual storage region starts, at first call the renewal ROMPaq in the free core pool;
If it is deleted that 5 renewal ROMPaq have damage or upgrade ROMPaq, start-up routine calls the backup file of hiding the memory block automatically, and ROMPaq is upgraded in recovery automatically;
Do not damage if 6 upgrade ROMPaq, start-up routine is left intact, and upgrades ROMPaq and normally starts;
7, upgrade ROMPaq and carry saved software revision ID visit renewal ROMPaq server in the hiding memory block, detect the ROMPaq whether corresponding this software version ID is arranged;
If 8 do not have detection that the renewal ROMPaq is arranged, upgrade ROMPaq and can be automatically brought to the 12nd step continuation working procedure;
If 9 have detected ROMPaq, upgrade the recent software version that ROMPaq is downloaded corresponding this software version ID automatically;
If 10 new software versions are downloaded successfully, the client terminal start-up program continues to start client-side program, the registering service server, and the accessing server by customer end flow process is finished;
If 11 new software version failed downloads upgrade ROMPaq and can continue the download new software version, till downloading successfully;
12, upgrade the ROMPaq visit and upgrade the ROMPaq server, client-side program in the free core pool and the identical version of upgrading on the ROMPaq server are compared, detect and judge whether above-mentioned two files are identical;
If 13 comparative results are identical, upgrade ROMPaq and withdraw from automatically;
If 14 comparative results are inequality, the file that the renewal ROMPaq will be upgraded on the upgrade server automatically downloads to this locality, upgrades the existing client end program of cost version;
15, the client terminal start-up program continues to start client-side program, the registering service server, and the accessing server by customer end flow process is finished;
If under the situation that the program in 16 hiding memory blocks and the free core pool is damaged simultaneously, at this moment need user oneself manually to copy the renewal ROMPaq in the virtual storage region to free core pool, and then the start-up routine of double-click virtual storage region, program repeats the 4th step and the startup flow process between the 15th later on, till successful registering service server.
So, the user can utilize have this function client in any place, any environment uses down, if client-side program infective virus or formatted, the renewal ROMPaq of storing in the client can return to client-side program latest edition automatically; When new client-side program was issued, renewal ROMPaq program meeting auto Detection Software version reached and utilizes this renewal ROMPaq to repair the purpose of client-side program and automatic down loading updating software version from upgrading the ROMPaq server automatically.In the present invention, upgrading the ROMPaq server can be any server on the Internet, does not need special program, as long as can provide program to download, operating system is not required yet, and can be all general operating systems such as linux, Unix, Windows.
Though specifically described the preferred embodiments of the present invention in detail in instructions embodiment part, but this description only is the purpose of property presented for purpose of illustration, and is appreciated that under the situation of the spirit or scope that do not break away from claims of the present invention and can obtains multiple change and modification.

Claims (7)

1. the method for a customer terminals program automatic update, be stored in the hiding memory block of client by upgrading Update program of the renewal after will encrypting and software version ID, with the backup file of above-mentioned two files as the renewal ROMPaq of client, when the client-side program in the free core pool or upgrade ROMPaq impaired or formatted after, the client terminal start-up program that is stored in the virtual storage region can be recovered the renewal ROMPaq of free core pool automatically, and simultaneously the client-side program renewal is upgraded to existing latest edition, upgrade ROMPaq and carry out the following step:
(1) detects automatically and login and upgrade upgrade server by network;
(2) upgrade the updating client program automatically;
(3) repair client-side program;
Thereby realize that client-side program is repaired automatically and the function of auto-update program.
2. the method for claim 1 is characterized in that, when this client terminal start-up program is activated, its program will be handled with following step:
At first, the start-up routine of client is started automatically by the automatic startup AutoRun function of system, and then start-up routine starts the renewal ROMPaq automatically, judges then whether upgrade ROMPaq starts success, if carry out following step:
Read the program ID that client itself is carried, upgrade server is upgraded in login;
Upgrade ROMPaq the program ID that carries is mated with the program ID on the server, whether have new ROMPaq exist, if having, just directly ROMPaq is downloaded to this locality if detecting, upgrade the updating client program then;
If do not have, upgrading ROMPaq mates the client-side program of preserving on the client-side program of this locality and the server, judge client-side program whether with server on program in full accord, if not, upgrade ROMPaq with the program on the automatic Download Server, upgrade local client-side program, the final updating ROMPaq withdraws from, and starts client-side program registering service server.
3. method as claimed in claim 2 is characterized in that, when upgrading ROMPaq startup failure, start-up routine can upgrade existing renewal ROMPaq automatically with backing up after the renewal ROMPaq deciphering of hiding the memory block.
4. method as claimed in claim 2, it is characterized in that, the server that upgrades the ROMPaq visit can be any one Internet server that download can be provided, do not need special renewal ROMPaq server program is installed, the employed operating system of server can be any general-purpose operating system.
5. method as claimed in claim 2, it is characterized in that, when upgrading ROMPaq from renewal upgrade server download repair procedure or down loading updating ROMPaq, upgrade the ROMPaq may command from upgrading the program amount of capacity that upgrade server is downloaded, when the renewal ROMPaq is repaired client or is upgraded upgrading, upgrading ROMPaq compares to client-side program and the program of upgrading on the upgrade server, after comparison is finished, upgrade a ROMPaq program that download client this locality does not have.
6. method as claimed in claim 2, it is characterized in that upgrading ROMPaq all is that process is encrypted in the program of downloading from the renewal upgrade server, after the renewal ROMPaq downloads to this locality, upgrade ROMPaq and can override local client-side program then automatically with this program deciphering.
7. method as claimed in claim 2 is characterized in that, utilizes this downloading mode that upgrades ROMPaq, upgrades the ROMPaq server and can store client-side program in such a way:
All identical parts in all programs are only stored once on the renewal upgrade server, parts different in all programs is stored in corresponding to corresponding program version information upgrades on the upgrade server.
CNA2007101435918A 2007-08-10 2007-08-10 Customer terminals program automatic update method CN101158906A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101435918A CN101158906A (en) 2007-08-10 2007-08-10 Customer terminals program automatic update method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101435918A CN101158906A (en) 2007-08-10 2007-08-10 Customer terminals program automatic update method

Publications (1)

Publication Number Publication Date
CN101158906A true CN101158906A (en) 2008-04-09

Family

ID=39307017

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101435918A CN101158906A (en) 2007-08-10 2007-08-10 Customer terminals program automatic update method

Country Status (1)

Country Link
CN (1) CN101158906A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102012990A (en) * 2010-12-16 2011-04-13 北京安天电子设备有限公司 Method and device for repairing bugs of third-party software
CN102025778A (en) * 2010-11-25 2011-04-20 成都勤智数码科技有限公司 Software version upgrading work method based on Shell
CN102681910A (en) * 2011-03-08 2012-09-19 联想(北京)有限公司 Recognition method, computer and recognition system
CN102737087A (en) * 2012-03-09 2012-10-17 珠海市君天电子科技有限公司 Real-time misreport removal method
CN102750100A (en) * 2012-06-20 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Terminal and method for identifying operating system of terminal
CN102831010A (en) * 2012-08-30 2012-12-19 腾讯科技(深圳)有限公司 Method and device for opening unknown file
CN103067484A (en) * 2012-12-25 2013-04-24 深圳市天维尔通讯技术有限公司 Method and system upgrading application program automatically
CN103197946A (en) * 2013-04-25 2013-07-10 广州市雄兵汽车电器有限公司 Remote upgrading system of automobile one-button start host
WO2013135137A1 (en) * 2012-03-16 2013-09-19 腾讯科技(深圳)有限公司 System file repair method and apparatus
CN103823700A (en) * 2014-02-28 2014-05-28 北京数码大方科技股份有限公司 Method and device for upgrading application software of client
WO2015081560A1 (en) * 2013-12-06 2015-06-11 北京新媒传信科技有限公司 Instant messaging client recognition method and recognition system
CN106878362A (en) * 2015-12-11 2017-06-20 展讯通信(上海)有限公司 A kind of client, system and method for beta version more new system
CN107172060A (en) * 2017-06-06 2017-09-15 武汉票据交易中心有限公司 A kind of login method of client container

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025778A (en) * 2010-11-25 2011-04-20 成都勤智数码科技有限公司 Software version upgrading work method based on Shell
CN102012990A (en) * 2010-12-16 2011-04-13 北京安天电子设备有限公司 Method and device for repairing bugs of third-party software
CN102681910B (en) * 2011-03-08 2015-01-28 联想(北京)有限公司 Recognition method, computer and recognition system
CN102681910A (en) * 2011-03-08 2012-09-19 联想(北京)有限公司 Recognition method, computer and recognition system
CN102737087A (en) * 2012-03-09 2012-10-17 珠海市君天电子科技有限公司 Real-time misreport removal method
CN102737087B (en) * 2012-03-09 2015-02-11 珠海市君天电子科技有限公司 Real-time misreport removal method
US9535781B2 (en) 2012-03-16 2017-01-03 Tencent Technology (Shenzhen) Company Limited System file repair method and apparatus
WO2013135137A1 (en) * 2012-03-16 2013-09-19 腾讯科技(深圳)有限公司 System file repair method and apparatus
CN102750100A (en) * 2012-06-20 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Terminal and method for identifying operating system of terminal
CN102831010A (en) * 2012-08-30 2012-12-19 腾讯科技(深圳)有限公司 Method and device for opening unknown file
WO2014032601A1 (en) * 2012-08-30 2014-03-06 Tencent Technology (Shenzhen) Company Limited Systems and methods for file processing
CN103067484B (en) * 2012-12-25 2015-11-18 天维尔信息科技股份有限公司 A kind of method and system of auto-update application program
CN103067484A (en) * 2012-12-25 2013-04-24 深圳市天维尔通讯技术有限公司 Method and system upgrading application program automatically
CN103197946A (en) * 2013-04-25 2013-07-10 广州市雄兵汽车电器有限公司 Remote upgrading system of automobile one-button start host
WO2015081560A1 (en) * 2013-12-06 2015-06-11 北京新媒传信科技有限公司 Instant messaging client recognition method and recognition system
CN103823700A (en) * 2014-02-28 2014-05-28 北京数码大方科技股份有限公司 Method and device for upgrading application software of client
CN103823700B (en) * 2014-02-28 2017-11-14 北京数码大方科技股份有限公司 The application software updating method and device of client
CN106878362A (en) * 2015-12-11 2017-06-20 展讯通信(上海)有限公司 A kind of client, system and method for beta version more new system
CN106878362B (en) * 2015-12-11 2020-04-24 展讯通信(上海)有限公司 Client for testing version updating system, system and method
CN107172060A (en) * 2017-06-06 2017-09-15 武汉票据交易中心有限公司 A kind of login method of client container
CN107172060B (en) * 2017-06-06 2020-03-17 武汉票据交易中心有限公司 Login method of client container

Similar Documents

Publication Publication Date Title
US9858066B2 (en) Updating firmware of a hardware component
US9244673B2 (en) System and method for updating application archive files
CN104094256B (en) Deployment driving or application on the client device with write-in filter
US8613110B2 (en) Software piracy prevention through remote enforcement of an activation threshold
CN100447740C (en) System and method for intra-package delta compression of data
US6892381B2 (en) Updating a device driver with mechanism employing two files one containing changes (variable file) and a file containing unchanged code (invariable file) downloading both to update
EP1519268B1 (en) Communication terminal and communication network for partially updating software, software update method, and software creation device and method therefor
CA2753020C (en) Device dependent on-demand compiling and deployment of mobile applications
RU2365983C2 (en) System and method for software distribution service
CN102262544B (en) The method and apparatus of software upgrading
US8006241B2 (en) Automatic software installation and cleanup
TWI384399B (en) Apparatus and methods for updating firmware
CN103582875B (en) The method recovered for multi-source and device
EP1566726B1 (en) Detachable usb device comprising unit devices
TW591416B (en) Localized read-only storage device for distributing files over a network
US20150242196A1 (en) Installation of software onto a computer
AU2011336953B2 (en) Pre-heated software installation
US9916574B2 (en) Secure computing device and method
RU2372644C2 (en) System and method for updating installation components in network environment
US8924920B2 (en) Providing a software appliance based on a role
CN101377744B (en) Method and apparatus for recovering terminal equipment software upgrade
US6256668B1 (en) Method for identifying and obtaining computer software from a network computer using a tag
US8233893B2 (en) Mobile handset update package generator that employs nodes technique
RU2409838C2 (en) Archiving data in virtual application enviroinment
RU2498518C2 (en) Application for preparing for first start-up after unpacking, intended for collecting data for new computer and method of manufacture

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20080409