CN101834885A - Method and device for downloading software - Google Patents
Method and device for downloading software Download PDFInfo
- Publication number
- CN101834885A CN101834885A CN201010122282A CN201010122282A CN101834885A CN 101834885 A CN101834885 A CN 101834885A CN 201010122282 A CN201010122282 A CN 201010122282A CN 201010122282 A CN201010122282 A CN 201010122282A CN 101834885 A CN101834885 A CN 101834885A
- Authority
- CN
- China
- Prior art keywords
- software
- download
- indispensable
- downloading
- assistant
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention provides a method for downloading software. The method comprises the following steps of: receiving a downloading command and downloading a description file in a corresponding software package, wherein the description file is used for searching a necessary software part and an assistant software part in the software package; downloading the necessary software part of the software package; and activating the downloaded necessary software part. The method shortens the time during which the serviceability of equipment is affected by preferentially downloading and activating the necessary software part in the software package, so that the influence caused by software downloading is reduced. Besides, the embodiment of the invention also provides a device for downloading the software.
Description
Technical field
The embodiment of the invention relates to software technology field, especially a kind of method for downloading software and device.
Background technology
In communication system, the software kit of an equipment is divided into a plurality of different parts usually, and each parts is finished different functions.Along with functions of the equipments constantly strengthen, the corresponding increase of number of components meeting, parts itself also can become greatly, thereby cause the software kit of equipment constantly to increase, and reduce software updating efficiency, influence the serviceability of equipment.
Constantly increase the problem that causes software updating efficiency to reduce in order to solve device software, a kind of solution commonly used is to download afterwards earlier to activate.This scheme just escalation process of equipment is divided into and downloads and activate two steps: download step, the device software bag of redaction is downloaded in the storage system of equipment, and activate step, new device software comes into force.Wherein down operation is carried out with the background task form, does not influence the normal operation of equipment; And the operation that comes into force can influence the normal operation of equipment.This scheme will be downloaded and upgrade and separately carry out, owing to download the normal operation that can not influence equipment, can carry out in advance, only need carry out activation like this when equipment is formally upgraded, and therefore can reduce the time of upgrading cost.
But in some equipment software upgrading scene, download can not be carried out in advance, and that is to say to download and activate needs to carry out continuously.For example, when communication equipment was moved, new equipment can not move in advance, only after cutting off used equipment, could move new equipment, concerning new equipment, can't carry out down operation in advance.In this case, software download and activation step need to carry out continuously, and the time that upgrading spends is more, and the user can be subjected to bigger influence.
Summary of the invention
On the one hand, the embodiment of the invention provides a kind of method for downloading software, comprising: receive download command, download the description document in the corresponding software package, described description document is used for searching the indispensable software part and the assistant software parts of software kit; Download the indispensable software part in the software kit; Activate the indispensable software part of described download.
On the other hand, the embodiment of the invention provides a kind of software download equipment, comprising: receiver module is used to receive download command; First download module is used for downloading the description document of corresponding software package, and described description document is used for searching the indispensable software part and the assistant software parts of software kit; Second download module is used for downloading the indispensable software part of software kit; Active module is used to activate the indispensable software part that second download module is downloaded
The embodiment of the invention also provides a kind of system, comprises file server and above-mentioned software download device, and wherein file server is used for providing software kit to software download equipment.。
The embodiment of the invention shortens the time that influences the equipment serviceability by the indispensable software part in preferential download and the activating software bag, thereby reduces the influence that software download caused.
Description of drawings
A kind of method for downloading software schematic flow sheet that Fig. 1 provides for the embodiment of the invention.
The another kind of method for downloading software schematic flow sheet that Fig. 2 provides for the embodiment of the invention.
Another method for downloading software schematic flow sheet that Fig. 3 provides for the embodiment of the invention.
A kind of software download device structure schematic diagram that Fig. 4 provides for the embodiment of the invention.
The another kind of software download device structure schematic diagram that Fig. 5 provides for the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing the embodiment of the invention is specified.
See also Fig. 1, a kind of method for downloading software schematic flow sheet that Fig. 1 provides for the embodiment of the invention.This method mainly comprises the steps.
Generally speaking, the equipment supplier is placed on all software parts of equipment in the software kit and issues.The software of equipment is surrounded by unique version identifier, comprises all software parts of equipment in the software kit, and comprises a software part description document.This description document can be used for searching the indispensable software part and the assistant software parts of software kit.
In the present embodiment, description document can comprise following two parts information:
First, the overall information of software kit; Mainly refer to unique version identifier, size, check code of software kit etc.
Second portion, the information of software part; The position of the functional classification, version identifier, software part that mainly refers to software part in software kit, size, check code etc.Wherein the functional classification of software part is represented the classification of the function that these parts are supported, the normal operation of equipment must the function corresponding components belong to indispensable software part, and other function corresponding components belong to the assistant software parts.
According to description document, can be easy to determine indispensable software part and assistant software parts in the software kit of equipment correspondence.
Because indispensable software part is the normally necessary software part of operation of equipment, in the present embodiment, preferentially downloads indispensable software part, can normally move with assurance equipment.
Wherein, the indispensable software of downloading in the software kit specifically can comprise: determine indispensable software part in the software kit according to description document; Download described indispensable software part from file server.
After indispensable software part is downloaded end, activate the indispensable software part of downloading, equipment can normally move.
The method that present embodiment provides goes for the technical field that software kit in communication system or other software download applications can be divided into a plurality of software parts.With the communication system is example, and particularly, the equipment of executive software download here can be base station, base station controller etc., and file server can be a network management system.Be understood that, in software upgrading or move under the new application scenarioss such as equipment, indispensable software part system be the indispensable software part of redaction.
Further, the download command in the step 101 can send to the equipment that executive software is downloaded by file server, after this equipment receives download command, promptly begins concrete down operation.Perhaps download command can send to this equipment by the user.
Alternatively, activate before the indispensable software part of downloading in the step 106, can also comprise: receive the activation command that file server sends; Perhaps this equipment is carried out the operation that activates indispensable software part detecting after indispensable software part all downloads end.
After present embodiment identified indispensable software part by the description document in the software kit, the indispensable software part in preferential download and the activating software bag shortened the time that influences the equipment serviceability, thereby reduced the influence that software download caused.
See also Fig. 2, the another kind of method for downloading software schematic flow sheet that Fig. 2 provides for the embodiment of the invention.This method mainly comprises the steps.
Step 202-206 is identical with step 102-106 essence in the foregoing description, and specific implementation can be referring to the foregoing description.
Because the function of assistant software parts correspondence is optional, so take to postpone to download the mode of assistant software parts in the present embodiment, promptly after the normal operation of equipment, just download the assistant software parts in the software kit.
Particularly, the assistant software parts of downloading in the software kit can comprise: determine assistant software parts in the software kit according to description document; Download described assistant software parts from file server.
After assistant software parts in software kit have been downloaded, activate the assistant software parts, equipment can be supported the function of assistant software parts correspondence.
Further, can also comprise before the assistant software parts in downloading software kit: download the description document in the corresponding software package once more; Relatively successively the description document of downloading confirms that corresponding software package does not change.After confirming that corresponding software package does not change, equipment is just downloaded the assistant software parts.Further, if software kit changes, equipment can be pointed out the user by report and alarm.
Alternatively, activate before the assistant software parts of downloading in the step 210, can also comprise: receive the activation command that file server sends; Perhaps this equipment is carried out the operation that activates the assistant software parts detecting after the assistant software parts all download end; Perhaps just activate this assistant software parts behind assistant software parts of the every download of this equipment, all download and activate until the assistant software parts.
Indispensable software part in preferential download of present embodiment and the activating software bag, shortened the time that influences the equipment serviceability, thereby reduce the influence that software download caused, after the normal operation of equipment, just download the assistant software parts in the software kit, guaranteed the integrality of functions of the equipments.
See also Fig. 3, another method for downloading software schematic flow sheet that Fig. 3 provides for the embodiment of the invention.Present embodiment is that example describes with the communication system, and wherein download equipment can be base station or base station controller etc., and file server can be a network management system etc.This method mainly comprises the steps.
Generally speaking, the equipment supplier is placed on all software parts of equipment in the software kit and issues.The software of equipment is surrounded by unique version identifier, comprises all software parts of equipment in the software kit, and comprises a software part description document.This description document can be used for searching the indispensable software part and the assistant software parts of software kit.
Step 303, download equipment are searched according to description document or are determined indispensable software part in the software kit.
Step 305, download equipment send message to file server after indispensable software part is all downloaded end, inform that the indispensable software part of file server is downloaded to finish.
In actual applications, because therefore the often corresponding a plurality of download equipments of file server can send activation command to a plurality of download equipments by file server and activate these download equipments.
Step 307, download equipment activate the indispensable software part of downloading after receiving activation command.
Download equipment can normally move after activating indispensable software part.
Step 308, download equipment are searched according to description document or are determined assistant software parts in the software kit.
Step 309, download equipment send request to file server, and the assistant software parts are downloaded in request.
After file server was received and downloaded the assistant software component request, if upgrade server is not busy, order was augmented in transmission to download equipment, and download equipment can be downloaded the assistant software parts after receiving and augmenting order; If server is very busy, send wait command to download equipment, reattempt after the notice download equipment waits for a period of time and download the assistant software operation of components, after then download equipment waits for a period of time, send once more and download the assistant software component request to file server.
Step 313, download equipment activate the assistant software parts of downloading after receiving activation command.
Need to prove that wherein step 305 can be omitted, file server can directly send activation command to download equipment after detecting download equipment and having downloaded whole indispensable software parts.Perhaps step 305 and 306 can be omitted, and download equipment is directly carried out the operation that activates indispensable software part detecting after indispensable software part all downloads end.
Wherein step 310 can be omitted, and file server can directly send activation command to download equipment after detecting download equipment and having downloaded whole assistant software parts.Perhaps step 311 and 312 can be omitted, and download equipment is directly carried out the operation that activates the assistant software parts detecting after the assistant software parts all download end.Perhaps just activate this assistant software parts behind assistant software parts of the every download of download equipment, all download and activate until the assistant software parts.
Indispensable software part in preferential download of present embodiment and the activating software bag, shortened the time that influences the equipment serviceability, thereby reduce the influence that software download caused, after the normal operation of equipment, just download the assistant software parts in the software kit, guaranteed the integrality of functions of the equipments.
A kind of software download device structure schematic diagram that Fig. 4 provides for the embodiment of the invention.This equipment mainly comprises: receiver module 402, the first download modules 404, the second download modules 406, active module 408.
Wherein receiver module 402 is used to receive download command.For example receiver module 402 can receive the download command of file server transmission or the download command that the user sends.
When being applied to communication system, this software download device can be base station or base station controller.
Further, present embodiment can also comprise determination module, is used for the description document according to 404 downloads of first download module, determines the indispensable software part in the software kit.Second download module 406 can be downloaded the indispensable software part in the software kit according to definite result of determination module.Such second download module 406 can omit the operation of analyzing description document.
Present embodiment has shortened the time that influences the equipment serviceability, thereby has reduced the influence that software download caused by the indispensable software part in preferential download and the activating software bag.
The another kind of software download device structure schematic diagram that Fig. 5 provides for the embodiment of the invention.This equipment mainly comprises: receiver module 502, the first download modules 504, the second download modules 506, active module 508, the three download modules 510.
Wherein receiver module 502 is used to receive download command.First download module 504 is used for downloading the description document of corresponding software package, and wherein said description document is used for searching the indispensable software part and the assistant software parts of software kit.Second download module 506 is used for downloading the indispensable software part of software kit.Particularly, second download module 506 is used for the description document downloaded according to first download module 504, downloads the indispensable software part in the software kit.Active module 508 is used to activate the indispensable software part that second download module 506 is downloaded.
The 3rd download module 510 is used for downloading the assistant software parts of software kit.Particularly, the 3rd download module 510 is used for the description document downloaded according to first download module 504, downloads the assistant software parts in the software kit.
Described in addition active module 508 also is further used for activating the assistant software parts that the 3rd download module 510 is downloaded.
Further, present embodiment can also comprise determination module, is used for the description document according to 504 downloads of first download module, determines indispensable software part and/or assistant software parts in the software kit.Like this, second download module 506 and the 3rd download module 510 can be according to definite results of determination module, remove to download indispensable software part and assistant software parts in the software kit respectively, thereby second download module 506 and the 3rd download module 510 can omit the operation of analyzing description document.
Alternatively, first download module 504 can also be downloaded the description document in the corresponding software package once more in the present embodiment behind the indispensable software part that active module 508 activation second download module 506 is downloaded.Correspondingly, this device further comprises: confirm module, be used for the description document that comparison first download module 508 is successively downloaded, confirm that corresponding software package does not change.Particularly, the 3rd download module 510 is used for downloading the assistant software parts in the software kit when confirming that module confirms that corresponding software package does not change.
Indispensable software part in preferential download of present embodiment and the activating software bag, shortened the time that influences the equipment serviceability, thereby reduce the influence that software download caused, after the normal operation of equipment, just download the assistant software parts in the software kit, guaranteed the integrality of functions of the equipments.
In addition, the embodiment of the invention also provides a kind of network system, comprises file server and above-mentioned software download device, and wherein file server is used for providing software kit to software download equipment.Indispensable software part in preferential download of present embodiment and the activating software bag has shortened the time that influences the equipment serviceability, can reduce the influence that software download causes at least.
One of ordinary skill in the art will appreciate that all or part of step that realizes in above-mentioned all embodiment methods is to instruct relevant hardware to finish by program, this program can be stored in a kind of computer-readable recording medium.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
1. a method for downloading software is characterized in that, comprising:
Receive download command, download the description document in the corresponding software package, described description document is used for searching the indispensable software part and the assistant software parts of software kit;
Download the indispensable software part in the software kit;
Activate the indispensable software part of described download.
2. method according to claim 1 is characterized in that, also comprises:
Download the assistant software parts in the software kit;
Activate the assistant software parts of described download.
3. method according to claim 1 is characterized in that, the indispensable software part of downloading in the software kit comprises:
Determine indispensable software part in the software kit according to description document
Download described indispensable software part from file server.
4. method according to claim 2 is characterized in that, the assistant software parts of downloading in the software kit comprise:
Determine assistant software parts in the software kit according to description document;
Download described assistant software parts from file server.
5. method according to claim 2 is characterized in that, the assistant software parts of downloading in the software kit also comprise before:
Download the description document in the corresponding software package once more;
Relatively successively the description document of downloading confirms that corresponding software package does not change.
6. a software download equipment is characterized in that, comprising:
Receiver module is used to receive download command;
First download module is used for downloading the description document of corresponding software package, and described description document is used for searching the indispensable software part and the assistant software parts of software kit;
Second download module is used for downloading the indispensable software part of software kit;
Active module is used to activate the indispensable software part that second download module is downloaded.
7. device according to claim 6 is characterized in that, also comprises:
Determination module is used for the description document according to the download of first download module, determines indispensable software part and/or assistant software parts in the software kit.
8. device according to claim 6 is characterized in that, also comprises:
The 3rd download module is used for downloading the assistant software parts of software kit;
Described active module also is used to activate the assistant software parts of described download.
9. device according to claim 6 is characterized in that, first download module also is used for downloading the description document in the corresponding software package once more after indispensable software part activates;
Described device also comprises:
Confirm module, be used for the description document that comparison first download module is successively downloaded, confirm that corresponding software package does not change.
10. a network system is characterized in that, comprising: file server, and as each described software download equipment among the claim 6-9, wherein file server is used for providing software kit to software download equipment.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010122282A CN101834885A (en) | 2010-03-10 | 2010-03-10 | Method and device for downloading software |
PCT/CN2011/071682 WO2011110097A1 (en) | 2010-03-10 | 2011-03-10 | Method and device for software downloading |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010122282A CN101834885A (en) | 2010-03-10 | 2010-03-10 | Method and device for downloading software |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101834885A true CN101834885A (en) | 2010-09-15 |
Family
ID=42718814
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010122282A Pending CN101834885A (en) | 2010-03-10 | 2010-03-10 | Method and device for downloading software |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101834885A (en) |
WO (1) | WO2011110097A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011110097A1 (en) * | 2010-03-10 | 2011-09-15 | 华为技术有限公司 | Method and device for software downloading |
CN102594867A (en) * | 2010-12-24 | 2012-07-18 | 微软公司 | On-demand or incremental remote data copy |
WO2013182051A1 (en) * | 2012-06-07 | 2013-12-12 | 腾讯科技(深圳)有限公司 | Software installation method, terminal, system and computer storage medium |
US8997075B2 (en) | 2013-07-23 | 2015-03-31 | Red Hat, Inc. | System and method for dynamic class management |
WO2015067189A1 (en) * | 2013-11-07 | 2015-05-14 | Tencent Technology (Shenzhen) Company Limited | Method and apparatus for installing application |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1548587A2 (en) * | 2003-12-16 | 2005-06-29 | Microsoft Corporation | Self-describing software image update components |
CN1859151A (en) * | 2005-07-19 | 2006-11-08 | 上海华为技术有限公司 | Method for upgrading remote subsystem in communication system |
CN101001316A (en) * | 2006-12-31 | 2007-07-18 | 北京广博数字电视科技有限公司 | Software staging management method and system of set-top box |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101834885A (en) * | 2010-03-10 | 2010-09-15 | 华为技术有限公司 | Method and device for downloading software |
-
2010
- 2010-03-10 CN CN201010122282A patent/CN101834885A/en active Pending
-
2011
- 2011-03-10 WO PCT/CN2011/071682 patent/WO2011110097A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1548587A2 (en) * | 2003-12-16 | 2005-06-29 | Microsoft Corporation | Self-describing software image update components |
CN1859151A (en) * | 2005-07-19 | 2006-11-08 | 上海华为技术有限公司 | Method for upgrading remote subsystem in communication system |
CN101001316A (en) * | 2006-12-31 | 2007-07-18 | 北京广博数字电视科技有限公司 | Software staging management method and system of set-top box |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011110097A1 (en) * | 2010-03-10 | 2011-09-15 | 华为技术有限公司 | Method and device for software downloading |
CN102594867A (en) * | 2010-12-24 | 2012-07-18 | 微软公司 | On-demand or incremental remote data copy |
US8910149B2 (en) | 2010-12-24 | 2014-12-09 | Microsoft Corporation | On-demand or incremental remote data copy |
CN102594867B (en) * | 2010-12-24 | 2016-06-01 | 微软技术许可有限责任公司 | Based on demand or incremental remote data copy |
WO2013182051A1 (en) * | 2012-06-07 | 2013-12-12 | 腾讯科技(深圳)有限公司 | Software installation method, terminal, system and computer storage medium |
US8997075B2 (en) | 2013-07-23 | 2015-03-31 | Red Hat, Inc. | System and method for dynamic class management |
WO2015067189A1 (en) * | 2013-11-07 | 2015-05-14 | Tencent Technology (Shenzhen) Company Limited | Method and apparatus for installing application |
Also Published As
Publication number | Publication date |
---|---|
WO2011110097A1 (en) | 2011-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102541596A (en) | Operating system upgrading method and device | |
CN102164363B (en) | Base station version updating realization method and base station | |
CN102455915A (en) | Method for automatically configuring distributed system, and server | |
CN101593119B (en) | Method and device for firmware over-the-air of exclusive flash memory combined equipment | |
CN105808278A (en) | Client version upgrading method and device | |
CN104834555A (en) | Method for invoking functional module, related device and device repairing method | |
CN107807815B (en) | Method and device for processing tasks in distributed mode | |
CN104423955A (en) | Method and system for realizing automatic compilation of iOS application | |
CN102571860A (en) | Method, device and system for managing plug-in module | |
CN106648781B (en) | Method and system for upgrading remote firmware of communication equipment | |
CN101834885A (en) | Method and device for downloading software | |
CN105302601A (en) | System and method for software upgrade server | |
CN104144466A (en) | Access method for sensor in Internet of Things, Internet of Things system and server | |
CN102833101B (en) | Software upgrading method and equipment of distributed network system | |
CN104866307A (en) | Application repairing method and apparatus | |
CN111970359B (en) | Front-end non-service architecture system based on node | |
CN103177104A (en) | Searching method and device of application program | |
CN103024782A (en) | Base station software version management method and system | |
CN105700927A (en) | Version upgrade method, terminal equipment and version server | |
US9622092B2 (en) | Method and apparatus for controlling cloud virtual base station | |
CN102622229A (en) | Fusion method, fusion system and fusion device of development frameworks of different types | |
CN102036055A (en) | Camera cradle head control system and control method | |
CN103916846A (en) | Terminal application updating method, system and device | |
CN103645922A (en) | Software cleaning method based on cloud query | |
CN101925094A (en) | Updating system and method for network element management system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20100915 |