CN104426976B - A kind of Virtual Server Cluster online updating device and method - Google Patents

A kind of Virtual Server Cluster online updating device and method Download PDF

Info

Publication number
CN104426976B
CN104426976B CN201310395036.XA CN201310395036A CN104426976B CN 104426976 B CN104426976 B CN 104426976B CN 201310395036 A CN201310395036 A CN 201310395036A CN 104426976 B CN104426976 B CN 104426976B
Authority
CN
China
Prior art keywords
file
server
synchronization
upgrade
upgrade file
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.)
Expired - Fee Related
Application number
CN201310395036.XA
Other languages
Chinese (zh)
Other versions
CN104426976A (en
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.)
FOUNDER BROADBAND NETWORK SERVICE CO LTD
Original Assignee
FOUNDER BROADBAND NETWORK SERVICE Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FOUNDER BROADBAND NETWORK SERVICE Co Ltd filed Critical FOUNDER BROADBAND NETWORK SERVICE Co Ltd
Priority to CN201310395036.XA priority Critical patent/CN104426976B/en
Publication of CN104426976A publication Critical patent/CN104426976A/en
Application granted granted Critical
Publication of CN104426976B publication Critical patent/CN104426976B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Abstract

The present invention relates to a kind of Virtual Server Cluster online updating device and method, including the first synchronization module, for controlling the server in the Virtual Server Cluster to realize the synchronization of upgrade file;Second synchronization module, for other servers being synchronized to upgrade file in the Virtual Server Cluster.When also including the first control module, synchronization for realizing upgrade file in the server where the second synchronization module, the health examination file in server where the second synchronization module of change is abnormality;When server where second synchronization module completes the synchronization of upgrade file, the health examination file in server where the second synchronization module of recovery is normal condition.Upgrade service can be provided with continual while upgrade file is automatically updated for user terminal by using the solution of the present invention to realize server.Both improve Virtual Server Cluster and updated the efficiency of upgrade file, and bring good Consumer's Experience to user.

Description

