CN103905508B - Cloud platform application dispositions method and device - Google Patents

Cloud platform application dispositions method and device Download PDF

Info

Publication number
CN103905508B
CN103905508B CN201210583901.9A CN201210583901A CN103905508B CN 103905508 B CN103905508 B CN 103905508B CN 201210583901 A CN201210583901 A CN 201210583901A CN 103905508 B CN103905508 B CN 103905508B
Authority
CN
China
Prior art keywords
application
deployment
mark
node
computing resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210583901.9A
Other languages
Chinese (zh)
Other versions
CN103905508A (en
Inventor
张毅
张楚雄
朱洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210583901.9A priority Critical patent/CN103905508B/en
Priority to PCT/CN2013/083226 priority patent/WO2014101475A1/en
Publication of CN103905508A publication Critical patent/CN103905508A/en
Application granted granted Critical
Publication of CN103905508B publication Critical patent/CN103905508B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiments of the invention provide a kind of method and device of cloud platform application deployment, wherein method includes:The application deployment request that cloud service consumer device is sent is received, the application deployment request bag is included:Treat the mark of application deployment, with the information of the computing resource of the distribution of application deployment for the cloud service consumer device, according to the information of the computing resource distributed for application deployment, the existing computing resource that the application deployment that cloud service server is the cloud service consumer device are distributed is determined, the existing computing resource deployment application to be disposed is used.The cloud platform application dispositions method of the embodiment of the present invention, disposes shared node, it is possible to reduce the cost of user using existing computing resource, improves the service efficiency of computing resource.

Description

Cloud platform application dispositions method and device
Technical field
The present invention relates to Information And Communication field, more particularly to a kind of cloud platform application dispositions method and device.
Background technology
Cloud computing is delivery and the consumption mode of a kind of service.Cloud service supplier (Cloud ServiceProvider, CSP) a large amount of computing resources are got up with network connection and carries out unified management, distribution and dispatches, a huge money is constituted Source pond provides service to cloud service consumer (Cloud Service Consumer, CSC).For CSC, cloud resource can be unlimited Extension, with asking on demand, the efficiently flexible feature such as pay-per-use.
The senior open standard of information-intensive society (Advancing Open Standards for the InformationSociety, abbreviation OASIS) TOSCA (Topology and Orchestration Specification ForCloud Applications, abbreviation TOSCA) standardization application topological sum O&M flow describing mode.
According to TOSCA standards, CSC disposed on CSP servers one application when, it is necessary to by following steps:
(1) CSC sends application deployment request by CSC equipment to CSP servers, is based in the request including at least one The application deployment package of TOSCA standards description;
(2) deployment package is applied in CSP servers parsing;
(3) CSP servers are the node distribution computing resource that each deployment product type is mirror image;
(4) CSP servers perform deployment plan to complete deployment;
At present, due to deployment product (Deployment Artifact, abbreviation DA) type of the node that needs computing resource ImageArtifact types, i.e. mirror image nature can only be defined as, CSP servers can be the meter of each such node distribution independence Resource is calculated, so because respective nodes computing resource is using less, so as to cause computing resource waste.
The content of the invention
The present invention provides a kind of cloud platform application dispositions method and device for saving computing resource.
First aspect applies the method disposed there is provided a kind of cloud platform, including:Receive answering for cloud service consumer device transmission With deployment request, the application deployment request bag is included:The mark of application deployment is treated, and is the portion of the cloud service consumer device The information of the computing resource of administration's application distribution;According to the information of the computing resource distributed for application deployment, determine that cloud takes The existing computing resource that business server distributes for the application deployment of the cloud service consumer device, has been counted using described Calculate application to be disposed described in resource deployment.
In first embodiment with reference to the first invention, described information is the meter of the node distribution for the application deployment The mark of resource is calculated, the basis is that the information for the computing resource that application deployment are distributed determines that cloud service server is the cloud The existing computing resource of the distribution of application deployment of service consumption equipment, the application is disposed using the existing computing resource, Including:The meter for the node distribution that cloud service server is the application deployment is determined according to the mark of the computing resource Resource is calculated, the application to be disposed is disposed using the existing computing resource of the determination.
In second embodiment with reference to first aspect, described information is the mark of the application deployment and the portion The mark of the node of application is affixed one's name to, the basis is that the information for the computing resource that application deployment are distributed determines that cloud service server is The existing computing resource of the distribution of application deployment of the cloud service consumer device, it is described using the existing computing resource deployment Using, including:The mark from the application deployment of preservation and the application of application deployment according to the mark of the application deployment The application example mark of application deployment described in being obtained in mapping relations between instance identification, has been disposed further according to described in acquisition The application example mark of the application example mark of application and the mark of the node of the application deployment from the application deployment of preservation Described in being obtained in mapping relations between the mark of computing resource corresponding to knowledge, the node identification of application deployment and the node The mark of the corresponding computing resource of mark of the node of application deployment;Cloud service service is determined according to the mark of the computing resource Device is the existing computing resource of the node distribution of the application deployment, is disposed using the existing computing resource of the determination described Application to be disposed.
In the 4th embodiment with reference to first aspect second embodiment or the 3rd embodiment, the application deployment please Asking also includes:The mark and the deployment product of the first node of the first node for treating application deployment, the computing resource Mark be specifically carried in the deployment product of the first node;It is described to be treated using described in the existing computing resource deployment The application of deployment includes:Existing computing resource is determined according to the mark of the computing resource;According to the deployment of the first node Product disposes the first node using the existing computing resource.
In the 5th embodiment with reference to the embodiment of first aspect the 4th, in the deployment product according to the first node Disposed using the existing computing resource before the first node, methods described also includes:Application deployment are treated according to described Mark treats that the application example of application deployment is identified described in creating, and records the application example mark and the mark for treating application deployment Mapping relations between knowledge.
In the 6th embodiment with reference to the embodiment of first aspect the 5th, the deployment system according to the first node Product dispose the first node using the existing computing resource to be included:The record application example for treating application deployment identifies, The triangular mapping relations of mark of the mark of the first node and the computing resource.
In the 7th embodiment with reference to the embodiment of first aspect the 6th, the deployment system according to the first node Product dispose the first node using the existing computing resource also to be included:From the application example mark of the application deployment of preservation The mark of the computing resource is obtained in mapping relations between the mark of computing resource corresponding to knowledge, node identification and the node The application example mark of corresponding application deployment;The application example mark of application deployment based on the acquisition, from described The application example of application deployment is identified in corresponding application deployment package in the application deployment package of application deployment described in acquisition The prerequisite of plan is deleted, increases the bar that the application to be disposed has been deleted in the prerequisite of the deletion plan Part.
Second aspect is there is provided in cloud service consumer device, a kind of cloud platform application dispositions method, including:Receive application Disposition Instructions, the application Disposition Instructions include:Treat the information of the mark of application deployment and the computing resource of application deployment; Application deployment request is sent to cloud service server, the application deployment request includes the mark for treating application deployment, and The information of the computing resource of the application deployment, so that the cloud service server is provided according to the calculating of the application deployment The information in source determines the calculating money that the application deployment that cloud service server is the cloud service consumer device are distributed Source, uses the existing computing resource deployment application to be disposed.
In first embodiment with reference to second aspect, the information of the computing resource of the application deployment includes:It is described The mark of computing resource of the mark of application deployment with the mark of the node of the application deployment or for the node distribution Know.
The third aspect there is provided a kind of cloud service server, including:Receiving unit, for receiving cloud service consumer device hair The application deployment request sent, the application deployment request bag is included:The mark of application deployment is treated, and is the cloud service consumer device Application deployment distribution computing resource information;Deployment unit, for according to the calculating distributed for application deployment The information of resource, determines the calculating that the application deployment that cloud service server is the cloud service consumer device are distributed Resource, uses the existing computing resource deployment application to be disposed.
In first embodiment with reference to the third aspect, the described information that the receiving unit is received has been disposed to be described The mark of the computing resource of the node distribution of application;The deployment unit includes:Determination subelement, for being provided according to described calculate The mark in source determines the existing computing resource for the node distribution that cloud service server is the application deployment;Dispose subelement, The application to be disposed is disposed for the existing computing resource using the determination.
In second embodiment with reference to the third aspect, the described information that the receiving unit is received should for described disposed The mark of mark and the node of the application deployment, the deployment unit also includes:Subelement is obtained, for according to root According to the mark of the application deployment between the mark of the application deployment of preservation and the application example of application deployment are identified The application example mark of application deployment described in being obtained in mapping relations, the application further according to application deployment described in acquisition is real Example mark and the mark of the node of the application deployment are identified from the application example of the application deployment of preservation, application deployment Node identification and the node corresponding to computing resource mark between mapping relations in obtain described in application deployment section The mark of the corresponding computing resource of mark of point.
In the 3rd embodiment with reference to the third aspect first or second embodiment, the application that the receiving unit is received Deployment request also includes:The mark and the deployment product of the first node of the first node for treating application deployment, the meter The mark for calculating resource is specifically carried in the deployment product of the first node;The deployment subelement is specifically for according to institute The deployment product for stating first node disposes the first node using the existing computing resource.
In the 4th embodiment with reference to the embodiment of the third aspect the 3rd, the deployment unit also includes:
Create subelement, by the deployment unit according to the deployment product of the first node using it is described based on Calculate before first node described in resource deployment, the application example mark of the application is created according to the mark of the application to be disposed Know;Subelement is recorded, the mapping relations between mark for recording the application example mark and the application.
In the 5th embodiment with reference to the embodiment of the third aspect the 4th, the record subelement is additionally operable to:Note Between the mark three of application example mark, the mark of the first node and the computing resource that application deployment are treated described in record Mapping relations.
In the 6th embodiment with reference to the embodiment of the third aspect the 5th, the acquisition subelement is additionally operable to from preservation The application example marks of application deployment, the mapping relations between the mark of node identification and the computing resource corresponding to the node The application example mark of the middle corresponding application deployment of mark for obtaining the computing resource;The deployment unit also includes:Repair Change subelement, the application example mark of the application deployment based on the acquisition, from the application example mark of the application deployment The prerequisite of the deletion plan in the application deployment package of application deployment described in being obtained in corresponding application deployment package is known, in institute Stating increases the condition that the application to be disposed has been deleted in the prerequisite of deletion plan.
Fourth aspect there is provided a kind of cloud service consumer device, including:Receiving unit, applies Disposition Instructions, institute for receiving State includes using Disposition Instructions:Treat the information of the mark of application deployment and the computing resource of application deployment;Transmitting element, is used In sending application deployment request to cloud service server, the application deployment request includes the mark for treating application deployment, The information of the computing resource of application deployment, so that computing resource of the cloud service server according to the application deployment Information determine cloud service server be the cloud service consumer device the application deployment distribute existing computing resource, Use the existing computing resource deployment application to be disposed.
In first embodiment with reference to fourth aspect, also include in the application Disposition Instructions that the receiving unit is received: The mark for treating application deployment first node, the equipment also includes:Structural unit, for the mark structure according to first node The deployment product of the first node is made, the information of the computing resource of the application deployment is specifically carried at the first segment In the deployment product of point;The transmitting element is additionally operable to:The deployment product is sent to the cloud service server, in order to institute State cloud service server and the first node is disposed using the existing computing resource according to the deployment product.
Cloud platform application dispositions method of the embodiment of the present invention and device, shared node is disposed using existing computing resource, can To reduce the cost of user, the service efficiency of computing resource is improved.
Brief description of the drawings
Fig. 1 shows the applied topology figure in TOSCA standards;
Fig. 2A shows the cloud platform application dispositions method schematic flow diagram of one embodiment of the invention;
Fig. 2 B show the cloud platform application dispositions method schematic flow diagram of another embodiment of the present invention
Fig. 3 A show the cloud platform application dispositions method schematic flow diagram of further embodiment of this invention;
Fig. 3 B show that Fig. 3 step As 309 refine schematic flow diagram;
Fig. 3 C show that Fig. 3 step As 308 refine schematic flow diagram;
Fig. 4 A show the cloud platform application dispositions method application scenario diagram of one embodiment of the invention;
Fig. 4 B show the cloud platform application dispositions method schematic flow diagram of another embodiment of the present invention;
Fig. 5 A show the cloud service consumer device schematic block diagram of one embodiment of the invention;
Fig. 5 B show the cloud service consumer device schematic block diagram of another embodiment of the present invention;
Fig. 6 A show the cloud service server schematic block diagram of one embodiment of the invention;
Fig. 6 B show the cloud service server schematic block diagram of another embodiment of the present invention;
Fig. 6 C show the cloud service server schematic block diagram of further embodiment of this invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
The application scenarios of the embodiment of the present invention, the senior open standard (Advancing of information-intensive society are described below Open Standards for the Infornation Society, abbreviation OASIS) TOSCA (Topology and Orchestration Specification for Cloud Applications, abbreviation TOSCA) standardization cloud meter Calculate the topological structure of application and the describing mode of O&M flow.
The full detail needed for disposing an application is all achieved into CSAR (Cloud in cloud business in TOSCA standards Service Archive, abbreviation CSAR) application deployment package in be described.An application section is comprised at least using deployment package Administration's description file, the deployment descriptor file suffix is ste, and the deployment information of application is described with XML language.The deployment descriptor file Root element be service template ServiceTemplate, for the deployment information of complete one application of description, service template ServiceTemplate daughter element includes topological template TopologyTemplate, node type NodeType, node template NodeTemplate, relationship type RelationshipType, relationship templates RelationshipTemplate, deployment plan BuildPlan, deletion plan RemovePlan etc., their relation is as shown in Figure 1.ServiceTemplate name attributes It is worth for application identities, when server actual deployment is applied, one can be created again for the application and uniquely identified, this is designated application Instance identification.
Fig. 1 shows the TOSCA applied topology figures of one embodiment of the invention, as shown in figure 1, using opening up in TOSCA standards Template TopologyTemplate is flutterred to describe an applied topology structure.Each node is a node template in topology NodeTemplate, its identity property value is node identification, and its type is defined by node type NodeType.In node template The deployment product (Deployment Artifact, abbreviation DA) of the node can be defined in NodeTemplate, it is desirable to The deployment product DA of the node of computing resource can only be defined as mirror image product ImageArtifact types, i.e. mirror image nature.
Node type NodeType is used for definition node template NodeTemplate metadata, and which such as node possesses Attribute, is defined with Properties;With the management interface of the node, defined with Interfaces.Each Interfaces can be wrapped Containing multiple Interface, and multiple methods, i.e. operation can be included in each Interface;Each method correspondence one Method product, is defined with Implementation Artifact.Each NodeType comprises at least an Interface, should Interface comprise at least the node life cycle manage 4 methods, respectively install, uninstall, start and stop。
Each edge in topology is all a relationship templates RelationshipTemplate, relationship templates RelationshipTemplate is a relationship type RelationshipType example, defines the starting point on the side, is used SourceElement is defined;And terminal, defined with TargetElement.
Meanwhile, the description to planning Plans is also included in each application deployment package, plan includes deployment plan BuildPlan and delete plan RemovePlan, deployment/deletion plan be use standardized language (such as BPMN2.0) described in can Perform flow.Deployment/deletion plan has the prerequisite of oneself, is defined with Precondition, shows to perform before the plan Necessary condition.
Fig. 2A shows the cloud platform application dispositions method schematic flow diagram of one embodiment of the invention, as shown in Figure 2 A, should Method includes:
201st, the application deployment request that cloud service consumer device is sent is received, the application deployment request bag is included:Wait to dispose The mark of application, and be the information of the computing resource of the distribution of application deployment of the cloud service consumer device;
Specifically, cloud service server receives the application deployment request that cloud service consumer device is sent, the application deployment please Asking includes treating what the mark of application deployment and the cloud service server distributed for the application deployment of the cloud service consumer device The information of computing resource, optionally, the information of the computing resource can include the application deployment mark and this disposed should The mark of node, or be the mark of the computing resource of the node distribution.
202nd, according to the information of the computing resource distributed for application deployment, it is the cloud to determine cloud service server The existing computing resource of the application deployment distribution of service consumption equipment, is treated using described in the existing computing resource deployment The application of deployment.
If specifically, the information for the computing resource that deployment request is carried is the calculating of certain node distribution for application deployment The mark of resource, then the cloud service server can be defined as the node of the application deployment according to the mark of the computing resource The existing computing resource of distribution, application to be disposed is disposed using the existing computing resource.
If the mark that the information of the computing resource carried is the application deployment and certain of the application deployment are asked in deployment The mark of node, then cloud service server can be first according to the mark of the application deployment from the marks of the application deployment of preservation The application example that the application deployment are obtained in the mapping relations identified with the application example of the application deployment is identified, Ran Hougen According to the application example mark of acquisition and this treat application deployment node mark it is real from the application of the application deployment of preservation Obtained in example mark, the mapping relations of the mark of the mark of the node of the application deployment and the corresponding computing resource of the node with The corresponding computing resource mark of the node identification.Mark further according to the computing resource is defined as the node of the application deployment The existing computing resource of distribution, application to be disposed is disposed using the existing computing resource.
Fig. 2 B show the cloud platform application dispositions method schematic flow diagram of one embodiment of the invention, as shown in Fig. 2 the cloud Platform application dispositions method includes:
203rd, the application deployment request that cloud service consumer device is sent is received, the application deployment request bag is included:Wait to dispose The application deployment descriptor file of application, this using deployment descriptor file include treat application deployment mark, this treat application deployment The mark of the corresponding computing resource of node of the mark of first node and application deployment;
Sent out specifically, cloud service server receives cloud service messaging device according to the application Disposition Instructions of cloud service consumer The application deployment request sent, at least includes the mark for quoting the corresponding computing resource of node of application deployment in deployment request Application deployment descriptor file, this using deployment descriptor file at least include treat application deployment mark, this treat application deployment The deployment product of first node, the deployment product of the first node quotes the mark of the computing resource.
Optionally, the node for treating the application deployment corresponding with the mark of the computing resource of the first node of application deployment Type it is consistent.
In a kind of optional embodiment, CSC equipment receives the application Disposition Instructions that CSC is sent, and this applies Disposition Instructions Include the mark of the corresponding computing resource of node of application deployment, treat the mark of application deployment, and this treats application deployment The mark of the middle shared node using existing computing resource, wherein shared node are the node disposed using existing computing resource;
Optionally, the mark for applying the corresponding computing resource of node that can not also include application deployment in Disposition Instructions Know, and only carry the mark of the mark of application deployment and the node of the application deployment, CSC equipment can have been disposed according to this The mark and application deployment of the mark of application and the mark of the node of the application deployment from the application deployment locally preserved Application example mark between mapping relations and application deployment instance identification, the mark of application deployment node and the node pair The mark of the corresponding computing resource of node of application deployment is obtained in mapping relations between the mark for the computing resource answered, or CSC equipment is according to the mark of the application deployment and the mark of the node of the application deployment to cloud service server acquisition request With the mark of the corresponding computing resource of mark of the node of the application deployment.
Optionally, this, which is applied in Disposition Instructions, to apply required other information including disposing this, such as:This waits to dispose The deployment product information and the information such as deployment plan of the unshared node of application, wherein unshared node is without using having counted Calculate the node of resource deployment.
Further, CSC equipment can according to the mark of the corresponding computing resource of node of the application deployment of acquisition with And the deployment received this treat other information needed for application deployment, such as:The deployment product information of unshared node, treats application deployment Mark, the information structuring application deployment package such as the identifying of shared node, the mark of unshared node and deployment plan, after construction Application deployment package at least apply deployment descriptor file including one.This is at least described using deployment descriptor file treats that deployment should The information of mark and shared node.Shared node information can include shared node identify and shared node reference The deployment product of the mark of the corresponding computing resource of node of application deployment.
Optionally, this can also include the deployment plan for treating application deployment using deployment package.
Optionally, this can also describe unshared nodal information using deployment descriptor file, and the unshared nodal information can To include the deployment product of unshared node identification and the unshared node.
CSC equipment sends the application deployment package of construction to CSP servers, in order to this after application deployment package has been constructed CSP servers are applied in deployment package according to this and dispose the application to be disposed.
204th, the mark of the computing resource in the application deployment descriptor file determines existing computing resource, uses this Existing computing resource deployment first node;
Specifically, corresponding calculate of node of application deployment of the CSP servers in application deployment descriptor file provides The mark in source determines existing computing resource, and the deployment product of the shared node in the application deployment description uses the acquisition Existing computing resource deployment shared node.
Optionally, CSP servers can also be the new computing resource of unshared node distribution, use the new computing resource The unshared node is disposed according to the deployment product of the unshared node.
The cloud platform application dispositions method of the embodiment of the present invention, should using the deployment of existing computing resource in application deployment With, it is possible to reduce user cost, improves the service efficiency of computing resource.
Fig. 3 A show the cloud platform application dispositions method schematic flow diagram of another embodiment of the present invention, as shown in figure 3, should Cloud platform application dispositions method includes:
301st, CSC equipment receives and applies Disposition Instructions, and the instruction includes the computing resource of the node of application deployment The mark of information, the mark for treating application deployment and the shared node using existing computing resource;
302nd, the mark of the computing resource of the node of application deployment is determined according to the information of the computing resource;
303rd, CSC equipment should according to the mark, the mark for treating application deployment, the mark of shared node of the computing resource construction Use deployment package;
304th, CSC equipment sends application deployment request to CSP servers, and the application deployment request includes step 303 structure The application deployment package made;
305th, CSP servers parsing application deployment package obtains the mark for treating application deployment, creates this and treats answering for application deployment With instance identification, and record the mapping relations between the mark and application example mark that this treats application deployment;
306th, CSP servers set currently processed node as node currently to be disposed, and obtain current section to be disposed The mark of point;
307th, CSP servers judge whether current node to be disposed is shared node;
Specifically, CSP servers can judge current section to be disposed according to the deployment product of node currently to be disposed Whether point is shared node, specifically, whether refer to application deployment in the deployment product of the current node to be disposed of judgement Node computing resource mark, if quoting, node currently to be disposed is shared node, is otherwise unshared node.
Optionally, CSP servers can also be according to the mark of node currently to be disposed and identifying whether for shared node Unanimously judge whether present node is shared node, if unanimously, the node currently disposed is shared node, if inconsistent, Present node is unshared node;
If the 308, current node to be disposed is unshared node, CSP servers obtain current node to be disposed Product is disposed, according to the current node to be disposed of deployment product deployment of the present node;
Specifically, step 308 is as shown in Figure 3 C, including:
3081st, parsing application deployment package obtains the deployment product reference resource type of current node to be disposed;
3082nd, judge that the deployment product of the node currently to be disposed quotes whether resource type is non-mirror image nature;
If it is non-mirror image nature that the 3083, the deployment product of the node currently to be disposed, which quotes resource type, show this Current node to be disposed does not need computing resource, and directly record treats the application example mark, current to be disposed of application deployment Mapping relations between the mark of computing resource corresponding to the mark of node and current node to be disposed.Optionally, because working as Before node to be disposed do not need computing resource, can represent that computing resource is identified with spcial character, such as " Null ".
If it is mirror image nature, parsing application that the 3084, the deployment product of the node currently to be disposed, which quotes resource type, Deployment package obtains the reference resource in deployment product, and the reference resource is image file, for the new computing resource of the node distribution And load deployment product resource referred to by, the i.e. image file;The mark of new computing resource is created, and records this and waits to dispose Mapping between the mark of the application example mark of application, the mark of current node to be disposed and the computing resource of the establishment is closed System.
If the 309, current node to be disposed is shared node, CSP servers parsing application deployment package, which is obtained, currently to be treated The mark of the computing resource of the node for the application deployment quoted in the deployment product for disposing node, and according to the computing resource Mark obtains existing computing resource to dispose current node to be disposed.
Specifically, such as Fig. 3 B show that Fig. 3 step As 309 refine schematic flow diagram, step 309 is specifically included:
3091st, the application deployment quoted in the deployment product for parsing the current node to be disposed of application deployment package acquisition The mark of the computing resource of node;
3092nd, existing computing resource is determined according to the mark of the computing resource;
3093rd, determine that the existing computing resource is normally run;
Specifically, whether the state of the existing computing resource of CSP servers inspection is " Run " state, i.e. normal operating condition, If the non-state of existing computing resource is " Run " state, the start methods of the node corresponding to existing computing resource are called, The node is started according to the corresponding node start methods, the existing computing resource state of the node is more changed into " Run " shape State.
It should be noted that when CSP server dispositions have the application deployment corresponding to computing resource, this can have been safeguarded Mapping relations between the mark of the mark of the node of application deployment and the corresponding computing resource of the node, based on application deployment The mark of the computing resource of node can obtain the mark of the corresponding node, and have the every of application corresponding to computing resource One node can all have four methods of life cycle management, i.e. install, uninstall, start and stop.Four sides Method is described in the application deployment descriptor file of the node.
3094th, the mark based on the computing resource obtains the application of the application deployment corresponding to the mark of the computing resource Instance identification;
, all can maintenance application mark, application example mark, the application because CSP servers are when deployment is each applied Mapping relations between the mark of computing resource corresponding to the mark of node and the node identification, based on the mapping relations, CSP clothes The application example mark of application deployment of the business device according to corresponding to the mark of computing resource can obtain the mark of the computing resource Know.
3095th, the application example mark of the application deployment according to corresponding to the mark of the computing resource of acquisition is obtained and repaiied Change the prerequisite of the plan of application deployment deletion;
Specifically, the application deployment corresponding to existing computing resource have deletion plan and the prerequisite bar of the deletion plan Part.Because existing computing resource can be treated that application deployment are used now, thus having disposed corresponding to existing computing resource should Deletion is planned to must assure that the application to be disposed has been deleted before execution, i.e., in " REMOVED " state.Therefore need Application deployment corresponding to the mark of the computing resource of the node of application deployment are deleted to the prerequisite modification of plan For " application to be disposed has been deleted "
3096th, record treats the application example mark, the mark of current node to be disposed and application deployment of application deployment Node computing resource mark between mapping relations.
310th, CSP servers perform deployment plan and complete deployment.
The cloud platform application dispositions method of the embodiment of the present invention, directly should using existing resource deployment for shared node With, it is possible to reduce the cost of user, improves the service efficiency of computing resource.
When below with CSC application deployment B, it is expanded on further exemplified by the computing resource deployment using application A MySql nodes The cloud platform application dispositions method of another embodiment of the present invention.
Fig. 4 A show the application scenario diagram of one embodiment of the invention, as shown in Figure 4 A, and one is deployed in cloud platform in CSC After individual Web applications A10, after Web applications A10 operations, CSC needs deployment Web application B11, the Web applications B11 and Web should A10 topological coherences are used, due to Web application A10 visit capacities less, the resource load of its MySQL node 101 is relatively low, so CSC determines Determine the Web application B11 and Web applications A10 same computing resource of MySQL nodes sharings to save cost.Wherein Web applications B11 MySQL nodes 111 be referred to as shared node, other nodes of Web applications B11 are all unshared node.
Fig. 4 B show the cloud platform application dispositions method schematic flow diagram of another embodiment of the present invention, as shown in Figure 4 B, This method includes:
401st, CSC equipment, which is received, applies Disposition Instructions, and the instruction includes the computing resource of the MySql nodes using A Information;
Specifically, application B to be disposed application identities are appB, it is respectively using all node identifications of B:AppWarB、 DbB, Apache, MySql, node topology figure can refer to shown in Fig. 4 A.
The flow of deployment plan is:(1) application deployment War bags;(2) MySql nodes are run;(3) installation data library file; (4) network information of MySql nodes, such as IP and port numbers are obtained;(5) using the network information pair of the MySql nodes obtained Apache nodes are configured;(6) MySql nodes are stopped;
Deployment plan is defined as follows:
BuildPlan:
(1)AppWarB.install();//install methods are defined in node AppWarB NodeType;
(2)MySql.start();//start methods are defined in node M ySql NodeType;
(3)DbB.install();//install methods are defined in node DbB NodeType;
(4)MySql.retrieveNetAdd();//retrieveNetAdd methods are defined on node M ySql's In NodeType;
(5)Apache.config();//config methods are defined in node Apache NodeType;
(6)MySql.stop();//stop methods are defined in node M ySql NodeType;
In TOSCA standards, deployment product DA can be defined in the following way:
ArtifactType is defined first, represents the type of resource cited in DA.For example:Represent mirror image nature ArtifactType is defined as follows:
<ArtifactType name=" ImageArtifact "
TargetNamespace=" http://docs.oasisopen.org/tosca/ns/2011/12/ Artifacts″/>
Wherein attribute name describes the mark of the ArtifactType, and attribute targetNamespace describes this ArtifactType NameSpace.
ArtifactTemplate can be defined based on ArtifactType, money is quoted in ArtifactTemplate Source, for example quoting the ArtifactTemplate of an Apache image file can be defined as below, and it is designated
Wherein, mark describes the mark of the ArtifactTemplate, and type describes the ArtifactTemplate Type, each ArtifactTemplate can define multiple ArtifactReference, be defined on Under ArtifactReferences, each ArtifactReference has attribute reference to quote resource, such as this example In, it refer to image file Apache.xva.
Node Apache and its DA can be defined as below:
DA attribute name describes the mark of the DA, and artifactRef describes DA references ArtifactTemplate, attribute artifactType describe cited ArtifactTemplate type.In this example, The DA that Apache node definitions one are designated ApacheDA, the DA quote ApacheAT, and ApacheAT refer to mirror image File Apache.xva.That is, Apache.xva can be used to dispose the Apache nodes.
For simplicity, the complete definition of 3 unshared node DA using B is not given here, egress mark is only given Know, DA quotes the type of resource, quote the mapping relations of resource.Table 1 is the node identification of the application unshared nodes of B, DA references The type of resource, the mapping table for quoting resource
Node identification DA quotes the type of resource Quote resource
AppWarB WarArtifact appB.war
DbB DbArtifact appBDB.mysql
Apache ImageArtifact Apache.xva
Table 1
Wherein the first row illustrates that node AppWarB DA is a War bag, and War Packet types are defined with WarArtifact, Reference resource is appB.war;Second row illustrates that node DbB DA is a database file, and database file types are used DbArtifact is defined, and reference resource is appBDB.mysql;The third line illustrates that node Apache DA is a mirror image, mirror image Type is defined with ImageArtifact, and reference resource is Apache.xva.
Because existing computing resource is the computing resource of the MySql nodes using A, if CSP servers are application, A is created Application example is designated appA1, node corresponding to the application example mark and existing computing resource corresponding to existing computing resource Mark be respectively appA1 and MySql.
402nd, the mark of the computing resource of the node of application deployment is determined according to the information of computing resource;
CSP servers are in application deployment A, the mark of meeting maintenance application instance identification, node identification and correspondence computing resource The mapping relations of knowledge, are that the mapping of the mark of application example mark, node identification and computing resource is closed in application A as shown in table 2 It is table.(wherein " Null " represents that the node does not need computing resource)
Application example is identified Node identification Correspondence computing resource mark
appA1 AppWarA Null
appA1 DbA Null
appA1 Apache appA1-Apache
appA1 MySql appA1-MySQL
Table 2
CSC equipment is after receiving using Disposition Instructions, if the information of computing resource is the node distribution for application deployment The mark of computing resource then directly parse Disposition Instructions, obtain the mark of the computing resource;
Optionally, if the information of computing resource for application deployment mark and the application deployment node mark, Then CSC equipment sends the identification request for obtaining computing resource to CSP servers, in the request after receiving using Disposition Instructions The information of the computing resource received is carried, such as:AppA1 and MySql.CSP servers can obtain this according to appA1 in request should Node resource table, i.e. table 2, further according to the node identification of application deployment in request, i.e. MySql, can be inquired about from the table 2 To the appA1-MySql that is designated of the corresponding computing resource of the node, and the appA1-MySql is sent to CSC equipment.
403rd, Structural application B application deployment package;
Specifically, the mark for the computing resource that CSC equipment is obtained according to step 402 first defines the deployment system of shared node Product DA, because in TOSCA, definition at present needs that during the DA of the node of computing resource ImageArtifact types can only be used, should Type represents that the type that DA quotes resource is mirror image, rather than has computing resource.Therefore, it is necessary to define new ArtifactType " ExistingResourceArtifact ", it is " existing computing resource " to represent that DA quotes resource type, its It is defined as follows:
<ArtifactType name=" ExistingResourceArtifact " targetNamespace=" http://docs.oasisopen.org/tosca/ns/2011/12/Artifacts″/>
Define ArtifactTemplate and specify its type to be ExistingResourceArtifact, and quote portion Affix one's name to the computing resource mark of the node of application, i.e. appA1-MySQL.
ArtifactTemplate based on definition, node M ySql and its DA can be defined as
Needed for DA definition based on above-mentioned shared node MySql, the application deployment B in the instruction of CSC equipment combinations step 401 Other information, such as:The deployment product information of unshared node, treats the mark of application deployment, the identifying of shared node, unshared section The mark and the information such as deployment plan of point can be according to TOSCA standard construction applications B application deployment packages.
404th, CSC equipment sends application B to CSP servers and disposes request, and the request includes the application B of construction application Deployment package.
405th, CSP servers parsing application B application deployment package, obtains the mark for treating application deployment, creates and treats that deployment should Application example is identified, and records the mapping relations of mark that this treats application deployment and application example mark, and treats portion according to this The application deployment package of administration's application progressively handles four nodes for treating application deployment;
Specifically, CSP servers are in application deployment, application example mark, and maintenance application mark can be created for the application Know the mapping relations identified with application example.In this step, CSP servers parse the application deployment package using B first, obtain Application identities are appB;Then create application example and be designated appB1, and record what is identified using B mark and application example Application identities and the mapping table of application example mark that mapping relations, such as table 3 are application B.
Application identities Application example is identified
appB appB1
Table 3
The handling process of four nodes is as follows:
Handle node AppWarB flow:
Step 411:If current node to be disposed is AppWarB, then the mark of node currently to be disposed is AppWarB;
Step 412:The type for obtaining node AppWarB reference resource is WarArtifact, rather than ExistingResourceArtifact, decision node AppWarB are unshared nodes sharing node, skip to step 413.
Step 413 includes:
Step 413.1:It is mirror image nature for WarArtifact, not to judge that DA quotes resource type, skips to step 413.2;
Step 413.2:Record application B application example mark (appB1), current node identification to be disposed (AppWarB), the mark (i.e. " Null ") of computing resource corresponding to current node to be disposed, the results are shown in Table 4 sections for being application B Point AppWarB and application example mark and the mapping table of the mark of computing resource.
Application example is identified Node identification Correspondence computing resource mark
appB1 AppWarB Null
Table 4
Handle node DbB flow:
Step 421:If current node to be disposed is DbB, node identification as DbB currently to be disposed;
Step 422:The DA for obtaining node DbB quotes the type of resource for DbArtifact, rather than ExistingResourceArtifact, decision node DbB are unshared node, skip to step 423.
Step 423:
Step 423.1:It is mirror image nature for DbArtifact, not to judge that DA quotes resource type, skips to step 423.2;
Step 423.2:Record application example mark (appB1), current node identification (DbB) to be disposed, currently treat portion Computing resource mark (i.e. " Null "), the results are shown in Table 5 corresponding to the node identification of administration, for application B node DbB and application example The mapping table of the mark of mark and computing resource.
Application example is identified Node identification Correspondence computing resource mark
appB1 DbB Null
Table 5
Handle node Apache flow:
Step 431:If current node to be disposed is Apache, the mark as Apache of node currently to be disposed;
Step 432:The DA for obtaining node Apache quotes the type of resource for ImageArtifact, rather than ExistingResourceArtifact, decision node Apache are unshared node, skip to step 433.
Step 433:
Step 433.1:Judge that DA quotes resource type for ImageArtifact, be mirror image nature, skip to step 433.2;
Step 433.2:CSP servers parsing application deployment package, which is obtained in deployment product, quotes resource Apache.xva, point With computing resource and load Apache.xva, create computing resource and be designated appB1-Apache, and record application example mark, The mapping relations of the node identification of current node to be disposed, the computing resource mark created, are shown in Table 6 nodes for being application B Apache and application example mark and the mapping table of computing resource
Application example is identified Node identification Correspondence computing resource mark
appB1 DbB appB1-Apache
It is shown in Table 6
Handle node M ySql flow:
Step 441:If current node to be disposed is MySql, node identification as MySql currently to be disposed;
Step 442:The DA for obtaining node M ySql quotes the type of resource for ExistingResourceArtifact, sentences Disconnected node M ySql is shared node, skips to step 443.
Step 443 includes:
Step 443.1:Parsing application deployment package obtains the computing resource quoted in current node deployment product to be disposed Be designated appA1-MySQL;
Step 443.2:The state for checking existing computing resource appA1-MySQL is " RUN ", therefore need not call start side Method;
Step 443.3:Because CSP servers understand maintenance application A application identities, application example mark in application deployment A Knowledge, node identification, the mapping relations of the mark of corresponding computing resource, are shown in Table 7 and table 8
The mapping table identified using A application identities and application example
Application identities Application example is identified
appA appA1
Table 7
Using A node M ySQL and application example mark and the mapping table of computing resource
Application example is identified Node identification Correspondence computing resource mark
appA1 MySQL appA1-MySQL
Table 8
Therefore, application example corresponding with the mark of the computing resource can be searched according to appA1-MySQL based on table 8 to identify For appA1, then it appA1 is designated according to application example based on table 7 can search corresponding application identities for appA.
Step 443.4:According to application identities, appA deletion plan is obtained, if being originally not provided with prerequisite, now It is changed to
The description language of prerequisite can be the recognizable standard language of any server, pass through attribute ExpressionLanguage is indicated.For the sake of simplicity, the present embodiment has used natural language description, i.e., using A deletion plan Executable necessary condition be using B state be REMOVED (be deleted).
Step 443.5:Record application example mark (appB1), the mark (MySQL) of current node to be disposed, calculate The mapping relations of resource identification (appA1-MySQL), are shown in Table 9
Using B node M ySQL and application example mark and the mapping table of computing resource
Application example is identified Node identification Correspondence computing resource mark
appB1 MySQL appA1-MySQL
Table 9
Step 11:Perform deployment plan.
Specifically, the flow of deployment plan is:(1) application deployment War bags;(2) MySql nodes are run;(3) installation data Library file;(4) network information of MySql nodes, such as IP and port numbers are obtained;(5) using the network of the MySql nodes obtained Information is configured to Apache nodes;(6) MySql nodes are stopped.Execution deployment plan is prior art, is no longer gone to live in the household of one's in-laws on getting married herein State.
Fig. 5 A show the cloud service consumer device schematic block diagram of one embodiment of the invention, including:
Receiving unit 501, applies Disposition Instructions, the application Disposition Instructions include for receiving:Treat application deployment The information of mark and the computing resource of application deployment, optionally, the information of the computing resource includes:The application deployment The mark of mark and the node of the application deployment, or be the mark of the computing resource of the node distribution of the application deployment Know;
Transmitting element 504, for sending application deployment request to cloud service server, the application deployment request includes The mark for treating application deployment, and the computing resource of application deployment information so that the cloud service server is according to institute The information for stating the computing resource of application deployment determines that cloud service server has been disposed for the described of cloud service consumer device Using the existing computing resource of distribution, the existing computing resource deployment application to be disposed is used.
Optionally, the equipment can also include acquiring unit 502, be connected with receiving unit 501, for according to receiving unit The identification information of application deployment in the application Disposition Instructions of reception obtains the mark of computing resource;
Optionally, the application Disposition Instructions that receiving unit 501 is received are also including the use of the shared of the existing computing resource The mark of node, optional equipment can also include structural unit 503, be connected with acquiring unit 502, for single according to obtaining The deployment product of the mark for the computing resource that member 502 is obtained and the mark construction shared node of the shared node, it is described Dispose the mark that product quotes the computing resource;
The transmitting element 504, is connected with structural unit 503, the shared node for being additionally operable to construct structural unit 503 Deployment product gives cloud service server, so that the cloud service server uses the existing computing resource according to the deployment product Dispose the shared node.
Optionally, the deployment product of unshared node can also be included in the application deployment request that receiving unit 501 is received And the mark of unshared node, the transmitting element 504 is additionally operable to send the unshared node to the cloud service server Deployment product, in order to which the cloud service server is the new computing resource of the unshared node distribution, according to described non- The deployment product of shared node disposes the unshared node using the new computing resource.
It should be noted that the cloud service consumer device of the embodiment of the present invention can be used for participating in or perform such as Fig. 2-Fig. 4 institutes The cloud platform application dispositions method of description.It is specific to perform flow, the content described by Fig. 2-Fig. 4 is can refer to, be will not be repeated here.
Fig. 5 B show the cloud service consumer device of further embodiment of this invention, as shown in Figure 5 B, Cloud Server consumption Equipment includes:The terminal device includes:
Processor 510, memory 512, communication interface 514 and bus 513, the processor 510, memory 512 and logical Connected between letter interface 514 by the bus 513 and complete mutual communication.
Processor 510 may be monokaryon or multinuclear CPU (Central Processing Unit, CPU), or Person be specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), or for by with It is set to the one or more integrated circuits for implementing the embodiment of the present invention.
Memory 512 can be high-speed RAM memory, or nonvolatile memory (non-volatile Memory), for example, at least one magnetic disk storage.
Memory 512 is used to deposit program 515.Specifically, program code, described program generation can be included in program 515 Code includes computer-managed instruction.
The operation program 515 of processor 510 is with execution:
Reception application Disposition Instructions, the application Disposition Instructions include:Treat the mark of application deployment and application deployment Computing resource information;
Send application deployment request to cloud service server, application deployment request include described in treat application deployment Mark, and the computing resource of the application deployment information so that the cloud service server according to described in application deployment Computing resource information determine cloud service server be the cloud service consumer device the application deployment distribution There is computing resource, use the existing computing resource deployment application to be disposed.
Specifically, the Cloud Server consumer device of the embodiment of the present invention may participate in the implementation performed as described by Fig. 2-Fig. 4 Example, here is omitted.
Fig. 6 A show the cloud service server schematic block diagram of one embodiment of the invention, as shown in Figure 6A, cloud service clothes Business device, including:
Receiving unit 601, the application deployment request for receiving the transmission of cloud service consumer device, the application deployment request Including:The mark of application deployment is treated, and is the information of the computing resource of the distribution of application deployment of the cloud service consumer device;
Deployment unit 602, for the information according to the computing resource distributed for application deployment, determines that cloud service takes The existing computing resource that business device distributes for the application deployment of the cloud service consumer device, money has been calculated using described The source deployment application to be disposed.
Optionally, the described information that receiving unit 601 is received is the corresponding computing resource of node of the application deployment Mark;
The deployment unit 602 further comprises:
Determination subelement 6021, for determining that cloud service server has been disposed to be described according to the mark of the computing resource The existing computing resource of the node distribution of application;The deployment subelement 6022 being connected with determination subelement, for using described true The existing computing resource deployment application to be disposed that stator unit 6021 is determined.
Optionally, the described information that the receiving unit 601 is received is the mark of the application deployment and the portion The mark of the node of application is affixed one's name to, the deployment unit 602 also includes the acquisition subelement 6023 being connected with determination subelement 6021, Mark for the mark according to the application deployment and the node of the application deployment is from the application deployment of preservation The application example of mapping relations and application deployment between mark and the application example of application deployment mark is identified, disposed Application deployment described in being obtained in mapping relations between the mark of computing resource corresponding to the node identification of application and the node Node the corresponding computing resource of mark mark.
Optionally, the application deployment request that the receiving unit 601 is received also includes:The first node for treating application deployment Mark and the first node deployment product, the mark of the computing resource is specifically carried at the portion of the first node Affix one's name in product;The deployment subelement 6022 can be specifically for determining existing computing resource according to the existing computing resource mark; The first node is disposed using the existing computing resource according to the deployment product of the first node.
Optionally, the deployment unit 602 also includes creating subelement 6024, in the basis of deployment unit subelement 6022 The deployment product of the first node is disposed before the first node using the existing computing resource, waits to dispose according to described The mark of application create the application example mark of the application;
With creating recording unit 6025 that subelement 6024 is connected, for recording described in the creating unit 6024 establishment Application example identifies the mapping relations between the mark of the application, is additionally operable to treat the application example mark of application deployment described in record Knowledge, the triangular mapping relations of the mark of the mark of the first node and the computing resource.
The acquisition subelement 6023, be additionally operable to from the application examples of the application deployment of preservation mark, node identification and The mark that the computing resource is obtained in mapping relations between the mark of computing resource corresponding to the node corresponding has been disposed The application example mark of application;
The deployment unit 602 also includes the modification subelement 6026 being connected with record subelement 6025, for based on described The application example mark of the application deployment obtained, corresponding application deployment package is identified from the application example of the application deployment The prerequisite of deletion plan in the application deployment package of application deployment described in middle acquisition, in the prerequisite bar for deleting plan Increase the condition that the application to be disposed has been deleted in part.
It should be noted that the cloud service server of the embodiment of the present invention, is retouched available for participation or execution such as Fig. 2-Fig. 4 The cloud platform application dispositions method stated.It is specific to perform flow, the content described by Fig. 2-Fig. 4 is can refer to, be will not be repeated here.
As shown in Figure 6B, it is the cloud service server schematic block diagram of further embodiment of this invention, as shown in Figure 6 C, cloud clothes Business server includes:
Processor 510, memory 512, communication interface 514 and bus 513, the processor 510, memory 512 and logical Connected between letter interface 514 by the bus 513 and complete mutual communication.
Processor 510 may be monokaryon or multinuclear CPU (Central Processing Unit, CPU), or Person be specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), or for by with It is set to the one or more integrated circuits for implementing the embodiment of the present invention.
Memory 512 can be high-speed RAM memory, or nonvolatile memory (non-volatile Memory), for example, at least one magnetic disk storage.
Memory 512 is used to deposit program 515.Specifically, program code, described program generation can be included in program 515 Code includes computer-managed instruction.
The operation program 515 of processor 510 is with execution:
The application deployment request that cloud service consumer device is sent is received, the application deployment request bag is included:Treat application deployment Mark, and for the cloud service consumer device application deployment distribute computing resource information;
According to the information of the computing resource distributed for application deployment, it is the cloud service to determine cloud service server The existing computing resource of the application deployment distribution of consumer device, waits to dispose using described in the existing computing resource deployment Using.
It should be noted that the cloud service server of the embodiment of the present invention, is retouched available for participation or execution such as Fig. 2-Fig. 4 The cloud platform application dispositions method stated.It is specific to perform flow, the content described by Fig. 2-Fig. 4 is can refer to, be will not be repeated here.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specially Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience of description and succinctly, foregoing description is The specific work process of system, device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
, can be with several embodiments provided herein, it should be understood that disclosed systems, devices and methods Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, such as multiple units or component Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or beg for The coupling each other of opinion or direct-coupling or communication connection can be the INDIRECT COUPLINGs by some interfaces, device or unit Or communication connection or electricity, mechanical or other forms are connected.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially The part contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain be defined.

