CN103812911B - A kind of method and system controlled using PaaS cloud computing platform Service Sources - Google Patents

A kind of method and system controlled using PaaS cloud computing platform Service Sources Download PDF

Info

Publication number
CN103812911B
CN103812911B CN201210458234.1A CN201210458234A CN103812911B CN 103812911 B CN103812911 B CN 103812911B CN 201210458234 A CN201210458234 A CN 201210458234A CN 103812911 B CN103812911 B CN 103812911B
Authority
CN
China
Prior art keywords
service source
amount
service
application
occupancy
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.)
Active
Application number
CN201210458234.1A
Other languages
Chinese (zh)
Other versions
CN103812911A (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.)
ZTE Corp
Original Assignee
ZTE 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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210458234.1A priority Critical patent/CN103812911B/en
Publication of CN103812911A publication Critical patent/CN103812911A/en
Application granted granted Critical
Publication of CN103812911B publication Critical patent/CN103812911B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The present invention provides a kind of method and system controlled using PaaS cloud computing platform Service Sources, wherein, the described method includes occupancy amount of each application to Service Source for obtaining user on PaaS cloud computing platforms, the Service Source includes:Cpu resource, memory source, disk space resource and network bandwidth resources;And by each application of the user of acquisition to the Service Source occupancy amount of the occupancy amount of Service Source and the user's application of application in grade of service signing (SLA) one by one compared with, if the Service Source that the occupancy amount of the Service Source obtained is greater than or equal to application takes amount, which is handled into line overrun.This invention ensures that on cloud computing platform all applications normal operation.

Description

