CN109729136A - Proxy server dissemination method and publisher server - Google Patents

Proxy server dissemination method and publisher server Download PDF

Info

Publication number
CN109729136A
CN109729136A CN201810455292.6A CN201810455292A CN109729136A CN 109729136 A CN109729136 A CN 109729136A CN 201810455292 A CN201810455292 A CN 201810455292A CN 109729136 A CN109729136 A CN 109729136A
Authority
CN
China
Prior art keywords
proxy server
grouping
targeted packets
proxy
publication
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
CN201810455292.6A
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.)
NetsUnion Clearing Corp
Original Assignee
NetsUnion Clearing Corp
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 NetsUnion Clearing Corp filed Critical NetsUnion Clearing Corp
Priority to CN201810455292.6A priority Critical patent/CN109729136A/en
Publication of CN109729136A publication Critical patent/CN109729136A/en
Pending legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)

Abstract

The present invention proposes a kind of proxy server dissemination method and publisher server, wherein method includes: to be grouped to all proxy servers, and selected part grouping, which constitutes targeted packets collection and is merged into row publication, from all groupings updates;During issuing update, disabled status is set by the proxy server in targeted packets set;Business cluster is maintained to provide service using all proxy servers in addition to targeted packets set;After targeted packets set completes publication update, available mode is set by the proxy server in targeted packets set;Again selected part is grouped and constitutes new targeted packets collection merging execution publication update and subsequent step from remaining grouping, terminates after all proxy servers complete publication update.By this method, it can ensure that the continuity for the service that business cluster provides, as far as possible reduction issuing process are influenced caused by system availability, solve the technical issues of business existing in the prior art is interrupted.

Description