A kind of Virtual Server Cluster online updating device and method
Technical field
The invention belongs to the load-balanced server cluster field in data communication technology, specifically a kind of virtual server Cluster online updating device and method.
Background technology
End product with basic function first can be sold to use by existing terminal enterprise in order to quickly seize market Family, then periodically carries out software upgrading to user terminal, solves user terminal produced problem and meets the functional requirement of user. This sales mode so that the upgrading to user terminal is more and more important.With the popularization of network technology, increasing terminal Product support online upgrading.So-called online upgrading, be often referred to connect network in the case of from server download upgrade file with Ensure that software etc. is in last state.
The application of server cluster, the structure of server cluster is extended for by past single server structure, and is virtually taken The application of business device cluster is the effective way of most of user's settlement server performance bottleneck problems.Virtual Server Cluster for It is like that a server is working for user terminal, it is the basic framework of load balancing system, is divided into double-layer structure:It is negative Carry balanced device and server.User terminal access Virtual Server Cluster, the load equalizer on upper strata is by the access of user terminal And demand fifty-fifty shares processing as far as possible in the server of lower floor.Such Virtual Server Cluster is especially suitable for as user The upgrading of terminal provides service.All servers in Virtual Server Cluster provide same upgrade service, when substantial amounts of When user terminal needs to be upgraded, each user terminal access Virtual Server Cluster, the load of Virtual Server Cluster is equal Weighing apparatus distributes to the upgrade request of all user terminals each server in cluster as homogeneously as possible.Such framework makes The load capacity of Virtual Server Cluster is linearly increased for individual server, therefore Virtual Server Cluster is very big Ground improves service ability, can provide upgrade service simultaneously for a large number of users terminal.
For the real-time of the upgrade requirement that meets user terminal, more preferable service is provided the user, for Virtual Service Device cluster has higher requirement for the service that user terminal is provided:
(1) Virtual Server Cluster wants daily 24 hours to provide upgrade service incessantly for user terminal.
(2) being continuously increased with user terminal quantity, and need the amount of software upgraded more and more, Virtual Service The concurrency for the upgrade service that device cluster will provide for user terminal rises in geometric progression, increases Virtual Server Cluster Concurrent pressure.
And Virtual Server Cluster provides upgrade service for user terminal and namely provides upgrade file letter to user terminal The service that breath and upgrade file are downloaded.User terminal obtains the version number of upgrade file by getting the information of upgrade file With the download address of upgrade file, if the software of user terminal is not latest edition, by the download address of upgrade file, Upgrade file is downloaded in upgrade file memory block from Virtual Server Cluster in corresponding server, carries out software upgrading.
In this process, the server in Virtual Server Cluster needs to carry out automatically more the upgrade file of its inside Newly, it is latest edition when just can guarantee that upgrade file by user terminal downloads.And server is updated needs to upgrade file Artificial operation, and server is necessary to switch off the server when being updated to upgrade file and user terminal is contacted, now The server can not provide upgrade service for user terminal, if a certain server provides upgrade service for user terminal When, just the upgrade file of its inside can not be updated simultaneously.Therefore, the server in existing Virtual Server Cluster without Method provides upgrade service incessantly in 24 hours for user terminal.
In addition, the number of servers in Virtual Server Cluster is a lot, each server is all adopted when updating upgrade file Operate by hand, whole process it is more complicated and update efficiency it is low so that Virtual Server Cluster update upgrade file needed for Cycle it is longer, for need in time and the Virtual Server Cluster of frequent updating upgrade file for, update upgrade file need Put into a lot, and the speed updated is also very undesirable.
The content of the invention
The technical problems to be solved by the invention are to use people to the server in Virtual Server Cluster in the prior art The mode of work, which updates upgrade file, to be caused renewal efficiency low and continual upgrade service can not be provided for user terminal, so as to carry For one kind in the case where not stopping providing upgrade service for user terminal, the Virtual Server Cluster of upgrade file is automatically updated Online updating device and method.
In order to solve the above technical problems, the present invention is achieved by the following technical solutions:
A kind of Virtual Server Cluster online updating device, including:
First synchronization module, for controlling the server in the Virtual Server Cluster to realize the same of upgrade file Step;
Second synchronization module, for other servers being synchronized to the upgrade file in the Virtual Server Cluster On.
Further second synchronization module is arranged on the server in the Virtual Server Cluster, and described Server where one synchronization module control, second synchronization module realizes the synchronization of upgrade file.
Further also include the first control module, for realizing upgrading in the server where second synchronization module During the synchronization of file, the health examination file in server where change second synchronization module is abnormality;It is described When server where second synchronization module completes the synchronization of upgrade file, recover the server where second synchronization module Interior health examination file is normal condition.
Further first control module realizes upgrade file in the server where second synchronization module When synchronous, the server where controlling second synchronization module does not stop providing upgrade service for user terminal, still New upgrade service is no longer provided.
Further first control module, by changing the health in the server where second synchronization module Checking the title of file makes health examination file be abnormality;
First control module, by recovering the health examination file in the server where second synchronization module Title make health examination file access pattern be normal condition.
Further also include the second control module, be arranged in same server, be used for second synchronization module When controlling other servers in the Virtual Server Cluster to realize the synchronization of upgrade file, change realizes that upgrade file is synchronous Server in health examination file be abnormality;Realize that the synchronous server of upgrade file completes the synchronization of upgrade file When, it is normal condition to recover the health examination file in server.
Further second control module controls other servers in the Virtual Server Cluster to realize upgrading During the synchronization of file, control realizes that the synchronous server of upgrade file does not stop providing upgrade service for user terminal, but It is that new upgrade service is no longer provided.
Further second control module, the health examination in the synchronous server of upgrade file is realized by change The title of file makes health examination file be abnormality;
Second control module, by the name for recovering to realize the health examination file in the server of upgrade file synchronization It is called normal condition to make health examination file access pattern.
A kind of Virtual Server Cluster online updating method, comprises the following steps:
S1:A server realizes the synchronization of upgrade file in control Virtual Server Cluster;
S2:Server in the step S1 is completed after the synchronization of upgrade file, and the upgrade file is synchronized into institute State on other servers of Virtual Server Cluster, until Servers-all completes the synchronization of upgrade file.
When further the server in the step S1 realizes the synchronization of upgrade file, by its internal health examination text Part is changed to abnormality;
Server in the step S1 is completed after the synchronization of upgrade file, by its internal health examination file access pattern For normal condition.
When further the server in the step S1 realizes the synchronization of upgrade file, it does not stop whole for user End provides upgrade service, but no longer provides new upgrade service.
When further the server in the step S1 realizes the synchronization of upgrade file, by changing its internal health Checking the title of file makes health examination file be abnormality;
Server in the step S1 is completed after the synchronization of upgrade file, by recovering its internal health examination text The title of part makes health examination file access pattern be normal condition.
Upgrade file is further synchronized to other servers in the Virtual Server Cluster in the step S2 When upper, change realizes that the health examination file in the synchronous server of upgrade file is abnormality;Upgrade file is synchronously completed Afterwards, it is normal condition to recover its internal health examination file.
Upgrade file is further synchronized to other servers in the Virtual Server Cluster in the step S2 When upper, realized that the synchronous server of upgrade file did not stopped providing upgrade service for user terminal, but no longer provide new Upgrade service.
Upgrade file is further synchronized to other servers in the Virtual Server Cluster in the step S2 When upper, realized that the title of the health examination file in the synchronous server of upgrade file made health examination file be different by change Normal state;
Realize that the synchronous server of upgrade file is completed after the synchronization of upgrade file in the step S2, recover its inside Health examination file is normal condition.
The above-mentioned technical proposal of the present invention has advantages below compared with prior art:
(1) Virtual Server Cluster online updating device and method of the present invention, when in Virtual Server Cluster When server needs to update the upgrade file of its inside, controlled first by the first synchronization module in the Virtual Server Cluster A server realize the synchronization of upgrade file, then upgrade file is synchronized on other servers.In above process, it is empty It when intending the server update upgrade file in server cluster, can automatically realize, it is not necessary to artificial operation, realize automatic on-line The function of the upgrade file in server is updated, the renewal of the server updating file in Virtual Server Cluster is substantially increased Efficiency, for needing to be greatly saved manpower and materials in time and for the Virtual Server Cluster of frequent updating upgrade file. Also, because the Servers-all in Virtual Server Cluster belongs to Virtual Server Cluster, constitute the local of small range Net, upgrade file, which is synchronized on other servers, by a server can greatly save data transfer throughput, can also enter One step saves the time of file synchronization, further increases the efficiency of Virtual Server Cluster online updating.
(2) Virtual Server Cluster online updating device and method of the present invention, when a certain server is updating it During the upgrade file of inside, the health examination file changed in the server is by service in Virtual Server Cluster The inspection of health examination file in device judges whether server can provide the user the download service of upgrade file.Cause This, is abnormality by the health examination file amendment in server, makes the server is carried out after upgrade service detection to judge The server can not provide upgrade service for user terminal, and the server is isolated from the Virtual Server Cluster; After the server completes the renewal of upgrade file, then by its internal health examination file access pattern to normally.Therefore, when a certain Server is when updating the upgrade file inside it, and it will not receive the upgrade request of user again, therefore when the server enters During the renewal of row upgrade file, it is unaffected.
(3) Virtual Server Cluster online updating device and method of the present invention, a certain server is being upgraded During the renewal of file, if the server provides upgrade service for user terminal, the server does not stop what is providing Upgrade service, but no longer receive new upgrade service request.Server is realized by the above method do not stopping as user In the case that terminal provides upgrade service, the on-line automatic upgrade file for updating its inside is realized.Between 24 hours can be realized not Upgrade service is provided for user terminal disconnectedly, Consumer's Experience is improved.
Brief description of the drawings
In order that present disclosure is more likely to be clearly understood, below in conjunction with the accompanying drawings, further detailed is made to the present invention Thin explanation, wherein,
Fig. 1 is the structural representation of the Virtual Server Cluster online updating device in embodiment 1 of the present invention;
Fig. 2 is a kind of structural representation of the Virtual Server Cluster online updating device of embodiment of the present invention;
Fig. 3 is a kind of flow of the Virtual Server Cluster user terminal online updating method of embodiment of the present invention Figure;
Fig. 4 is the structural representation of the Virtual Server Cluster online updating device in a kind of embodiment of the present invention Figure;
Fig. 5 is a kind of flow chart of Virtual Server Cluster online updating method of the present invention.
Embodiment
Embodiment 1
The present embodiment provides a kind of Virtual Server Cluster online updating device, as shown in figure 1, it includes:First is synchronous Module, for controlling the server in the Virtual Server Cluster to realize the synchronization of upgrade file;Second synchronization module, is used In on other servers that the upgrade file is synchronized in the Virtual Server Cluster.
As optional embodiment, online updating device can be a controller in Virtual Server Cluster or Server.Certainly be preferably remote control virtual server online upgrading, it is only necessary to can with virtual server Any server realizes long-range connection, and thus the online upgrading of Virtual Server Cluster is more facilitated.
Same as the prior art, Virtual Server Cluster described in the present embodiment includes several servers.And it is described When first synchronization module controls the server in the Virtual Server Cluster first to update upgrade file first, it can select to appoint One server, because for the upgrade service that user terminal is provided all being identical in Virtual Server Cluster.
In the present embodiment, during server update upgrade file in Virtual Server Cluster, it can realize automatically, it is not necessary to people Work is operated, and is realized the function that automatic on-line updates the upgrade file in server, is substantially increased in Virtual Server Cluster Server updating file renewal efficiency, for need in time and the Virtual Server Cluster of frequent updating upgrade file for It is greatly saved manpower and materials.
As the preferred embodiment of the present embodiment, second synchronization module as shown in Figure 2 is arranged at the Virtual Service On a server in device cluster, the server where first synchronization module controls second synchronization module realizes upgrading The synchronization of file.
Because the Servers-all in Virtual Server Cluster belongs to Virtual Server Cluster, the office of small range is constituted Domain net, therefore after a server completes the synchronization of upgrade file, will be risen by being arranged at its second internal synchronization module Level file synchronization to other servers on can greatly save data transfer throughput, also can further save file synchronization when Between, further increase the efficiency of Virtual Server Cluster online updating.
Embodiment 2
Virtual Server Cluster online updating device in the present embodiment, on the basis of embodiment 1, in addition to the first control Molding block, for when the server where second synchronization module realizes the synchronization of upgrade file, changing described second same The health examination file in server where step module is abnormality;Server where second synchronization module is completed During the synchronization of upgrade file, the health examination file in server where recovery second synchronization module is normal condition.
In Virtual Server Cluster applied technical field, carry out upgrade service for server and check also by this area skill Art personnel are referred to as health examination, are detected by the server state being arranged in the Virtual Server Cluster during actual execution Health examination file in module check server, its whether necessary being, think that the server is in if necessary being Normal working condition, can provide upgrade server for user terminal, otherwise it is assumed that the server is in abnormality.
As preferred embodiment, first control module, by changing the clothes where second synchronization module The title of health examination file in business device makes health examination file be abnormality;First control module, by recovering The title of the health examination file in server where second synchronization module makes health examination file access pattern be normal shape State.
For health examination file, in addition to title, there are other attribute informations to change, when health inspection After the attribute information change for looking into file, when the server state detection module carries out upgrade service detection to server, just Normal health examination file can not be detected, therefore will be considered that server can not provide upgrade service for user terminal, then The upgrade service of user will not be requested assignment into server again, so, when server is carrying out the renewal behaviour of upgrade file When making, it will not be influenceed by user terminal upgrade service request.
It is further preferable that in the present embodiment, first control module is in the server where second synchronization module When realizing the synchronization of upgrade file, the server where controlling second synchronization module does not stop the liter providing the user The download service of level file, but the download service of new upgrade file is no longer provided.
In the present embodiment, server provides upgrade service for user terminal includes two aspects:It is for user on one side Terminal provides the inquiry service of information of upgrade file, for example, latest edition number and the upgrading of upgrade file are inquired about for user terminal The download address of file.It is the download service that upgrade file is provided for user terminal, i.e. user terminal on the other hand from service Download upgrade file in the upgrade file memory block of device.
User terminal downloads upgrade file process is similar with the scheme of prior art in the present embodiment, as shown in figure 3, including Following steps:
S001:User terminal is started shooting;
S002:User terminal connection server obtains information of upgrade file, and information of upgrade file includes upgrade file version The download address of information and upgrade file;
S003:User terminal compares the version information of the upgrade file version information obtained from server and local software, Enter step S004 if the upgraded version on server updates, be otherwise directly entered step S006;
S004:User terminal is downloaded from the upgrade file memory block of server and updated according to the download address of upgrade file The upgrade file of version is to local;
S005:The local software upgrading of user terminal is to latest edition;
S006:Terminate.
It should be noted that when server provides upgrade service for user terminal such as user terminal is from the liter of server Upgrade file is downloaded in level file storage area, and when the upgrade file of its inside of server update, its operation carried out is by most The upgrade file of redaction is synchronized to the upgrade file memory block in the server, and this operation has no effect on user terminal from liter Download the upgrade file of previous version in level file storage area.After the upgrade file of the complete previous version of user terminal downloads, again When having the upgrade file than local software version updating in acquisition server, then it is newest by the flow chart progress shown in Fig. 3 The download of the upgrade file of version.
The such scheme of the present embodiment realizes server in the case where not stopping providing upgrade service for user terminal, Realize the on-line automatic upgrade file for updating its inside.24 hours can be realized and provide upgrading clothes incessantly for user terminal Business, improves Consumer's Experience.
Embodiment 3
The present embodiment does following improvement, in addition to the second control module on the basis of embodiment 2, synchronous with described second Module is arranged in same server, for controlling other servers in the Virtual Server Cluster to realize upgrade file When synchronous, change realizes that the health examination file in the synchronous server of upgrade file is abnormality;Realize that upgrade file is same When the server of step completes the synchronization of upgrade file, it is normal condition to recover the health examination file in server.
Similar to Example 2, second control module is realized strong in the synchronous server of upgrade file by change Health checks that the title of file makes health examination file be abnormality;Second control module, by recovering to realize upgrading text The title of health examination file in the synchronous server of part makes health examination file access pattern be normal condition.
After the attribute information change of health examination file, the server state detection module is risen to server During level service detection, normal health examination file can not be just detected, therefore will be considered that server can not be user terminal Upgrade service is provided, then the upgrade service of user will not be requested assignment into server again, so, when server is being risen During the renewal operation of level file, it will not be influenceed by user terminal upgrade service request.
Second control module controls other servers in the Virtual Server Cluster to realize the same of upgrade file During step, control realizes that the synchronous server of upgrade file does not stop providing upgrade service for user terminal, but no longer carries For new upgrade service.
The such scheme of the present embodiment realizes server in the case where not stopping providing upgrade service for user terminal, Realize the on-line automatic upgrade file for updating its inside.24 hours can be realized and provide upgrading clothes incessantly for user terminal Business, improves Consumer's Experience.
As shown in figure 4, the basis implemented as the present embodiment, the Virtual Server Cluster includes load balancing mould Block, it is built-in with load balancing list, and the load balancing list records can provide the server of upgrade service for user terminal; The load balancing module receives the upgrading request that user terminal is sent, and the upgrading request that user terminal is sent is equal Weighing apparatus distributes to the server recorded in the load balancing list;
It is backward described negative that the server state detection module judges that server can not provide upgrade service for user terminal Carry balance module and send isolated instructions, the load balancing module is received will be unable to provide upgrading for user terminal after isolated instructions The server of service is removed from the load balancing list.
Correspondingly, be isolated the health examination file access pattern of server it is normal after, the server state detection module pair It is isolated server progress upgrade service detection and judges that the server has the ability to provide upgrade service for user terminal, the service Device state detection module sends addition instruction to the load balancing module, and the load balancing module is received will after addition instruction This is isolated server and is added in the load balancing list.
Similar with embodiment of the prior art, the load balancing module is by load balancing by user terminal Each server is given in the upgrading request equilibrium of proposition, and wherein inquiry of the upgrading request including information of upgrade file please The download request of summation upgrade file.
Load balancing module described in the present embodiment can use some load-balancing algorithms commonly used in the prior art, such as Smallest connection number dispatching algorithm is weighted, in the case where server performance is different, different power is used according to the situation of server Weight, the server with higher weights value will bear the upgrading request of more user terminal, whole for more users End provides upgrade service.It is similar compared with method, scheduler is also included in Virtual Server Cluster, can be automatic by scheduler The loading condition of each server is obtained, and dynamically adjusts the weighted value of server, optimizes load-balancing performance.Due to these It is the customary means that those skilled in the art use, and is not the invention main points of the present invention, therefore is not described in detail.This implementation The above-mentioned whole process of example is also automatic execution, with higher efficiency.
Embodiment 4
A kind of Virtual Server Cluster online updating method of the present embodiment offer, flow chart as shown in Figure 5, including it is as follows Step:
S1:A server realizes the synchronization of upgrade file in control Virtual Server Cluster;
S2:Server in the step S1 is completed after the synchronization of upgrade file, and the upgrade file is synchronized into institute State on other servers of Virtual Server Cluster, until Servers-all completes the synchronization of upgrade file.
In the present embodiment, during server update upgrade file in Virtual Server Cluster, it can realize automatically, it is not necessary to people Work is operated, and is realized the function that automatic on-line updates the upgrade file in server, is substantially increased in Virtual Server Cluster Server updating file renewal efficiency, for need in time and the Virtual Server Cluster of frequent updating upgrade file for It is greatly saved manpower and materials.
Also, because the Servers-all in Virtual Server Cluster belongs to Virtual Server Cluster, constitute small model The LAN enclosed, therefore after a server completes the synchronization of upgrade file, it is synchronous by be arranged at its inside second Upgrade file is synchronized on other servers by module can greatly save data transfer throughput, and it is same also can further to save file The time of step, further increase the efficiency of Virtual Server Cluster online updating.
Embodiment 5
The present embodiment is on the basis of embodiment 4, and the server being in following improvement, the step S1 realizes upgrade file Synchronization when, be abnormality by its internal health examination file amendment;Server in the step S1 completes upgrading text It is normal condition by its internal health examination file access pattern after the synchronization of part.As preferred embodiment, the present embodiment In, when the server in the step S1 realizes the synchronization of upgrade file, by the name for changing its internal health examination file It is called abnormality to make health examination file;Server in the step S1 is completed after the synchronization of upgrade file, by extensive The title of its multiple internal health examination file makes health examination file access pattern be normal condition.
For health examination file, in addition to title, there are other attribute informations to change, when health inspection After the attribute information change for looking into file, when the server state detection module carries out upgrade service detection to server, just Normal health examination file can not be detected, therefore will be considered that server can not provide upgrade service for user terminal, then The upgrade service of user will not be requested assignment into server again, so, when server is carrying out the renewal behaviour of upgrade file When making, it will not be influenceed by user terminal upgrade service request.
Further, when the server in step S1 described in the present embodiment realizes the synchronization of upgrade file, it does not stop Upgrade service is provided for user terminal, but new upgrade service is no longer provided.
The such scheme of the present embodiment realizes server in the case where not stopping providing upgrade service for user terminal, Realize the on-line automatic upgrade file for updating its inside.24 hours can be realized and provide upgrading clothes incessantly for user terminal Business, improves Consumer's Experience.
Embodiment 6
On the basis of embodiment 5, the Virtual Server Cluster online updating method in the present embodiment, in the step S2 When upgrade file is synchronized on other servers in the Virtual Server Cluster, the synchronous clothes of upgrade file are realized in change The health examination file being engaged in device is abnormality;After upgrade file is synchronously completed, recovering its internal health examination file is Normal condition.It is similar to Example 5, upgrade file is synchronized to other in the Virtual Server Cluster in the step S2 When on server, realize that the title of the health examination file in the synchronous server of upgrade file makes health examination text by change Part is abnormality;Realize that the synchronous server of upgrade file is completed after the synchronization of upgrade file in the step S2, recover it Internal health examination file is normal condition.
For health examination file, in addition to title, there are other attribute informations to change, when health inspection After the attribute information change for looking into file, the server state detection module in Virtual Server Cluster is upgraded to server During service detection, normal health examination file can not be just detected, therefore will be considered that server can not carry for user terminal For upgrade service, then the upgrade service of user will not be requested assignment into server again, so, when server is being upgraded During the renewal operation of file, it will not be influenceed by user terminal upgrade service request.
It is further preferable that in the step S2 by upgrade file be synchronized in the Virtual Server Cluster other service When on device, realize that the synchronous server of upgrade file does not stop providing upgrade service for user terminal, but no longer provide New upgrade service.
The such scheme of the present embodiment realizes server in the case where not stopping providing upgrade service for user terminal, Realize the on-line automatic upgrade file for updating its inside.24 hours can be realized and provide upgrading clothes incessantly for user terminal Business, improves Consumer's Experience.
Obviously, above-described embodiment is only intended to clearly illustrate example, and the not restriction to embodiment.It is right For those of ordinary skill in the art, can also make on the basis of the above description it is other it is various forms of change or Change.There is no necessity and possibility to exhaust all the enbodiments.And the obvious change thus extended out or Among changing still in the protection domain of the invention.