A kind of method and system controlled using PaaS cloud computing platform Service Sources
Technical field
The present invention relates to PaaS cloud computing platforms field, is provided due to being related to a kind of control using the service of PaaS cloud computing platforms The method and system in source.
Background technology
Cloud computing platform provides exploitation, operation and management environment for cloud application, is using these cloud computing service environment During, malicious user or unwitting user may Use out of range system resource, such as cpu resource, memory source, storage money Source, cloud computing platform thread resources etc., so as to cause cloud service platform to lose the responding ability to other users, to other users Normal operation damage.
The excess resource of user uses the cloud computing platform that can not only influence multi-tenant architecture (such as to cloud computing platform thread The excess of resource, which takes, to be caused without enough threads to be other users application offer service), it can also influence the cloud meter of single tenant architecture Calculating platform, (such as CPU, memory, the excess occupancy of storage resource cause host-physical resource occupation to transfinite, and can not be that other PaaS hold Device provides service), therefore single tenant's service mode that some cloud computing services business (such as Google) uses at present can not solve to surpass Amount resource uses problem.
For that purpose it is necessary to provide a kind of significantly more efficient monitoring resource mechanism, ensure all user's applications on cloud computing platform Normal operation, avoid cloud computing platform from applying user out of control, in addition lose service ability.
The content of the invention
The present invention provides it is a kind of control using PaaS cloud computing platform Service Sources method and system, with solve how User is avoided to apply the technical problem to PaaS cloud computing platform Service Source Use out of range.
In order to solve the above technical problems, the present invention provides a kind of side controlled using PaaS cloud computing platform Service Sources Method, the described method includes:
Each application of user on PaaS cloud computing platforms is obtained to the occupancy amount of Service Source, the Service Source bag Include:Cpu resource, memory source, disk space resource and network bandwidth resources;
Each application of the user of acquisition is contracted into (SLA) with the user to the occupancy amount of Service Source in the grade of service The Service Source of the application of middle application takes amount and is compared one by one, if the occupancy amount of the Service Source obtained be more than or Service Source equal to application takes amount, then the Service Source is handled into line overrun.
Further, the method further includes:
If the Service Source that the occupancy amount of the Service Source obtained is less than application takes amount, which is accounted for Estimated with trend;Service Source occupancy volume of the amount above or equal to application is taken if estimation results are the Service Sources Degree, then carry out super-limit prewarning to the Service Source;If it will be in continuous decrease trend that estimation results, which are the Service Sources, which takes amount, Recovery processing then is carried out to the Service Source.
Further, if the Service Source that the occupancy amount of the Service Source of the acquisition is less than application takes amount, To the Service Source take trend estimated including:
If the Service Source that the occupancy amount of the Service Source obtained is less than application takes amount, the service money obtained is judged The Service Source whether the occupancy amount in source is greater than or equal to application takes amount and the product of default early warning ratio P1, if obtaining The occupancy amount of the Service Source taken is greater than or equal to the Service Source occupancy amount of application and multiplying for default early warning ratio P1 Product, then continued to judge the development trend of the occupancy amount of the Service Source in the application in following a period of time, if future one The occupancy amount of the Service Source is in continue ascendant trend in the application in the section time, then estimation results are that the Service Source takes Amount takes amount above or equal to the Service Source of application;
If the Service Source that the occupancy amount of the Service Source obtained is less than application takes amount and default early warning ratio The product of P1, judge obtain Service Source occupancys amount whether be less than application Service Source occupancy amount with it is default extensive The product of compound proportion P2, if obtain Service Source occupancys amount be less than application Service Source occupancy amount with it is default pre- The product of alert ratio P2, then continue to judge that the development of the occupancy amount of the Service Source in the application in following a period of time becomes Gesture, if the occupancy amount of the Service Source is in continuous decrease trend in the application in following a period of time, estimation results are It will be in continuous decrease trend that the Service Source, which takes amount,;
The P1 > P2, and 0 < P1 <, 1,0 < P2 < 1.
Further, 0 < P1 <, 1, the 0 < P2 < 1 include:
P1 ∈ [0.75,0.9], P2 ∈ [0.6,0.75].
Further, the development trend for judging the occupancy amount of the Service Source in the application in following a period of time Including:
If the time point for obtaining Service Source occupancy amount is n, taking amount in the Service Source that time point n is obtained is Un, n is natural number;
The Service Source at (n-m+1) a time point takes amount U before extraction time point nm..., Un, m is natural number;
According to Um..., UnThe Service Source of future three time points n+1, n+2 and n+3 of predicted time point n take amount Un+1、Un+2And Un+3
If Un< Un+1< Un+2< Un+3, then the occupancy of the Service Source in the application within following a period of time is judged Amount is in continue ascendant trend;If Un+3< Un+2< Un+1< Un, then judge that the service provides in the application in following a period of time The occupancy amount in source is in continuous decrease trend.
In order to solve the above technical problems, the present invention provides a kind of control using PaaS cloud computing platform Service Sources to be System, the system comprises grade of service signing management module, and cloud computing platform management module, wherein,
The grade of service signing management module, for obtaining each application of user on PaaS cloud computing platforms to service The occupancy amount of resource, the Service Source include:Cpu resource, memory source, disk space resource and network bandwidth resources; And by each application of the user of acquisition to the occupancy amount of Service Source with the user the Shen in the grade of service contracts (SLA) The Service Source of the application please takes amount and is compared one by one, if the occupancy amount of the Service Source obtained is greater than or equal to The Service Source of application takes amount, then sends the process instruction that transfinites to cloud computing platform management module;
The cloud computing platform management module, for being carried out according to the instruction sent from grade of service signing management module Processing.
Further,
The grade of service signing management module, the occupancy amount being additionally operable in the Service Source of acquisition are less than the clothes of application During resource occupation amount of being engaged in, trend is taken to the Service Source and is estimated;When estimation results are that the Service Source takes amount Above or equal to application Service Source take amount when, to the cloud computing platform management module send super-limit prewarning refer to Order;When estimation results, which will be Service Source occupancy amount, to be in continuous decrease trend, to the cloud computing platform management module Send and recover process instruction.
Further, the grade of service signing management module, the occupancy amount for the Service Source in acquisition are less than When the Service Source of application takes amount, trend is taken to the Service Source and is estimated, including:
The grade of service signing management module, the occupancy amount for the Service Source in acquisition are less than the service of application During resource occupation amount, whether the occupancy amount for the Service Source for judging to obtain is greater than or equal to the Service Source occupancy volume of application The product of degree and default early warning ratio P1, if the occupancy amount of the Service Source obtained is greater than or equal to the Service Source of application Amount and the product of default early warning ratio P1 are taken, then continues to judge the Service Source in the interior application of following a period of time The development trend of amount is taken, if the occupancy amount of the Service Source becomes in lasting rise in the application in following a period of time Gesture, then estimation results are that the Service Source takes Service Source occupancy amount of the amount above or equal to application;
If the Service Source that the occupancy amount of the Service Source obtained is less than application takes amount and default early warning ratio The product of P1, judge obtain Service Source occupancys amount whether be less than application Service Source occupancy amount with it is default extensive The product of compound proportion P2, if obtain Service Source occupancys amount be less than application Service Source occupancy amount with it is default pre- The product of alert ratio P2, then continue to judge that the development of the occupancy amount of the Service Source in the application in following a period of time becomes Gesture, if the occupancy amount of the Service Source is in continuous decrease trend in the application in following a period of time, estimation results are It will be in continuous decrease trend that the Service Source, which takes amount,;
The P1 > P2, and 0 < P1 <, 1,0 < P2 < 1.
Further,
P1 ∈ [0.75,0.9], P2 ∈ [0.6,0.75], P1 > P2.
Further, the grade of service signing management module, for judging the clothes in the interior application of following a period of time The development trend of the occupancy amount for resource of being engaged in, including,
The Service Source control module, for the time point for obtaining Service Source occupancy amount to be set to n, at time point It is U that the Service Source that n is obtained, which takes amount,n, n is natural number;The service at (n-m+1) a time point before extraction time point n Resource occupation amount Um..., Un, m is natural number;According to Um..., UnFuture three time points n+1, n+2 of predicted time point n Amount U is taken with the Service Source of n+3n+1、Un+2And Un+3;If Un< Un+1< Un+2< Un+3, then judge when one section following The occupancy amount of the Service Source is in continue ascendant trend in the interior application;If Un+3< Un+2< Un+1< Un, then judge not The occupancy amount for carrying out the Service Source in the application in a period of time is in continuous decrease trend.
Above-mentioned technical proposal, to the occupancy amount of Service Source, ensure that institute on cloud computing platform by monitoring each application There is the normal operation of application.
Brief description of the drawings
Fig. 1 is that the control of the present embodiment uses the method flow diagram of PaaS cloud computing platform Service Sources;
Fig. 2 is that the control of the present embodiment uses the system composition figure of PaaS cloud computing platform Service Sources.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the case where there is no conflict, in the embodiment and embodiment in the application Feature can mutually be combined.
Fig. 1 is that the control of the present embodiment uses the method flow diagram of PaaS cloud computing platform Service Sources.
S101 obtains occupancy amount of each application to Service Source of user on PaaS cloud computing platforms;
The Service Source includes:Cpu resource, memory source, disk space resource and network bandwidth resources;
To realize that each application for obtaining user on PaaS cloud computing platforms, can be in PaaS to the occupancy amount of Service Source Being run on cloud computing platform in the virtual machine of user's application sets monitoring resource to act on behalf of, by monitoring resource agency every fixed week Phase gathers the occupancy data of Service Source during application operation on this virtual machine, which is taken data forms resource Uploaded after usage record;The resource usage record may include:Under user identifier, application name, timestamp, resource type, the type Service Source takes amount;
After Service Source usage record is received from monitoring resource agency, according to user identifier, application name and timestamp The Service Source usage record of reception is collected, each of each user is obtained and applies at corresponding time point to Service Source Occupancy amount;
S102 contracts each application of the user of acquisition the occupancy amount of Service Source with the user in the grade of service (SLA) Service Source of the application of application takes amount and is compared one by one in;If the occupancy amount of the Service Source obtained Service Source more than or equal to application takes amount, performs step S103;Otherwise, step S104 is performed;
S103 handles the Service Source into line overrun, performs step S107;
The processing of transfiniting may include:The Service Source to transfinite to application distribution is limited, makes the application to the service of transfiniting The occupancy amount of resource is reduced to the Service Source occupancy amount no more than application;
S104 takes trend to the Service Source and estimates, when estimation results are that Service Source occupancy amount will be greater than Or when equal to the Service Source of application taking amount, perform step S105;When estimation results are that Service Source occupancy amount will During in the trend of continuous decrease, step S106 is performed;
Trend is taken to the Service Source estimate may include:
If the Service Source that the occupancy amount of the Service Source obtained is less than application takes amount, the service money obtained is judged The Service Source whether the occupancy amount in source is greater than or equal to application takes amount and the product of default early warning ratio P1, if obtaining The occupancy amount of the Service Source taken is greater than or equal to the Service Source occupancy amount of application and multiplying for default early warning ratio P1 Product, then continued to judge the development trend of the occupancy amount of the Service Source in the application in following a period of time, if future one The occupancy amount of the Service Source is in continue ascendant trend in the application in the section time, then estimation results are that the Service Source takes Amount takes amount above or equal to the Service Source of application;If the occupancy amount of the Service Source obtained is less than the clothes of application Whether the product of resource occupation amount of being engaged in and default early warning ratio P1, the occupancy amount for the Service Source for judging to obtain are less than Shen Service Source please takes amount and the product of default recovery ratio P2, if the occupancy amount of the Service Source obtained is less than Shen Service Source please takes amount and the product of default recovery ratio P2, then continues to judge in following a period of time in the application The development trend of the occupancy amount of the Service Source, if in following a period of time in the application Service Source occupancy amount In the trend of continuous decrease, then estimation results are that Service Source occupancy amount will be in continuous decrease trend;Wherein P1 > P2, and 0 1,0 < P2 < 1 of < P1 <;When P1 ∈ [0.75,0.9], P2 ∈ [0.6,0.75], it can be achieved that preferably estimating effect;
The development trend of the occupancy amount of the Service Source may include in the application in above-mentioned judgement following a period of time:
If the time point for obtaining Service Source occupancy amount is n, taking amount in the Service Source that time point n is obtained is Un, n is natural number;
The Service Source at (n-m+1) a time point takes amount U before extraction time point nm..., Un, m is natural number;
According to Um..., UnThe Service Source of future three time points n+1, n+2 and n+3 of predicted time point n take amount Un+1、Un+2And Un+3, weighted mean algorithm such as is used, predicts that the Service Source in future three time points n+1, n+2 and n+3 accounts for It is followed successively by with amount:
Wherein, UiAmount is taken for i-th of time point Service Source;αiAmount is taken for i-th of time point Service Source Weights,Usually increase the accuracy of prediction, it is contemplated that the service money near time point at range prediction time point Source takes that influence of the amount to prediction result is bigger, the Service Source near time point at range prediction time point can be taken volume The weights of degree set larger, and the Service Source at the time point on the contrary that range prediction time point is remote takes the weights setting of amount Obtain smaller.
If Un< Un+1< Un+2< Un+3, then the occupancy of the Service Source in the application within following a period of time is judged Amount is in continue ascendant trend;If Un+3< Un+2< Un+1< Un, then judge that the service provides in the application in following a period of time The occupancy amount in source is in continuous decrease trend;
The occupancy amount of the Service Source in the application in the above-mentioned judgement following a period of time recorded except the present embodiment Outside the method for development trend, also other methods can be used to predict the development trend for taking amount, as Kalman filtering is calculated Method etc.;
S105 carries out super-limit prewarning to the Service Source, performs step S107;
The super-limit prewarning may include:The use state of the Service Source of the application is changed, notifies user's application The Service Source taken transfinites;
S106 carries out recovery processing to the Service Source;
Recovery processing includes:Recover scheduling using required service resource to this;;
S107 flows terminate.
Above-mentioned the step of being handled into line overrun processing, recovery Service Source, can also be documented in user and network service in advance In the grade of service signing (SLA) that provider signs.
Above-described embodiment not only avoid user and apply to PaaS cloud computing platform Service Source Use out of range;But also it is Those skilled in the art wouldn't provide Service Source at a kind of place in the case of excess in the Service Source that user's application takes Manage thinking.
Specifically above-described embodiment is described in further detail using example with one below.
In this applies example, user A has signed the grade of service before it reaches the standard grade using App1 with Internet Service Provider Contract (SLA), lower Service Source limit that can be taken of App1 operating statuses is defined in the signing, as cpu resource limit LC, Memory source limit LM, disk space Resources limit LD etc., and processing method when above-mentioned Service Source limit transfinites and Processing method when Service Source limit does not transfinite.
Step 1, after reaching the standard grade using APP1, receives what is set in the virtual machine that App1 is run on PaaS cloud computing platforms Shared sorts of systems Service Source uses note in the process of running by the App1 that sends after monitoring resource agency periodically gathers Record, the resource usage record include:Service Source accounts under user identifier, application name App1, timestamp, resource type, the type Use amount;
Step 2, acts on behalf of what is reported to reception according to user identifier, application name and timestamp from all monitoring resources Service Source usage record is collected, and obtains the occupancy amount using APP1 in corresponding time point n to Service Source of user, The service condition of cpu resource is UCn, the service condition of memory source is UMn, the service condition of disk space resource is UDn;N is Natural number;
Step 3, is respectively compared UCnWith LC, UMnWith LM, UDnAnd LD, judge UCn< LC, UMn> LM, UDn> LD;
Step 4, memory source and disk space resource during being used using APP1 user are handled into line overrun; And the cpu resource during being used using APP1 user is subsequently judged;
The process that cpu resource during being used using APP1 user is subsequently judged includes:
If judge UCn> LC*P1, P1 are early warning ratio, and 0 < P1 < 1, then extract (n- before obtained time point n M+1) Service Source at a time point takes amount UCm..., UCn, m is natural number;According to UCm..., UCnPredicted time point n The Service Source of future three time points n+1, n+2 and n+3 take amount UCn+1、UCn+2And UCn+3, wherein,
UCiAmount is taken for i-th of time point Service Source;αiThe power of amount is taken for i-th of time point Service Source Value,
If UCn< UCn+1< UCn+2< UCn+3, then super-limit prewarning is carried out to the cpu resource of application APP1;
If being in constrained state using the cpu resource of APP1, and judge UCn< LC*P1, then continue UCnWith LC*P2 into Row compares, P1 > P2 > 0;If UCn< LC*P2, then also before extraction time point n (n-m+1) a time point the Service Source Take amount UCm..., UCn, m is natural number;According to UCm..., UCnFuture three time points n+1, n+2 of predicted time point n Amount UC is taken with the Service Source of n+3n+1、UCn+2And UCn+3:If UCn+3< UCn+2< UCn+1< UCn, then to the cpu resource Carry out recovery processing.
Fig. 2 is that the control of the present embodiment uses the system composition figure of PaaS cloud computing platform Service Sources.
The system includes grade of service signing management module and cloud computing platform management module, wherein,
Grade of service signing management module, for obtaining each application of user on PaaS cloud computing platforms to Service Source Occupancy amount, the Service Source includes:Cpu resource, memory source, disk space resource and network bandwidth resources;And By each application of the user of acquisition to the application in grade of service signing (SLA) with the user of the occupancy amount of Service Source The Service Source of the application takes amount and is compared one by one, if the occupancy amount of the Service Source obtained is greater than or equal to application Service Source take amount, then being sent to cloud computing platform management module transfinites process instruction;
The cloud computing platform management module, for being carried out according to the instruction sent from grade of service signing management module Processing;;
Grade of service signing management module, the occupancy amount being additionally operable in the Service Source of acquisition are less than the service of application During resource occupation amount, trend is taken to the Service Source and is estimated;When estimation results are that Service Source occupancy amount will When Service Source more than or equal to application takes amount, super-limit prewarning instruction is sent to the cloud computing platform management module; When estimation results, which will be Service Source occupancy amount, to be in continuous decrease trend, sent to the cloud computing platform management module Recover process instruction;
Grade of service signing management module, the occupancy amount for the Service Source in acquisition are less than the service money of application When source takes amount, whether the occupancy amount for the Service Source for judging to obtain is greater than or equal to the Service Source occupancy amount of application With the product of default early warning ratio P1, if obtain Service Source occupancys amount be greater than or equal to apply Service Source account for With amount and the product of default early warning ratio P1, then continue to judge in following a period of time accounting for for the Service Source in the application With the development trend of amount, if the occupancy amount of the Service Source becomes in lasting rise in the application in following a period of time Gesture, then estimation results are that the Service Source takes Service Source occupancy amount of the amount above or equal to application;
If the Service Source that the occupancy amount of the Service Source obtained is less than application takes amount and default early warning ratio The product of P1, judge obtain Service Source occupancys amount whether be less than application Service Source occupancy amount with it is default extensive The product of compound proportion P2, if obtain Service Source occupancys amount be less than application Service Source occupancy amount with it is default pre- The product of alert ratio P2, then continue to judge that the development of the occupancy amount of the Service Source in the application in following a period of time becomes Gesture, if the occupancy amount of the Service Source is in continuous decrease trend in the application in following a period of time, estimation results are It will be in continuous decrease trend that the Service Source, which takes amount,;
The P1 > P2, and 0 < P1 <, 1,0 < P2 < 1, can be real when P1 ∈ [0.75,0.9], P2 ∈ [0.6,0.75] Now preferably estimate effect.
To realize the development trend for judging the occupancy amount of the Service Source in the application in following a period of time, the service Grade signing management module, can be set to n, in the service money that time point n is obtained by the time point that obtain Service Source occupancy amount It is U that source, which takes amount,n, n is natural number;The Service Source at (n-m+1) a time point takes amount before extraction time point n Um..., Un, m is natural number;According to Um..., UnThe service money of future three time points n+1, n+2 and n+3 of predicted time point n Source takes amount Un+1、Un+2And Un+3;If Un< Un+1< Un+2< Un+3, then judging should in the application within following a period of time The occupancy amount of Service Source is in continue ascendant trend;If Un+3< Un+2< Un+1< Un, then judging should in following a period of time The occupancy amount of the Service Source is in continuous decrease trend in.
In order to according to Um..., UnThe Service Source of future three time points n+1, n+2 and n+3 of predicted time point n take Amount Un+1、Un+2And Un+3, weighted mean algorithm, the i.e. Service Source in three time points n+1, n+2 and n+3 of future can be used Amount is taken to be followed successively by:
Wherein, UiAmount is taken for i-th of time point Service Source;αiAmount is taken for i-th of time point Service Source Weights,
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program Related hardware is completed, and described program can be stored in computer-readable recording medium, such as read-only storage, disk or CD Deng.Alternatively, all or part of step of above-described embodiment can also be realized using one or more integrated circuits, accordingly Ground, each module/unit in above-described embodiment can be realized in the form of hardware, can also use the shape of software function module Formula is realized.The present invention is not restricted to the combination of the hardware and software of any particular form.
It should be noted that the present invention can also have other various embodiments, without departing substantially from of the invention spiritual and its essence In the case of, those skilled in the art can make various corresponding changes and deformation according to the present invention, but these are corresponding Change and deform the protection domain that should all belong to appended claims of the invention.