Proxy server dissemination method and publisher server
Technical field
The present invention relates to field of computer technology more particularly to a kind of proxy server dissemination methods and publisher server.
Background technique
Currently, in business cluster include multiple proxy servers, when need on proxy server issue one in application, The proxy server can be stopped and be restarted.If simultaneously carried out each proxy server of batch using publication, It needs that each proxy server is stopped and restarted, after all proxy servers stop, then will lead to business cluster There is the not available situation of of short duration service, business is caused to be interrupted.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, the first purpose of this invention is to propose a kind of proxy server dissemination method, to avoid in Xiang Daili During server publication application, the case where needing to stop proxy server and processing capacity cliff of displacement formula is caused to drop, ensure The continuity for the service that business cluster provides, as far as possible reduction issuing process are influenced caused by business cluster availability, are solved The technical issues of business interruption existing in the prior art and service ability decline.
Second object of the present invention is to propose a kind of publisher server.
Third object of the present invention is to propose another publisher server.
Fourth object of the present invention is to propose a kind of computer program product.
5th purpose of the invention is to propose a kind of non-transitorycomputer readable storage medium.
In order to achieve the above object, first aspect present invention embodiment proposes a kind of proxy server dissemination method, for pair Proxy server in business cluster carries out publication update, this method comprises:
All proxy servers are grouped, selected part grouping constitutes targeted packets collection and merges from all groupings Carry out publication update;
During issuing update, disabled status is set by the proxy server in the targeted packets set;
The business cluster is maintained to provide service using all proxy servers in addition to the targeted packets set;
After the targeted packets set completes publication update, the proxy server in the targeted packets set is arranged For available mode;
Again the new targeted packets collection of selected part grouping composition merges execution publication update from remaining grouping And subsequent step, until all proxy servers are completed to terminate after publication updates.
The proxy server dissemination method of the embodiment of the present invention, by being grouped to all proxy servers, from institute There is selected part grouping composition targeted packets collection in being grouped to be merged into row publication update, during issuing update, by target Proxy server in grouping set is set as disabled status, is tieed up using all proxy servers in addition to targeted packets set It holds business cluster and service is provided, after targeted packets set completes publication update, by the proxy server in targeted packets set It is set as available mode, selected part grouping constitutes new targeted packets collection merging and executes publication more from remaining grouping again New and subsequent step, completing publication update until all proxy servers terminates.By being grouped to proxy server, By batch realease agent server, all proxy servers in addition to targeted packets set are utilized during issuing and updating The service that maintenance business cluster provides has ensured the clothes that business cluster provides without being stopped to proxy server and being restarted The continuity of business, so as to solve the technical issues of business existing in the prior art is interrupted.
In order to achieve the above object, second aspect of the present invention embodiment proposes a kind of publisher server, for business cluster In proxy server carry out publication update, which includes:
Module is chosen in grouping, and for being grouped to all proxy servers, selected part is grouped from all groupings It constitutes targeted packets collection and is merged into row publication update;
Setup module, for during issuing update, the proxy server in the targeted packets set to be arranged For disabled status, and in the targeted packets set complete to take the agency in the targeted packets set after publication updates Business device is set as available mode;
Service module is maintained, for maintaining the industry using all proxy servers in addition to the targeted packets set Business cluster provides service;
Return module, being used to indicate the grouping selection module, selected part grouping is constituted newly from remaining grouping again The targeted packets set, until all proxy servers complete publication update after terminate.
The publisher server of the embodiment of the present invention, by being grouped to all proxy servers, from all groupings Selected part grouping composition targeted packets collection is merged into row publication and updates, during issuing update, by targeted packets set In proxy server be set as disabled status, utilize all proxy servers in addition to targeted packets set to maintain services sets Group provides service, and after targeted packets set completes publication update, setting the proxy server in targeted packets set to can With state, selected part grouping constitutes new targeted packets collection and merges and executes publication and update and subsequent from remaining grouping again Step, completing publication update until all proxy servers terminates.By being grouped to proxy server, sent out by batch Cloth proxy server utilizes all proxy servers maintenance business in addition to targeted packets set during issuing and updating The service that cluster provides has ensured the continuous of the service that business cluster provides without being stopped to proxy server and being restarted Property, so as to solve the technical issues of business existing in the prior art is interrupted.
In order to achieve the above object, third aspect present invention embodiment proposes another publisher server, comprising: memory, Processor and storage on a memory and the computer program that can run on a processor, the processor execution computer When program, the proxy server dissemination method as described in first aspect embodiment is realized.
To achieve the goals above, fourth aspect present invention embodiment proposes a kind of computer program product, when described When instruction in computer program product is executed by processor, the proxy server publication as described in first aspect embodiment is realized Method.
To achieve the goals above, fifth aspect present invention embodiment proposes a kind of computer-readable storage of non-transitory Medium is stored thereon with computer program, and the agency as described in first aspect embodiment is realized when which is executed by processor Server dissemination method.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow diagram for the proxy server dissemination method that one embodiment of the invention proposes;
Fig. 2 is the flow diagram for the proxy server dissemination method that another embodiment of the present invention proposes;
Fig. 3 is the flow diagram for the proxy server dissemination method that further embodiment of this invention proposes;
Fig. 4 is the structural schematic diagram for the publisher server that one embodiment of the invention proposes;
Fig. 5 is the structural schematic diagram that another embodiment of the present invention proposes publisher server;And
Fig. 6 is the structural schematic diagram for another publisher server that one embodiment of the invention proposes.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the proxy server dissemination method and publisher server of the embodiment of the present invention are described.
Fig. 1 is the flow diagram for the proxy server dissemination method that one embodiment of the invention proposes, this method can be by Publisher server executes, for carrying out publication update to the proxy server in business cluster.
As shown in Figure 1, the proxy server dissemination method the following steps are included:
Step 101, all proxy servers are grouped, selected part grouping constitutes target point from all groupings Group collection is merged into row publication and updates.
In order to meet the needs of larger traffic amount, usually using multiple proxy servers constitute business cluster come to business into Row processing.
In the present embodiment, before issuing to proxy server, publisher server can will own in business cluster Proxy server is grouped, and selected section grouping constitutes targeted packets set from all groupings, and then by targeted packets Proxy server in set carries out publication update.
Herein it should be noted that selected part grouping, which constitutes targeted packets collection, is merged into the specific implementation that row publication updates Process will provide in subsequent content, unnecessary to avoid, and be not described in detail herein.
Step 102, during issuing update, disabling shape is set by the proxy server in targeted packets set State.
For the safety for guaranteeing business datum, during proxy server publication, proxy server cannot handle industry Business.However, user may be to services sets pocket transmission service request in proxy server issuing process.To, in the present embodiment, In order to avoid the proxy server in issuing process receives the service request of user and lead to the service request of user not It can be handled in time, disabling shape can be set by the proxy server in targeted packets set during issuing update State, so that the proxy server in publication renewal process cannot receive the service request of user.
Step 103, business cluster is maintained to provide service using all proxy servers in addition to targeted packets set.
In the present embodiment, during carrying out publication update to the proxy server in targeted packets set, Ke Yili Business cluster is maintained to provide service with all proxy servers in addition to targeted packets set.When have user to services sets mass-send When sending service request, it can be asked by the business that the proxy server being not in publication renewal process in business cluster receives user It asks, and provides service for service request, to guarantee the continuity of the service of business cluster offer.
In a kind of possible implementation of the embodiment of the present invention, service request can be received by publisher server, and will Received service request is sent to the proxy server in available mode and is handled, to maintain business cluster to provide clothes Business.Wherein, the proxy server in available mode is one in all proxy servers in addition to targeted packets set.
Further, since the service that each proxy server externally provides has the upper limit, when the maximum limit is reached, agency's clothes The service ability of business device will appear the drop of cliff of displacement formula, the service ability decline for causing business cluster to provide, thus, publisher server It, can be first according to each proxy server when service request being sent to the proxy server in available mode being handled Present load amount chooses a proxy server as target from all proxy servers in addition to targeted packets set Proxy server, and then service request is sent to the target proxy server and is handled.
By considering the present load amount of each proxy server in selection target proxy server, appearance can be avoided The service ability of proxy server reaches the case where drop of processing capacity cliff of displacement formula caused by the upper limit;By the way that service request is sent Handled in the proxy server of available mode, can guarantee the continuity for the service that business cluster provides, avoid because Business is intermittent caused by publication updates happens, and reduces the influence to business cluster availability.
Step 104, after targeted packets set completes publication update, the proxy server in targeted packets set is arranged For available mode.
It, can be by target after all proxy servers in targeted packets set complete publication update in the present embodiment Proxy server in grouping set is set as available mode, so that issuing updated proxy server is capable of handling business, And when guaranteeing that remaining proxy server carries out publication update in business cluster, services sets group is capable of providing normal service.
Step 105, the new targeted packets collection merging of selected part grouping composition executes publication from remaining grouping again Update and subsequent step, until all proxy servers are completed to terminate after publication updates.
In the present embodiment, proxy server in targeted packets set complete publication update and be set as available mode it It afterwards, can selected part grouping constitutes new targeted packets collection and is merged into capable publication from grouping remaining in business cluster again It updates, repeats step 102 to step 105, until after proxy server all in business cluster completes publication update Terminate.
Herein it should be noted that should ensure that when selected part is grouped and constitutes targeted packets set except targeted packets collection Other proxy servers except conjunction are able to maintain that service provided by business cluster.
The proxy server dissemination method of the present embodiment, by being grouped to all proxy servers, from all points Selected part grouping composition targeted packets collection is merged into row publication and updates in group, during issuing update, by targeted packets Proxy server in set is set as disabled status, maintains industry using all proxy servers in addition to targeted packets set Business cluster provides service, after targeted packets set completes publication update, by the proxy server setting in targeted packets set For available mode, again from remaining grouping selected part grouping constitute new targeted packets collection merge execute publication update and Subsequent step, completing publication update until all proxy servers terminates.By being grouped to proxy server, presses and criticize Secondary realease agent server utilizes all proxy servers maintenance in addition to targeted packets set during issuing and updating The service that business cluster provides has ensured the service that business cluster provides without being stopped to proxy server and being restarted Continuity, so as to solve the technical issues of business existing in the prior art is interrupted.
In order to clearly illustrate that selected part grouping constitutes targeted packets collection from all groupings in above-described embodiment Merge the specific implementation process for carrying out publication update, the embodiment of the invention provides another proxy server dissemination method, Fig. 2 For the flow diagram for the proxy server dissemination method that another embodiment of the present invention proposes.
As shown in Fig. 2, step 101 may comprise steps of on the basis of embodiment as shown in Figure 1:
Step 201, minimum treat ability required when business cluster operates normally is obtained.
For the normal operation for guaranteeing business group system, the processing capacity of business group system needs to be greater than or equal to one Processing capacity threshold value.When the processing capacity of business group system is not less than the processing capacity threshold value, it is able to maintain that business cluster System provides service, i.e. the processing capacity threshold value is the minimum treat ability needed for guarantee business cluster operates normally.This reality It applies in example, publisher server available processing capacity threshold value minimum treat energy required when being operated normally as business cluster Power.
Step 202, the maximum number for the grouping chosen is determined according to minimum treat ability.
It, can be further according to minimum treat energy after the minimum treat ability for obtaining business cluster in the present embodiment Power determines the maximum number of selected grouping.
Since the proxy server in publication renewal process is arranged to disabled status, except target point in business cluster All proxy servers except group set are used to service provided by maintenance business cluster, therefore, remove targeted packets set Except all proxy servers processing capacity should be not less than business cluster minimum treat ability.To selected structure It is inversely proportional at the maximum number of grouping and the minimum treat ability of business cluster of targeted packets set, i.e. minimum treat ability is got over Greatly, the maximum number of selected grouping is smaller.
For example, it is assumed that include 20 proxy servers in business cluster, be 1 group by its point with 2 proxy servers It is 10 groups, each proxy server quantity per second for executing service is 2000, the business cluster minimum per second for needing to be implemented service Quantity is 26000.By calculating it was determined that maintaining the normal operation of business cluster to need 13 proxy servers, due to every Include 2 proxy servers in a grouping, then needs 7 groups of proxy servers to maintain service provided by business cluster, therefore, The maximum number that can determine the grouping of selection is 3 groups.
Step 203, the grouping of quantity identical as maximum number is selected to constitute targeted packets set from all groupings.
In the present embodiment, determined according to the minimum treat ability of business cluster selected grouping maximum number it Afterwards, the grouping of quantity identical as maximum number can be selected to constitute targeted packets set from all groupings.
Further, reach the upper limit in order to avoid there is proxy server service ability and cause under processing capacity cliff of displacement formula The case where falling, can when choosing the grouping for constituting targeted packets set in a kind of possible implementation of the embodiment of the present invention To consider the load capacity of proxy server in each grouping.To which the embodiment of the invention provides another proxy server hairs Cloth method, Fig. 3 are the flow diagram for the proxy server dissemination method that further embodiment of this invention proposes.As shown in figure 3, On the basis of embodiment as shown in Figure 2, step 203 be may comprise steps of:
Step 301, load capacity of the proxy server in predetermined period in each grouping is obtained.
Wherein, predetermined period can be preset, for example, predetermined period can according to the publication of proxy server update when Between set, for example be set as 30 minutes, the present invention to the specific value of predetermined period with no restriction.
In the present embodiment, each proxy server is negative in predetermined period in the available each grouping of publisher server Carrying capacity.Wherein, load capacity is used to characterize the number of services in proxy server processing, can be needed for unfinished number of services Processing capacity account for the percentage of proxy server throughput and indicate, unfinished number of services number table can also be used Show.
Step 302, according to the load capacity of proxy server, the total load amount of each grouping is counted.
After the load capacity for obtaining each proxy server, can according to the load capacity of acquired proxy server, Count the total load amount of each grouping.For example, it is directed to each grouping, it can be each by include in grouping by way of summation The load capacity of a proxy server is added, total load amount of the acquired results as the grouping.
Step 303, according to total load and maximum number, targeted packets set is determined.
Specifically, a load capacity can be preset according to the processing capacity upper limit of proxy server, by the total of grouping Load capacity is compared with preset load capacity, and the grouping work that overall responsibility's amount is higher than preset load capacity is chosen from all groupings It is grouped for candidate, and then chooses the grouping of quantity identical as maximum number from candidate grouping, constitute targeted packets set.
It, can be from addition to candidate's grouping herein it should be noted that when the number of candidate's grouping is less than maximum number Other groupings in, choose needed for number grouping, with candidate grouping together constitute targeted packets set.Wherein, required number For the difference of maximum number and candidate grouping number.In point of the number needed for being selected in other groupings in addition to candidate grouping When group, it can be randomly selected, can also successively be selected according to the sequence of total load amount from big to small.
When grouping by constituting targeted packets set in selection, consider in each grouping the load capacity of proxy server and The total load amount of grouping determines targeted packets set according to total load amount and maximum number, can be avoided as much as publication more There is the case where cliff of displacement formula drops in the processing capacity of proxy server during new, solves service existing in the prior art The technical issues of ability declines.
The proxy server dissemination method of the present embodiment, required minimum treat when being operated normally by obtaining business cluster Ability determines the maximum number for the grouping chosen according to minimum treat ability, selects from all groupings identical as maximum number The grouping of quantity constitutes targeted packets set, can guarantee the normal fortune of business cluster in proxy server publication renewal process Row ensures the service continuity that business cluster provides.
Above described embodiment describes targeted packets set is determined according to the minimum treat ability of business cluster, to target point Proxy server in group set carries out the realization process of publication update.Herein it should be noted that in the embodiment of the present invention one In the possible implementation of kind, carried out to guarantee to issue stablizing for renewal process, when being issued to proxy server, also A proxy server can be first issued, and monitor whether the proxy server can operate normally after the completion of publication.If should There are failures for proxy server, then stop the publication of subsequent proxy server;If the proxy server fault-free, continues business The publication of other proxy servers updates in cluster.It, can be using the side of automation in other proxy servers of subsequent issued Formula carries out the publication of next grouping after the completion of current group publication automatically, until all proxy server publications are updated and completed After terminate.This published method needs to meet following condition: the proxy server uniform amount of each grouping, and except in publication Service ability needed for the proxy server of other groupings except grouping in renewal process is capable of providing business cluster, to protect The decline of business cluster processing capacity caused by card is not updated because of publication.
In order to realize above-described embodiment, the present invention also provides a kind of publisher servers, for the generation in business cluster Reason server carries out publication update.
Fig. 4 is the structural schematic diagram for the publisher server that one embodiment of the invention proposes.As shown in figure 4, the issuing service Device 40 includes: that grouping chooses module 410, setup module 420, maintains service module 430 and return module 440.Wherein,
Module 410 is chosen in grouping, for being grouped to all proxy servers, the selected part point from all groupings Group constitutes targeted packets collection and is merged into row publication update.
Setup module 420, for setting the proxy server in targeted packets set to during issuing update Disabled status, and after targeted packets set completes publication update, set the proxy server in targeted packets set to Available mode.
Service module 430 is maintained, for maintaining services sets using all proxy servers in addition to targeted packets set Group provides service.
Specifically, service module 430 is maintained to be sent to one in available for receiving service request, and by service request The proxy server of state is handled, to maintain business cluster to provide service;Wherein, in the proxy server of available mode For one in all proxy servers in addition to targeted packets set.
Further, maintain service module 430 that service request is sent to the proxy server for being in available mode It, can be first according to the present load amount of each proxy server, from all generations in addition to targeted packets set when being handled It manages in server, chooses a proxy server as target proxy server, and then by service request and be sent to target proxy Server is handled.
By considering the present load amount of each proxy server in selection target proxy server, appearance can be avoided The service ability of proxy server reaches the case where drop of processing capacity cliff of displacement formula caused by the upper limit;By the way that service request is sent Handled in the proxy server of available mode, can guarantee the continuity for the service that business cluster provides, avoid because Business is intermittent caused by publication updates happens, and reduces the influence to business cluster availability.
Return module 440 is used to indicate grouping and chooses the selected part grouping composition from remaining grouping again of module 410 New targeted packets set, until all proxy servers are completed to terminate after publication updates.
Further, in a kind of possible implementation of the embodiment of the present invention, as shown in figure 5, implementing as shown in Figure 4 On the basis of example, grouping chooses module 410 and includes:
Acquiring unit 411, for obtaining minimum treat ability required when business cluster operates normally.
Determination unit 412, for determining the maximum number for the grouping chosen according to minimum treat ability.
Component units 413 are selected, for selecting the grouping of quantity identical as maximum number to constitute target from all groupings Grouping set.
Specifically, selection Component units 413 are for obtaining load of the proxy server in predetermined period in each grouping Amount;According to the load capacity of proxy server, the total load amount of each grouping is counted;According to total load and maximum number, mesh is determined Mark grouping set.
Further, selection Component units 413, can be with when determining targeted packets set according to total load and maximum number First by total load amount compared with preset load capacity, chooses total load amount and be higher than the grouping of preset load capacity as candidate point Group chooses the grouping of quantity identical as maximum number from candidate grouping, constitutes targeted packets set.
When grouping by constituting targeted packets set in selection, consider in each grouping the load capacity of proxy server and The total load amount of grouping determines targeted packets set according to total load amount and maximum number, can be avoided as much as publication more There is the case where cliff of displacement formula drops in the processing capacity of proxy server during new, solves service existing in the prior art The technical issues of ability declines.
It should be noted that the aforementioned explanation to proxy server dissemination method embodiment is also applied for the present embodiment Publisher server, realization principle is similar, and details are not described herein again.
The publisher server of the present embodiment is chosen from all groupings by being grouped to all proxy servers Grouping composition targeted packets collection in part is merged into row publication and updates, will be in targeted packets set during issuing update Proxy server is set as disabled status, maintains business cluster to mention using all proxy servers in addition to targeted packets set For service, after targeted packets set completes publication update, available shape is set by the proxy server in targeted packets set State, selected part is grouped and constitutes new targeted packets collection merging execution publication update and subsequent step from remaining grouping again Suddenly, completing publication update until all proxy servers terminates.By being grouped to proxy server, issued by batch Proxy server utilizes all proxy servers maintenance services sets in addition to targeted packets set during issuing and updating The service that group provides has ensured the continuity for the service that business cluster provides without being stopped to proxy server and restarted, The technical issues of so as to solve business existing in the prior art interruption.
In order to realize above-described embodiment, the present invention also provides another publisher servers.
Fig. 6 is the structural schematic diagram for another publisher server that one embodiment of the invention proposes.As shown in fig. 6, the hair Cloth server 60 includes: memory 601, processor 602 and is stored on memory 601 and can run on processor 602 Computer program 603 when processor 602 executes computer program 603, realizes proxy server hair as in the foregoing embodiment Cloth method.
In order to realize above-described embodiment, the present invention also proposes a kind of computer program product, when the computer program produces When instruction in product is executed by processor, proxy server dissemination method as in the foregoing embodiment is realized.
In order to realize above-described embodiment, the present invention also proposes a kind of non-transitorycomputer readable storage medium, deposits thereon Computer program is contained, which realizes proxy server dissemination method as in the foregoing embodiment when being executed by processor.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention Type.

