CN106897115A - 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 PDF

Info

Publication number
CN106897115A
CN106897115A CN201710103925.2A CN201710103925A CN106897115A CN 106897115 A CN106897115 A CN 106897115A CN 201710103925 A CN201710103925 A CN 201710103925A CN 106897115 A CN106897115 A CN 106897115A
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
Application number
CN201710103925.2A
Other languages
Chinese (zh)
Inventor
商晓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710103925.2A priority Critical patent/CN106897115A/en
Publication of CN106897115A publication Critical patent/CN106897115A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0645Rental transactions; Leasing transactions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of SaaS software deployment methods under cloud environment, including: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 infrastructure situation is rented, it is determined that the virtual machine information that can be rented;According to SaaS software informations and virtual machine information, deployment scheme is determined, included in deployment scheme:The corresponding relation and the corresponding relation of SaaS software instances and virtual machine instance of each type of SaaS software instances quantity, each type of virtual machine instance quantity, tenant and SaaS software instances, total lease cost of the corresponding virtual machine of deployment scheme are minimum;The deployment of SaaS softwares is carried out according to deployment scheme.The technical scheme provided using the embodiment of the present invention, can save the lease cost of SaaS service provider, improve resource utilization.The invention also discloses SaaS software deployment devices under a kind of cloud environment, with relevant art effect.

Description