Claims (18)

1. in cloud service server, a kind of cloud platform application dispositions method, including:
The application deployment request that cloud service consumer device is sent is received, the application deployment request bag is included:Treat the mark of application deployment Know, and be the information of the computing resource of the distribution of application deployment of the cloud service consumer device;
The information for the computing resource distributed according to the application deployment, determines that cloud service server sets for cloud service consumption The existing computing resource of the standby application deployment distribution, application deployment are treated using described in the existing computing resource deployment.
2. the method as described in claim 1, the information of the computing resource of the distribution of application deployment includes:It is described to have disposed The mark of the mark of application and the node of the application deployment, or provided for the calculating of the node distribution of the application deployment The mark in source.
3. method as claimed in claim 2, the information of the computing resource of the distribution of application deployment has been disposed to be described The mark of the computing resource of the node distribution of application, the information for the computing resource that application deployment described in the basis are distributed, really The existing computing resource that the application deployment that cloud service server is the cloud service consumer device are distributed is determined, using described Application deployment are treated described in existing computing resource deployment, including:
The meter for the node distribution that cloud service server is the application deployment is determined according to the mark of the computing resource Resource is calculated, the application to be disposed is disposed using the existing computing resource of the determination.
4. method as claimed in claim 2, the information of the computing resource of the distribution of application deployment should for described disposed The mark of mark and the node of the application deployment, the letter for the computing resource that application deployment described in the basis are distributed Breath, determines the existing computing resource that the application deployment that cloud service server is the cloud service consumer device are distributed, makes Application deployment are treated with described in the existing computing resource deployment, including:
According to the mark of the application deployment from the application deployment of preservation mark and application deployment application example mark The application example mark of application deployment described in being obtained in mapping relations between knowledge, further according to application deployment described in acquisition Application example identify and the application deployment node mark from the application examples of the application deployment of preservation mark, portion Affix one's name to have disposed described in obtaining in the mapping relations between the mark of the computing resource corresponding to the node identification and the node of application and answer The mark of the corresponding computing resource of mark of node;
The meter for the node distribution that cloud service server is the application deployment is determined according to the mark of the computing resource Resource is calculated, the application to be disposed is disposed using the existing computing resource of the determination.
5. method as claimed in claim 3, the application deployment request also includes:
The mark and the deployment product of the first node of the first node for treating application deployment, the mark of the computing resource Specifically it is carried in the deployment product of the first node;
It is described to be included using the existing computing resource deployment application to be disposed:
The first node is disposed using the existing computing resource according to the deployment product of the first node.
6. method as claimed in claim 5, the existing computing resource is being used according to the deployment product of the first node Dispose before the first node, methods described also includes:
Treat that the application example of application deployment is identified according to being created the mark for treating application deployment, treat that deployment should described in record Application example identifies the mapping relations between the mark for treating application deployment.
7. method as claimed in claim 6, the deployment product according to the first node has calculated money using described The first node is disposed in source to be included:
The mark of application example mark, the mark of the first node and the computing resource of application deployment is treated described in record Triangular mapping relations.
8. method as claimed in claim 7, the deployment product according to the first node has calculated money using described The first node is disposed in source also to be included:
Between the mark of the computing resource corresponding to application example mark, node identification and the node from the application deployment of preservation Mapping relations in obtain the computing resource the corresponding application deployment of mark application example mark;
The application example mark of application deployment based on the acquisition, correspondence is identified from the application example of the application deployment Application deployment package in obtain the prerequisite of deletion plan in the application deployment packages of the application deployment, in the deletion Increase the condition that the application to be disposed has been deleted in the prerequisite of plan.
9. in cloud service consumer device, a kind of cloud platform application dispositions method, including:
Reception application Disposition Instructions, the application Disposition Instructions include:Treat the mark of application deployment and the meter of application deployment Calculate the information of resource;
Application deployment request is sent to cloud service server, the application deployment request includes the mark for treating application deployment Know, and the computing resource of the application deployment information so that the cloud service server application deployment according to The information of computing resource determines having for the application deployment distribution that cloud service server is the cloud service consumer device Computing resource, uses the existing computing resource deployment application to be disposed.
10. method as claimed in claim 9, the information of the computing resource of the application deployment includes:Described disposed should The mark of mark and the node of the application deployment, or be the mark of the computing resource of the node distribution.
11. a kind of cloud service server, including:
Receiving unit, the application deployment request for receiving the transmission of cloud service consumer device, the application deployment request bag is included:Treat The mark of application deployment, and be the information of the computing resource of the distribution of application deployment of the cloud service consumer device;
Deployment unit, for the information of the computing resource of the distribution of application deployment according to, it is institute to determine cloud service server The existing computing resource of the application deployment distribution of cloud service consumer device is stated, the existing computing resource deployment institute is used State application to be disposed.
12. server as claimed in claim 11, the described information that the receiving unit is received is for the application deployment Node distribution computing resource mark;
The deployment unit includes:
Determination subelement, for determining section of the cloud service server for the application deployment according to the mark of the computing resource The existing computing resource of point distribution;
Subelement is disposed, the application to be disposed is disposed for the existing computing resource using the determination.
13. server as claimed in claim 11, the described information that the receiving unit is received is the application deployment The mark of mark and the node of the application deployment, the deployment unit also includes:
Subelement is obtained, is answered for the mark according to the application deployment from the mark of the application deployment of preservation and having disposed The application example mark of application deployment described in being obtained in mapping relations between application example mark, further according to the institute of acquisition State mark the answering from the application deployment of preservation of the application example mark of application deployment and the node of the application deployment Obtained in mapping relations with instance identification, between the mark of the node identification of application deployment and the computing resource corresponding to the node Take the mark of the corresponding computing resource of mark of the node of the application deployment.
14. server as claimed in claim 12, the application deployment request that the receiving unit is received also includes:It is described to treat portion The mark and the deployment product of the first node of the first node of application are affixed one's name to, the mark of the computing resource is specifically carried at In the deployment product of the first node;
The deployment subelement according to the deployment product of the first node using the existing computing resource specifically for being disposed The first node.
15. server as claimed in claim 14, the deployment unit also includes:
Subelement is created, for having been calculated in the deployment subelement according to the deployment product of the first node using described Before first node described in resource deployment, treat that the application of application deployment is real according to being created the mark of the application to be disposed Example mark;
Subelement is recorded, for recording between the application example mark for treating application deployment and the mark for treating application deployment Mapping relations;The record subelement be additionally operable to the record application example for treating application deployment identify, the first node The triangular mapping relations of mark of mark and the computing resource.
16. server as claimed in claim 13, the acquisition subelement, are additionally operable to the application from the application deployment of preservation The computing resource is obtained in mapping relations between the mark of computing resource corresponding to instance identification, node identification and the node The corresponding application deployment of mark application example mark;The deployment unit also includes:
Change subelement, the application example mark of the application deployment based on the acquisition, from the application of the application deployment The prerequisite bar of deletion plan in the application deployment package of application deployment described in being obtained in the corresponding application deployment package of instance identification Part, increases the condition that the application to be disposed has been deleted in the prerequisite of the deletion plan.
17. a kind of cloud service consumer device, including:
Receiving unit, applies Disposition Instructions, the application Disposition Instructions include for receiving:Treat the mark and of application deployment The information of the computing resource of application deployment;
Transmitting element, for sending application deployment request to cloud service server, the application deployment request includes described treat The mark of application deployment, and the computing resource of application deployment information so that the cloud service server is according to the portion The information for affixing one's name to the computing resource of application determines that the application deployment that cloud service server is the cloud service consumer device divide The existing computing resource matched somebody with somebody, uses the existing computing resource deployment application to be disposed.
18. also include in equipment as claimed in claim 17, the application Disposition Instructions that the receiving unit is received:It is described to treat portion The mark of administration's application first node, the equipment also includes:
Structural unit, the deployment product for constructing the first node according to the mark of first node, the application deployment Identification information be specifically carried in the deployment product of the first node;
The transmitting element is additionally operable to:The deployment product is sent to the cloud service server, in order to which the cloud service takes Business device disposes the first node according to the deployment product using the existing computing resource.
CN201210583901.9A 2012-12-28 2012-12-28 Cloud platform application dispositions method and device Active CN103905508B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210583901.9A CN103905508B (en) 2012-12-28 2012-12-28 Cloud platform application dispositions method and device
PCT/CN2013/083226 WO2014101475A1 (en) 2012-12-28 2013-09-10 Cloud platform application deployment method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210583901.9A CN103905508B (en) 2012-12-28 2012-12-28 Cloud platform application dispositions method and device

