CN101329633A - Method and apparatus for upgrading software - Google Patents

Method and apparatus for upgrading software Download PDF

Info

Publication number
CN101329633A
CN101329633A CNA2008101172423A CN200810117242A CN101329633A CN 101329633 A CN101329633 A CN 101329633A CN A2008101172423 A CNA2008101172423 A CN A2008101172423A CN 200810117242 A CN200810117242 A CN 200810117242A CN 101329633 A CN101329633 A CN 101329633A
Authority
CN
China
Prior art keywords
functional module
module
redaction
software
function address
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
CNA2008101172423A
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.)
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics 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 Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CNA2008101172423A priority Critical patent/CN101329633A/en
Publication of CN101329633A publication Critical patent/CN101329633A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to the technical field of computers, in particular to a software update method and a software update device, which are used for solving the problem that during the process of software update, software in operation is required to be stop for update existing in the prior art, thus reducing software operation efficiency and customer satisfaction degree. The method of the embodiment of the invention comprises that: when a functional module needs to be updated, a corresponding functional module of new version is downloaded; the downloaded functional module of new version is uploaded to a progress space; the data in the functional module is copied to the functional module of new version; when the functional module does not operate, the functional module is deleted. The method of the embodiment of the invention can increase software operation efficiency and customer satisfaction degree.

Description