Claims (10)

1. a kind of proxy server dissemination method, which is characterized in that for being issued to the proxy server in business cluster It updates, the described method comprises the following steps:
All proxy servers are grouped, selected part grouping constitutes targeted packets collection and is merged into row from all groupings Publication updates;
During issuing update, disabled status is set by the proxy server in the targeted packets set;
The business cluster is maintained to provide service using all proxy servers in addition to the targeted packets set;
After the targeted packets set completes publication update, setting the proxy server in the targeted packets set to can Use state;
Again from selected part grouping in remaining grouping constitute the new targeted packets collection merge execute publication update and after Continuous step, until all proxy servers are completed to terminate after publication updates.
2. the method according to claim 1, wherein the selected part from all groupings grouping constitutes target Grouping set simultaneously carries out publication update, comprising:
Acquisition business cluster minimum treat ability required when operating normally;
The maximum number for the grouping chosen is determined according to the minimum treat ability;
The grouping of quantity identical as the maximum number is selected to constitute the targeted packets set from all groupings.
3. according to the method described in claim 2, it is characterized in that, the selection from all groupings and the maximum number phase Grouping with quantity constitutes the targeted packets set, comprising:
Obtain load capacity of the proxy server in predetermined period in each grouping;
According to the load capacity of proxy server, the total load amount of each grouping is counted;
According to the total load and the maximum number, the targeted packets set is determined.
4. according to the method described in claim 3, it is characterized in that, described according to the total load and the maximum number, really The fixed targeted packets set, comprising:
By the total load amount compared with preset load capacity;
The total load amount is chosen higher than the grouping of the preset load capacity as candidate grouping;
The grouping that quantity identical as the maximum number is chosen from the candidate grouping, constitutes the targeted packets set.
5. the method according to claim 1, wherein described using all in addition to the targeted packets set Proxy server maintains the business cluster to provide service, comprising:
Service request is received, and the service request is sent at the proxy server in available mode Reason, to maintain the business cluster to provide service;Wherein, the proxy server in available mode is except the mesh Mark one in all proxy servers except grouping set.
6. according to the method described in claim 5, it is characterized in that, described be sent to the service request in available mode The proxy server handled, comprising:
According to the present load amount of each proxy server, from all proxy servers in addition to the targeted packets set In, a proxy server is chosen as target proxy server;
The service request is sent to the target proxy server to handle.
7. a kind of publisher server, which is characterized in that for carrying out publication update to the proxy server in business cluster, wrap It includes:
Module is chosen in grouping, and for being grouped to all proxy servers, selected part grouping is constituted from all groupings Targeted packets collection is merged into row publication and updates;
Setup module, for during issuing update, the proxy server in the targeted packets set being set as prohibiting It is completed after publication updates with state, and in the targeted packets set, by the proxy server in the targeted packets set It is set as available mode;
Service module is maintained, for maintaining the services sets using all proxy servers in addition to the targeted packets set Group provides service;
Return module is used to indicate the grouping and chooses the module new institute of selected part grouping composition from remaining grouping again Targeted packets set is stated, until all proxy servers are completed to terminate after publication updates.
8. a kind of publisher server, which is characterized in that on a memory and can be in processor including memory, processor and storage The computer program of upper operation when the processor executes the computer program, is realized such as any one of claim 1-6 institute The proxy server dissemination method stated.
9. a kind of computer program product, which is characterized in that when the instruction in the computer program product is executed by processor Shi Shixian proxy server dissemination method for example of any of claims 1-6.
10. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the program Such as proxy server dissemination method of any of claims 1-6 is realized when being executed by processor.
CN201810455292.6A 2018-05-14 2018-05-14 Proxy server dissemination method and publisher server Pending CN109729136A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810455292.6A CN109729136A (en) 2018-05-14 2018-05-14 Proxy server dissemination method and publisher server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810455292.6A CN109729136A (en) 2018-05-14 2018-05-14 Proxy server dissemination method and publisher server