Publications (2)

Publication Number Publication Date
CN103905508A CN103905508A (en) 2014-07-02
CN103905508B true CN103905508B (en) 2017-07-28

Family

ID=50996663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210583901.9A Active CN103905508B (en) 2012-12-28 2012-12-28 Cloud platform application dispositions method and device

Country Status (2)

Country Link
CN (1) CN103905508B (en)
WO (1) WO2014101475A1 (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592130B (en) * 2014-09-26 2019-04-05 华为技术有限公司 A kind of service arrangement method, service management and device
CN104618164B (en) * 2015-02-12 2018-12-21 北京航空航天大学 The management method of cloud computing platform application rapid deployment
CN110806920B (en) * 2015-09-10 2022-12-13 华为云计算技术有限公司 Mirror image deployment method and device
CN107147509B (en) * 2016-03-01 2022-03-11 中兴通讯股份有限公司 Virtual private network service implementation method, device and communication system
CN107766042A (en) * 2016-08-23 2018-03-06 南京中兴软件有限责任公司 A kind of visual data manager and device of the model file based on CSAR
CN107786517B (en) * 2016-08-30 2020-11-03 中国电信股份有限公司 Deployment method and system of cloud security service and security control system
WO2019095154A1 (en) 2017-11-15 2019-05-23 华为技术有限公司 Method and device for scheduling acceleration resources, and acceleration system
CN110740069B (en) * 2019-11-18 2022-06-03 中国银行股份有限公司 Cross-cloud-platform hosting device and method
CN113645262A (en) * 2020-05-11 2021-11-12 中兴通讯股份有限公司 Cloud computing service system and method
EP4057144A1 (en) * 2021-03-12 2022-09-14 Atos Spain S.A. Control interface for the deployment of an application, system and method using such a control interface
EP4290819A4 (en) * 2021-03-18 2024-06-26 Huawei Technologies Co., Ltd. Service deployment method, apparatus, and system
CN115118585B (en) * 2021-03-18 2024-10-11 华为技术有限公司 Service deployment method, device and system
CN113515288B (en) * 2021-04-26 2024-02-23 中国工商银行股份有限公司 Automatic deployment method and device based on release unit
US20220353341A1 (en) * 2021-04-28 2022-11-03 Attini Cloud Solutions International AB Efficient deployment of cloud resources
CN115150242B (en) * 2022-06-23 2023-04-25 北京青云科技股份有限公司 Deployment method and system of PaaS application

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938416A (en) * 2010-09-01 2011-01-05 华南理工大学 Cloud computing resource scheduling method based on dynamic reconfiguration virtual resources
CN102222090A (en) * 2011-06-02 2011-10-19 清华大学 Mass data resource management frame under cloud environment
CN102567119A (en) * 2011-12-31 2012-07-11 曙光信息产业股份有限公司 Cloud computing equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2002250260A1 (en) * 2001-03-08 2002-11-05 Tririga, Inc. Data storage and access system employing clustering of servers

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938416A (en) * 2010-09-01 2011-01-05 华南理工大学 Cloud computing resource scheduling method based on dynamic reconfiguration virtual resources
CN102222090A (en) * 2011-06-02 2011-10-19 清华大学 Mass data resource management frame under cloud environment
CN102567119A (en) * 2011-12-31 2012-07-11 曙光信息产业股份有限公司 Cloud computing equipment

Also Published As

Publication number Publication date
WO2014101475A1 (en) 2014-07-03
CN103905508A (en) 2014-07-02

Similar Documents

Publication Publication Date Title
CN103905508B (en) Cloud platform application dispositions method and device
US11106743B2 (en) Binding traits to case nodes
CN109542980A (en) A kind of data processing method, device, equipment and the medium of block chain
US9396448B2 (en) Distributed and open schema interactions management system and method
CN107203541A (en) Page loading method and its page loading device
CN108289034A (en) A kind of fault discovery method and apparatus
CN104780221B (en) Medium-sized and small enterprises intellectual property synthetic service platform system
CN113672352B (en) Method and device for deploying federal learning task based on container
CN106572054A (en) Distributed lock service realization method and device for distributed system
Yoon et al. A distributed framework for reliable and efficient service choreographies
CN104935660B (en) A kind of cloud program development operating system, method and device
CN108572845A (en) The upgrade method and related system of distributed micro services cluster
CN103532808A (en) Enterprise service bus for integrating rule engine
Chen et al. Redundant service removal in QoS-aware service composition
US20160292581A1 (en) Minimized processing of streaming changes into a semantic reasoner
CN108062243A (en) Generation method, task executing method and the device of executive plan
CN108874671A (en) Testing case management, device, system and storage medium
CN106547646A (en) A kind of data backup and restoration methods, data backup and recovery device
CN113095824A (en) Asset management method and device based on block chain and electronic equipment
Wu Cross-chain workflow model based on trusted relay
CN107968798A (en) A kind of network management resources label acquisition method, cache synchronization method, apparatus and system
US7979361B2 (en) Composition of web services using representations
US20160292574A1 (en) Automatic determination and just-in-time acquisition of data for semantic reasoning
CN108874415A (en) Upgrading recommender system in enterprise&#39;s cloud system migration
CN108829709A (en) Distributed database management method, apparatus, storage medium and processor

Legal Events

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