A kind of software upgrade method and software updating apparatus
Technical field
The present invention relates to field of computer technology, particularly a kind of software upgrade method and software updating apparatus.
Background technology
At present, after new software systems provide use, some mistakes can appear; Perhaps the software publisher is in order to allow the software of oneself realize more function, also can on the basis of the software of having issued, add some new functions, at this moment just must upgrade, realize eliminating the mistake of software systems, and software systems are added new function software.
That is to say that software upgrading is an in use indispensable part of software, is that each software all will carry out.
Existing method for upgrading software:
1) Connection Service device in software running process checks whether redaction is arranged;
2) after redaction is arranged, download the functional module of redaction;
3) stop running software, replace the functional module of legacy version with the functional module of redaction;
4) restart software after the upgrading.
Because at present software upgrade method need temporarily stop the software to move, the software that uses for the individual also can not cause too much influence, but for the software that need run without interruption as ecommerce, communication apparatus etc., system more can cause enormous economic loss because software temporarily stops to reduce software operation efficiency and user satisfaction.
In sum, at present in software upgrade process, must stop the software to move earlier, just can upgrade, thereby can reduce software operation efficiency and user satisfaction.
Summary of the invention
The embodiment of the invention provides a kind of software upgrade method and software updating apparatus, in order to solve exist in the prior art in software upgrade process, must stop the software to move earlier, just can upgrade, thereby can reduce the problem of software operation efficiency and user satisfaction.
A kind of software upgrade method that the embodiment of the invention provides comprises:
When functional module need be upgraded, download corresponding redaction functional module;
The described redaction functional module of downloading is loaded in the process space, and the data in the described functional module are copied in the described redaction functional module;
When described functional module is not moved, delete described functional module.
A kind of software updating apparatus that the embodiment of the invention provides comprises:
Administration module is used for when functional module need be upgraded, and downloads corresponding redaction functional module, and the described redaction functional module of downloading is loaded in the process space;
Data processing module is used for the data of described functional module are copied in the described redaction functional module;
The function removing module is used for deleting described functional module when described functional module is not moved.
When functional module need be upgraded, download corresponding redaction functional module; The described redaction functional module of downloading is loaded in the process space, and the data in the described functional module are copied in the described redaction functional module; When described functional module is not moved, delete described functional module, because a functional module is carried out a function, each function is independent, like this when a functional module operation, download the new edition functional module of this functional module, when old functional module is not moved, replace, thereby when software upgrading, do not need the software of operation suspension, in continuous upgrade software system, to revise mistake, add new function, when improving system performance, guarantee the reliability and the long-play of software systems, reduced the economic loss of bringing because of software is out of service, and improved software operation efficiency and user satisfaction.
Description of drawings
Fig. 1 is an embodiment of the invention software upgrade method schematic flow sheet;
Fig. 2 is an embodiment of the invention software updating apparatus structural representation;
Fig. 3 is an embodiment of the invention software system framework synoptic diagram.
Embodiment
The embodiment of the invention is when having detected functional module and need upgrade, the functional module of redaction is loaded into carries out in the space, and the data of the functional module of legacy version are copied in the functional module of redaction, when the functional module of legacy version is not moved, the functional module of deletion legacy version, can not influence the operation of other functional modules like this, just can upgrade software thereby realized not needing to stop running software, guarantee the reliability and the long-play of software systems.
Below in conjunction with Figure of description the embodiment of the invention is described in further detail.
As shown in Figure 1, embodiment of the invention software upgrade method comprises the following steps:
Step 100, when functional module need be upgraded, download corresponding redaction functional module.
In specific implementation process, according to the time of setting, the cycle checks whether the functional module that needs upgrading is arranged, the concrete time can be set as required from upgrade server.
Need to prove that present embodiment is not limited to the mode of the time of above-mentioned setting, other modes that trigger upgrading are suitable for present embodiment equally, such as: behind each running software, check whether need the functional module of upgrading; After receiving the upgrading message that upgrade server sends, determine functional module by the needs upgrading or the like.
Step 101, the redaction functional module of downloading is loaded in the process space, and the data in the functional module are copied in the redaction functional module.
Data in the functional module can be the whole data of functional module, also can be the private datas (data that promptly only belong to this functional module) of functional module.
Wherein, in the step 101, can further include after being loaded into the redaction functional module of downloading in the process space:
The interface function address of redaction functional module is added in the interface function address table.
In specific implementation process, from the interface that operating system provides, obtain the interface function address of redaction functional module.
Mutual between the functional module need be searched the address of corresponding functional module by the interface function address table, can not interconnect between the functional module like this, in the functional module that has since the upgrading back when deleted, do not influence other functional modules yet and move.
Step 102, when functional module is not moved, delete this functional module.
Wherein, in the step 102, when functional module is not moved, the interface function address of this functional module of deletion from the interface function address table.
In specific implementation process, delete this functional module and can further include:
From the process space, after this functional module of deletion, from storage space, delete this functional module.
As shown in Figure 2, embodiment of the invention software updating apparatus comprises: administration module 10, data processing module 20 and function removing module 30.
Administration module 10 is connected with function removing module 30 with data processing module 20, is used for when functional module need be upgraded, and downloads corresponding redaction functional module, and the redaction functional module of downloading is loaded in the process space.
In specific implementation process, administration module 10 is according to the time of setting, and the cycle checks whether the functional module that needs upgrading is arranged, the concrete time can be set as required from upgrade server.
Need to prove that present embodiment is not limited to the mode of the time of above-mentioned setting, other modes that trigger upgrading are suitable for present embodiment equally, such as: behind each running software, check whether need the functional module of upgrading; After receiving the upgrading message that upgrade server sends, determine functional module by the needs upgrading or the like.
Data processing module 20 is connected with administration module 10, is used for the data of functional module are copied in the redaction functional module of administration module 10 downloads.
Wherein, the data in the functional module can be the whole data of functional module, also can be the private datas (data that promptly only belong to this functional module) of functional module.
Function removing module 30 is connected with administration module 10, is used for after administration module 10 is finished the download of redaction functional module, when not moving (neither working) in functional module, deletes this functional module.
Wherein, function removing module 30 can further include: process space removing module 300 and storage space removing module 301.
Process space removing module 300 is used for after administration module 10 is finished the download of redaction functional module, when functional module is not moved, and this functional module of deletion from the process space.
Storage space removing module 301 is used at process space removing module 300 after this functional module of process space deletion this functional module of deletion from storage space.
Wherein, embodiment of the invention software updating apparatus can further include: interface module 40 and interpolation module 50.
Interface module 40 is connected with administration module 10, data processing module 20, function removing module 30 and interpolation module 50, is used for memory interface function address table.
Add module 50, be connected with interface module 40 with administration module 10, be used for after administration module 10 is loaded into the process space with the redaction functional module of downloading, the interface function address of redaction functional module being added in the interface function address table of interface module 40.
In specific implementation process, add module 50 obtains the redaction functional module from the interface that operating system provides interface function address.
Mutual between the functional module, need search the address of corresponding functional module by the interface function address table, and be undertaken can not interconnecting between the functional module so alternately by interface module 40, in the functional module that has because upgrading back when deleted, does not influence other functional modules operations yet.
Wherein, embodiment of the invention software updating apparatus can further include: function address removing module 60.
Function address removing module 60, be connected with interface module 40 with administration module 10, be used for after administration module 10 is finished the download of redaction functional module, when functional module is not moved, the interface function address of this functional module of deletion from the interface function address table of interface module 40.
As shown in Figure 3, in the embodiment of the invention software system framework synoptic diagram, undertaken alternately by interface module 40 between functional module A and the functional module B.
Administration module 10 detects functional module A needs upgrading, then downloads corresponding functional module C, and by interface module 40 the functional module C that downloads is loaded in the process space.
Data processing module 20 copies to the data among the functional module A among the functional module C by interface module 40 according to the interface function address table.
Adding module 50 adds the interface function address of functional module C in the interface function address table of interface module 40 to.
More than operation can not influence mutual between functional module A and the functional module B.
After function removing module 30 is finished the download of redaction functional module at administration module 10, when functional module A does not move, from carry out the space, delete this functional module A according to the interface function address table by interface module 40, from storage space, delete this functional module A according to the interface function address table by interface module 40 then.
After function address removing module 60 is finished the download of redaction functional module at administration module 10, when functional module A does not move, the interface function address of this functional module of deletion from the interface function address table of interface module 40.
At this moment functional module C has just substituted functional module A fully, if functional module B need have alternately with functional module A, then functional module B can find corresponding alternative module (being functional module C) according to the interface function address table, just can carry out alternately with functional module C by interface module 40 then.
Owing to during updating functional modules, can not influence other functional module operation,, just can upgrade so need not stop operation with whole software.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the memory storage and carry out by calculation element.Like this, the present invention is not restricted to any specific hardware and software combination.Should be understood that the variation in these concrete enforcements is conspicuous for a person skilled in the art, do not break away from spiritual protection domain of the present invention.
From the foregoing description as can be seen: when the embodiment of the invention need be upgraded in functional module, download corresponding redaction functional module; The described redaction functional module of downloading is loaded in the process space, and the data in the described functional module are copied in the described redaction functional module; When described functional module is not moved, delete described functional module, because a functional module is carried out a function, each function is independent, like this when a functional module operation, download the new edition functional module of this functional module, when old functional module is not moved, replace, thereby when software upgrading, do not need the software of operation suspension, in continuous upgrade software system, to revise mistake, add new function, when improving system performance, guarantee the reliability and the long-play of software systems, reduced the economic loss of bringing because of software is out of service, and improved software operation efficiency and user satisfaction.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (10)