Claims (8)

  1. A kind of 1. method controlled using PaaS cloud computing platform Service Sources, it is characterised in that the described method includes:
    Occupancy amount of each application to Service Source of user on PaaS cloud computing platforms is obtained, the Service Source includes: Cpu resource, memory source, disk space resource and network bandwidth resources;
    By each application of the user of acquisition to the occupancy amount of Service Source with the user the Shen in the grade of service contracts (SLA) The Service Source of the application please takes amount and is compared one by one, if the occupancy amount of the Service Source obtained is greater than or equal to The Service Source of application takes amount, then the Service Source is handled into line overrun;
    The method further includes:
    If the Service Source that the occupancy amount of the Service Source obtained is less than application takes amount, which is taken Gesture is estimated;
    If the Service Source that the occupancy amount of the Service Source of the acquisition is less than application takes amount, which is accounted for Estimate further comprising with trend:
    If the Service Source that the occupancy amount of the Service Source obtained is less than application takes amount, the Service Source of acquisition is judged Take whether amount is greater than or equal to the Service Source occupancy amount of application and the product of default early warning ratio P1, if obtain The Service Source that the occupancy amount of Service Source is greater than or equal to application takes amount and the product of default early warning ratio P1, then Continue the development trend of the occupancy amount of the Service Source in the application in judging future for a period of time, if following a period of time The occupancy amount of the Service Source is in continue ascendant trend in the interior application, then estimation results are that Service Source occupancy amount will Service Source more than or equal to application takes amount;
    If the occupancy amount of the Service Source obtained is less than the Service Source occupancy amount and default early warning ratio P1 applied Whether product, the occupancy amount for the Service Source for judging to obtain are less than the Service Source occupancy amount of application and default recovery ratio The product of example P2, if the Service Source that the occupancy amount of the Service Source obtained is less than application takes amount and default early warning ratio The product of example P2, then continue to judge the development trend of the occupancy amount of the Service Source in the application in following a period of time, such as The occupancy amount of the Service Source is in continuous decrease trend in the application in fruit following a period of time, then estimation results are the services Resource occupation amount will be in continuous decrease trend;
    The P1>P2, and 0<P1<1,0<P2<1.
  2. 2. the method as described in claim 1, it is characterised in that the method further includes:
    Service Source occupancy amount of the amount above or equal to application is taken if estimation results are the Service Sources, to the clothes Resource of being engaged in carries out super-limit prewarning;If estimation results, which are the Service Sources, which will take amount, to be in continuous decrease trend, to the service Resource carries out recovery processing.
  3. 3. the method as described in claim 1, it is characterised in that described 0<P1<1,0<P2<1, further comprise:
    P1∈[0.75,0.9],P2∈[0.6,0.75]。
  4. 4. the method as described in claim 1 or 3, it is characterised in that described to judge the clothes in the interior application of following a period of time The development trend of the occupancy amount for resource of being engaged in further comprises:
    If the time point for obtaining Service Source occupancy amount is n, it is U to take amount in the Service Source that time point n is obtainedn, n is Natural number;
    The Service Source at (n-m+1) a time point takes amount U before extraction time point nm,…,Un, m is natural number;
    According to Um,…,UnThe Service Source of future three time points n+1, n+2 and n+3 of predicted time point n take amount Un+1、 Un+2And Un+3
    If Un< Un+1< Un+2< Un+3, then the occupancy amount for judging the Service Source in the application within following a period of time is in Continue ascendant trend;If Un+3< Un+2< Un+1< Un, then accounting for for the Service Source in the application is judged in following a period of time It is in continuous decrease trend with amount.
  5. 5. a kind of system controlled using PaaS cloud computing platform Service Sources, it is characterised in that the system comprises service etc. Level signing management module, and cloud computing platform management module, wherein,
    The grade of service signing management module, for obtaining each application of user on PaaS cloud computing platforms to Service Source Occupancy amount, the Service Source includes:Cpu resource, memory source, disk space resource and network bandwidth resources;And By each application of the user of acquisition to the application in grade of service signing (SLA) with the user of the occupancy amount of Service Source The Service Source of the application takes amount and is compared one by one, if the occupancy amount of the Service Source obtained is greater than or equal to application Service Source take amount, then being sent to cloud computing platform management module transfinites process instruction;
    The cloud computing platform management module, for according at the instruction that grade of service signing management module is sent Reason;
    The grade of service signing management module, the occupancy amount being additionally operable in the Service Source of acquisition are less than the service money of application When source takes amount, trend is taken to the Service Source and is estimated;
    The grade of service signing management module, the occupancy amount for the Service Source in acquisition are less than the Service Source of application When taking amount, trend is taken to the Service Source and is estimated, is further comprised:
    The grade of service signing management module, the occupancy amount for the Service Source in acquisition are less than the Service Source of application Take amount when, judge obtain Service Source occupancys amount whether be greater than or equal to application Service Source take amount and The product of default early warning ratio P1, if the Service Source that the occupancy amount of the Service Source obtained is greater than or equal to application takes The product of amount and default early warning ratio P1, then continue to judge the occupancy of the Service Source in the application in following a period of time The development trend of amount, if the occupancy amount of the Service Source is in continue ascendant trend in the application in following a period of time, Then estimation results are that the Service Source takes Service Source occupancy amount of the amount above or equal to application;
    If the occupancy amount of the Service Source obtained is less than the Service Source occupancy amount and default early warning ratio P1 applied Whether product, the occupancy amount for the Service Source for judging to obtain are less than the Service Source occupancy amount of application and default recovery ratio The product of example P2, if the Service Source that the occupancy amount of the Service Source obtained is less than application takes amount and default early warning ratio The product of example P2, then continue to judge the development trend of the occupancy amount of the Service Source in the application in following a period of time, such as The occupancy amount of the Service Source is in continuous decrease trend in the application in fruit following a period of time, then estimation results are the services Resource occupation amount will be in continuous decrease trend;
    The P1>P2, and 0<P1<1,0<P2<1.
  6. 6. system as claimed in claim 5, it is characterised in that
    The grade of service is contracted management module, be additionally operable to when estimation results be the Service Source take amount above or equal to When the Service Source of application takes amount, super-limit prewarning instruction is sent to the cloud computing platform management module;Work as estimation results It is that the Service Source takes amount when will be in continuous decrease trend, sends recovery to the cloud computing platform management module and handle and refer to Order.
  7. 7. system as claimed in claim 5, it is characterised in that
    P1 ∈ [0.75,0.9], P2 ∈ [0.6,0.75], P1>P2.
  8. 8. the system as described in claim 5 or 7, it is characterised in that
    The grade of service signing management module, for judging the occupancy volume of the Service Source in the application in following a period of time The development trend of degree further comprises,
    The Service Source control module, for the time point for obtaining Service Source occupancy amount to be set to n, is obtained in time point n It is U that the Service Source taken, which takes amount,n, n is natural number;The Service Source at (n-m+1) a time point before extraction time point n Take amount Um,…,Un, m is natural number;According to Um,…,UnFuture three time points n+1, n+2 and n+3 of predicted time point n Service Source take amount Un+1、Un+2And Un+3;If Un< Un+1< Un+2< Un+3, then judging should within following a period of time The occupancy amount of the Service Source is in continue ascendant trend in;If Un+3< Un+2< Un+1< Un, then judge one section following The occupancy amount of the Service Source is in continuous decrease trend in the application in time.