SaaS software deployments method and device under a kind of cloud environment
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.Infrastructure provider has been rented in SaaS service provider In the case of infrastructure, deploy SaaS softwares virtual machine and its between communication network be deployed in infrastructure offer The cloud data center of business, SaaS service provider needs to pay corresponding virtual machine cost of use to infrastructure provider, i.e., The virtual machine that SaaS service provider is used has certain lease cost.
In the case of infrastructure is rented, how SaaS software deployments are effectively solved the problems, such as, be current people in the art The technical problem of member'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, while tenant's lease is met so that resource utilization highest, to the lease cost of virtual machine most It is low.
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 infrastructure situation is rented, it is determined that the virtual machine information that can be rented, the virtual machine information includes virtual machine Type information, the resource of each type of virtual machine the lease cost of ability and each type of virtual machine is provided;
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, total lease cost of the corresponding virtual machine of the deployment scheme It is minimum;
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;
At least with the minimum optimization aim of total lease cost of virtual machine, using genetic algorithm for solving tenant, SaaS softwares Example and the mapping relations of virtual machine instance, obtain 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;
Determine that each treats total lease cost of the corresponding virtual machine of deployment scheme;
Treat that deployment scheme is defined as deployment scheme by minimum total lease cost is corresponding.
In a kind of specific embodiment of the invention, minimum total lease cost is corresponding to treat that deployment scheme has at least two It is individual, it is described to treat that deployment scheme is defined as deployment scheme by minimum total lease cost is corresponding, including:
By minimum total lease cost it is corresponding treat SaaS software instances minimum numbers in deployment scheme treat deployment scheme It 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 infrastructure situation is rented, it is determined that the virtual machine information that can be rented, institute State type information of the virtual machine information comprising virtual machine, the resource of each type of virtual machine provides ability and each type of void The lease cost of plan machine;
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 of SaaS software instances and the corresponding relation of virtual machine instance, the deployment scheme pair Total lease cost of the virtual machine answered is minimum;
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;
At least with the minimum optimization aim of total lease cost of virtual machine, using genetic algorithm for solving tenant, SaaS softwares Example and the mapping relations of virtual machine instance, obtain 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;
Determine that each treats total lease cost of the corresponding virtual machine of deployment scheme;
Treat that deployment scheme is defined as deployment scheme by minimum total lease cost is corresponding.
In a kind of specific embodiment of the invention, minimum total lease cost is corresponding to treat that deployment scheme has at least two It is individual, the deployment scheme determining module, specifically for:
By minimum total lease cost it is corresponding treat SaaS software instances minimum numbers in deployment scheme treat deployment scheme It 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 rental infrastructure situation, it may be determined that the virtual machine that can be rented Information, type information of the virtual machine information comprising virtual machine, the resource of each type of virtual machine provide ability and each type Virtual machine lease cost, according to SaaS software informations and virtual machine information, it may be determined that deployment scheme, deployment scheme correspondence Virtual machine total lease cost it is minimum, the Optimization deployment of SaaS softwares is carried out according to the deployment scheme, save SaaS service The lease cost of provider, improves 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.One or more tenants The lease request to SaaS softwares can be sent, after receiving at least one tenant to the lease request of SaaS softwares, can basis The lease request of each 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 infrastructure situation is rented, it is determined that the virtual machine information that can be rented.
Type information of the virtual machine information comprising virtual machine, the resource of each type of virtual machine provide ability and per species The lease cost of the virtual machine of type.
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 renting infrastructure for tenant provides service.In SaaS In the case that service provider rents infrastructure, because SaaS service provider rents third-party resources of virtual machine, therefore, Resources of virtual machine in theory can infinite expanding.
SaaS service provider, can be according to infrastructure actual conditions be rented, it is determined that can after the lease for obtaining tenant The virtual machine information of rental.Type information of the virtual machine information comprising virtual machine, the resource of each type of virtual machine provide energy The lease cost of power and every kind of all types of virtual machine.
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:At least with the minimum optimization aim of total lease cost of virtual machine, using genetic algorithm for solving tenant, SaaS software instances and the mapping relations of 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 in the case where infrastructure environment is rented Lease request during administration according to all tenants can determine that the lease set T of tenant;If S={ S1,S2,…,SmIt is SaaS softwares The set of type;If VM={ VM1,VM2,…,VMnIt is the set of type of virtual machine.In lease set T according to tenant each The corresponding relation of lease and SaaS software types, it may be determined that each type in SaaS software type the set S and S of required deployment The resource consumption requirement of SaaS softwares.Meanwhile, that is rented according to needed for the actual conditions for renting infrastructure can determine is virtual The lease cost of each type virtual machine and resource provide ability in machine type set VM, VM.
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, provide ability and lease cost with different resources respectively.
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 rented 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), rent void Plan machine example collection VM*Corresponding relation between (all kinds Imaginary Mechanism rented into set)The Mathematical Modeling of SaaS software optimizations deployment under infrastructure environment, the Mathematical Modeling are rented in foundation It is the combinatorial optimization problem of Problem with Some Constrained Conditions, belongs to np problem.Optimization aim comprises at least VM*Total lease cost of middle virtual machine It is minimum, other optimization aims, such as S can also be included certainly*The number of middle SaaS softwares is minimum etc..
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 rented1Example VM11, two VM2Example VM21、VM22, it is necessary to create two S1Example S11、S12, two S2Example S21、S22;S11It is deployed to VM11On, S12、S21Portion Affix one's name to VM21On, S22It is deployed to VM22On;S11On deploy tenant 1, S12On deploy tenant 2, S21On deploy tenant 2, rent Family 3, S22On deploy tenant 4.
So can be under conditions of tenant's demand and quality be met so that the lease cost of virtual machine is minimum, save The lease cost of SaaS service provider, improves resource utilization.
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:Determine that each treats total lease cost of the corresponding virtual machine of deployment scheme;
3rd step:Treat that deployment scheme is defined as deployment scheme by minimum total lease cost is 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.
Lease cost according to each type of virtual machine and each treat to include in deployment scheme it is each type of virtual Machine example quantity, it may be determined that each treats total lease cost of the corresponding virtual machine of deployment scheme.Can be by minimum total rental Cost is corresponding to treat that deployment scheme is defined as deployment scheme.
If minimum total lease cost is corresponding to treat that deployment scheme has at least two, can therefrom select one and treat portion Management side case, is defined as deployment scheme, preferably by minimum total lease cost is corresponding treat deployment scheme in SaaS it is soft Part example minimum number treats that deployment scheme is defined as deployment scheme.
So can be under conditions of tenant's demand and quality be met so that the lease cost of virtual machine is minimum, save The lease cost of SaaS service provider, improves resource utilization.
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 rental infrastructure situation, it may be determined that the virtual machine information that can be rented, Virtual machine information includes the type information of virtual machine, the resource of each type of virtual machine provides ability and each type of virtual The lease cost of machine, according to SaaS software informations and virtual machine information, it may be determined that deployment scheme, deployment scheme is corresponding virtual Total lease cost of machine is minimum, and the Optimization deployment of SaaS softwares is carried out according to the deployment scheme, saves SaaS service provider Lease cost, improve 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 infrastructure situation is rented, it is determined that the virtual machine letter that can be rented Breath, virtual machine information includes the type information of virtual machine, the resource of each type of virtual machine provides ability and each type of The lease cost of virtual machine;
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, the corresponding virtual machine of deployment scheme it is total Lease cost is minimum;
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 rental infrastructure situation, it may be determined that the virtual machine information that can be rented, Virtual machine information includes the type information of virtual machine, the resource of each type of virtual machine provides ability and each type of virtual The lease cost of machine, according to SaaS software informations and virtual machine information, it may be determined that deployment scheme, deployment scheme is corresponding virtual Total lease cost of machine is minimum, and the Optimization deployment of SaaS softwares is carried out according to the deployment scheme, saves SaaS service provider Lease cost, improve 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;
At least with the minimum optimization aim of total lease cost of virtual machine, using genetic algorithm for solving tenant, SaaS softwares Example and the mapping relations of virtual machine instance, obtain 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;
Determine that each treats total lease cost of the corresponding virtual machine of deployment scheme;
Treat that deployment scheme is defined as deployment scheme by minimum total lease cost is corresponding.
In a kind of specific embodiment of the invention, minimum total lease cost is corresponding to treat that deployment scheme has at least two It is individual, deployment scheme determining module 540, specifically for:
By minimum total lease cost it is corresponding treat SaaS software instances minimum numbers in deployment scheme treat deployment scheme It 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 infrastructure situation is rented, it is determined that the virtual machine information that can be rented, class of the virtual machine information comprising virtual machine Type information, the resource of each type of virtual machine provide the lease cost of ability and each type of virtual machine;
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, total lease cost of the corresponding virtual machine of the deployment scheme is most It is low;
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;
At least with the minimum optimization aim of total lease cost of virtual machine, using genetic algorithm for solving tenant, SaaS software instances With the mapping relations of virtual machine instance, deployment scheme is obtained.
4. 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;
Determine that each treats total lease cost of the corresponding virtual machine of deployment scheme;
Treat that deployment scheme is defined as deployment scheme by minimum total lease cost is corresponding.
5. SaaS software deployment methods under cloud environment according to claim 4, it is characterised in that minimum total lease cost It is corresponding to treat that deployment scheme has at least two, it is described to treat that deployment scheme is defined as deployment side by minimum total lease cost is corresponding Case, including:
By minimum total lease cost it is corresponding treat SaaS software instances minimum numbers in deployment scheme treat that deployment scheme determines It is 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 infrastructure situation is rented, it is determined that the virtual machine information that can be rented, the void Intend type information of the machine information comprising virtual machine, the resource of each type of virtual machine provides ability and each type of virtual machine Lease cost;
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, the deployment scheme are corresponding Total lease cost of virtual machine is minimum;
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;
At least with the minimum optimization aim of total lease cost of virtual machine, using genetic algorithm for solving tenant, SaaS software instances With the mapping relations of virtual machine instance, deployment scheme is obtained.
9. 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;
Determine that each treats total lease cost of the corresponding virtual machine of deployment scheme;
Treat that deployment scheme is defined as deployment scheme by minimum total lease cost is corresponding.
10. SaaS software deployment devices under cloud environment according to claim 9, it is characterised in that minimum always rents into This is corresponding to treat that deployment scheme has at least two, the deployment scheme determining module, specifically for:
By minimum total lease cost it is corresponding treat SaaS software instances minimum numbers in deployment scheme treat that deployment scheme determines It is deployment scheme.
CN201710103925.2A 2017-02-24 2017-02-24 SaaS software deployments method and device under a kind of cloud environment Pending CN106897115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710103925.2A CN106897115A (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
CN201710103925.2A CN106897115A (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
CN106897115A true CN106897115A (en) 2017-06-27

Family

ID=59184213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710103925.2A Pending CN106897115A (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) CN106897115A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107977254A (en) * 2017-12-05 2018-05-01 郑州云海信息技术有限公司 The response method and computer-readable recording medium asked in cloud data system
CN108900435A (en) * 2018-06-20 2018-11-27 郑州云海信息技术有限公司 A kind of method, apparatus and computer storage medium of service deployment
CN108924249A (en) * 2018-07-26 2018-11-30 浪潮电子信息产业股份有限公司 A kind of method and device for disposing OpenStack platform
CN109634717A (en) * 2018-12-10 2019-04-16 河南小明出行科技有限公司 A kind of timesharing lease SaaS multi-user services platform
CN111210262A (en) * 2019-12-25 2020-05-29 浙江大学 Spontaneous edge application deployment and pricing method based on incentive mechanism

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331332A (en) * 2014-11-04 2015-02-04 浪潮电子信息产业股份有限公司 Virtual resource preallocation algorithm based on SLA (Service Level Agreement)
US20150052250A1 (en) * 2013-08-14 2015-02-19 International Business Machines Corporation Adaptive algorithm for cloud admission policies

Patent Citations (2)

* Cited by examiner, † Cited by third party
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 preallocation algorithm based on SLA (Service Level Agreement)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曹祖凤: "多租户SaaS应用优化部署算法的研究", 《中国优秀硕士论文全文数据库信息科技辑》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107977254A (en) * 2017-12-05 2018-05-01 郑州云海信息技术有限公司 The response method and computer-readable recording medium asked in cloud data system
CN107977254B (en) * 2017-12-05 2021-07-27 郑州云海信息技术有限公司 Method for responding to request in cloud data system and computer-readable storage medium
CN108900435A (en) * 2018-06-20 2018-11-27 郑州云海信息技术有限公司 A kind of method, apparatus and computer storage medium of service deployment
CN108924249A (en) * 2018-07-26 2018-11-30 浪潮电子信息产业股份有限公司 A kind of method and device for disposing OpenStack platform
CN109634717A (en) * 2018-12-10 2019-04-16 河南小明出行科技有限公司 A kind of timesharing lease SaaS multi-user services platform
CN111210262A (en) * 2019-12-25 2020-05-29 浙江大学 Spontaneous edge application deployment and pricing method based on incentive mechanism
CN111210262B (en) * 2019-12-25 2023-10-03 浙江大学 Spontaneous edge application deployment and pricing method based on incentive mechanism

Similar Documents

Publication Publication Date Title
US11409556B2 (en) Custom placement policies for virtual machines
CN106897115A (en) SaaS software deployments method and device under a kind of cloud environment
CN103635882B (en) Controlling network is utilized
US10623481B2 (en) Balancing resources in distributed computing environments
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
CN104067260B (en) Dynamic construction is for undertaking the methods, devices and systems of one group of calculating node of amount of user effort
US9256900B2 (en) Managing service demand load relative to infrastructure capacity in a networked computing environment
CN109067890A (en) A kind of CDN node edge calculations system based on docker container
CN105094997B (en) Physical memory sharing method and system between a kind of cloud computing host node
CN108667859A (en) A kind of method and device for realizing scheduling of resource
CN103581279B (en) Access system, method and device for third-party developer
US20150058844A1 (en) Virtual computing resource orchestration
CN108337109A (en) A kind of resource allocation methods and device and resource allocation system
Lucas‐Simarro et al. Cost optimization of virtual infrastructures in dynamic multi‐cloud scenarios
CN102185926A (en) Cloud computing resource management system and method
CN109327553A (en) A kind of operation management system and method towards IaaS cloud platform
CN108076156A (en) A kind of mixing cloud system based on Chinese cloud product
CN108370328A (en) A kind of management method and device of NFV MANO policy depictions symbol
CN107479947A (en) A kind of energy consumption of virtual machine optimization method and system
CN103677983B (en) The dispatching method and device of application
CN108924249A (en) A kind of method and device for disposing OpenStack platform
US20180212831A1 (en) Reduction of management complexity of an information technology system
Liu et al. SDMS-O: A service deployment management system for optimization in clouds while guaranteeing users’ QoS requirements
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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170627