1, a kind of software upgrade method is characterized in that, this method comprises:
When functional module need be upgraded, download corresponding redaction functional module;
The described redaction functional module of downloading is loaded in the process space, and the data in the described functional module are copied in the described redaction functional module;
When described functional module is not moved, delete described functional module.
2, the method for claim 1 is characterized in that, the described described redaction functional module that will download also comprises after being loaded in the process space:
The interface function address of described redaction functional module is added in the interface function address table.
3, method as claimed in claim 2 is characterized in that, this method also comprises:
When described functional module is not moved, the interface function address of the described functional module of deletion from described interface function address table.
As the described method of the arbitrary claim of claim 1-3, it is characterized in that 4, the described functional module of described deletion comprises:
From the described process space, after the described functional module of deletion, from storage space, delete described functional module.
5, method as claimed in claim 2 is characterized in that, this method also comprises:
According to the time of setting, the cycle checks whether the functional module that needs upgrading is arranged.
6, a kind of software updating apparatus is characterized in that, this device comprises:
Administration module is used for when functional module need be upgraded, and downloads corresponding redaction functional module, and the described redaction functional module of downloading is loaded in the process space;
Data processing module is used for the data of described functional module are copied in the described redaction functional module;
The function removing module is used for after described administration module is finished the download of described redaction functional module, when described functional module is not moved, deletes described functional module.
7, device as claimed in claim 6 is characterized in that, described software updating apparatus also comprises:
Interface module is used for memory interface function address table;
Add module, be used for after the described redaction functional module that described administration module will be downloaded is loaded into the process space, the interface function address of described redaction functional module being added in the described interface function address table.
8, device as claimed in claim 7 is characterized in that, described software updating apparatus also comprises:
The function address removing module is used for after described administration module is finished the download of described redaction functional module, when described functional module is not moved, and the interface function address of the described functional module of deletion from described interface function address table.
As the described device of the arbitrary claim of claim 6-8, it is characterized in that 9, described function removing module comprises:
Process space removing module is used for after described administration module is finished the download of described redaction functional module, when described functional module is not moved, and the described functional module of deletion from the described process space;
The storage space removing module is used at described process space removing module after the described functional module of described process space deletion the described functional module of deletion from storage space.
10, device as claimed in claim 6 is characterized in that, described administration module also is used for:
According to the time of setting, the cycle checks whether the functional module that needs upgrading is arranged.
CNA2008101172423A 2008-07-25 2008-07-25 Method and apparatus for upgrading software Pending CN101329633A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008101172423A CN101329633A (en) 2008-07-25 2008-07-25 Method and apparatus for upgrading software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008101172423A CN101329633A (en) 2008-07-25 2008-07-25 Method and apparatus for upgrading software

