CN108762928A - A kind of processing method and system when elastic telescopic service execution operation - Google Patents

A kind of processing method and system when elastic telescopic service execution operation Download PDF

Info

Publication number
CN108762928A
CN108762928A CN201810533924.6A CN201810533924A CN108762928A CN 108762928 A CN108762928 A CN 108762928A CN 201810533924 A CN201810533924 A CN 201810533924A CN 108762928 A CN108762928 A CN 108762928A
Authority
CN
China
Prior art keywords
elastic telescopic
currently
telescopic group
group
resource lock
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810533924.6A
Other languages
Chinese (zh)
Other versions
CN108762928B (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810533924.6A priority Critical patent/CN108762928B/en
Publication of CN108762928A publication Critical patent/CN108762928A/en
Application granted granted Critical
Publication of CN108762928B publication Critical patent/CN108762928B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A kind of processing method and system when being operated the embodiment of the invention discloses elastic telescopic service execution, this method include:When initiating the first operation to any one elastic telescopic group, elastic telescopic group is verified itself;The verification is used to determine whether elastic telescopic group to be currently able to carry out the first operation of initiation;When determining elastic telescopic group currently and cannot execute the first operation of initiation, user is prompted to re-initiate the first operation;When determining that elastic telescopic group is currently able to execute the first operation initiated, elastic telescopic group is made to update the mode of operation of itself, to execute the first operation.By the example scheme, the probability of failure that elastic telescopic group executes operation is reduced, the user experience is improved and the significant response of elastic telescopic service.

Description

A kind of processing method and system when elastic telescopic service execution operation
Technical field
The present embodiments relate to cloud computing technology, espespecially processing method when a kind of elastic telescopic service execution operation and System.
Background technology
OpenStack is one it is intended that client provides the open source projects of cloud service, by calculating, mirror image, storage, network etc. Several main components, which combine, completes cloud service related work, and target is to provide implementation for the hundreds of millions of user in the whole world Simply, it can extend, enrich on a large scale, the cloud computing management platform that standard is unified.
Elastic telescopic service (Auto Scaling) is the business demand situation according to user, and system is matched in advance by user The service for regular its service resources of adjust automatically set, horizontal extension host number, to reduce artificial adjustresources repeatedly To cope with the workload of business variation and peak pressure, help user economizes on resources and human cost.Senlin (elastic telescopic groups Project name) module can be very good to meet the function.
Currently, when senlin realizes elastic telescopic function, particularly as being to execute corresponding operation, elastic telescopic service support Operation include modification title, change elastic telescopic group size itself, health examination, elasticity is expanded, reduces flexible group etc..But Now there are one problem, being exactly cluster itself only allows in the same time there are one operating to execute, there are two simultaneously, then for community One of them can enter blocked state, can cause in this way there are one operation failure, in order to reduce this risk, community takes at present Scheme operate in when being operated to elastic telescopic group, can first try to the resource lock of elastic telescopic, continuously three times, every time 1 By 2 seconds, cannot it succeed three times, then the operation can enter blocked state, this time operation failure.
Invention content
In order to solve the above-mentioned technical problem, place when being operated an embodiment of the present invention provides a kind of elastic telescopic service execution Method and system is managed, the probability of failure that elastic telescopic group executes operation can be reduced, promotes user experience and elastic telescopic clothes The significant response of business.
In order to reach purpose of the embodiment of the present invention, when being operated an embodiment of the present invention provides a kind of elastic telescopic service execution Processing method, this method may include:
When initiating the first operation to any one elastic telescopic group, elastic telescopic group is verified itself;The verification For determining whether elastic telescopic group is currently able to carry out the first operation of initiation;
When determining elastic telescopic group currently and cannot execute the first operation of initiation, user is prompted to re-initiate the first behaviour Make;
When determining that elastic telescopic group is currently able to execute the first operation initiated, elastic telescopic group is made to update the behaviour of itself Make state, to execute the first operation.
Optionally it is determined that the first operation whether elastic telescopic group is currently able to carry out initiation includes:
Detect whether elastic telescopic group is currently executing any one predetermined registration operation;
When elastic telescopic group is currently when executing any one predetermined registration operation, determine that elastic telescopic group cannot currently execute hair The first operation risen;
When elastic telescopic group is not currently when executing any one predetermined registration operation, determine that elastic telescopic group is currently able to execute The first operation initiated.
Optionally, predetermined registration operation includes:Update the operating of mode of operation, adjusted size of operation or health examination behaviour Make.
Optionally, this method can also include:
If it is determined that update the mode of operation of elastic telescopic group to the first operation, and when updating operation and being also not carried out, Second operation has been initiated to elastic telescopic group, then while being directed to the first operation respectively and the second operation continually attempts to obtain preset It takes and obtains resource lock in frequency threshold value;Times of acquisition threshold value include it is multiple, every time between time interval be n, n is positive number, and n Meet:Operation in each mode of operation is able to carry out completion;
When the second operation obtains resource lock in times of acquisition threshold value, the second operation, and the weight after waiting time n are executed New try is that the first operation obtains resource lock;
When the first operation obtains resource lock in times of acquisition threshold value, the first operation, and the weight after waiting time n are executed New try is that the second operation obtains resource lock.
Optionally, n meets:5-6 seconds.
In order to reach purpose of the embodiment of the present invention, the embodiment of the present invention additionally provides a kind of elastic telescopic service execution operation When processing system, which may include:Correction verification module, reminding module and execution module;
Correction verification module, for when to any one elastic telescopic group initiate first operation when, to elastic telescopic group itself into Row verification;The verification is used to determine whether elastic telescopic group to be currently able to carry out the first operation of initiation;
Reminding module, for when determining elastic telescopic group currently and cannot execute the first operation of initiation, prompting user's weight It is new to initiate the first operation;
Execution module, for when determining that elastic telescopic group is currently able to execute the initiate first operation, making elastic telescopic Group updates the mode of operation of itself, to execute the first operation.
Optionally, correction verification module determines that the first operation whether elastic telescopic group is currently able to carry out initiation includes:
Detect whether elastic telescopic group is currently executing any one predetermined registration operation;
When elastic telescopic group is currently when executing any one predetermined registration operation, determine that elastic telescopic group cannot currently execute hair The first operation risen;
When elastic telescopic group is not currently when executing any one predetermined registration operation, determine that elastic telescopic group is currently able to execute The first operation initiated.
Optionally, predetermined registration operation includes:Update the operating of mode of operation, adjusted size of operation or health examination behaviour Make.
Optionally, which can also include:Resource lock acquisition module;
Resource lock acquisition module, if the mode of operation that update elastic telescopic group for execution module determination is grasped to first Make, and update operation when being also not carried out, the second operation has been initiated to elastic telescopic group, then while being directed to respectively the first operation and Second operation continually attempts to obtain resource lock in preset times of acquisition threshold value;Times of acquisition threshold value includes multiple, is often taken second place Between time interval be n, n is positive number, and n meets:Operation in each mode of operation is able to carry out completion;
Execution module is additionally operable to, when the second operation obtains resource lock in times of acquisition threshold value, execute the second operation;Money Source lock acquisition module reattempts to after waiting time n to be attempted to obtain resource lock for the first operation;
Execution module is additionally operable to, when the first operation obtains resource lock in times of acquisition threshold value, execute the first operation;Money Source lock acquisition module reattempts to after waiting time n obtains resource lock for the second operation.
Optionally, n meets:5-6 seconds.
The embodiment of the present invention includes:When initiating the first operation to any one elastic telescopic group, certainly to elastic telescopic group Body is verified;The verification is used to determine whether elastic telescopic group to be currently able to carry out the first operation of initiation;It is elastic when determining Flexible group cannot currently execute initiation first operation when, prompt user re-initiate the first operation;When determining elastic telescopic group When being currently able to execute the first operation initiated, elastic telescopic group is made to update the mode of operation of itself, to execute the first operation.It is logical The example scheme is crossed, reduces the probability of failure that elastic telescopic group executes operation, the user experience is improved and elastic telescopic The significant response of service.
The other feature and advantage of the embodiment of the present invention will illustrate in the following description, also, partly from explanation It becomes apparent in book, or is understood by implementing the embodiment of the present invention.The purpose of the embodiment of the present invention and other advantages It can realize and obtain by specifically noted structure in specification, claims and attached drawing.
Description of the drawings
Attached drawing is used for providing further understanding technical solution of the embodiment of the present invention, and one of constitution instruction Point, the technical solution together with embodiments herein for explaining the embodiment of the present invention is not constituted to the embodiment of the present invention The limitation of technical solution.
Process flow figure when Fig. 1 is the elastic telescopic service execution operation of the embodiment of the present invention;
Fig. 2 is the elastic telescopic service operations status check schematic diagram of the embodiment of the present invention;
Fig. 3 is the resource lock acquisition methods schematic diagram of the embodiment of the present invention;
Processing system composition frame chart when Fig. 4 is the elastic telescopic service execution operation of the embodiment of the present invention.
Specific implementation mode
Understand in order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing pair The embodiment of the present invention is described in detail.It should be noted that in the absence of conflict, the embodiment in the application and reality Applying the feature in example mutually can arbitrarily combine.
Step shown in the flowchart of the accompanying drawings can be in the computer system of such as a group of computer-executable instructions It executes.Also, although logical order is shown in flow charts, and it in some cases, can be with suitable different from herein Sequence executes shown or described step.
In order to reach purpose of the embodiment of the present invention, as shown in Figure 1 and Figure 2, an embodiment of the present invention provides a kind of elastic telescopics Processing method when service execution operates, this method may include S101-S103:
S101, when to any one elastic telescopic group initiate first operation when, elastic telescopic group is verified itself;It should It verifies for determining whether elastic telescopic group is currently able to carry out the first operation of initiation;
S102, when determining elastic telescopic group currently and cannot execute the first operation of initiation, prompt user to re-initiate the One operation;
S103, when determine elastic telescopic group be currently able to execute initiate first operation when, make elastic telescopic group update from The mode of operation of body, to execute the first operation.
Elastic telescopic service (Auto Scaling) is the business demand situation according to user, and system is matched in advance by user The service for regular its service resources of adjust automatically set, horizontal extension host number, to reduce artificial adjustresources repeatedly To cope with the workload of business variation and peak pressure, help user economizes on resources and human cost.Elastic telescopic service can be with It is realized by specific elastic telescopic group.
It is action (action) event based on itself that these operations are completed in elastic telescopic service, when it will initiate some behaviour When making, the resource lock of elastic telescopic group itself can all be obtained ahead of time, after only taking the resource lock, just will continue to carry out the behaviour Make, cannot such as take the resource lock, blocked state will be entered, this operation failure can be caused.
When Optimal improvements of the embodiment of the present invention are serviced using elastic telescopic, multi-user operation causes to execute elastic telescopic behaviour The problem of failing.Before the prioritization scheme of the not embodiment of the present invention, two are initiated to same elastic telescopic service when simultaneously When operation, substantially there are one operations to fail, and after scheme improves and optimizates through the embodiment of the present invention, can substantially prompt user During current elastic telescopic is used, i.e. executable behaviour after obtaining resource lock (as three times) please be try again later or waited for repeatedly Make, greatly reduces the probability of operation failure.
In embodiments of the present invention, failure is easy when initiating to operate to the same elastic telescopic group simultaneously for two operations The problem of, improved scheme can be divided into two steps:1, condition adjudgement is carried out to elastic telescopic group, i.e., the elastic telescopic group worked as The preceding execution operating condition that whether meets is judged;When 2, executing generation acquisition lock conflict for two operations of same period, optimization Community obtains the scheme of operation lock before, that is, extends the stand-by period for obtaining resource lock.It is concurrently right to reduce two operations Elastic telescopic group initiates probability of failure when operation.
In embodiments of the present invention, in the specific implementation, the first above-mentioned improvement project, i.e. step can be first carried out S101-S103;When initiating some operation to some elastic telescopic group, execution whether can be met to elastic telescopic group itself should The condition of operation is verified, that is, determines whether elastic telescopic group is currently able to carry out the first operation of initiation.
Optionally it is determined that the first operation whether elastic telescopic group is currently able to carry out initiation may include:
Detect whether elastic telescopic group is currently executing any one predetermined registration operation;
When elastic telescopic group is currently when executing any one predetermined registration operation, determine that elastic telescopic group cannot currently execute hair The first operation risen;
When elastic telescopic group is not currently when executing any one predetermined registration operation, determine that elastic telescopic group is currently able to execute The first operation initiated.
Optionally, predetermined registration operation includes:Update the operating of mode of operation, adjusted size of operation or health examination behaviour Make.
In embodiments of the present invention, it can mainly judge elastic telescopic group currently whether in following mode of operation 's:In update, in being sized, in deleting, in health examination.When elastic telescopic group at this time is in these types of mode of operation kind Any one when, show that elastic telescopic group itself is carrying out operation, between the exclusiveness of operation, will not meet can hold The condition for the operation that row is newly initiated.
In embodiments of the present invention, the effective operation (i.e. above-mentioned predetermined registration operation) being directed in above-mentioned determining scheme can wrap It includes:Update operation (operation for updating mode of operation) is sized operation, health examination operation;It does not include delete operation.I.e. In addition to delete operation, the operation newly initiated, which encounters these modes of operation, to prompt user to try again later, that is, prompts user later Re-initiate the first operation.
It in embodiments of the present invention, in the specific implementation, can be with while executing the first above-mentioned improvement project Further execute following improvement projects.
Optionally, as shown in figure 3, this method can also include:
If it is determined that update the mode of operation of elastic telescopic group to the first operation, and when updating operation and being also not carried out, Second operation has been initiated to elastic telescopic group, then while being directed to the first operation respectively and the second operation continually attempts to obtain preset It takes and obtains resource lock in frequency threshold value;Times of acquisition threshold value include it is multiple, every time between time interval be n, n is positive number, and n Meet:Operation in each mode of operation is able to carry out completion;
When the second operation obtains resource lock in times of acquisition threshold value, the second operation, and the weight after waiting time n are executed New try is that the first operation obtains resource lock;
When the first operation obtains resource lock in times of acquisition threshold value, the first operation, and the weight after waiting time n are executed New try is that the second operation obtains resource lock.
In embodiments of the present invention, the operational state change in the first improvement project needs the time, that is, changes bullet Property the flexible group state of itself be also an operation, then when the mode of operation of elastic telescopic group itself does not change, this It carves and has initiated a new operation again, the such as above-mentioned second operation, then the judgement in the first improvement project may not work, It can directly be handled by second of improvement project, that is, whether can obtain resource lock, resource lock has been lockable at this time if seeing, according to Community's way can continue to try to obtain the resource lock three times, every minor tick 1 to 2 seconds, experiment proves that, work as within general 1 to 2 seconds Preceding operation can not be completed, and final second operation this time initiated can fail, therefore can attempt to be provided every time by changing The interval time of source lock, optionally, n can meet:5-6 seconds, that is, can be increased to 5-6 seconds, so each interval time When two operations attempt to obtain resource lock to same elastic telescopic group simultaneously, one of operation will take the resource lock, Another operation will at most wait for times of acquisition threshold value to lock corresponding number, such as three times, substantially as update mode of operation, tune The operations such as whole size, health examination can during this period of time be completed to operate, and can also successfully be held then another etc. is to be operated Row.Certainly, if still obtaining failure after obtaining resource lock three times, this is operated into blocked state, the operation this time initiated Failure.
In summary scheme, first can be before operation executes to elastic telescopic group it is found that in embodiments of the present invention Itself carries out status check, first judges whether state meets operation execution condition;Again when elastic telescopic group itself meets execution When the state of operation, the operation for repeatedly obtaining resource lock can be optimized, specifically extend each stand-by period.By upper That states carries out the stand-by period that condition adjudgement and extending obtains resource lock to elastic telescopic group, reduces while multiple operating to same One elastic telescopic group initiates the probability of operation failure when operation, greatly improves the effective of user experience and elastic telescopic service Response.
In order to reach purpose of the embodiment of the present invention, the embodiment of the present invention additionally provides a kind of elastic telescopic service execution operation When processing system 1, it should be noted that any one embodiment of above-mentioned embodiment of the method kind can be adapted for this and be In embodiment of uniting, no longer repeat one by one again.As shown in figure 4, the system may include:Correction verification module 11,12 and of reminding module Execution module 13;
Correction verification module 11 is used for when initiating the first operation to any one elastic telescopic group, to elastic telescopic group itself It is verified;The verification is used to determine whether elastic telescopic group to be currently able to carry out the first operation of initiation;
Reminding module 12, for when determining elastic telescopic group currently and cannot execute the first operation of initiation, prompting user Re-initiate the first operation;
Execution module 13, for when determining that elastic telescopic group is currently able to execute the initiate first operation, elasticity being made to stretch Contracting group updates the mode of operation of itself, to execute the first operation.
Optionally, correction verification module 11 determines that the first operation whether elastic telescopic group is currently able to carry out initiation includes:
Detect whether elastic telescopic group is currently executing any one predetermined registration operation;
When elastic telescopic group is currently when executing any one predetermined registration operation, determine that elastic telescopic group cannot currently execute hair The first operation risen;
When elastic telescopic group is not currently when executing any one predetermined registration operation, determine that elastic telescopic group is currently able to execute The first operation initiated.
Optionally, predetermined registration operation includes:Update the operating of mode of operation, adjusted size of operation or health examination behaviour Make.
Optionally, which can also include:Resource lock acquisition module 14;
Resource lock acquisition module 14, if to update the mode of operation of elastic telescopic group to first for execution module determination Operation, and operation is updated when being also not carried out, the second operation has been initiated to elastic telescopic group, then while being directed to the first operation respectively It continually attempts to obtain resource lock in preset times of acquisition threshold value with the second operation;Times of acquisition threshold value includes repeatedly, every time Between time interval be n, n is positive number, and n meets:Operation in each mode of operation is able to carry out completion;
Execution module 13 is additionally operable to, when the second operation obtains resource lock in times of acquisition threshold value, execute the second operation; Resource lock acquisition module 14 reattempts to after waiting time n obtains resource lock for the first operation;
Execution module 13 is additionally operable to, when the first operation obtains resource lock in times of acquisition threshold value, execute the first operation; Resource lock acquisition module 14 reattempts to after waiting time n obtains resource lock for the second operation.
Optionally, n meets:5-6 seconds.
The embodiment of the present invention includes:When initiating the first operation to any one elastic telescopic group, certainly to elastic telescopic group Body is verified;The verification is used to determine whether elastic telescopic group to be currently able to carry out the first operation of initiation;It is elastic when determining Flexible group cannot currently execute initiation first operation when, prompt user re-initiate the first operation later;When determining that elasticity stretches When contracting group is currently able to execute the first operation initiated, elastic telescopic group is made to update the mode of operation of itself, to execute the first behaviour Make.By the example scheme, the probability of failure that elastic telescopic group executes operation is reduced, the user experience is improved and elasticity The significant response of flexible service.
Although the embodiment disclosed by the embodiment of the present invention is as above, the content only for ease of understanding the present invention and The embodiment of use, is not limited to the embodiment of the present invention.Technical staff in any fields of the embodiment of the present invention, Under the premise of not departing from the spirit and scope disclosed by the embodiment of the present invention, it can be appointed in the form and details of implementation What modification and variation, but the scope of patent protection of the embodiment of the present invention, the model that must be still defined with appended claims Subject to enclosing.

Claims (10)

1. processing method when a kind of elastic telescopic service execution operation, which is characterized in that the method includes:
When initiating the first operation to any one elastic telescopic group, the elastic telescopic group itself is verified;The school It tests for determining whether the elastic telescopic group is currently able to carry out first operation of initiation;
When determining the elastic telescopic group currently and cannot execute first operation of initiation, user is prompted to re-initiate described First operation;
When determining that the elastic telescopic group is currently able to execute first operation initiated, the elastic telescopic group is made to update The mode of operation of itself, to execute first operation.
2. processing method when elastic telescopic service execution operation according to claim 1, which is characterized in that the determination Whether the elastic telescopic group is currently able to carry out described the first of initiation and operates:
Detect whether the elastic telescopic group is currently executing any one predetermined registration operation;
When the elastic telescopic group is currently when executing any one predetermined registration operation, determine that the elastic telescopic group cannot currently be held First operation that row is initiated;
When the elastic telescopic group is not currently when executing any one predetermined registration operation, determine that the elastic telescopic group is currently able to Execute first operation initiated.
3. processing method when elastic telescopic service execution operation according to claim 2, which is characterized in that described default Operation includes:The operation of update the operating of mode of operation, adjusted size of operation or health examination.
4. processing method when elastic telescopic service execution operation according to claim 1, which is characterized in that the method Further include:
If it is determined that the mode of operation that update the elastic telescopic group is operated to described first, and updates operation and be also not carried out When, the second operation has been initiated to the elastic telescopic group, then while being directed to first operation respectively and second operation connects It is continuous to attempt to obtain resource lock in preset times of acquisition threshold value;The times of acquisition threshold value include it is multiple, every time between when Between between be divided into n, n is positive number, and n meets:Operation in each mode of operation is able to carry out completion;
When second operation obtains the resource lock in the times of acquisition threshold value, executes described second and operate, and It is reattempted to after waiting time n and obtains the resource lock for first operation;
When first operation obtains the resource lock in the times of acquisition threshold value, executes described first and operate, and It is reattempted to after waiting time n and obtains the resource lock for second operation.
5. processing method when elastic telescopic service execution operation according to claim 4, which is characterized in that the n is full Foot:5-6 seconds.
6. processing system when a kind of elastic telescopic service execution operation, which is characterized in that the system comprises:Correction verification module, Reminding module and execution module;
The correction verification module is used for when initiating the first operation to any one elastic telescopic group, certainly to the elastic telescopic group Body is verified;The verification is for determining whether the elastic telescopic group is currently able to carry out first operation of initiation;
The reminding module, for when determining the elastic telescopic group currently and cannot execute first operation of initiation, carrying Show that user re-initiates first operation;
The execution module, for when determining that the elastic telescopic group is currently able to execute first operation initiated, making The elastic telescopic group updates the mode of operation of itself, to execute first operation.
7. processing system when elastic telescopic service execution operation according to claim 6, which is characterized in that the verification Module determines that first operation whether the elastic telescopic group is currently able to carry out initiation includes:
Detect whether the elastic telescopic group is currently executing any one predetermined registration operation;
When the elastic telescopic group is currently when executing any one predetermined registration operation, determine that the elastic telescopic group cannot currently be held First operation that row is initiated;
When the elastic telescopic group is not currently when executing any one predetermined registration operation, determine that the elastic telescopic group is currently able to Execute first operation initiated.
8. processing system when elastic telescopic service execution operation according to claim 7, which is characterized in that described default Operation includes:The operation of update the operating of mode of operation, adjusted size of operation or health examination.
9. processing system when elastic telescopic service execution operation according to claim 6, which is characterized in that the system Further include:Resource lock acquisition module;
The resource lock acquisition module, if to update the mode of operation of the elastic telescopic group for the execution module determination To first operation, and operation is updated when being also not carried out, the second operation has been initiated to the elastic telescopic group, then the same time-division Safety pin continually attempts to obtain resource lock in preset times of acquisition threshold value to first operation and second operation;It is described Times of acquisition threshold value include it is multiple, every time between time interval be n, n is positive number, and n meets:Behaviour in each mode of operation It is able to carry out completion;
The execution module is additionally operable to, when second operation obtains the resource lock in the times of acquisition threshold value, hold Row second operation;The resource lock acquisition module is reattempted to after waiting time n as described in the first operation acquisition Resource lock;
The execution module is additionally operable to, when first operation obtains the resource lock in the times of acquisition threshold value, hold Row first operation;The resource lock acquisition module is reattempted to after waiting time n as described in the second operation acquisition Resource lock.
10. processing system when elastic telescopic service execution operation according to claim 9, which is characterized in that the n is full Foot:5-6 seconds.
CN201810533924.6A 2018-05-29 2018-05-29 Processing method and system for elastic scaling service during execution operation Active CN108762928B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810533924.6A CN108762928B (en) 2018-05-29 2018-05-29 Processing method and system for elastic scaling service during execution operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810533924.6A CN108762928B (en) 2018-05-29 2018-05-29 Processing method and system for elastic scaling service during execution operation

Publications (2)

Publication Number Publication Date
CN108762928A true CN108762928A (en) 2018-11-06
CN108762928B CN108762928B (en) 2022-03-22

Family

ID=64003564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810533924.6A Active CN108762928B (en) 2018-05-29 2018-05-29 Processing method and system for elastic scaling service during execution operation

Country Status (1)

Country Link
CN (1) CN108762928B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100050171A1 (en) * 2008-08-21 2010-02-25 Vmware, Inc. Resource management system and apparatus
CN104301404A (en) * 2014-09-29 2015-01-21 华为技术有限公司 Method and device for regulating resources of service system based on virtual machines
CN105634780A (en) * 2014-11-04 2016-06-01 中兴通讯股份有限公司 Method and device for realizing VNF elastic scaling
CN106302595A (en) * 2015-06-02 2017-01-04 阿里巴巴集团控股有限公司 A kind of method and apparatus that server is carried out physical examination
CN106293868A (en) * 2015-05-15 2017-01-04 苏宁云商集团股份有限公司 In a kind of cloud computing environment, virtual machine expands capacity reduction method and scalable appearance system
CN106817432A (en) * 2015-11-30 2017-06-09 华为技术有限公司 The method of virtual resource elastic stretch, system and equipment under cloud computing environment
CN106961351A (en) * 2017-03-03 2017-07-18 南京邮电大学 Intelligent elastic telescopic method based on Docker container clusters

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100050171A1 (en) * 2008-08-21 2010-02-25 Vmware, Inc. Resource management system and apparatus
CN104301404A (en) * 2014-09-29 2015-01-21 华为技术有限公司 Method and device for regulating resources of service system based on virtual machines
CN105634780A (en) * 2014-11-04 2016-06-01 中兴通讯股份有限公司 Method and device for realizing VNF elastic scaling
CN106293868A (en) * 2015-05-15 2017-01-04 苏宁云商集团股份有限公司 In a kind of cloud computing environment, virtual machine expands capacity reduction method and scalable appearance system
CN106302595A (en) * 2015-06-02 2017-01-04 阿里巴巴集团控股有限公司 A kind of method and apparatus that server is carried out physical examination
CN106817432A (en) * 2015-11-30 2017-06-09 华为技术有限公司 The method of virtual resource elastic stretch, system and equipment under cloud computing environment
CN106961351A (en) * 2017-03-03 2017-07-18 南京邮电大学 Intelligent elastic telescopic method based on Docker container clusters

Also Published As

Publication number Publication date
CN108762928B (en) 2022-03-22

Similar Documents

Publication Publication Date Title
US11570703B2 (en) Roaming network access method and apparatus
US9075633B2 (en) Configuration of life cycle management for configuration files for an application
US10191730B2 (en) Application upgrade method and apparatus
US20230251898A1 (en) Federated computing method, electronic device and storage medium
CN113347225B (en) OTA (over the air) upgrading method and server for terminal equipment of Internet of things
EP2864873B1 (en) Auto-update while running a client software application with update handshake between versions and runtime validation of the successor version
US10649765B2 (en) Systems and methods for preventing service disruption during software updates
EP2866143A1 (en) Graceful shutdown method and system for virtual system
CN103559324A (en) Method and system for prompting prescription information
JP2014191604A5 (en)
CN106817432A (en) The method of virtual resource elastic stretch, system and equipment under cloud computing environment
CN110471679B (en) Client resource allocation updating method and device, storage medium and server
CN105389176B (en) Skin processing method and device based on application
CN108809683A (en) Dispose the method and device of cloud application system
CN102945193B (en) A kind of restoration methods and electronic equipment of operation data
CN106845625A (en) A kind of interactive output intent and robot for robot
CN110532111A (en) High concurrent requests asynchronous processing method, device, computer equipment and storage medium
CN109450719A (en) A kind of node upgrade method and system based on lorawan agreement
CN108762928A (en) A kind of processing method and system when elastic telescopic service execution operation
CN108536541B (en) Process engine object processing method and device
CN109271074A (en) A kind of window regulation method, window adjusting means and mobile terminal
CN107247784A (en) The control method and task manager of a kind of distributed transaction
CN105843336B (en) Cabinet and its firmware updating method with more cabinet management modules
CN112667255B (en) Updating method, updating device, electronic equipment and storage medium
CN105302614B (en) Beautify resource regeneration 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
GR01 Patent grant
GR01 Patent grant