Publications (1)

Publication Number Publication Date
CN109729136A true CN109729136A (en) 2019-05-07

Family

ID=66293782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810455292.6A Pending CN109729136A (en) 2018-05-14 2018-05-14 Proxy server dissemination method and publisher server

Country Status (1)

Country Link
CN (1) CN109729136A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110311820A (en) * 2019-07-05 2019-10-08 山东云缦智能科技有限公司 A kind of micro services cluster upgrade method of continual service
CN112346777A (en) * 2020-11-20 2021-02-09 浙江百应科技有限公司 Smooth application program publishing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1770108A (en) * 2004-11-05 2006-05-10 华为技术有限公司 Online software updating method
CN101741894A (en) * 2008-11-26 2010-06-16 中国移动通信集团公司 Upgrade method for distributed system and upgrade scheduling node and system
CN106533757A (en) * 2016-11-09 2017-03-22 上海斐讯数据通信技术有限公司 Method and device for upgrading cloud terminal equipment in batches
WO2017059293A1 (en) * 2015-10-02 2017-04-06 Google Inc. Single table multi-schema data store in a key value store
CN107483646A (en) * 2017-09-27 2017-12-15 上海斐讯数据通信技术有限公司 A kind of control method of AP upgradings, apparatus and system
EP3289458A1 (en) * 2015-04-30 2018-03-07 Amazon Technologies, Inc. Managing load balancers associated with auto-scaling groups

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1770108A (en) * 2004-11-05 2006-05-10 华为技术有限公司 Online software updating method
CN101741894A (en) * 2008-11-26 2010-06-16 中国移动通信集团公司 Upgrade method for distributed system and upgrade scheduling node and system
EP3289458A1 (en) * 2015-04-30 2018-03-07 Amazon Technologies, Inc. Managing load balancers associated with auto-scaling groups
WO2017059293A1 (en) * 2015-10-02 2017-04-06 Google Inc. Single table multi-schema data store in a key value store
CN106533757A (en) * 2016-11-09 2017-03-22 上海斐讯数据通信技术有限公司 Method and device for upgrading cloud terminal equipment in batches
CN107483646A (en) * 2017-09-27 2017-12-15 上海斐讯数据通信技术有限公司 A kind of control method of AP upgradings, apparatus and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110311820A (en) * 2019-07-05 2019-10-08 山东云缦智能科技有限公司 A kind of micro services cluster upgrade method of continual service
CN112346777A (en) * 2020-11-20 2021-02-09 浙江百应科技有限公司 Smooth application program publishing method and device