Publications (1)

Publication Number Publication Date
CN101329633A true CN101329633A (en) 2008-12-24

Family

ID=40205452

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008101172423A Pending CN101329633A (en) 2008-07-25 2008-07-25 Method and apparatus for upgrading software

Country Status (1)

Country Link
CN (1) CN101329633A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010148742A1 (en) * 2009-06-23 2010-12-29 中兴通讯股份有限公司 Method device and system for on-line upgrading software
CN102355486A (en) * 2011-08-11 2012-02-15 深圳市迅雷网络技术有限公司 Data download method and apparatus thereof
CN102622253A (en) * 2012-03-09 2012-08-01 瑞斯康达科技发展股份有限公司 Singlechip and method for upgrading singlechip on line
CN102937906A (en) * 2012-10-31 2013-02-20 中兴通讯股份有限公司 Method and system for updating patch software
CN101782855B (en) * 2009-01-15 2013-03-20 华为技术有限公司 Method and device for removing software according to configuration
CN104423989A (en) * 2013-09-02 2015-03-18 联想(北京)有限公司 Application updating method and electronic equipment
CN104699492A (en) * 2013-12-06 2015-06-10 中兴通讯股份有限公司 Method and device for software upgrading
CN105302604A (en) * 2015-10-30 2016-02-03 北京奇虎科技有限公司 Application version update method and apparatus
WO2016177260A1 (en) * 2015-05-07 2016-11-10 阿里巴巴集团控股有限公司 Libvirt software hot upgrading method and device
CN106339248A (en) * 2016-10-09 2017-01-18 大道网络(上海)股份有限公司 Remote software upgrading method and remote software upgrading system
CN107092496A (en) * 2016-12-28 2017-08-25 北京小度信息科技有限公司 The upgrade method and device of a kind of application software
CN107357613A (en) * 2017-06-28 2017-11-17 广州酷狗计算机科技有限公司 Using update method, device and computer-readable recording medium

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101782855B (en) * 2009-01-15 2013-03-20 华为技术有限公司 Method and device for removing software according to configuration
WO2010148742A1 (en) * 2009-06-23 2010-12-29 中兴通讯股份有限公司 Method device and system for on-line upgrading software
CN102355486A (en) * 2011-08-11 2012-02-15 深圳市迅雷网络技术有限公司 Data download method and apparatus thereof
CN102622253A (en) * 2012-03-09 2012-08-01 瑞斯康达科技发展股份有限公司 Singlechip and method for upgrading singlechip on line
CN102622253B (en) * 2012-03-09 2015-11-18 瑞斯康达科技发展股份有限公司 A kind of method of single-chip microcomputer and online upgrading thereof
CN102937906B (en) * 2012-10-31 2015-09-16 中兴通讯股份有限公司 A kind of patch software upgrade method and system
CN102937906A (en) * 2012-10-31 2013-02-20 中兴通讯股份有限公司 Method and system for updating patch software
CN104423989B (en) * 2013-09-02 2017-11-28 联想(北京)有限公司 One kind applies update method and electronic equipment
CN104423989A (en) * 2013-09-02 2015-03-18 联想(北京)有限公司 Application updating method and electronic equipment
CN104699492A (en) * 2013-12-06 2015-06-10 中兴通讯股份有限公司 Method and device for software upgrading
WO2016177260A1 (en) * 2015-05-07 2016-11-10 阿里巴巴集团控股有限公司 Libvirt software hot upgrading method and device
CN106201566A (en) * 2015-05-07 2016-12-07 阿里巴巴集团控股有限公司 The rich big special hot upgrade method of software of profit and equipment
CN106201566B (en) * 2015-05-07 2019-08-23 阿里巴巴集团控股有限公司 Benefit wins the hot upgrade method of big special software and equipment
US10466999B2 (en) 2015-05-07 2019-11-05 Alibaba Group Holding Limited Software hot upgrading method and device
CN105302604A (en) * 2015-10-30 2016-02-03 北京奇虎科技有限公司 Application version update method and apparatus
CN105302604B (en) * 2015-10-30 2018-10-23 北京奇虎科技有限公司 The method for updating edition and device of application program
CN106339248A (en) * 2016-10-09 2017-01-18 大道网络(上海)股份有限公司 Remote software upgrading method and remote software upgrading system
CN107092496A (en) * 2016-12-28 2017-08-25 北京小度信息科技有限公司 The upgrade method and device of a kind of application software
CN107357613A (en) * 2017-06-28 2017-11-17 广州酷狗计算机科技有限公司 Using update method, device and computer-readable recording medium
CN107357613B (en) * 2017-06-28 2020-09-04 广州酷狗计算机科技有限公司 Application updating method and device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN101329633A (en) Method and apparatus for upgrading software
US20150100955A1 (en) Method and System for Updating Software
CN104699423B (en) The method and apparatus that drive is bound in linux system
CN107992308B (en) Plug-in management method for android terminal application program
CN107193607B (en) Method and apparatus for updating code file, storage medium, processor, and terminal
CN102937909B (en) A kind of method of disposing and upgrading linux system
CN102231163B (en) System and method for synchronously and preferentially updating specified file
CN106911729A (en) A kind of operating system remote installation method suitable for domestic processor
CN109669692B (en) Source code sharing method, server, computer readable storage medium and system
CN111708566A (en) Software increment updating method, device, system and computer readable storage medium
CN104834541A (en) Function module mounting method, mounting system and mounting system updating method
CN110535776B (en) Gateway current limiting method, device, gateway, system and storage medium
CN106886422A (en) Method for upgrading software and device, electronic equipment
CN110532016B (en) Version management method, version updating method and version management system
CN103984585A (en) Method for upgrading Linux kernel in running process of kernel module capable of being plugged in thermal mode
US20210117120A1 (en) Data movement between heterogeneous storage devices
CN107463390B (en) Software upgrading method and upgrading server
CN105204898A (en) Application deployment system and method and control server
CN102932476A (en) Network storage synchronization system
CN101169726A (en) Embedded type Linux system on-line upgrading method based on MTD partition
CN102567050A (en) Method and device for remote deployment of project of B/S (browser/server) system
KR100831128B1 (en) System and method for backup/recovery of operating system, backup/recovery/update/install/run of game program and management of operating sysem
WO2017133246A1 (en) Data processing method, server and system
CN106462421B (en) Telecommunication device and method for updating software in a telecommunication device
CN105045595A (en) Plug-in integrating method and plug-in integrating device

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

Open date: 20081224