Claims (12)

1. a kind of Virtual Server Cluster online updating device, it is characterised in that including:
First synchronization module, for controlling the server in the Virtual Server Cluster to realize the synchronization of upgrade file;
Second synchronization module, for other servers being synchronized to the upgrade file in the Virtual Server Cluster;
Second synchronization module is arranged on the server in the Virtual Server Cluster, the first synchronization module control Server where making second synchronization module realizes the synchronization of upgrade file;
Also include the first control module, the synchronization for realizing upgrade file in the server where second synchronization module When, the health examination file in server where change second synchronization module is abnormality;Described second synchronous mould When server where block completes the synchronization of upgrade file, the health inspection in the server where recovery second synchronization module File is looked into for normal condition.
2. Virtual Server Cluster online updating device according to claim 1, it is characterised in that:
First control module controls institute when the server where second synchronization module realizes the synchronization of upgrade file Server where stating the second synchronization module does not stop providing upgrade service for user terminal, but no longer provides new liter Level service.
3. Virtual Server Cluster online updating device according to claim 1 or 2, it is characterised in that:
First control module, by the name for changing the health examination file in the server where second synchronization module It is called abnormality to make health examination file;
First control module, by the name for recovering the health examination file in the server where second synchronization module It is called normal condition to make health examination file access pattern.
4. according to any described Virtual Server Cluster online updating devices of claim 1-2, it is characterised in that:
Also include the second control module, be arranged at second synchronization module in same server, it is described virtual for controlling When other servers in server cluster realize the synchronization of upgrade file, change is realized in the synchronous server of upgrade file Health examination file is abnormality;When realizing that the synchronous server of upgrade file completes the synchronization of upgrade file, recover service Health examination file in device is normal condition.
5. Virtual Server Cluster online updating device according to claim 4, it is characterised in that:
When other servers in the second control module control Virtual Server Cluster realize the synchronization of upgrade file, Control realizes that the synchronous server of upgrade file does not stop providing upgrade service for user terminal, but no longer provides newly Upgrade service.
6. Virtual Server Cluster online updating device according to claim 4, it is characterised in that:
Second control module, the title for realizing the health examination file in the synchronous server of upgrade file by change makes Health examination file is abnormality;
Second control module, by recovering to realize that the title of the health examination file in the server of upgrade file synchronization makes Health examination file access pattern is normal condition.
7. a kind of Virtual Server Cluster online updating method, it is characterised in that comprise the following steps:
S1:A server realizes the synchronization of upgrade file in control Virtual Server Cluster;
S2:Server in the step S1 is completed after the synchronization of upgrade file, and the upgrade file is synchronized into the void On other servers for intending server cluster, until Servers-all completes the synchronization of upgrade file;
It is abnormal by its internal health examination file amendment when server in the step S1 realizes the synchronization of upgrade file State;
Server in the step S1 is completed after the synchronization of upgrade file, by its internal health examination file access pattern for just Normal state.
8. Virtual Server Cluster online updating method according to claim 7, it is characterised in that:
When server in the step S1 realizes the synchronization of upgrade file, it does not stop providing upgrading clothes for user terminal Business, but new upgrade service is no longer provided.
9. the Virtual Server Cluster online updating method according to claim 7 or 8, it is characterised in that:
When server in the step S1 realizes the synchronization of upgrade file, by the name for changing its internal health examination file It is called abnormality to make health examination file;
Server in the step S1 is completed after the synchronization of upgrade file, by recovering its internal health examination file Title makes health examination file access pattern be normal condition.
10. according to any described Virtual Server Cluster online updating methods of claim 7-8, it is characterised in that:
When upgrade file is synchronized on other servers in the Virtual Server Cluster in the step S2, change is realized Health examination file in the synchronous server of upgrade file is abnormality;After upgrade file is synchronously completed, recover inside it Health examination file be normal condition.
11. Virtual Server Cluster online updating method according to claim 10, it is characterised in that:
When upgrade file is synchronized on other servers in the Virtual Server Cluster in the step S2, upgrading is realized The server of file synchronization does not stop providing upgrade service for user terminal, but no longer provides new upgrade service.
12. Virtual Server Cluster online updating method according to claim 10, it is characterised in that:
When upgrade file is synchronized on other servers in the Virtual Server Cluster in the step S2, pass through change Realizing the title of the health examination file in the synchronous server of upgrade file makes health examination file be abnormality;
Realize that the synchronous server of upgrade file is completed after the synchronization of upgrade file in the step S2, recover its internal health Inspection file is normal condition.
CN201310395036.XA 2013-09-03 2013-09-03 A kind of Virtual Server Cluster online updating device and method Expired - Fee Related CN104426976B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310395036.XA CN104426976B (en) 2013-09-03 2013-09-03 A kind of Virtual Server Cluster online updating device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310395036.XA CN104426976B (en) 2013-09-03 2013-09-03 A kind of Virtual Server Cluster online updating device and method

