CN1545363A - A method for downloading software from server side on client side in distributed system - Google Patents
A method for downloading software from server side on client side in distributed system Download PDFInfo
- Publication number
- CN1545363A CN1545363A CNA2003101136354A CN200310113635A CN1545363A CN 1545363 A CN1545363 A CN 1545363A CN A2003101136354 A CNA2003101136354 A CN A2003101136354A CN 200310113635 A CN200310113635 A CN 200310113635A CN 1545363 A CN1545363 A CN 1545363A
- Authority
- CN
- China
- Prior art keywords
- client
- server end
- file
- download
- software
- 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.)
- Granted
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
The invention relates to a method that a client end downloads software from a server end in a distributed system, storing the secondary downloading main program BootLoad in the sever end, which is not firmed in the client-end memory, the client end firstly downloads BootLoad to a RAM for running, and then uses BootLoad and server-end tool software to interactively download the needed files. The upgrade of BootLoad files is completely made at server end and need not update the program in the memory. By this method, when change happens to the software interface between server end and client end, a maintainer need not go to the base station to change BOOT of hardware, accordingly reducing quantity of maintenance, enhancing maintainability of system, and assuring working reliability and backward compatibility of system.
Description
Technical field
What the present invention relates to is a kind of method for downloading software, refers to that especially client is from the server end software downloading method in a kind of distributed system
Background technology
The base station system of field of mobile communication may be made up of hundreds of base station in the very wide scope that is distributed in a city or area at present, and generally adopts unattended mode for the ease of safeguarding, reduce maintenance cost, by the network management system automatic management.
In view of the consideration that reduces whole mobile communication system equipment cost, be not all to dispose memory device on each functional module.Generally on the master control module of a subsystem, be equipped with the bigger memory device of a slice capacity, be used to deposit the application file of all functions module in this subsystem, comprised version software, hardware logic file and some configuration files.When actual motion, the master control module can be obtained version file operation from the memory device of this module, and other controlled module then need by obtaining self version software operation alternately with the communication of main control module necessity.
How the application file with all functions module in this subsystem downloads on the memory device of client master control module from server end, is the problem of pendulum in face of all mobile communication manufacturers.The method that present mobile software download is generally adopted is, utilize the tool software communication of power on boot and server end in non-volatile startup bootstrap memory (BOOT) of client master control module, download selected application file from server end, be stored on the memory device of master control module.
The defective of this method is that the communication interface of BOOT and server software (is the message structure that the client and server end is arranged when carrying out communication, reside in respectively in the software of client and server end), all be solidificated among the BOOT, if these interfaces change, must upgrade the boot among the BOOT again, need reach down main control module to up to a hundred base stations in person by the attendant, replace its BOOT, this is for widely distributed, the mobile communication base station equipment of unattended duty, to expend great amount of manpower undoubtedly, material resources have increased maintenance cost, have strengthened the work of maintenance personnel amount, and need change board B OOT on the foreground, increase the unsteadiness of system.
In application number is 01145382.6 Chinese patent application, the method for utilizing the chip microcontroller software download in a kind of communication system has been described, comprise the following step at least: the boot in the operation boot memory block; Fetch program operational factor from the data backup district; Primary application program is moved to the program running district of random access memory ram; Give application program with program control power; Carry out software download according to user's request; Software kit after the download is saved to the program parameter district; Update routine parameter region parameter; System restart.This method will software download main program be solidificated in the hardware memory, if the interface in the main program changes, need to upgrade the main program in the hardware memory.
In other distributed system, when client is downloaded software from server end, also there is same problem.
Summary of the invention
In view of this, the technical problem to be solved in the present invention provides in a kind of distributed system client from the server end software downloading method, when software interface changes, needn't improve the maintainability and the reliability of system to each client go to update the equipment curing boot of functional module.
In order to solve the problems of the technologies described above, the invention provides that client may further comprise the steps from the server end software downloading method in a kind of distributed system:
(a) after the client and server end connects, send the handshake information that one-level is downloaded to server end;
(b) shake hands successfully, client is downloaded secondary software download main program from server end;
(c) the described secondary software download main program of operation connects with server end and sends the handshake information that secondary is downloaded;
(d) shake hands successfully, client receives the tabulation of the file to be downloaded that server end sends;
(e) client is downloaded required file from the ftp server of server end according to the filename of file in the described tabulation with deposit the path;
(f) client leaves downloaded files in the memory device of foreground hardware module in, if failed download sends failed download message to server end;
(g) client is judged whether file in the listed files is all downloaded and is finished, if, carry out next step, continue to download otherwise return step (e);
(h) the download result of client statistics file, and with statistics announcement server end.
In order to improve flexibility, when client and server end are shaken hands in the described step (a), server end also sends the filename and the pathname that leaves server end in of secondary software download main program to client, client is downloaded described secondary software download main program according to above-mentioned information from server end in described step (b).
Reliability when downloading in order to improve, in the described secondary software download program preferred configuration house dog program carry out link failure and handle, if link down, the client that resets veneer, and reminding service device end operating personnel.
In the said method, described client uses the file transfer protocol (FTP) Client command to download required file from the file transfer protocol (FTP) server end of server end, in order further to improve reliability, can also adopt cyclic redundancy code CRC check mechanism.
The inventive method leaves secondary software download main program BootLoad in server end, the upgrading of BootLoad file is carried out at server end fully, when the software interface of server end and client changes, the attendant only needs to get final product in server end upgrading BootLoad file in download, do not need to locate to change the curing boot of communication apparatus functional module to the base station, thereby greatly reduce the workload of maintenance, improved the maintainability of system, guarantee the reliability and the back compatible of system works, reduced the error of human factor in the operation, saved manpower and reduced upgrade problem and caused communication network to interrupt accident rate.
Description of drawings
Fig. 1 is the interacting message schematic diagram of software secondary method for down loading of the present invention;
Fig. 2 is the flow chart of embodiment of the invention software secondary method for down loading.
Embodiment
In the present invention, the software of client comprises two parts, and a part is solidificated in and starts among the bootstrap memory BOOT, and a part is arranged in secondary software download main program (BootLoad file), leaves server end in.It is more single to be solidificated in the function ratio that the code among the BOOT finishes, and sends one-level software download request exactly to server end, and request is downloaded the BootLoad file and loaded this document and moves in RAM, and this partial code can be constant substantially.The client and server end need all be placed on by the overwhelming majority work that interacting message is finished in the BootLoad file, this part content may be because the changes in demand or the new function that increases need modification, and BootLoad file of the present invention leaves on the server end, can upgrade at any time if desired.
Fig. 1 is the schematic diagram of interacting message between software secondary method for down loading server end of the present invention and the client, before client-requested is downloaded, server end will add software version and message file earlier, comprise secondary software download main program BootLoad file, and operating software download tool software, be ready to file to be downloaded and other call parameters.
In downloading process, client-side program sends one-level software download request to server end, and secondary software download main program BootLoad file is downloaded in request; After successfully downloading the BootLoad file from server end, load this BootLoad file and in RAM, move; Secondary is downloaded main program and is continued to send the secondary download message to server end, asks the tabulation of required file in download; After server end receives the secondary download request, send the tabulation of required file in download to client, the secondary of client is downloaded main program BootLoad according to the listed files that server end sends, and downloads listed file from server end.Finishing interacting message and software download with the server end tool software by operating in download main program among the RAM, is characteristics of the present invention.
Below with in the mobile communication, the master control module (foreground) of base station side sub is example by communication network to server end (backstage) software downloading method of Operation ﹠ Maintenance System, describes the present invention in detail.But software secondary method for down loading of the present invention can be used in other distributed systems client node fully downloads software from the server end node.
The system configuration of present embodiment can be divided into two parts: the software download module (hereinafter to be referred as the backstage) on the software download module on foreground and connected backstage, the daemon software download module belongs to the part of software operation maintenance system, finish tissue, maintenance, download, inquiry of version etc., and man-machine interface is provided, use for the user.Shown in Figure 2 is the flow chart of embodiment of the invention software secondary method for down loading, may further comprise the steps:
In step 120 foreground at first from background request the BootLoad file filename and leave the pathname on backstage in, be for greater flexibility being provided,, also its title and path can being solidificated in the foreground for a BootLoad file.
In order to prevent owing to link failure causes generation task obstruction or deadlock phenomenon in the AM/BAM communication process, also design a house dog program in the file in download of front stage operation and carried out the link failure processing, if link down, the house dog program can Reset Board, reminds operating personnel to check link failure.
In this embodiment, use FTP to carry out the download of version file, and FTP adopt transmission control protocol TCP as four layer protocols.Transmission Control Protocol itself has the error checking and correction function, and receiving terminal carries out verification to each data slice of receiving just can respond ack signal to transmitting terminal after errorless.In order further to improve the reliability of downloading, present embodiment has also adopted cyclic redundancy code CRC check mechanism, and promptly before download, the crc value of each file is calculated on the backstage earlier, and crc value sends to the foreground with the file in download list of file names.The foreground is calculated the crc value of each file again and is compared after FTP downloads, if crc value is not inconsistent, then requires FTP to retransmit automatically, if 3 times all unsuccessful, then reports this document verification failure.
In sum, the inventive method leaves software download main program BootLoad in server end, but not be solidificated on the hardware memory, BOOT at first downloads BootLoad and moves in random access memory ram, again by the required file of the mutual download of the tool software of BootLoad and server end.The upgrading of BootLoad file is carried out at server end fully, does not need to upgrade the program in the hardware memory.After using the inventive method, when the software interface of server end and client changes, the attendant only needs to get final product in server end upgrading BootLoad file in download, do not need to locate to change hardware BOOT to the base station, thereby greatly reduce the workload of maintenance, reduced the error of human factor in the operation, saved manpower and reduced upgrade problem and caused communication network to interrupt accident rate.
Claims (5)
1, client may further comprise the steps from the server end software downloading method in a kind of distributed system:
(a) after the client and server end connects, send the handshake information that one-level is downloaded to server end;
(b) shake hands successfully, client is downloaded secondary software download main program from server end;
(c) the described secondary software download main program of operation connects with server end and sends the handshake information that secondary is downloaded;
(d) shake hands successfully, client receives the tabulation of the file to be downloaded that server end sends;
(e) client is downloaded required file from the ftp server of server end according to the filename of file in the described tabulation with deposit the path;
(f) client leaves downloaded files in the memory device of foreground hardware module in, if failed download sends failed download message to server end;
(g) client is judged whether file in the listed files is all downloaded and is finished, if, carry out next step, continue to download otherwise return step (e);
(h) the download result of client statistics file, and with statistics announcement server end.
2, software downloading method as claimed in claim 1, it is characterized in that, when client and server end are shaken hands in the described step (a), server end also sends the filename and the pathname that leaves server end in of secondary software download main program to client, client is downloaded described secondary software download main program according to this information from server end in described step (b).
3, software downloading method as claimed in claim 1, it is characterized in that, designed a house dog program in the described secondary software download program and carried out the link failure processing, if link down, the client that resets veneer, and reminding service device end operating personnel.
4, software downloading method as claimed in claim 1 is characterized in that, described client uses the file transfer protocol (FTP) Client command to download required file from the file transfer protocol (FTP) server end of server end.
5, software downloading method as claimed in claim 4 is characterized in that, has also adopted cyclic redundancy code CRC check mechanism during described client downloads file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200310113635 CN1287279C (en) | 2003-11-14 | 2003-11-14 | A method for downloading software from server side on client side in distributed system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200310113635 CN1287279C (en) | 2003-11-14 | 2003-11-14 | A method for downloading software from server side on client side in distributed system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1545363A true CN1545363A (en) | 2004-11-10 |
CN1287279C CN1287279C (en) | 2006-11-29 |
Family
ID=34336943
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200310113635 Expired - Fee Related CN1287279C (en) | 2003-11-14 | 2003-11-14 | A method for downloading software from server side on client side in distributed system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1287279C (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101277222B (en) * | 2008-05-07 | 2010-12-08 | 中兴通讯股份有限公司 | Method for upgrading base station |
CN101925878A (en) * | 2008-01-22 | 2010-12-22 | 阿玛得斯两合公司 | Method and system for deploying non-backward compatible server versions in client/server computing environment |
CN101170675B (en) * | 2007-11-21 | 2011-03-23 | 中兴通讯股份有限公司 | Method and system for managing J2ME application in network TV system |
CN101080703B (en) * | 2005-02-25 | 2012-07-11 | 夏普株式会社 | Data management system, data management method, server device, and reception device |
CN101689228B (en) * | 2007-05-30 | 2012-08-01 | 拜尔保健有限公司 | System for managing health care data |
CN101770380B (en) * | 2009-01-05 | 2013-03-27 | 英业达集团(天津)电子技术有限公司 | Upgrade method for software of client in enterprise |
CN103297479A (en) * | 2012-03-05 | 2013-09-11 | 腾讯科技(深圳)有限公司 | Distributed detection method and device with upgraded plugin |
CN104461589A (en) * | 2013-09-17 | 2015-03-25 | 海尔集团公司 | Single-chip microcomputer updating method and system |
CN107037757A (en) * | 2017-04-17 | 2017-08-11 | 浙江威星智能仪表股份有限公司 | A kind of BootLoader programme upgrade methods based on photoelectricity transmission |
CN108804270A (en) * | 2018-06-12 | 2018-11-13 | 郑州云海信息技术有限公司 | A kind of hard disc storage data processing test method |
CN116820418A (en) * | 2023-08-28 | 2023-09-29 | 北京智精灵科技有限公司 | Cognitive training interaction method and system based on modularized development |
-
2003
- 2003-11-14 CN CN 200310113635 patent/CN1287279C/en not_active Expired - Fee Related
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101080703B (en) * | 2005-02-25 | 2012-07-11 | 夏普株式会社 | Data management system, data management method, server device, and reception device |
CN101689228B (en) * | 2007-05-30 | 2012-08-01 | 拜尔保健有限公司 | System for managing health care data |
CN101170675B (en) * | 2007-11-21 | 2011-03-23 | 中兴通讯股份有限公司 | Method and system for managing J2ME application in network TV system |
CN101925878A (en) * | 2008-01-22 | 2010-12-22 | 阿玛得斯两合公司 | Method and system for deploying non-backward compatible server versions in client/server computing environment |
CN101925878B (en) * | 2008-01-22 | 2015-01-14 | 阿玛得斯两合公司 | Method and system for deploying non-backward compatible server versions in client/server computing environment |
US9098371B2 (en) | 2008-01-22 | 2015-08-04 | Amadeus S.A.S. | Method and system for deploying non-backward compatible server versions in a client/server computing environment |
CN101277222B (en) * | 2008-05-07 | 2010-12-08 | 中兴通讯股份有限公司 | Method for upgrading base station |
CN101770380B (en) * | 2009-01-05 | 2013-03-27 | 英业达集团(天津)电子技术有限公司 | Upgrade method for software of client in enterprise |
CN103297479B (en) * | 2012-03-05 | 2017-01-04 | 腾讯科技(深圳)有限公司 | A kind of Distributed Detection method and device of plug-in unit upgrading |
CN103297479A (en) * | 2012-03-05 | 2013-09-11 | 腾讯科技(深圳)有限公司 | Distributed detection method and device with upgraded plugin |
CN104461589A (en) * | 2013-09-17 | 2015-03-25 | 海尔集团公司 | Single-chip microcomputer updating method and system |
CN107037757A (en) * | 2017-04-17 | 2017-08-11 | 浙江威星智能仪表股份有限公司 | A kind of BootLoader programme upgrade methods based on photoelectricity transmission |
CN108804270A (en) * | 2018-06-12 | 2018-11-13 | 郑州云海信息技术有限公司 | A kind of hard disc storage data processing test method |
CN108804270B (en) * | 2018-06-12 | 2021-09-28 | 郑州云海信息技术有限公司 | Hard disk storage data processing test method |
CN116820418A (en) * | 2023-08-28 | 2023-09-29 | 北京智精灵科技有限公司 | Cognitive training interaction method and system based on modularized development |
CN116820418B (en) * | 2023-08-28 | 2023-12-26 | 北京智精灵科技有限公司 | Cognitive training interaction method and system based on modularized development |
Also Published As
Publication number | Publication date |
---|---|
CN1287279C (en) | 2006-11-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1252951C (en) | Method of singleboard Node B software download and upgrade | |
CN1287279C (en) | A method for downloading software from server side on client side in distributed system | |
US7934210B1 (en) | System and method for updating one or more programs and their environment | |
US7096311B2 (en) | Updating electronic files using byte-level file differencing and updating algorithms | |
CN1427587A (en) | Method and system for remote updating function of domestic apparatus | |
CN100525206C (en) | Realizing method and system for automatic restoring equipment fault | |
US5925140A (en) | Apparatus and method for error free loading of a programmable non-volatile memory over a datalink | |
CN100340982C (en) | After-error recovery method of transmission equipment card software on-line update | |
US20040188511A1 (en) | System to automatically process components on a device | |
JP2003196105A (en) | System for high availability firmware load | |
CN1585926A (en) | Software update method, device and system | |
CN1684427A (en) | Method for software upgrading and withdrawing | |
CN1364390A (en) | Method and apparatus for downloading into radio terminal | |
CN1834909A (en) | Updating method for distance equipment system software | |
US20030226139A1 (en) | System update protocol | |
CN1295903C (en) | A safe system starting method | |
CN1178131C (en) | Modular system and method of updating application software in execution | |
CN101056209A (en) | A maintenance method and device for radio terminal image file | |
CN100350384C (en) | Software download into a receiver | |
CN112527381B (en) | Multi-platform software version management and updating system | |
CN111104145B (en) | Out-of-band updating method and system for Expander | |
CN1074148C (en) | Data processing system with error detecting processing function | |
CN1276349C (en) | Method for mirror backup of cluster platform cross parallel system | |
CN115883360A (en) | Remote upgrading method based on multi-layer grading of Internet of things | |
WO2003100610A1 (en) | System update protocol and bootable cd controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20061129 Termination date: 20171114 |
|
CF01 | Termination of patent right due to non-payment of annual fee |