CN201210458234.1A 2012-11-14 2012-11-14 A kind of method and system controlled using PaaS cloud computing platform Service Sources Active CN103812911B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210458234.1A CN103812911B (en) 2012-11-14 2012-11-14 A kind of method and system controlled using PaaS cloud computing platform Service Sources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210458234.1A CN103812911B (en) 2012-11-14 2012-11-14 A kind of method and system controlled using PaaS cloud computing platform Service Sources

Publications (2)

Publication Number Publication Date
CN103812911A CN103812911A (en) 2014-05-21
CN103812911B true CN103812911B (en) 2018-05-08

Family

ID=50709109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210458234.1A Active CN103812911B (en) 2012-11-14 2012-11-14 A kind of method and system controlled using PaaS cloud computing platform Service Sources

Country Status (1)

Country Link
CN (1) CN103812911B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105700955A (en) * 2014-11-28 2016-06-22 英业达科技有限公司 Resource allocation method for server system
CN104601680B (en) * 2014-12-31 2018-03-16 华为技术有限公司 A kind of method for managing resource and device
CN106326137B (en) * 2015-07-02 2020-09-22 腾讯科技(深圳)有限公司 Memory optimization method and device and user equipment
CN105933300A (en) * 2016-04-14 2016-09-07 郭剑锋 Safety management method and device
CN107315636B (en) * 2016-04-26 2020-06-05 中国移动通信集团河北有限公司 Resource availability early warning method and device
CN107979493B (en) * 2017-11-21 2019-10-29 平安科技(深圳)有限公司 Platform is construction method, server and the storage medium for servicing PAAS container platform
CN109150593B (en) * 2018-08-01 2021-11-26 郑州云海信息技术有限公司 Method and device for managing resources in cloud data system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488098A (en) * 2009-02-13 2009-07-22 华中科技大学 Multi-core computing resource management system based on virtual computing technology
CN102223419A (en) * 2011-07-05 2011-10-19 北京邮电大学 Virtual resource dynamic feedback balanced allocation mechanism for network operation system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8832219B2 (en) * 2011-03-01 2014-09-09 Red Hat, Inc. Generating optimized resource consumption periods for multiple users on combined basis

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488098A (en) * 2009-02-13 2009-07-22 华中科技大学 Multi-core computing resource management system based on virtual computing technology
CN102223419A (en) * 2011-07-05 2011-10-19 北京邮电大学 Virtual resource dynamic feedback balanced allocation mechanism for network operation system