Publications (2)

Publication Number Publication Date
CN104426976A CN104426976A (en) 2015-03-18
CN104426976B true CN104426976B (en) 2017-11-07

Family

ID=52974889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310395036.XA Expired - Fee Related CN104426976B (en) 2013-09-03 2013-09-03 A kind of Virtual Server Cluster online updating device and method

Country Status (1)

Country Link
CN (1) CN104426976B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201561B (en) * 2015-04-30 2019-08-23 阿里巴巴集团控股有限公司 The upgrade method and equipment of distributed caching cluster
CN106953746A (en) * 2017-02-28 2017-07-14 努比亚技术有限公司 Clustered node upgrade-system and method
CN107153560B (en) * 2017-05-25 2020-12-15 微梦创科网络科技(中国)有限公司 Version upgrading method, server and system
CN107273169A (en) * 2017-06-30 2017-10-20 郑州云海信息技术有限公司 The on-line software updating method and system of a kind of storage control cluster
CN107566195A (en) * 2017-10-23 2018-01-09 中国联合网络通信集团有限公司 Mirror image warehouse processing method and system
CN110224988B (en) * 2019-05-10 2023-04-07 视联动力信息技术股份有限公司 Image data processing method, system and device and storage medium
CN110505269A (en) * 2019-06-21 2019-11-26 广州虎牙科技有限公司 Transaction processing system, method for processing business and server
CN115277191A (en) * 2022-07-27 2022-11-01 中国工商银行股份有限公司 Health check method and device for background server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101494651A (en) * 2009-02-11 2009-07-29 江苏敏捷科技股份有限公司 Method for active backup of data
CN101727338A (en) * 2008-08-15 2010-06-09 北京北大众志微系统科技有限责任公司 Parallel upgrade method and application system for network computer
CN103166984A (en) * 2011-12-09 2013-06-19 中国航天科工集团第二研究院七0六所 System and method for control and automatic update of network video monitoring equipment controls

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102598581B (en) * 2010-01-08 2015-08-05 阿尔卡特朗讯 The accounts information Notification Method of data-oriented type terminal and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727338A (en) * 2008-08-15 2010-06-09 北京北大众志微系统科技有限责任公司 Parallel upgrade method and application system for network computer
CN101494651A (en) * 2009-02-11 2009-07-29 江苏敏捷科技股份有限公司 Method for active backup of data
CN103166984A (en) * 2011-12-09 2013-06-19 中国航天科工集团第二研究院七0六所 System and method for control and automatic update of network video monitoring equipment controls

