CN103685554A - Upgrading method, device and system - Google Patents

Upgrading method, device and system Download PDF

Info

Publication number
CN103685554A
CN103685554A CN201310728488.5A CN201310728488A CN103685554A CN 103685554 A CN103685554 A CN 103685554A CN 201310728488 A CN201310728488 A CN 201310728488A CN 103685554 A CN103685554 A CN 103685554A
Authority
CN
China
Prior art keywords
upgrade
server
file
upgrade file
management server
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
CN201310728488.5A
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.)
Zhejiang Yun Chao Science And Technology Ltd
Original Assignee
Zhejiang Yun Chao Science And Technology 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 Zhejiang Yun Chao Science And Technology Ltd filed Critical Zhejiang Yun Chao Science And Technology Ltd
Priority to CN201310728488.5A priority Critical patent/CN103685554A/en
Publication of CN103685554A publication Critical patent/CN103685554A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an upgrading method, device and system. The method includes the steps: transmitting an upgrading request to a management server; receiving a network address of an upgrading server returned by the management server; requesting an upgrading file from the upgrading server by the aid of the network address; performing upgrading by the aid of the upgrading file. The upgrading server is determined by the management server and corresponds to the upgrading request. The method solves the problems that a software upgrading server in a closed system is high in pressure, unstable and long in time consumption in the prior art, and upgrading procedures are rapidly and stably upgraded.

Description

