CN106897094A - SaaS software deployments method and device under a kind of cloud environment - Google Patents
SaaS software deployments method and device under a kind of cloud environment Download PDFInfo
- Publication number
- CN106897094A CN106897094A CN201710103881.3A CN201710103881A CN106897094A CN 106897094 A CN106897094 A CN 106897094A CN 201710103881 A CN201710103881 A CN 201710103881A CN 106897094 A CN106897094 A CN 106897094A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- saas
- deployment
- lease
- deployment scheme
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/12—Computing arrangements based on biological models using genetic models
- G06N3/126—Evolutionary algorithms, e.g. genetic algorithms or genetic programming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/4557—Distribution of virtual machine instances; Migration and load balancing
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Biophysics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- General Physics & Mathematics (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Computational Biology (AREA)
- Artificial Intelligence (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Computational Linguistics (AREA)
- Biomedical Technology (AREA)
- Mathematical Physics (AREA)
- Genetics & Genomics (AREA)
- Physiology (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of SaaS software deployment methods under cloud environment, the method is comprised the following steps:Obtain lease of at least one tenant to SaaS softwares;According to lease, it is determined that the SaaS software informations that need to be disposed;According to own infrastructure situation, it is determined that usable virtual machine information;According to SaaS software informations and virtual machine information, deployment scheme is determined, when whole leases can be met, the corresponding virtual machine instance minimum number of deployment scheme, when can only meet partial charter party, the corresponding satiable lease quantity of deployment scheme is most;The deployment of SaaS softwares is carried out according to deployment scheme.The technical scheme provided using the embodiment of the present invention, can improve resource utilization.The invention also discloses SaaS software deployment devices under a kind of cloud environment, with relevant art effect.
Description
Technical field
The present invention relates to field of cloud computer technology, SaaS software deployments method and dress under more particularly to a kind of cloud environment
Put.
Background technology
With the fast development of cloud computing technology, SaaS (Software-as-a-Service, software is service) patterns by
Gradually rise.SaaS patterns are the services that cloud computing is provided in application layer.Under SaaS patterns, client need not buy complete soft
Part system, it is not required that be equipped with corresponding hardware system and attendant, it is only necessary to by internet, application software is rented on demand
, for the medium-sized and small enterprises that this is limited to cost budgeting, technical conditions are not enough, with very strong attraction.
Under cloud environment, SaaS patterns relate generally to three class roles:Tenant, SaaS service provider and infrastructure are provided
Business.Tenant rents the SaaS softwares that SaaS service provider provides and meets its business demand, and each tenant can rent one
Or multiple SaaS softwares, SaaS software can provide service for multiple tenants.Current SaaS softwares are mostly based on many rents
Soft and hardware resource is shared in family pattern, the unified platform rental service that multiple tenants pass through SaaS service provider.Multiple tenants
Shared identical application code and application example, SaaS service provider's exploitation, deployment can be reduced, run, safeguarded, updating etc.
Operation cost.Meanwhile, multiple tenant's shareds relevant cost of software service reduces the service purchase of each tenant enterprise
Buy sheet.SaaS service provider obtains profit by providing SaaS softwares to tenant.
In podium level, SaaS softwares be disposed on a virtual machine, organization and management, each virtual machine contains pre-
Installation, pre-configured operating system, middleware and application component.In the case of the own infrastructure of SaaS service provider,
SaaS service provider is while or infrastructure provider.Deploy SaaS softwares virtual machine and its between communication network
It is deployed in the cloud data center of SaaS service provider.
For the lease request of substantial amounts of tenant, if random placement SaaS softwares, may result in resource utilization low
Problem.In the case of own infrastructure, SaaS software deployments how are effectively carried out, improve resource utilization, be current sheet
The technical problem of art personnel's urgent need to resolve.
The content of the invention
It is an object of the invention to provide SaaS software deployment method and devices under a kind of cloud environment, with to SaaS under cloud environment
Software optimizes deployment, improves resource utilization.
In order to solve the above technical problems, the present invention provides following technical scheme:
A kind of SaaS software deployments method under cloud environment, including:
Obtain lease of at least one tenant to SaaS softwares;
According to the lease, it is determined that the SaaS software informations that need to be disposed, the SaaS software informations are comprising SaaS softwares
The resource consumption requirement of type information and each type of SaaS softwares;
According to own infrastructure situation, it is determined that usable virtual machine information, the virtual machine information includes virtual machine
Type information and each type of virtual machine resource provide ability;
According to the SaaS software informations and the virtual machine information, deployment scheme is determined, included in the deployment scheme:
Each type of SaaS software instances quantity, each type of virtual machine instance quantity, tenant are corresponding with SaaS software instances
The corresponding relation of relation and SaaS software instances and virtual machine instance, when whole leases can be met, the deployment scheme correspondence
Virtual machine instance minimum number, or, when can only meet partial charter party, the corresponding satiable lease of the deployment scheme
Quantity is most;
The deployment of SaaS softwares is carried out according to the deployment scheme.
In a kind of specific embodiment of the invention, the lease for obtaining at least one tenant to SaaS softwares, bag
Include:
Receive lease request of at least one tenant to SaaS softwares;
According to the lease request of each tenant, the lease of each tenant is obtained.
It is described to be believed according to the SaaS software informations and the virtual machine in a kind of specific embodiment of the invention
Breath, determines deployment scheme, including:
Using greedy algorithm, according to the SaaS software informations and the virtual machine information, calculate respectively using only single
, it is necessary to the maximum quantity of each type of virtual machine instance during the deploying virtual machine whole lease of type;
When whole leases can be met, at least with virtual machine instance minimum number as optimization aim, asked using genetic algorithm
The mapping relations of solution tenant, SaaS software instances and virtual machine instance, obtain deployment scheme.
In a kind of specific embodiment of the invention, also include:
When can only meet partial charter party, optimization aim is at least up to satiable lease quantity, is calculated using heredity
Method solves the mapping relations of tenant, SaaS software instances and virtual machine instance, obtains deployment scheme.
It is described to be believed according to the SaaS software informations and the virtual machine in a kind of specific embodiment of the invention
Breath, determines deployment scheme, including:
According to the SaaS software informations and the virtual machine information, it is determined that multiple treats deployment scheme, difference treats deployment side
Each type of SaaS software instances quantity, each type of virtual machine instance quantity, tenant and SaaS software realities are included in case
The corresponding relation and SaaS software instances of example are different from the corresponding relation of virtual machine instance;
When whole leases can be met, determine that each treats the corresponding virtual machine instance quantity of deployment scheme, by minimum void
Plan machine example quantity is corresponding to treat that deployment scheme is defined as deployment scheme;
When can only meet partial charter party, determine that each treats the corresponding satiable lease quantity of deployment scheme, will be most
Satiable lease quantity corresponding treat that deployment scheme is defined as deployment scheme.
SaaS software deployments device under a kind of cloud environment, including:
Lease obtains module, for obtaining lease of at least one tenant to SaaS softwares;
SaaS software information determining modules, for according to the lease, it is determined that the SaaS software informations that need to be disposed, described
The resource consumption requirement of type information of the SaaS software informations comprising SaaS softwares and each type of SaaS softwares;
Virtual machine information determining module, for according to own infrastructure situation, it is determined that usable virtual machine information, institute
The resource for stating type information of the virtual machine information comprising virtual machine and each type of virtual machine provides ability;
Deployment scheme determining module, for according to the SaaS software informations and the virtual machine information, determining section management side
Case, includes in the deployment scheme:Each type of SaaS software instances quantity, each type of virtual machine instance quantity, rent
Family and the corresponding relation and SaaS software instances and the corresponding relation of virtual machine instance of SaaS software instances, can meet whole rents
When about, the corresponding virtual machine instance minimum number of the deployment scheme, or, when can only meet partial charter party, the deployment
The corresponding satiable lease quantity of scheme is most;
SaaS software deployment modules, the deployment for carrying out SaaS softwares according to the deployment scheme.
In a kind of specific embodiment of the invention, the lease obtains module, specifically for:
Receive lease request of at least one tenant to SaaS softwares;
According to the lease request of each tenant, the lease of each tenant is obtained.
In a kind of specific embodiment of the invention, the deployment scheme determining module, specifically for:
Using greedy algorithm, according to the SaaS software informations and the virtual machine information, calculate respectively using only single
, it is necessary to the maximum quantity of each type of virtual machine instance during the deploying virtual machine whole lease of type;
When whole leases can be met, at least with virtual machine instance minimum number as optimization aim, asked using genetic algorithm
The mapping relations of solution tenant, SaaS software instances and virtual machine instance, obtain deployment scheme.
In a kind of specific embodiment of the invention, the deployment scheme determining module is additionally operable to:
When can only meet partial charter party, optimization aim is at least up to satiable lease quantity, is calculated using heredity
Method solves the mapping relations of tenant, SaaS software instances and virtual machine instance, obtains deployment scheme.
In a kind of specific embodiment of the invention, the deployment scheme determining module, specifically for:
According to the SaaS software informations and the virtual machine information, it is determined that multiple treats deployment scheme, difference treats deployment side
Each type of SaaS software instances quantity, each type of virtual machine instance quantity, tenant and SaaS software realities are included in case
The corresponding relation and SaaS software instances of example are different from the corresponding relation of virtual machine instance;
When whole leases can be met, determine that each treats the corresponding virtual machine instance quantity of deployment scheme, by minimum void
Plan machine example quantity is corresponding to treat that deployment scheme is defined as deployment scheme;
When can only meet partial charter party, determine that each treats the corresponding satiable lease quantity of deployment scheme, will be most
Satiable lease quantity corresponding treat that deployment scheme is defined as deployment scheme.
The technical scheme provided using the embodiment of the present invention, after obtaining at least one tenant to the lease of SaaS softwares,
According to lease, it may be determined that the SaaS software informations that need to be disposed, the SaaS software informations comprising SaaS softwares type information and
The resource consumption requirement of each type of SaaS softwares, according to own infrastructure situation, it may be determined that usable virtual machine
The resource of information, type information of the virtual machine information comprising virtual machine and each type of virtual machine provides ability, according to SaaS
Software information and virtual machine information, it may be determined that deployment scheme, when whole leases can be met, the corresponding virtual machine of deployment scheme
Example minimum number, or, when can only meet partial charter party, the corresponding satiable lease quantity of deployment scheme is most, according to
The Optimization deployment of SaaS softwares is carried out according to the deployment scheme, so more lease can be met using less virtual machine instance,
Improve resource utilization.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the implementing procedure figure of SaaS software deployment methods under a kind of cloud environment in the embodiment of the present invention;
Fig. 2 is SaaS software deployment model structure schematic diagrames under cloud environment in the embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of tenant's demand in the embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of deployment scheme in the embodiment of the present invention;
Fig. 5 is the structural representation of SaaS software deployment devices under a kind of cloud environment in the embodiment of the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.Obviously, described embodiment is only a part of embodiment of the invention, rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise
Lower obtained every other embodiment, belongs to the scope of protection of the invention.
It is shown in Figure 1, the implementation of SaaS software deployment methods under a kind of cloud environment provided by the embodiment of the present invention
Flow chart, the method may comprise steps of:
S110:Obtain lease of at least one tenant to SaaS softwares.
The embodiment of the present invention is for the software fourth stage Capability Maturity Model using many examples of multi-tenant under cloud environment
SaaS softwares, in the service construction stage, lease and SaaS software instances to tenant optimize deployment.Any one tenant can
To send the lease request to SaaS softwares, after receiving at least one tenant to the lease request of SaaS softwares, can be according to every
The lease request of individual tenant, obtains the lease of each tenant.
According to the lease request of each tenant, the lease of each tenant can be obtained, each lease is related to different tenants to want
The type of the SaaS softwares of rental and different SLAs (Service Level Agreement, SLA).Tenant will
Need to sign SLA, i.e. SLA during rental service, between tenant and SaaS service provider.SLA describes tenant will
The contents such as rental period, number of users, service quality (Quality of Service, QoS) demand of rental service.SaaS services are provided
Business provides service according to SLA.
After at least one tenant is obtained to the lease of SaaS softwares, can continue executing with step S120's or step S130
Operation.
S120:According to lease, it is determined that the SaaS software informations that need to be disposed.
The resource consumption requirement of type information of the SaaS software informations comprising SaaS softwares and each type of SaaS softwares.
After at least one tenant is obtained to the lease of SaaS softwares, can be according to lease, it is determined that the SaaS softwares that need to be disposed
Information, that is, determine the resource consumption requirement of the type information and each type of SaaS softwares of the SaaS softwares to be rented of tenant.
S130:According to own infrastructure situation, it is determined that usable virtual machine information.
The resource of type information of the virtual machine information comprising virtual machine and each type of virtual machine provides ability.
As shown in Fig. 2 in SaaS software deployment models, SaaS service provider is rent by SaaS application systems door
Family provides service, and SaaS service provider can include following level:
Server layer:Physical server is server entity equipment, to make full use of resource, can use certain virtualization
Technology carries out virtual machine, and a physical server can fictionalize multiple virtual machines, and each virtual machine has independent system
Management, does not interfere with each other between virtual machine.The number of physical server can be carried out dynamically with the change of demand in theory
Increase or reduce.
Virtual machine layer:The service of providing infrastructures, on a virtual machine, SaaS service provider can rent SaaS running softwares
Service is provided with the virtual machine of infrastructure services business, it is also possible to build the infrastructure of oneself to provide service.With rent
The change of demand is rented at family, can dynamically be created or be deleted virtual machine, accomplishes to use on demand, is economized on resources.
Application layer:Application layer can run multiple SaaS software instances and for tenant provides SaaS services.
Monitoring resource layer:Resource consumption situation is monitored from levels such as server layer, virtual machine layer, application layers.It is right
Server layer monitoring can obtain the resource status of each physical server, to carry out scheduling virtual machine, to realize physical resource
Load balancing;The Current resource Expenditure Levels of virtual machine can be obtained to virtual machine layer monitoring, tenant's load balancing is being carried out
When, it is necessary to the resource status of the demand and virtual machine according to tenant determine whether that the virtual machine can be assigned to, application layer is monitored
Can be that the foundation of resource consumption model and adjustment provide data foundation, be the important support of resource measurement.
In embodiments of the present invention, SaaS service provider is by having infrastructure by oneself for tenant provides service.In SaaS
In the case of the own infrastructure of service provider, the hardware server resource of SaaS service provider be it is limited, objectively
It is not infinite expanding.During tenant disposes, in fact it could happen that inadequate resource, the lease of some tenants cannot be met
Situation.
SaaS service provider, can be according to own infrastructure actual conditions, it is determined that working as after the lease for obtaining tenant
Preceding usable virtual machine information.The resource of type information of the virtual machine information comprising virtual machine and each type of virtual machine is carried
Energy supply power.
It should be noted that the embodiment of the present invention is not limited to the execution sequence of step S120 and step S130.
S140:According to SaaS software informations and virtual machine information, deployment scheme is determined.
Included in deployment scheme:Each type of SaaS software instances quantity, each type of virtual machine instance quantity, rent
Family and the corresponding relation and SaaS software instances of SaaS software instances and the corresponding relation of virtual machine instance.
Generally, a SaaS softwares are only instantiated once, all to have the tenant of lease request all common the software
Same software instances are enjoyed, but with the increase of the concurrent visit capacity of tenant, the service ability of single software instances may be caused to be difficult to
Meet quality of service requirement of all tenants to the software, then need to dispose multiple examples of the software.The embodiment of the present invention according to
Requirement in tenant's SLA agreements to service quality, the different tenant of reasonable distribution accesses corresponding example, meets tenant's demand
The utilization rate of SaaS softwares is improved simultaneously, it is ensured that the load balancing of service.
In a kind of specific embodiment of the invention, step S140 may comprise steps of:
Step one:Using greedy algorithm, according to SaaS software informations and virtual machine information, calculate respectively using only unitary class
, it is necessary to the maximum quantity of each type of virtual machine instance during the deploying virtual machine whole lease of type;
Step 2:When whole leases can be met, at least with virtual machine instance minimum number as optimization aim, using heredity
The mapping relations of Algorithm for Solving tenant, SaaS software instances and virtual machine instance, obtain deployment scheme;
Step 3:When can only meet partial charter party, optimization aim is at least up to satiable lease quantity, utilized
The mapping relations of genetic algorithm for solving tenant, SaaS software instances and virtual machine instance, obtain deployment scheme.
In embodiments of the present invention, if T={ T1,T2,…,TtBe obtain tenant lease set, lease Ti(i=1,
2 ..., it is t) to represent a service renting relation in Fig. 3, portion is optimized to SaaS softwares under own infrastructure environment
During administration, the lease request according to all tenants is the lease set T that can determine that tenant;If S={ S1,S2,…,SmIt is that SaaS is soft
The set of part type;If VM={ VM1,VM2,…,VMnBe usable type of virtual machine set.Lease collection according to tenant
Close the corresponding relation of each lease and SaaS software types in T, it may be determined that SaaS software type the set S and S of required deployment
The resource consumption requirement of middle each type SaaS softwares.Meanwhile, actual conditions (the physical server class according to own infrastructure
Type and number) can determine that the resource of each type virtual machine in usable type of virtual machine set VM, VM provides ability.
As shown in figure 3, four tenants are had, lease set T={ T1,T2,T3,T4,T5, it is determined that SaaS software types have
S1And S2, it is determined that type of virtual machine have VM1、VM2And VM3, ability is provided with different resources respectively, in own infrastructure
Physical server type has PM1And PM2。
Under conditions of fixed lease set T, SaaS software type set S, type of virtual machine set VM, according to every
The resource consumption requirement of type SaaS softwares and the resource of each type virtual machine provide ability, it may be determined that every in set S
The quantity and lease collection of deployment needed for each type virtual machine in quantity, the set VM of deployment needed for type SaaS softwares
The SaaS software instances set S for close T, being disposed*(set of all kinds SaaS software sharings disposed), disposed
Virtual machine instance set VM*Corresponding relation between (all kinds Imaginary Mechanism disposed into set)The Mathematical Modeling of SaaS software optimizations deployment, the Mathematical Modeling under the own infrastructure environment of foundation
It is the combinatorial optimization problem of Problem with Some Constrained Conditions, belongs to np problem.
Sufficient in resource, when can meet whole leases, optimization aim comprises at least VM*Middle virtual machine instance minimum number,
Certainly other optimization aims, such as S can also be included*The number of middle SaaS softwares is minimum etc..
In inadequate resource, when can only meet partial charter party, it is most that optimization aim comprises at least satiable lease quantity.
In embodiments of the present invention, using greedy algorithm plus the mixed strategy of genetic algorithm, first with greedy algorithm, meter
Calculating when only use a certain type Virtual machine deployment whole lease, it is necessary to the maximum quantity of the type virtual machine, draws every species
Maximum total quantity needed for type virtual machine instance, then using genetic algorithm for solving mapping relations, obtains deployment scheme.
As shown in figure 4, being the deployment scheme for determining, 1 virtual machine VM is disposed1Example VM11It is PM to type1Server
Example PM11On, dispose two VM2Example VM21、VM22It is PM to type2Server instance PM21Above, it is necessary to create two S1's
Example S11、S12, two S2Example S21、S22;S11It is deployed to VM11On, S12、S21It is deployed to VM21On, S22It is deployed to VM22On;
S11On deploy tenant 1, S12On deploy tenant 2, S21On deploy tenant 2, tenant 3, S22On deploy tenant 4.
In a kind of specific embodiment of the invention, step S140 may comprise steps of:
First step:According to SaaS software informations and virtual machine information, it is determined that multiple treats deployment scheme, difference is waited to dispose
Each type of SaaS software instances quantity, each type of virtual machine instance quantity, tenant and SaaS softwares are included in scheme
The corresponding relation and SaaS software instances of example are different from the corresponding relation of virtual machine instance;
Second step:When whole leases can be met, determine that each treats the corresponding virtual machine instance quantity of deployment scheme,
Treat that deployment scheme is defined as deployment scheme by minimum virtual machine instance quantity is corresponding;
3rd step:When can only meet partial charter party, determine that each treats the corresponding satiable lease of deployment scheme
Quantity, treats that deployment scheme is defined as deployment scheme by most satiable lease quantity are corresponding.
In embodiments of the present invention, according to SaaS software informations and virtual machine information, it may be determined that go out multiple and treat deployment side
Case, each type of SaaS software instances quantity that difference is treated to be included in deployment scheme, each type of virtual machine instance quantity,
Tenant is different with the corresponding relation of virtual machine instance from the corresponding relation and SaaS software instances of SaaS software instances.
When whole leases can be met, it may be determined that each treats the corresponding virtual machine instance quantity of deployment scheme, will be minimum
Virtual machine instance quantity corresponding treat that deployment scheme is defined as deployment scheme.If minimum virtual machine instance quantity is corresponding
Treat that deployment scheme has at least two, then can therefrom randomly choose one treats deployment scheme, is defined as deployment scheme, or
Person, further can determine final deployment scheme according to SaaS software instances quantity.
When can only meet partial charter party, it may be determined that each treats the corresponding satiable lease quantity of deployment scheme, will
Most satiable lease quantity is corresponding to treat that deployment scheme is defined as deployment scheme.If most satiable lease numbers
Amount is corresponding to treat that deployment scheme has at least two, then can therefrom randomly choose one treats deployment scheme, is defined as deployment
Scheme, or, final deployment scheme further can be determined according to SaaS software instances quantity.
More tenant's demand so can be met using less resource, resource utilization is improved.
S150:The deployment of SaaS softwares is carried out according to deployment scheme.
Deployment scheme is determined in step S140, the deployment of SaaS softwares can be carried out according to the deployment scheme.
The method provided using the embodiment of the present invention, after obtaining at least one tenant to the lease of SaaS softwares, according to
Lease, it may be determined that the SaaS software informations that need to be disposed, the SaaS software informations include the type information of SaaS softwares and every kind of
The resource consumption requirement of the SaaS softwares of type, according to own infrastructure situation, it may be determined that usable virtual machine information,
The resource of type information of the virtual machine information comprising virtual machine and each type of virtual machine provides ability, is believed according to SaaS softwares
Breath and virtual machine information, it may be determined that deployment scheme, when whole leases can be met, the corresponding virtual machine instance number of deployment scheme
Amount is minimum, or, when can only meet partial charter party, the corresponding satiable lease quantity of deployment scheme is most, according to the portion
Management side case carries out the Optimization deployment of SaaS softwares, so can meet more lease using less virtual machine instance, improves
Resource utilization.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides SaaS software deployments dress under a kind of cloud environment
Put, SaaS software deployments device and SaaS software deployments under a kind of above-described cloud environment under a kind of cloud environment described below
Method can be mutually to should refer to.
Shown in Figure 5, the device is included with lower module:
Lease obtains module 510, for obtaining lease of at least one tenant to SaaS softwares;
SaaS software informations determining module 520, for according to lease, it is determined that the SaaS software informations that need to be disposed, SaaS is soft
The resource consumption requirement of type information and each type of SaaS software of the part packet containing SaaS softwares;
Virtual machine information determining module 530, for according to own infrastructure situation, it is determined that usable virtual machine letter
The resource of breath, type information of the virtual machine information comprising virtual machine and each type of virtual machine provides ability;
Deployment scheme determining module 540, for according to SaaS software informations and virtual machine information, determining deployment scheme, portion
Included in management side case:Each type of SaaS software instances quantity, each type of virtual machine instance quantity, tenant and SaaS are soft
The corresponding relation and SaaS software instances of part example and the corresponding relation of virtual machine instance, when whole leases can be met, deployment
The corresponding virtual machine instance minimum number of scheme, or, when can only meet partial charter party, deployment scheme is corresponding satiable
Lease quantity is most;
SaaS software deployments module 550, the deployment for carrying out SaaS softwares according to deployment scheme.
The device provided using the embodiment of the present invention, after obtaining at least one tenant to the lease of SaaS softwares, according to
Lease, it may be determined that the SaaS software informations that need to be disposed, the SaaS software informations include the type information of SaaS softwares and every kind of
The resource consumption requirement of the SaaS softwares of type, according to own infrastructure situation, it may be determined that usable virtual machine information,
The resource of type information of the virtual machine information comprising virtual machine and each type of virtual machine provides ability, is believed according to SaaS softwares
Breath and virtual machine information, it may be determined that deployment scheme, when whole leases can be met, the corresponding virtual machine instance number of deployment scheme
Amount is minimum, or, when can only meet partial charter party, the corresponding satiable lease quantity of deployment scheme is most, according to the portion
Management side case carries out the Optimization deployment of SaaS softwares, so can meet more lease using less virtual machine instance, improves
Resource utilization.
In a kind of specific embodiment of the invention, lease obtains module 510, specifically for:
Receive lease request of at least one tenant to SaaS softwares;
According to the lease request of each tenant, the lease of each tenant is obtained.
In a kind of specific embodiment of the invention, deployment scheme determining module 540, specifically for:
Using greedy algorithm, according to SaaS software informations and virtual machine information, calculate respectively using only the void of single type
, it is necessary to the maximum quantity of each type of virtual machine instance during plan machine deployment whole lease;
When whole leases can be met, at least with virtual machine instance minimum number as optimization aim, asked using genetic algorithm
The mapping relations of solution tenant, SaaS software instances and virtual machine instance, obtain deployment scheme.
In a kind of specific embodiment of the invention, deployment scheme determining module 540 is additionally operable to:
When can only meet partial charter party, optimization aim is at least up to satiable lease quantity, is calculated using heredity
Method solves the mapping relations of tenant, SaaS software instances and virtual machine instance, obtains deployment scheme.
In a kind of specific embodiment of the invention, deployment scheme determining module 540, specifically for:
According to SaaS software informations and virtual machine information, it is determined that multiple treats deployment scheme, difference is treated to be included in deployment scheme
Each type of SaaS software instances quantity, each type of virtual machine instance quantity, tenant are corresponding with SaaS software instances
Relation and SaaS software instances are different from the corresponding relation of virtual machine instance;
When whole leases can be met, determine that each treats the corresponding virtual machine instance quantity of deployment scheme, by minimum void
Plan machine example quantity is corresponding to treat that deployment scheme is defined as deployment scheme;
When can only meet partial charter party, determine that each treats the corresponding satiable lease quantity of deployment scheme, will be most
Satiable lease quantity corresponding treat that deployment scheme is defined as deployment scheme.
Each embodiment is described by the way of progressive in this specification, and what each embodiment was stressed is and other
The difference of embodiment, between each embodiment same or similar part mutually referring to.For being filled disclosed in embodiment
For putting, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is referring to method part
Illustrate.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description
And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software, generally describes the composition and step of each example according to function in the above description.These
Function is performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specialty
Technical staff can realize described function to each specific application using distinct methods, but this realization should not
Think beyond the scope of this invention.
The step of method or algorithm for being described with reference to the embodiments described herein, directly can be held with hardware, processor
Capable software module, or the two combination is implemented.Software module can be placed in random access memory (RAM), internal memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In field in known any other form of storage medium.
Specific case used herein is set forth to principle of the invention and implementation method, and above example is said
It is bright to be only intended to help and understand technical scheme and its core concept.It should be pointed out that common for the art
For technical staff, under the premise without departing from the principles of the invention, some improvement and modification can also be carried out to the present invention, these
Improve and modification is also fallen into the protection domain of the claims in the present invention.
Claims (10)
1. a kind of SaaS software deployment methods under cloud environment, it is characterised in that including:
Obtain lease of at least one tenant to SaaS softwares;
According to the lease, it is determined that the SaaS software informations that need to be disposed, type of the SaaS software informations comprising SaaS softwares
The resource consumption requirement of information and each type of SaaS softwares;
According to own infrastructure situation, it is determined that usable virtual machine information, class of the virtual machine information comprising virtual machine
The resource of type information and each type of virtual machine provides ability;
According to the SaaS software informations and the virtual machine information, deployment scheme is determined, included in the deployment scheme:It is every kind of
The corresponding relation of the SaaS software instances quantity of type, each type of virtual machine instance quantity, tenant and SaaS software instances
And the corresponding relation of SaaS software instances and virtual machine instance, when whole leases can be met, the corresponding void of the deployment scheme
Plan machine example minimum number, or, when can only meet partial charter party, the corresponding satiable lease quantity of the deployment scheme
At most;
The deployment of SaaS softwares is carried out according to the deployment scheme.
2. SaaS software deployment methods under cloud environment according to claim 1, it is characterised in that the acquisition at least one
Tenant to the lease of SaaS softwares, including:
Receive lease request of at least one tenant to SaaS softwares;
According to the lease request of each tenant, the lease of each tenant is obtained.
3. SaaS software deployment methods under cloud environment according to claim 1 and 2, it is characterised in that described in the basis
SaaS software informations and the virtual machine information, determine deployment scheme, including:
Using greedy algorithm, according to the SaaS software informations and the virtual machine information, calculate respectively using only single type
Deploying virtual machine whole lease when, it is necessary to the maximum quantity of each type of virtual machine instance;
When whole leases can be met, at least with virtual machine instance minimum number as optimization aim, rented using genetic algorithm for solving
The mapping relations at family, SaaS software instances and virtual machine instance, obtain deployment scheme.
4. SaaS software deployment methods under cloud environment according to claim 3, it is characterised in that also include:
When can only meet partial charter party, optimization aim is at least up to satiable lease quantity, is asked using genetic algorithm
The mapping relations of solution tenant, SaaS software instances and virtual machine instance, obtain deployment scheme.
5. SaaS software deployment methods under cloud environment according to claim 1 and 2, it is characterised in that described in the basis
SaaS software informations and the virtual machine information, determine deployment scheme, including:
According to the SaaS software informations and the virtual machine information, it is determined that multiple treats deployment scheme, difference is treated in deployment scheme
Comprising each type of SaaS software instances quantity, each type of virtual machine instance quantity, tenant and SaaS software instances
Corresponding relation and SaaS software instances are different from the corresponding relation of virtual machine instance;
When whole leases can be met, determine that each treats the corresponding virtual machine instance quantity of deployment scheme, by minimum virtual machine
Example quantity is corresponding to treat that deployment scheme is defined as deployment scheme;
When can only meet partial charter party, determine that each treats the corresponding satiable lease quantity of deployment scheme, can by most
The lease quantity of satisfaction is corresponding to treat that deployment scheme is defined as deployment scheme.
6. SaaS software deployment devices under a kind of cloud environment, it is characterised in that including:
Lease obtains module, for obtaining lease of at least one tenant to SaaS softwares;
SaaS software information determining modules, for according to the lease, it is determined that the SaaS software informations that need to be disposed, the SaaS is soft
The resource consumption requirement of type information and each type of SaaS software of the part packet containing SaaS softwares;
Virtual machine information determining module, for according to own infrastructure situation, it is determined that usable virtual machine information, the void
The resource for intending type information of the machine information comprising virtual machine and each type of virtual machine provides ability;
Deployment scheme determining module, for according to the SaaS software informations and the virtual machine information, determining deployment scheme, institute
State and include in deployment scheme:Each type of SaaS software instances quantity, each type of virtual machine instance quantity, Zu Huyu
The corresponding relation and SaaS software instances of SaaS software instances and the corresponding relation of virtual machine instance, can meet whole leases
When, the corresponding virtual machine instance minimum number of the deployment scheme, or, when can only meet partial charter party, the deployment side
The corresponding satiable lease quantity of case is most;
SaaS software deployment modules, the deployment for carrying out SaaS softwares according to the deployment scheme.
7. SaaS software deployment devices under cloud environment according to claim 6, it is characterised in that the lease obtains mould
Block, specifically for:
Receive lease request of at least one tenant to SaaS softwares;
According to the lease request of each tenant, the lease of each tenant is obtained.
8. SaaS software deployment devices under the cloud environment according to claim 6 or 7, it is characterised in that the deployment scheme
Determining module, specifically for:
Using greedy algorithm, according to the SaaS software informations and the virtual machine information, calculate respectively using only single type
Deploying virtual machine whole lease when, it is necessary to the maximum quantity of each type of virtual machine instance;
When whole leases can be met, at least with virtual machine instance minimum number as optimization aim, rented using genetic algorithm for solving
The mapping relations at family, SaaS software instances and virtual machine instance, obtain deployment scheme.
9. SaaS software deployment devices under cloud environment according to claim 8, it is characterised in that the deployment scheme determines
Module, is additionally operable to:
When can only meet partial charter party, optimization aim is at least up to satiable lease quantity, is asked using genetic algorithm
The mapping relations of solution tenant, SaaS software instances and virtual machine instance, obtain deployment scheme.
10. SaaS software deployment devices under the cloud environment according to claim 6 or 7, it is characterised in that the deployment scheme
Determining module, specifically for:
According to the SaaS software informations and the virtual machine information, it is determined that multiple treats deployment scheme, difference is treated in deployment scheme
Comprising each type of SaaS software instances quantity, each type of virtual machine instance quantity, tenant and SaaS software instances
Corresponding relation and SaaS software instances are different from the corresponding relation of virtual machine instance;
When whole leases can be met, determine that each treats the corresponding virtual machine instance quantity of deployment scheme, by minimum virtual machine
Example quantity is corresponding to treat that deployment scheme is defined as deployment scheme;
When can only meet partial charter party, determine that each treats the corresponding satiable lease quantity of deployment scheme, can by most
The lease quantity of satisfaction is corresponding to treat that deployment scheme is defined as deployment scheme.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710103881.3A CN106897094A (en) | 2017-02-24 | 2017-02-24 | SaaS software deployments method and device under a kind of cloud environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710103881.3A CN106897094A (en) | 2017-02-24 | 2017-02-24 | SaaS software deployments method and device under a kind of cloud environment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106897094A true CN106897094A (en) | 2017-06-27 |
Family
ID=59184106
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710103881.3A Pending CN106897094A (en) | 2017-02-24 | 2017-02-24 | SaaS software deployments method and device under a kind of cloud environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106897094A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108900435A (en) * | 2018-06-20 | 2018-11-27 | 郑州云海信息技术有限公司 | A kind of method, apparatus and computer storage medium of service deployment |
CN113535329A (en) * | 2021-07-23 | 2021-10-22 | 中国科学技术大学苏州高等研究院 | Deployment method and device of virtual machine in multi-tenant cloud |
WO2021253914A1 (en) * | 2020-06-19 | 2021-12-23 | 中兴通讯股份有限公司 | Application deployment method, application blueprint generation method, platform, terminal, and medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104331332A (en) * | 2014-11-04 | 2015-02-04 | 浪潮电子信息产业股份有限公司 | Virtual resource pre-allocation algorithm based on SLA |
US20150052250A1 (en) * | 2013-08-14 | 2015-02-19 | International Business Machines Corporation | Adaptive algorithm for cloud admission policies |
-
2017
- 2017-02-24 CN CN201710103881.3A patent/CN106897094A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150052250A1 (en) * | 2013-08-14 | 2015-02-19 | International Business Machines Corporation | Adaptive algorithm for cloud admission policies |
CN104331332A (en) * | 2014-11-04 | 2015-02-04 | 浪潮电子信息产业股份有限公司 | Virtual resource pre-allocation algorithm based on SLA |
Non-Patent Citations (1)
Title |
---|
曹祖凤: "多租户SaaS应用优化部署算法的研究", 《中国优秀硕士论文全文数据库信息科技辑》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108900435A (en) * | 2018-06-20 | 2018-11-27 | 郑州云海信息技术有限公司 | A kind of method, apparatus and computer storage medium of service deployment |
WO2021253914A1 (en) * | 2020-06-19 | 2021-12-23 | 中兴通讯股份有限公司 | Application deployment method, application blueprint generation method, platform, terminal, and medium |
JP2023530737A (en) * | 2020-06-19 | 2023-07-19 | 中興通訊股▲ふん▼有限公司 | Application deployment method, application blueprint generation method, platform, terminal and medium |
JP7432774B2 (en) | 2020-06-19 | 2024-02-16 | 中興通訊股▲ふん▼有限公司 | Application deployment methods, application blueprint generation methods, platforms, devices and media |
CN113535329A (en) * | 2021-07-23 | 2021-10-22 | 中国科学技术大学苏州高等研究院 | Deployment method and device of virtual machine in multi-tenant cloud |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106897115A (en) | SaaS software deployments method and device under a kind of cloud environment | |
CN104067260B (en) | Dynamic construction is for undertaking the methods, devices and systems of one group of calculating node of amount of user effort | |
US20200287961A1 (en) | Balancing resources in distributed computing environments | |
CN105830394B (en) | Configuration method, system and its Virtual NE and network management system of virtual network strategy | |
CN103635882B (en) | Controlling network is utilized | |
US10620927B2 (en) | Method, arrangement, computer program product and data processing program for deploying a software service | |
CN105103506B (en) | For the method and system for the non-homogeneous bandwidth request allocation bandwidth in system for cloud computing | |
CN102571698B (en) | Access authority control method, system and device for virtual machine | |
CN107181808A (en) | A kind of privately owned cloud system and operation method | |
CN103825964B (en) | SLS (Service Level Specification) scheduling device and SLS scheduling method based on cloud computing PaaS (platform-as-a-service) platform | |
CN108369534A (en) | Code executes request routing | |
US20150058844A1 (en) | Virtual computing resource orchestration | |
CN109067890A (en) | A kind of CDN node edge calculations system based on docker container | |
CN104503832B (en) | A kind of scheduling virtual machine system and method for fair and efficiency balance | |
Lucas‐Simarro et al. | Cost optimization of virtual infrastructures in dynamic multi‐cloud scenarios | |
Khan et al. | Clouds of small things: Provisioning infrastructure-as-a-service from within community networks | |
CN108370328A (en) | A kind of management method and device of NFV MANO policy depictions symbol | |
CN102185926A (en) | Cloud computing resource management system and method | |
Jiao et al. | Cost optimization for online social networks on geo-distributed clouds | |
CN107370796A (en) | A kind of intelligent learning system based on Hyper TF | |
US10581691B2 (en) | Reduction of management complexity of an information technology system | |
CN107479947A (en) | A kind of energy consumption of virtual machine optimization method and system | |
CN108924249A (en) | Method and device for deploying OpenStack platform | |
Ghribi | Energy efficient resource allocation in cloud computing environments | |
CN106897094A (en) | SaaS software deployments method and device under a kind of cloud environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170627 |
|
RJ01 | Rejection of invention patent application after publication |