Also Published As

Publication number Publication date
CN104426976A (en) 2015-03-18

Similar Documents

Publication Publication Date Title
CN104426976B (en) A kind of Virtual Server Cluster online updating device and method
CN105979009B (en) A kind of increase load automatic balancing method for cloud application container
CN107426034B (en) Large-scale container scheduling system and method based on cloud platform
CN109117265A (en) The method, apparatus, equipment and storage medium of schedule job in the cluster
CN104881325B (en) A kind of resource regulating method and resource scheduling system
CN105025095B (en) Realize the aggregated structure of cloud computing elasticity service
CN109960585A (en) A kind of resource regulating method based on kubernetes
CN103559072B (en) Virtual machine two-way automatic telescopic service implementing method and system thereof
CN101325561B (en) Method, apparatus and system for processing electronic mail
CN107547596A (en) A kind of cloud platform control method and device based on Docker
CN102137133B (en) Method and system for distributing contents and scheduling server
CN106790726A (en) A kind of priority query's dynamic feedback of load equilibrium resource regulating method based on Docker cloud platforms
CN110325968A (en) System upgrade management in distributed computing system
CN105208047B (en) Inserting method and server on distribution system services device
CN104601680B (en) A kind of method for managing resource and device
CN106933669A (en) For the apparatus and method of data processing
WO2021190360A1 (en) Virtualized resource scheduling system and method in vehicle diagnostic cloud platform
CN103118076A (en) Upgraded server cluster system and load balancing method thereof
CN103491155B (en) Cloud computing method and system for achieving mobile computing and obtaining mobile data
CN106789327A (en) The automatic method and system that host is added for cloud platform
CN106936623A (en) The management method of distributed cache system and cache cluster
CN105491150A (en) Load balance processing method based on time sequence and system
CN108369529A (en) It is example allocation host by anticorrelation rule
CN108512747A (en) The plug-in management method and home gateway of home gateway, communication system
CN110399272A (en) Log processing equipment, method, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100088 Beijing City, Haidian District Institute of Road No. 15, North Building B block 5 layer

Patentee after: FOUNDER BROADBAND NETWORK SERVICE Co.,Ltd.

Address before: 100088 Beijing City, Haidian District Institute of Road No. 15, North Building B block 5 layer

Patentee before: FOUNDER BROADBAND NETWORK SERVICE Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171107

Termination date: 20210903