Upgrade method, Apparatus and system
Technical field
The present invention relates to computer realm, in particular to a kind of upgrade method, Apparatus and system.
Background technology
The various ways such as software upgrading has a variety of patterns, and as downloaded software in particular web site, software itself provides and is connected to specific Internet server, the installation of copy software can realize the upgrading of software.But these modes all need to support by some of the external world, for example browser, operating system, if be not difficult to upgrading by bending system for closed system.
Particularly, closed system refers to that system does not provide open to third party, only has exploitation side to grasp the inner a kind of system realizing.Closed system in the application refers to the first floor system that is used as front-end client support in desktop virtual, and this system is only supported the operation of desktop virtual client, there is no consistency operation, does not support the access of the peripheral hardwares such as local USB.The software moving on closed system, as desktop virtual client, can go to upgrade by network, the mode that also can provide by system itself.
Now most of software upgrading of closed system is all to adopt from server end to download upgrade installation package, the method for then upgrading in this locality, and this method need to be by local system, or browser, or the mode such as particular download device goes to download.
Some contents that above-mentioned closed software upgrading pattern more or less all need to provide by outside go to carry out, all follow local system to have relation, for the unified upgrading of large quantity, the pressure of server is very large, upgrade server fault, has a great impact upgrade function; If adopt the mode of single-point copy, can be very consuming time.In the situation of closed system as first floor system, if carry out software upgrading, need closed system to provide some supports to go to provide.
Use above-mentioned upgrade method server stress large, its job insecurity, once server failure cannot be upgraded; And use the upgrade method of single-point copy consuming time very long.
Wherein, the mode of single-point copy is that the desktop virtual client in each closed system is upgraded, and all by the mode of local upgrade, reinstalls with the closed system of redaction client and upgrades.
The problem of and consuming time length large, unstable for the Software Upgrade Server pressure in closed system in prior art, not yet proposes effective solution at present.
Summary of the invention
The problem of and consuming time length large, unstable for the Software Upgrade Server pressure in closed system in correlation technique, effective solution is not yet proposed at present, for this reason, main purpose of the present invention is to provide a kind of upgrade method, Apparatus and system, to address the above problem.
To achieve these goals, according to an aspect of the present invention, provide a kind of upgrade method, the method comprises: to management server, send upgrade request; The network address of the upgrade server that receiving management server returns, wherein, upgrade server is the server corresponding with upgrade request that management server is determined; Use the network address to upgrade server request upgrade file; Use upgrade file to upgrade.
Further, before the network address of the upgrade server returning at receiving management server, management server is determined the server corresponding with upgrade request after receiving upgrade request, wherein, upgrade method comprises: upload initial upgrade file to management server, initial upgrade file carries version number; Management server is used version number to carry out legitimacy verification to initial upgrade file, and in the situation that initial upgrade file is legal upgrade file, the form of changing initial upgrade file obtains upgrade file; In the situation that initial upgrade file is illegal update file, management server is rejected initial upgrade file; Management server is distributed to one or more upgrade servers by upgrade file.
Further, after management server is distributed to one or more upgrade servers by upgrade file, upgrade method also comprises: upgrade server carries out completeness check to the upgrade file receiving; In the situation that the upgrade file that upgrade server receives is complete, the state of upgrade file is become to download state; The upgrade file receiving at upgrade server is in incomplete situation, returns and carries out the step that upgrade file is distributed to one or more upgrade servers.
Further, uploading initial upgrade file to management server, upgrade method also comprises: management server is encrypted and calculates first information summary initial upgrade file; After upgrade file is distributed to one or more upgrade servers, upgrade server is encrypted and calculates the second informative abstract the upgrade file receiving; Upgrade server is sent to management server by the second informative abstract; Management server judges that whether first information summary is consistent with the second informative abstract, at first information summary with the second informative abstract consistent in the situation that, determine that the upgrade file that upgrade server receives is complete, in first information summary and the inconsistent situation of the second informative abstract, determine that the upgrade file that upgrade server receives is incomplete.
Further, the step of using upgrade file to upgrade comprises: program to be upgraded is encrypted and calculates the 3rd informative abstract the upgrade file of downloading from upgrade server; Program to be upgraded judges that whether the 3rd informative abstract is consistent with the second informative abstract, in the 3rd informative abstract with the second informative abstract consistent in the situation that, determine that the upgrade file that program to be upgraded is downloaded is complete, in the 3rd informative abstract and the inconsistent situation of the second informative abstract, determine that the upgrade file that program to be upgraded is downloaded is incomplete; In the situation that the upgrade file that program to be upgraded is downloaded is complete, by the format conversion of upgrade file, be upgrade data, use upgrade data to upgrade; The upgrade file of downloading in program to be upgraded is in incomplete situation, returns and carries out the program use to be upgraded network address to the step of upgrade server request upgrade file.
To achieve these goals, according to a further aspect in the invention, provide a kind of update device, this device comprises: sending module, for sending upgrade request to management server; Receiver module, the network address of the upgrade server returning for receiving management server, wherein, upgrade server is the server corresponding with upgrade request that management server is determined; Request module, for being used the network address to upgrade server request upgrade file; Upgrading module, for being used upgrade file to upgrade.
Further, update device comprises: upper transmission module, and for uploading initial upgrade file to management server, initial upgrade file carries version number; Legitimacy correction verification module, is used version number to carry out legitimacy verification to initial upgrade file for management server, and in the situation that initial upgrade file is legal upgrade file, the form of changing initial upgrade file obtains upgrade file; In the situation that initial upgrade file is illegal update file, management server is rejected initial upgrade file; Distribution module, is distributed to one or more upgrade servers for management server by upgrade file.
Further, update device also comprises: completeness check module, for upgrade server, the upgrade file receiving is carried out to completeness check; State transformation module, in the situation that the upgrade file that upgrade server receives is complete, becomes download state by the state of upgrade file; Returning to Executive Module, is in incomplete situation for the upgrade file receiving at upgrade server, returns to carry out upgrade file is distributed to one or more upgrade servers.
To achieve these goals, according to an aspect of the present invention, provide a kind of upgrade method, the method comprises: receive upgrade request; Determine the upgrade server of respective upgrades request; Send the network address of upgrade server to program to be upgraded; Use the network address to upgrade server request upgrade file; Use upgrade file to upgrade.
To achieve these goals, according to an aspect of the present invention, provide a kind of upgrade-system, this system comprises: one or more upgrade servers; Management server, is connected with upgrade server, for after receiving upgrade request, determines the upgrade server of respective upgrades request, and sends the network address of upgrade server; Program to be upgraded, be connected with upgrade server with management server respectively, to management server, send upgrade request, and after receiving the network address that management server returns, use the network address to upgrade server request upgrade file, use upgrade file to upgrade.
Adopt the present invention, program to be upgraded is after management server sends upgrade request, management server is determined the upgrade server of respective upgrades request, and the network address of upgrade server is sent to program to be upgraded, program to be upgraded is used this network address access upgrade server, and download upgrade file from upgrade server, use the upgrade file program to be upgraded of upgrading.Adopt the present invention, by the upgrading of management service management program to be upgraded, do not need to operate backstage, need to be by other any means yet, just can upgrade to local software, and use one or more upgrade servers, while downloading upgrade file for one or more programs to be upgraded simultaneously, any one upgrade server all can not produce very serious load, one or more upgrade servers can carry out pressure and share, can not cause circuit to block up or the processing speed of individual server slow, thereby it is large to have solved in prior art the Software Upgrade Server pressure in closed system, the problem of unstable and length consuming time, realized fast, stably treat the effect of ROMPaq upgrading.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is according to the structural representation of the upgrade-system of the embodiment of the present invention;
Fig. 2 is according to the structural representation of the update device of the embodiment of the present invention; And
Fig. 3 is according to the flow chart of the upgrade method of the embodiment of the present invention.
Embodiment
It should be noted that, in the situation that not conflicting, embodiment and the feature in embodiment in the application can combine mutually.Describe below with reference to the accompanying drawings and in conjunction with the embodiments the present invention in detail.
Fig. 1 is according to the structural representation of the upgrade-system of the embodiment of the present invention.As shown in Figure 1, this system can comprise: one or more upgrade servers 10; Management server 30, is connected with upgrade server 10, for after receiving upgrade request, determines the upgrade server of respective upgrades request, and the network address of upgrade server is sent to program to be upgraded; Program 50 to be upgraded, be connected with upgrade server with management server respectively, to management server, send upgrade request, and receiving after management server returns to the network address, use the network address to upgrade server request upgrade file, use the upgrade file program to be upgraded of upgrading.
Adopt the present invention, program to be upgraded is after management server sends upgrade request, management server is determined the upgrade server of respective upgrades request, and the network address of upgrade server is sent to program to be upgraded, program to be upgraded is used this network address access upgrade server, and download upgrade file from upgrade server, use the upgrade file program to be upgraded of upgrading.Adopt the present invention, by the upgrading of management service management program to be upgraded, do not need to operate backstage, need to be by other any means yet, just can upgrade to local software, and use one or more upgrade servers, while downloading upgrade file for one or more programs to be upgraded simultaneously, any one upgrade server all can not produce very serious load, one or more upgrade servers can carry out pressure and share, can not cause circuit to block up or the processing speed of individual server slow, thereby it is large to have solved in prior art the Software Upgrade Server pressure in closed system, the problem of unstable and length consuming time, realized fast, stably treat the effect of ROMPaq upgrading.
Wherein, the management server in above-described embodiment does not refer in particular to the management system of special shape, and the technical scheme of this method is supported any satisfactory management system; The quantity of upgrade server is restriction not, can support that one or more upgrade servers exist simultaneously simultaneously.Program to be upgraded in above-described embodiment can be the program of moving in closed system, can be also the software on other system platform, as windows platform.
When management server in above-described embodiment is determined upgrade server corresponding to the upgrade request with program transmission to be upgraded, can select can provide the program of download service arbitrarily.
According to the abovementioned embodiments of the present invention, management server is also for after receiving the initial upgrade file of uploading, initial upgrade file is carried out to legitimacy verification, in the situation that initial upgrade file is legal upgrade file, the form of changing initial upgrade file obtains upgrade file, and upgrade file is distributed to upgrade server; Upgrade server, also for after receiving upgrade file, carries out completeness check to upgrade file, at upgrade file, be complete in the situation that, the state of upgrade file is converted to download state; Program to be upgraded, also for after download obtains upgrade file, is carried out completeness check to upgrade file, and at upgrade file, be complete in the situation that, the form of conversion upgrade file obtains upgrade data, uses the upgrade data program to be upgraded of upgrading.
Particularly, by upload the initial upgrade file of renewal in management server system after, management server conversion is distributed to transaction file on each upgrade server according to a kind of form, unification is gone storage administration by upgrade server, last program to be upgraded need to be upgraded while sending upgrade request, the upgrade server that can arrive from any one (as VueAgent end) is got to upgrade file, then by certain format, convert back upgrade data (being available transaction file), complete upgrading (or renewal) operation.
In the above embodiment of the present invention, when initial upgrade file is uploaded to management server, data can be unified to exist on management server according to the form of binary data, in the time of distribution, be to read corresponding data file, then division of teaching contents become the form of a plurality of packets to hand on.
Wherein, each server in above-described embodiment refers to each property server that service is provided, if for the server of the service of desktop virtual server end is provided.
Program to be upgraded, after any upgrade server obtains a plurality of packets (being upgrade file) that need, is stored it hereof in order, file name is replaced with to upgrading file available name simultaneously.
In the above-described embodiments, after management server obtains the initial upgrade file of uploading, from initial upgrade file, obtain version number, function, size, sign (as a part of password, enciphered data) with the legitimacy of the initial upgrade file of verification, in the situation that initial upgrade file is legal upgrade file, continue follow-up operation, in the situation that initial upgrade file is illegal update file, terminating operation.
Particularly, what version number represented is the version number of current software, for management system, go record a whether legal foundation of conduct, for example, a fileversion number of uploading is 1.0, and the version number of whole system is 2.0, and system will be made prevention, can not go to carry out subsequent content, stop this updating operation.
In the above-described embodiments, by the data of the initial upgrade file receiving with binary form storage hereof, file only has title to management server, there is no suffix name.
Upgrade server carries out completeness check to upgrade file after receiving upgrade file, and in the situation that upgrade file is complete, upgrade file provides download.
Particularly, the mode of completeness check: after management server is uploaded initial upgrade file and completed, can be encrypted calculating (as MD5 algorithm) to initial upgrade file, generation first information summary, then, after upgrade file is distributed to upgrade server, upgrade server can carry out MD5 algorithm to the upgrade file receiving too and obtain the second informative abstract.Upgrade server sends to management server by the second informative abstract generating, and management server is compared by the first information summary with this locality storage, if the same, illustrates that upgrade file is complete.
Wherein, MD5 is Message-Digest Algorithm5(Message-Digest Algorithm 5), complete consistent for guaranteeing communication.
Program to be upgraded in above-described embodiment is after sending upgrade request, the network address of the upgrade server of receiving management server feedback, use network address access upgrade server, and download upgrade file from upgrade server, then upgrade file is carried out to completeness check, in the situation that upgrade file is complete, upgrade file is converted to available upgrade file (upgrade data), use this available upgrade file program to be upgraded of upgrading.
Wherein, upgrade server in above-described embodiment has a plurality of, and the upgrade file that program upgrade to be upgraded need to be used, need on available upgrade server, go to obtain, so just need to remove to inquire management server, which upgrade server is in services state, or any one upgrade server is all in service state.
The network address of upgrade server in above-described embodiment, i.e. the ip of upgrade server, port numbers, program to be upgraded like this can be linked on upgrade server by the network address, establishes the link with upgrade server.
Fig. 2 is according to the structural representation of the update device of the embodiment of the present invention.As shown in Figure 2, this device can comprise: sending module 1, for sending upgrade request to management server; Receiver module 3, the network address of the upgrade server returning for receiving management server, wherein, upgrade server is the server corresponding with upgrade request that management server is determined; Request module 5, for being used the network address to upgrade server request upgrade file; Upgrading module 7, for being used upgrade file to upgrade.
Adopt the present invention, program to be upgraded is after management server sends upgrade request, management server is determined the upgrade server of respective upgrades request, and the network address of upgrade server is sent to program to be upgraded, program to be upgraded is used this network address access upgrade server, and download upgrade file from upgrade server, use the upgrade file program to be upgraded of upgrading.Adopt the present invention, by the upgrading of management service management program to be upgraded, do not need to operate backstage, need to be by other any means yet, just can upgrade to local software, and use one or more upgrade servers, while downloading upgrade file for one or more programs to be upgraded simultaneously, any one upgrade server all can not produce very serious load, one or more upgrade servers can carry out pressure and share, can not cause circuit to block up or the processing speed of individual server slow, thereby it is large to have solved in prior art the Software Upgrade Server pressure in closed system, the problem of unstable and length consuming time, realized fast, stably treat the effect of ROMPaq upgrading.
Wherein, the management server in above-described embodiment does not refer in particular to the management system of special shape, and the technical scheme of this method is supported any satisfactory management system; The quantity of upgrade server is restriction not, can support that one or more upgrade servers exist simultaneously simultaneously.Program to be upgraded in above-described embodiment can be the program of moving in closed system, can be also the software on other system platform, as windows platform.
When management server in above-described embodiment is determined upgrade server corresponding to the upgrade request with program transmission to be upgraded, can select can provide the program of download service arbitrarily.
In the above embodiment of the present invention, update device comprises: upper transmission module, and for uploading initial upgrade file to management server, initial upgrade file carries version number; Legitimacy correction verification module, is used version number to carry out legitimacy verification to initial upgrade file for management server, and in the situation that initial upgrade file is legal upgrade file, the form of changing initial upgrade file obtains upgrade file; In the situation that initial upgrade file is illegal update file, management server is rejected initial upgrade file; Distribution module, is distributed to one or more upgrade servers for management server by upgrade file.
In the above embodiment of the present invention, update device also comprises: completeness check module, for upgrade server, the upgrade file receiving is carried out to completeness check; State transformation module, in the situation that the upgrade file that upgrade server receives is complete, becomes download state by the state of upgrade file; Returning to Executive Module, is in incomplete situation for the upgrade file receiving at upgrade server, returns to carry out upgrade file is distributed to one or more upgrade servers.
Particularly, by upload the initial upgrade file of renewal in management server system after, management server conversion is distributed to transaction file on each upgrade server according to a kind of form, unification is gone storage administration by upgrade server, last program to be upgraded need to be upgraded while sending upgrade request, the upgrade server that can arrive from any one (as VueAgent end) is got to upgrade file, then by certain format, convert back upgrade data (being available transaction file), complete upgrading (or renewal) operation.
In the above embodiment of the present invention, when initial upgrade file is uploaded to management server, data can be unified to exist on management server according to the form of binary data, in the time of distribution, be to read corresponding data file, then division of teaching contents become the form of a plurality of packets to hand on.
Wherein, each server in above-described embodiment refers to each property server that service is provided, if for the server of the service of desktop virtual server end is provided.
Program to be upgraded, after any upgrade server obtains a plurality of packets (being upgrade file) that need, is stored it hereof in order, file name is replaced with to upgrading file available name simultaneously.
In the above-described embodiments, after management server obtains the initial upgrade file of uploading, from initial upgrade file, obtain version number, function, size, sign (as a part of password, enciphered data) with the legitimacy of the initial upgrade file of verification, in the situation that initial upgrade file is legal upgrade file, continue follow-up operation, in the situation that initial upgrade file is illegal update file, terminating operation.
Particularly, what version number represented is the version number of current software, for management system, go record a whether legal foundation of conduct, for example, a fileversion number of uploading is 1.0, and the version number of whole system is 2.0, and system will be made prevention, can not go to carry out subsequent content, stop this updating operation.
In the above-described embodiments, by the data of the initial upgrade file receiving with binary form storage hereof, file only has title to management server, there is no suffix name.
Upgrade server carries out completeness check to upgrade file after receiving upgrade file, and in the situation that upgrade file is complete, upgrade file provides download.
Particularly, the mode of completeness check: after management server is uploaded initial upgrade file and completed, can be encrypted calculating (as MD5 algorithm) to initial upgrade file, generation first information summary, then, after upgrade file is distributed to upgrade server, upgrade server can carry out MD5 algorithm to the upgrade file receiving too and obtain the second informative abstract.Upgrade server sends to management server by the second informative abstract generating, and management server is compared by the first information summary with this locality storage, if the same, illustrates that upgrade file is complete.
Wherein, MD5 is Message-Digest Algorithm5(Message-Digest Algorithm 5), complete consistent for guaranteeing communication.
Program to be upgraded in above-described embodiment is after sending upgrade request, the network address of the upgrade server of receiving management server feedback, use network address access upgrade server, and download upgrade file from upgrade server, then upgrade file is carried out to completeness check, in the situation that upgrade file is complete, upgrade file is converted to available upgrade file (upgrade data), use this available upgrade file program to be upgraded of upgrading.
Wherein, upgrade server in above-described embodiment has a plurality of, and the upgrade file that program upgrade to be upgraded need to be used, need on available upgrade server, go to obtain, so just need to remove to inquire management server, which upgrade server is in services state, or any one upgrade server is all in service state.
The network address of upgrade server in above-described embodiment, i.e. the ip of upgrade server, port numbers, program to be upgraded like this can be linked on upgrade server by the network address, establishes the link with upgrade server.
Fig. 3 is that the method comprises the steps: as shown in Figure 3 according to the flow chart of the upgrade method of the embodiment of the present invention
Step S302, sends upgrade request to management server.
Step S304, the network address of the upgrade server that receiving management server returns, wherein, upgrade server is the server corresponding with upgrade request that management server is determined.
Step S306, is used the network address to upgrade server request upgrade file.
Step S308, is used upgrade file to upgrade.
Adopt the present invention, program to be upgraded is after management server sends upgrade request, management server is determined the upgrade server of respective upgrades request, and the network address of upgrade server is sent to program to be upgraded, program to be upgraded is used this network address access upgrade server, and download upgrade file from upgrade server, use the upgrade file program to be upgraded of upgrading.Adopt the present invention, by the upgrading of management service management program to be upgraded, do not need to operate backstage, need to be by other any means yet, just can upgrade to local software, and use one or more upgrade servers, while downloading upgrade file for one or more programs to be upgraded simultaneously, any one upgrade server all can not produce very serious load, one or more upgrade servers can carry out pressure and share, can not cause circuit to block up or the processing speed of individual server slow, thereby it is large to have solved in prior art the Software Upgrade Server pressure in closed system, the problem of unstable and length consuming time, realized fast, stably treat the effect of ROMPaq upgrading.
Wherein, the management server in above-described embodiment does not refer in particular to the management system of special shape, and the technical scheme of this method is supported any satisfactory management system; The quantity of upgrade server is restriction not, can support that one or more upgrade servers exist simultaneously simultaneously.Program to be upgraded in above-described embodiment can be the program of moving in closed system, can be also the software on other system platform, as windows platform.
When management server in above-described embodiment is determined upgrade server corresponding to the upgrade request with program transmission to be upgraded, can select can provide the program of download service arbitrarily.
Particularly, before the network address of the upgrade server returning at receiving management server, management server is determined the server corresponding with upgrade request after receiving upgrade request, wherein, upgrade method comprises: upload initial upgrade file to management server, initial upgrade file carries version number; Management server is used version number to carry out legitimacy verification to initial upgrade file, and in the situation that initial upgrade file is legal upgrade file, the form of changing initial upgrade file obtains upgrade file; In the situation that initial upgrade file is illegal update file, management server is rejected initial upgrade file; Management server is distributed to one or more upgrade servers by upgrade file.
In the above embodiment of the present invention, after management server is distributed to one or more upgrade servers by upgrade file, upgrade method also comprises: upgrade server carries out completeness check to the upgrade file receiving; In the situation that the upgrade file that upgrade server receives is complete, the state of upgrade file is become to download state; The upgrade file receiving at upgrade server is in incomplete situation, returns and carries out the step that upgrade file is distributed to one or more upgrade servers.
According to the abovementioned embodiments of the present invention, uploading initial upgrade file to management server, upgrade method also comprises: management server is encrypted and calculates first information summary initial upgrade file; After upgrade file is distributed to one or more upgrade servers, upgrade server is encrypted and calculates the second informative abstract the upgrade file receiving; Upgrade server is sent to management server by the second informative abstract; Management server judges that whether first information summary is consistent with the second informative abstract, at first information summary with the second informative abstract consistent in the situation that, determine that the upgrade file that upgrade server receives is complete, in first information summary and the inconsistent situation of the second informative abstract, determine that the upgrade file that upgrade server receives is incomplete.
In the above embodiment of the present invention, use the upgrade step of program to be upgraded of upgrade file to comprise: program to be upgraded is encrypted and calculates the 3rd summary info the upgrade file of downloading from upgrade server; Program to be upgraded judges that whether the 3rd informative abstract is consistent with the second informative abstract, in the 3rd informative abstract with the second informative abstract consistent in the situation that, determine that the upgrade file that program to be upgraded is downloaded is complete, in the 3rd informative abstract and the inconsistent situation of the second informative abstract, determine that the upgrade file that program to be upgraded is downloaded is incomplete; In the situation that the upgrade file that program to be upgraded is downloaded is complete, by the format conversion of upgrade file, be upgrade data, use upgrade data to upgrade; The upgrade file of downloading in program to be upgraded is in incomplete situation, returns and carries out the program use to be upgraded network address to the step of upgrade server request upgrade file.
Particularly, by upload the initial upgrade file of renewal in management server system after, management server conversion is distributed to transaction file on each upgrade server according to a kind of form, unification is gone storage administration by upgrade server, last program to be upgraded need to be upgraded while sending upgrade request, the upgrade server that can arrive from any one (as VueAgent end) is got to upgrade file, then by certain format, convert back upgrade data (being available transaction file), complete upgrading (or renewal) operation.
In the above embodiment of the present invention, when initial upgrade file is uploaded to management server, data can be unified to exist on management server according to the form of binary data, in the time of distribution, be to read corresponding data file, then division of teaching contents become the form of a plurality of packets to hand on.
Wherein, each server in above-described embodiment refers to each property server that service is provided, if for the server of the service of desktop virtual server end is provided.
Program to be upgraded, after any upgrade server obtains a plurality of packets (being upgrade file) that need, is stored it hereof in order, file name is replaced with to upgrading file available name simultaneously.
In the above-described embodiments, after management server obtains the initial upgrade file of uploading, from initial upgrade file, obtain version number, function, size, sign (as a part of password, enciphered data) with the legitimacy of the initial upgrade file of verification, in the situation that initial upgrade file is legal upgrade file, continue follow-up operation, in the situation that initial upgrade file is illegal update file, terminating operation.
Particularly, what version number represented is the version number of current software, for management system, go record a whether legal foundation of conduct, for example, a fileversion number of uploading is 1.0, and the version number of whole system is 2.0, and system will be made prevention, can not go to carry out subsequent content, stop this updating operation.
In the above-described embodiments, by the data of the initial upgrade file receiving with binary form storage hereof, file only has title to management server, there is no suffix name.
Upgrade server carries out completeness check to upgrade file after receiving upgrade file, and in the situation that upgrade file is complete, upgrade file provides download.
Particularly, the mode of completeness check: after management server is uploaded initial upgrade file and completed, can be encrypted calculating (as MD5 algorithm) to initial upgrade file, generation first information summary, then, after upgrade file is distributed to upgrade server, upgrade server can carry out MD5 algorithm to the upgrade file receiving too and obtain the second informative abstract.Upgrade server sends to management server by the second informative abstract generating, and management server is compared by the first information summary with this locality storage, if the same, illustrates that upgrade file is complete.
Wherein, MD5 is Message-Digest Algorithm5(Message-Digest Algorithm 5), complete consistent for guaranteeing communication.
Program to be upgraded in above-described embodiment is after sending upgrade request, the network address of the upgrade server of receiving management server feedback, use network address access upgrade server, and download upgrade file from upgrade server, then upgrade file is carried out to completeness check, in the situation that upgrade file is complete, upgrade file is converted to available upgrade file (upgrade data), use this available upgrade file program to be upgraded of upgrading.
Wherein, upgrade server in above-described embodiment has a plurality of, and the upgrade file that program upgrade to be upgraded need to be used, need on available upgrade server, go to obtain, so just need to remove to inquire management server, which upgrade server is in services state, or any one upgrade server is all in service state.
The network address of upgrade server in above-described embodiment, i.e. the ip of upgrade server, port numbers, program to be upgraded like this can be linked on upgrade server by the network address, establishes the link with upgrade server.
To achieve these goals, according to an aspect of the present invention, also provide a kind of upgrade method, the method comprises: receive upgrade request; Determine the upgrade server of respective upgrades request; Send the network address of upgrade server to program to be upgraded; Use the network address to upgrade server request upgrade file; Use upgrade file to upgrade.
Adopt the present invention, program to be upgraded is after management server sends upgrade request, management server is determined the upgrade server of respective upgrades request, and the network address of upgrade server is sent to program to be upgraded, program to be upgraded is used this network address access upgrade server, and download upgrade file from upgrade server, use the upgrade file program to be upgraded of upgrading.Adopt the present invention, by the upgrading of management service management program to be upgraded, do not need to operate backstage, need to be by other any means yet, just can upgrade to local software, and use one or more upgrade servers, while downloading upgrade file for one or more programs to be upgraded simultaneously, any one upgrade server all can not produce very serious load, one or more upgrade servers can carry out pressure and share, can not cause circuit to block up or the processing speed of individual server slow, thereby it is large to have solved in prior art the Software Upgrade Server pressure in closed system, the problem of unstable and length consuming time, realized fast, stably treat the effect of ROMPaq upgrading.
It should be noted that, in the step shown in the flow chart of accompanying drawing, can in the computer system such as one group of computer executable instructions, carry out, and, although there is shown logical order in flow process, but in some cases, can carry out shown or described step with the order being different from herein.
In the above embodiment of the present invention, program to be upgraded can be the software program in closed system.
As can be seen from the above description, the present invention has realized following technique effect:
Adopt the present invention, program to be upgraded is after management server sends upgrade request, management server is determined the upgrade server of respective upgrades request, and the network address of upgrade server is sent to program to be upgraded, program to be upgraded is used this network address access upgrade server, and download upgrade file from upgrade server, use the upgrade file program to be upgraded of upgrading.Adopt the present invention, by the upgrading of management service management program to be upgraded, do not need to operate backstage, need to be by other any means yet, just can upgrade to local software, and use one or more upgrade servers, while downloading upgrade file for one or more programs to be upgraded simultaneously, any one upgrade server all can not produce very serious load, one or more upgrade servers can carry out pressure and share, can not cause circuit to block up or the processing speed of individual server slow, thereby it is large to have solved in prior art the Software Upgrade Server pressure in closed system, the problem of unstable and length consuming time, realized fast, stably treat the effect of ROMPaq upgrading.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on the network that one or more calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in storage device and be carried out by calculation element, or they are made into respectively to each integrated circuit modules, or the one or more modules in them or step are made into single integrated circuit module to be realized.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a upgrade method, is characterized in that, comprising:
To management server, send upgrade request;
Receive the network address of the upgrade server that described management server returns, wherein, described upgrade server is the server corresponding with described upgrade request that described management server is determined;
Use the described network address to described upgrade server request upgrade file;
Use described upgrade file to upgrade.
2. upgrade method according to claim 1, it is characterized in that, before the network address of the upgrade server returning at the described management server of reception, described management server is determined the server corresponding with described upgrade request after receiving described upgrade request, wherein, described upgrade method comprises:
Upload initial upgrade file to described management server, described initial upgrade file carries version number;
Described management server is used described version number to carry out legitimacy verification to described initial upgrade file, and in the situation that described initial upgrade file is legal upgrade file, the form of changing described initial upgrade file obtains described upgrade file; In the situation that described initial upgrade file is illegal update file, the described initial upgrade file of described management server rejection;
Described management server is distributed to one or more described upgrade servers by described upgrade file.
3. upgrade method according to claim 2, is characterized in that, after described management server is distributed to one or more described upgrade servers by described upgrade file, described upgrade method also comprises:
Described upgrade server carries out completeness check to the described upgrade file receiving;
In the situation that the described upgrade file that described upgrade server receives is complete, the state of described upgrade file is become to download state;
The described upgrade file receiving at described upgrade server is in incomplete situation, returns and carries out the step that described upgrade file is distributed to one or more described upgrade servers.
4. upgrade method according to claim 3, is characterized in that,
Uploading initial upgrade file to after described management server, described upgrade method also comprises: described management server is encrypted and calculates first information summary described initial upgrade file;
After described upgrade file is distributed to one or more described upgrade servers, described upgrade server is encrypted and calculates the second informative abstract the described upgrade file receiving;
Described upgrade server is sent to described management server by described the second informative abstract;
Described management server judges that whether described first information summary is consistent with described the second informative abstract, at described first information summary with described the second informative abstract consistent in the situation that, determine that the described upgrade file that described upgrade server receives is complete, in described first information summary and the inconsistent situation of described the second informative abstract, determine that the described upgrade file that described upgrade server receives is incomplete.
5. upgrade method according to claim 4, is characterized in that, the step of using described upgrade file to upgrade comprises:
Program to be upgraded is encrypted and calculates the 3rd informative abstract the described upgrade file of downloading from described upgrade server;
Described program to be upgraded judges that whether described the 3rd informative abstract is consistent with described the second informative abstract, in described the 3rd informative abstract with described the second informative abstract consistent in the situation that, determine that the described upgrade file that described program to be upgraded is downloaded is complete, in described the 3rd informative abstract and the inconsistent situation of described the second informative abstract, determine that the described upgrade file that described program to be upgraded is downloaded is incomplete;
In the situation that the described upgrade file that described program to be upgraded is downloaded is complete, by the format conversion of described upgrade file, be upgrade data, use described upgrade data to upgrade;
The described upgrade file of downloading in described program to be upgraded is in incomplete situation, returns to the described program to be upgraded of execution and uses the described network address to the step of described upgrade server request upgrade file.
6. a update device, is characterized in that, comprising:
Sending module, for sending upgrade request to management server;
Receiver module, the network address of the upgrade server returning for receiving management server, wherein, described upgrade server is the server corresponding with described upgrade request that described management server is determined;
Request module, for being used the described network address to described upgrade server request upgrade file;
Upgrading module, for being used described upgrade file to upgrade.
7. update device according to claim 6, is characterized in that, described update device comprises:
Upper transmission module, for uploading initial upgrade file to described management server, described initial upgrade file carries version number;
Legitimacy correction verification module, for described management server, use described version number to carry out legitimacy verification to described initial upgrade file, in the situation that described initial upgrade file is legal upgrade file, the form of changing described initial upgrade file obtains described upgrade file; In the situation that described initial upgrade file is illegal update file, the described initial upgrade file of described management server rejection;
Distribution module, is distributed to one or more described upgrade servers for described management server by described upgrade file.
8. update device according to claim 7, is characterized in that, described update device also comprises:
Completeness check module, carries out completeness check for described upgrade server to the described upgrade file receiving;
State transformation module, in the situation that the described upgrade file that described upgrade server receives is complete, becomes download state by the state of described upgrade file;
Returning to Executive Module, is in incomplete situation for the described upgrade file receiving at described upgrade server, returns to carry out described upgrade file is distributed to one or more described upgrade servers.
9. a upgrade method, is characterized in that, comprising:
Receive upgrade request;
Determine the upgrade server of corresponding described upgrade request;
Send the network address of described upgrade server to program to be upgraded;
Use the described network address to described upgrade server request upgrade file;
Use described upgrade file to upgrade.
10. a upgrade-system, is characterized in that, comprising:
One or more upgrade servers;
Management server, is connected with described upgrade server, for after receiving upgrade request, determines the described upgrade server of corresponding described upgrade request, and sends the network address of described upgrade server;
Program to be upgraded, be connected with described upgrade server with described management server respectively, to described management server, send upgrade request, and after receiving the described network address that described management server returns, use the described network address to described upgrade server request upgrade file, use described upgrade file to upgrade.
CN201310728488.5A 2013-12-25 2013-12-25 Upgrading method, device and system Pending CN103685554A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310728488.5A CN103685554A (en) 2013-12-25 2013-12-25 Upgrading method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310728488.5A CN103685554A (en) 2013-12-25 2013-12-25 Upgrading method, device and system

Publications (1)

Publication Number Publication Date
CN103685554A true CN103685554A (en) 2014-03-26

Family

ID=50321828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310728488.5A Pending CN103685554A (en) 2013-12-25 2013-12-25 Upgrading method, device and system

Country Status (1)

Country Link
CN (1) CN103685554A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850427A (en) * 2015-04-22 2015-08-19 深圳市元征科技股份有限公司 Method and device for upgrading code
CN105045634A (en) * 2015-08-11 2015-11-11 上海优思通信科技有限公司 Smartphone software download method
CN105138382A (en) * 2015-09-24 2015-12-09 广东欧珀移动通信有限公司 Method for upgrading Android system and terminal
CN105511918A (en) * 2015-12-06 2016-04-20 江苏林洋能源股份有限公司 Automatic data storage format maintenance method of intelligent electric energy meter
CN105653305A (en) * 2014-11-21 2016-06-08 中国南方航空工业(集团)有限公司 Application software automatic update method, server, client side and system of same
CN105677398A (en) * 2015-12-31 2016-06-15 中海网络科技股份有限公司 Universal embedded computer software on-line upgrading method
CN105930179A (en) * 2015-12-14 2016-09-07 中国银联股份有限公司 Method and apparatus for upgrading transaction terminal
CN105975296A (en) * 2016-04-26 2016-09-28 百度在线网络技术(北京)有限公司 Mobile application upgrading method and device
CN106095505A (en) * 2016-06-13 2016-11-09 天脉聚源(北京)传媒科技有限公司 A kind of method and device of software upgrading
CN106803831A (en) * 2015-11-26 2017-06-06 中兴通讯股份有限公司 A kind of document distribution system and its management method and device
CN107800804A (en) * 2017-11-13 2018-03-13 迈普通信技术股份有限公司 NM server, security gateway, with outer file download system and method
CN108512684A (en) * 2017-02-28 2018-09-07 阿里巴巴集团控股有限公司 Firmware upgrade method and system and firmware upgrade managing device
CN109740308A (en) * 2018-12-28 2019-05-10 厦门吉比特网络技术股份有限公司 A kind of guard method and system of server end version
CN110493644A (en) * 2019-08-21 2019-11-22 青岛海信电器股份有限公司 TV applications upgrade method, television terminal and server
CN112148320A (en) * 2019-06-26 2020-12-29 顺丰科技有限公司 Application program upgrading method, device, equipment and storage medium

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653305A (en) * 2014-11-21 2016-06-08 中国南方航空工业(集团)有限公司 Application software automatic update method, server, client side and system of same
CN104850427A (en) * 2015-04-22 2015-08-19 深圳市元征科技股份有限公司 Method and device for upgrading code
CN105045634A (en) * 2015-08-11 2015-11-11 上海优思通信科技有限公司 Smartphone software download method
CN105138382A (en) * 2015-09-24 2015-12-09 广东欧珀移动通信有限公司 Method for upgrading Android system and terminal
CN105138382B (en) * 2015-09-24 2019-02-05 Oppo广东移动通信有限公司 A kind of method and terminal of android system upgrading
CN106803831A (en) * 2015-11-26 2017-06-06 中兴通讯股份有限公司 A kind of document distribution system and its management method and device
CN105511918B (en) * 2015-12-06 2018-10-26 江苏林洋能源股份有限公司 A kind of data memory format automatic maintenance method of intelligent electric energy meter
CN105511918A (en) * 2015-12-06 2016-04-20 江苏林洋能源股份有限公司 Automatic data storage format maintenance method of intelligent electric energy meter
CN105930179A (en) * 2015-12-14 2016-09-07 中国银联股份有限公司 Method and apparatus for upgrading transaction terminal
CN105677398A (en) * 2015-12-31 2016-06-15 中海网络科技股份有限公司 Universal embedded computer software on-line upgrading method
CN105975296A (en) * 2016-04-26 2016-09-28 百度在线网络技术(北京)有限公司 Mobile application upgrading method and device
CN106095505A (en) * 2016-06-13 2016-11-09 天脉聚源(北京)传媒科技有限公司 A kind of method and device of software upgrading
CN108512684A (en) * 2017-02-28 2018-09-07 阿里巴巴集团控股有限公司 Firmware upgrade method and system and firmware upgrade managing device
CN107800804A (en) * 2017-11-13 2018-03-13 迈普通信技术股份有限公司 NM server, security gateway, with outer file download system and method
CN107800804B (en) * 2017-11-13 2021-01-29 迈普通信技术股份有限公司 Network management server, security gateway, out-of-band file downloading system and method
CN109740308A (en) * 2018-12-28 2019-05-10 厦门吉比特网络技术股份有限公司 A kind of guard method and system of server end version
CN109740308B (en) * 2018-12-28 2021-04-16 厦门吉比特网络技术股份有限公司 Server-side version protection method and system
CN112148320A (en) * 2019-06-26 2020-12-29 顺丰科技有限公司 Application program upgrading method, device, equipment and storage medium
CN110493644A (en) * 2019-08-21 2019-11-22 青岛海信电器股份有限公司 TV applications upgrade method, television terminal and server

Similar Documents

Publication Publication Date Title
CN103685554A (en) Upgrading method, device and system
CN113691597B (en) Block chain contract deployment method, device, equipment and storage medium
CN111356114B (en) In-vehicle electronic control unit upgrading method, device, equipment and vehicle system
CN103944890B (en) Virtual interaction system based on customer end/server mode and method
US8464332B2 (en) Access gateway and method for providing cloud storage service
CN104811484B (en) FOTA upgrade method and device
CN104348777A (en) Method and system for controlling access of mobile terminal to third party server
CN104965726A (en) Configuration updating method, apparatus and system
CN105530254A (en) Data communication method between internal and external networks
CN109495433A (en) Data download method and device, storage medium and electronic device
CN103685337A (en) File sharing method, terminal equipment and relay server
CN102447720A (en) Method for remotely controlling personal computer (PC) by mobile phone
CN110166547B (en) Terminal remote access control method
CN113259494B (en) File storage method and device, electronic equipment and storage medium
CN103338218A (en) Providing client and service compatibility through cloud-hosted adapters
CN102801713A (en) Website logging-in method and system as well as accessing management platform
CN104834534A (en) Application program function extension method, device and system
CN114124917A (en) Remote upgrading method, equipment, system and medium for ground lock firmware
CN104023073A (en) Resource pushing method, system and device
CN103401931A (en) Method and system for downloading file
CN106878333B (en) A kind of third party authentication method, device and application system server
US8412844B2 (en) Validating download success
CN104253832A (en) Remote file management method and system
CN104503760B (en) The method and device of acquisition system highest authority
CN109739106B (en) Intelligent manufacturing platform and method for adaptively accessing intelligent manufacturing platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140326