Similar Documents

Publication Publication Date Title
CN112015583B (en) Data storage method, device and system
CN105991325B (en) Handle the method, apparatus and system of the failure at least one distributed type assemblies
CN106133696B (en) Dynamic marks target capacity when scaling cloud resource
CN109194584A (en) A kind of flux monitoring method, device, computer equipment and storage medium
CN110545326B (en) Cluster load scheduling method and device, electronic equipment and storage medium
Beck et al. Texture-based heuristics for scheduling revisited
CN110515724B (en) Resource allocation method, device, monitor and machine-readable storage medium
CN107453929B (en) Cluster system self-construction method and device and cluster system
CN105095044B (en) server monitoring method and device based on SNMP
CN104850394B (en) The management method and distributed system of distributed application program
CN109726209A (en) Log aggregation method and device
CN107566214B (en) Performance test method and device
CN109729136A (en) Proxy server dissemination method and publisher server
CN108566424A (en) Dispatching method, device and system based on server resource consumption forecast
CN110457138A (en) Management method, device and the electronic equipment of game server cluster
CN105577414A (en) Elastically telescopic processing method, device and system for VM (Virtual Machine) resources
CN109597800B (en) Log distribution method and device
CN110062027A (en) Load-balancing method, central server and terminal device
CN108123987A (en) The method and device of master scheduler is determined from cloud computing system
CN105430052B (en) A kind of referee method and device for group system
CN110569124A (en) Task allocation method and device
CN111652652B (en) Cost calculation method and device for calculation platform, computer equipment and storage medium
CN104184685B (en) Data center resource distribution method, apparatus and system
CN110708177A (en) Exception handling method, system and device in distributed system
CN107547622B (en) Resource adjusting method and device

Legal Events

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

Application publication date: 20190507

RJ01 Rejection of invention patent application after publication