Also Published As

Publication number Publication date
CN103812911A (en) 2014-05-21

Similar Documents

Publication Publication Date Title
CN103812911B (en) A kind of method and system controlled using PaaS cloud computing platform Service Sources
US10789106B2 (en) Server consolidation using virtual machine resource tradeoffs
JP6457447B2 (en) Data center network traffic scheduling method and apparatus
US9537773B2 (en) Ensuring predictable and quantifiable networking performance
EP2615803A2 (en) Performance interference model for managing consolidated workloads in QoS-aware clouds
US20150058844A1 (en) Virtual computing resource orchestration
EP2913756B1 (en) Operation management apparatus and operation management method
AU2017237704B2 (en) Control device for estimation of power consumption and energy efficiency of application containers
US20130024868A1 (en) Apparatus and method for allocating a task
CN105830392B (en) Method, node and computer program for enabling resource component allocation
KR20120105212A (en) Cloud center controlling apparatus and cloud center selecting method of the same
CN110532086B (en) Resource multiplexing method, device, system and storage medium
CN102724123B (en) Network traffic control method and network traffic control device
Nandagopal et al. Lowering inter-datacenter bandwidth costs via bulk data scheduling
US20220035668A1 (en) Resource management of a software application with multiple software components
CN110839069B (en) Node data deployment method, node data deployment system and medium
CN109684078A (en) Resource dynamic distributing method and system for spark streaming
US10713578B2 (en) Estimating utilization of network resources using time series data
CN109254726A (en) QoS guarantee method, control node and system in distributed memory system
KR101630125B1 (en) Method for resource provisioning in cloud computing resource management system
Perez-Palacin et al. Synthesis of adaptation plans for cloud infrastructure with hybrid cost models
CN110557339A (en) flow planning method and device, computer equipment and storage medium
CN106411782B (en) A kind of bandwidth compensation method and device
CN111143073B (en) Virtualized resource management method, device and storage medium
Lee et al. Optimization of cloud resource subscription policy

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant