CN103905508B - Cloud platform application dispositions method and device - Google Patents
Cloud platform application dispositions method and device Download PDFInfo
- 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
- deployed
- identifier
- node
- deployment
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network 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
本发明实施例提供了一种云平台应用部署的方法及装置,其中方法包括:接收云服务消费设备发送的应用部署请求,所述应用部署请求包括:待部署应用的标识,和为所述云服务消费设备的已部署应用分配的计算资源的信息,根据所述为已部署应用分配的计算资源的信息,确定云服务服务器为所述云服务消费设备的所述已部署应用分配的已有计算资源,使用所述已有计算资源部署所述待部署的应用。本发明实施例的云平台应用部署方法,利用已有计算资源部署共享节点,可以减少用户的成本,提高计算资源的使用效率。
Embodiments of the present invention provide a method and device for cloud platform application deployment, wherein the method includes: receiving an application deployment request sent by a cloud service consumer device, where the application deployment request includes: an identification of the application to be deployed, and an application for the cloud information about the computing resources allocated by the deployed application of the service consuming device, and determine the existing computing resources allocated by the cloud service server for the deployed application of the cloud service consuming device according to the information about the computing resources allocated for the deployed application Resources, using the existing computing resources to deploy the application to be deployed. The cloud platform application deployment method of the embodiment of the present invention uses existing computing resources to deploy shared nodes, which can reduce user costs and improve computing resource usage efficiency.
Description
技术领域technical field
本发明涉及信息与通信领域,尤其涉及一种云平台应用部署方法及装置。The present invention relates to the field of information and communication, in particular to a cloud platform application deployment method and device.
背景技术Background technique
云计算是一种服务的交付和消费模式。云服务供应商(Cloud ServiceProvider,CSP)将大量计算资源用网络连接起来并进行统一的管理、分配和调度,构成一个巨大的资源池向云服务消费者(Cloud Service Consumer,CSC)提供服务。对CSC而言,云资源可无限扩展,具有按需索取、按使用付费等高效灵活的特点。Cloud computing is a service delivery and consumption model. Cloud Service Provider (Cloud Service Provider, CSP) connects a large number of computing resources with the network and conducts unified management, allocation and scheduling, forming a huge resource pool to provide services to Cloud Service Consumer (CSC). For CSC, cloud resources can be expanded indefinitely, and have the characteristics of high efficiency and flexibility such as on-demand request and pay-per-use.
信息社会高级开放标准(Advancing Open Standards for theInformationSociety,简称OASIS)的TOSCA(Topology and Orchestration SpecificationforCloud Applications,简称TOSCA)标准规范化了应用的拓扑和运维流程的描述方式。The TOSCA (Topology and Orchestration Specification for Cloud Applications, TOSCA) standard of Advancing Open Standards for the Information Society (OASIS) standardizes the description of application topology and operation and maintenance process.
根据TOSCA标准,CSC在CSP服务器上部署一个应用时,需要经过如下步骤:According to the TOSCA standard, when CSC deploys an application on the CSP server, it needs to go through the following steps:
(1)CSC通过CSC设备向CSP服务器发送应用部署请求,该请求中至少包含一个基于TOSCA标准描述的应用部署包;(1) The CSC sends an application deployment request to the CSP server through the CSC device, and the request contains at least one application deployment package based on the TOSCA standard description;
(2)CSP服务器解析应用部署包;(2) The CSP server parses the application deployment package;
(3)CSP服务器为每个部署制品类型为镜像的节点分配计算资源;(3) The CSP server allocates computing resources for each node whose deployment product type is a mirror image;
(4)CSP服务器执行部署计划以完成部署;(4) The CSP server executes the deployment plan to complete the deployment;
目前,由于需要计算资源的节点的部署制品(Deployment Artifact,简称DA)类型只能定义为ImageArtifact类型,即镜像类型,CSP服务器会为每个此类节点分配独立的计算资源,这样因为个别节点计算资源使用较少,从而导致计算资源浪费。At present, since the deployment artifact (Deployment Artifact, referred to as DA) type of the node that needs computing resources can only be defined as the ImageArtifact type, that is, the image type, the CSP server will allocate independent computing resources for each such node, so that because individual nodes compute Resource usage is less, resulting in wasted computing resources.
发明内容Contents of the invention
本发明提供一种节省计算资源的云平台应用部署方法及装置。The present invention provides a cloud platform application deployment method and device for saving computing resources.
第一方面,提供一种云平台应用部署的方法,包括:接收云服务消费设备发送的应用部署请求,所述应用部署请求包括:待部署应用的标识,和为所述云服务消费设备的已部署应用分配的计算资源的信息;根据所述为已部署应用分配的计算资源的信息,确定云服务服务器为所述云服务消费设备的所述已部署应用分配的已有计算资源,使用所述已有计算资源部署所述待部署的应用。In a first aspect, a method for deploying a cloud platform application is provided, including: receiving an application deployment request sent by a cloud service consuming device, where the application deployment request includes: an identifier of an application to be deployed, and Deploying information on computing resources allocated by the application; determining the existing computing resources allocated by the cloud service server to the deployed application of the cloud service consuming device according to the information on the computing resources allocated to the deployed application, using the The application to be deployed has been deployed on existing computing resources.
结合第一发明的第一实施方式中,所述信息是为所述已部署应用的节点分配的计算资源的标识,所述根据为已部署应用分配的计算资源的信息确定云服务服务器为所述云服务消费设备的已部署应用分配的已有计算资源,使用所述已有计算资源部署所述应用,包括:根据所述计算资源的标识确定云服务服务器为所述已部署应用的节点分配的已有计算资源,使用所述确定的已有计算资源部署所述待部署的应用。In combination with the first implementation of the first invention, the information is the identifier of the computing resource allocated to the node of the deployed application, and the cloud service server is determined according to the information of the computing resource allocated to the deployed application as the The existing computing resource allocated by the deployed application of the cloud service consuming device, and using the existing computing resource to deploy the application includes: determining the cloud service server allocated for the node of the deployed application according to the identifier of the computing resource Existing computing resources, using the determined existing computing resources to deploy the application to be deployed.
结合第一方面的第二实施方式中,所述信息为所述已部署应用的标识和所述已部署应用的节点的标识,所述根据为已部署应用分配的计算资源的信息确定云服务服务器为所述云服务消费设备的已部署应用分配的已有计算资源,使用所述已有计算资源部署所述应用,包括:根据所述已部署应用的标识从保存的已部署应用的标识和已部署应用的应用实例标识间的映射关系中获取所述已部署应用的应用实例标识,再根据获取的所述已部署应用的应用实例标识和所述已部署应用的节点的标识从保存的已部署应用的应用实例标识、已部署应用的节点标识及该节点所对应的计算资源的标识间的映射关系中获取所述已部署应用的节点的标识对应的计算资源的标识;根据所述计算资源的标识确定云服务服务器为所述已部署应用的节点分配的已有计算资源,使用所述确定的已有计算资源部署所述待部署的应用。In a second implementation manner in combination with the first aspect, the information is the identifier of the deployed application and the identifier of the node of the deployed application, and the cloud service server is determined according to the information of the computing resources allocated for the deployed application Deploying the existing computing resource allocated to the deployed application of the cloud service consuming device, using the existing computing resource, includes: selecting the saved deployed application identifier and the deployed application identifier according to the deployed application identifier. Obtain the application instance identifier of the deployed application from the mapping relationship between the application instance identifiers of the deployed application, and then select the saved deployed application identifier according to the acquired application instance identifier and the node identifier of the deployed application. Obtain the identifier of the computing resource corresponding to the node identifier of the deployed application from the mapping relationship between the application instance identifier of the application, the node identifier of the deployed application, and the identifier of the computing resource corresponding to the node; according to the Identifying and determining the existing computing resource allocated by the cloud service server to the node where the application has been deployed, and using the determined existing computing resource to deploy the application to be deployed.
结合第一方面第二实施方式或第三实施方式的第四实施方式中,所述应用部署请求还包括:所述待部署应用的第一节点的标识和所述第一节点的部署制品,所述计算资源的标识具体被携带在所述第一节点的部署制品中;所述使用所述已有计算资源部署所述待部署的应用包括:根据所述计算资源的标识确定已有计算资源;根据所述第一节点的部署制品使用所述已有计算资源部署所述第一节点。In a fourth implementation manner combined with the second implementation manner or the third implementation manner of the first aspect, the application deployment request further includes: the identifier of the first node of the application to be deployed and the deployment product of the first node, so The identifier of the computing resource is specifically carried in the deployment product of the first node; deploying the application to be deployed using the existing computing resource includes: determining the existing computing resource according to the identifier of the computing resource; Deploying the first node using the existing computing resources according to the deployment artifact of the first node.
结合第一方面第四实施方式的第五实施方式中,在根据所述第一节点的部署制品使用所述已有计算资源部署所述第一节点之前,所述方法还包括:根据所述待部署应用的标识创建所述待部署应用的应用实例标识,记录所述应用实例标识与所述待部署应用的标识间的映射关系。In a fifth implementation with reference to the fourth implementation of the first aspect, before deploying the first node using the existing computing resource according to the deployment product of the first node, the method further includes: according to the to-be The identifier of the deployed application creates the application instance identifier of the application to be deployed, and records the mapping relationship between the application instance identifier and the identifier of the application to be deployed.
结合第一方面第五实施方式的第六实施方式中,所述根据所述第一节点的部署制品使用所述已有计算资源部署所述第一节点包括:记录所述待部署应用的应用实例标识、所述第一节点的标识以及所述计算资源的标识三者间的映射关系。In a sixth implementation manner combined with the fifth implementation manner of the first aspect, deploying the first node using the existing computing resource according to the deployment product of the first node includes: recording the application instance of the application to be deployed A mapping relationship among the identifier, the identifier of the first node, and the identifier of the computing resource.
结合第一方面第六实施方式的第七实施方式中,所述根据所述第一节点的部署制品使用所述已有计算资源部署所述第一节点还包括:从保存的已部署应用的应用实例标识、节点标识及该节点所对应的计算资源的标识间的映射关系中获取所述计算资源的标识对应的已部署应用的应用实例标识;基于所述获取的已部署应用的应用实例标识,从所述已部署应用的应用实例标识对应的应用部署包中获取所述已部署应用的应用部署包中的删除计划的先决条件,在所述删除计划的先决条件中增加所述待部署的应用已被删除的条件。In a seventh implementation with reference to the sixth implementation of the first aspect, the deployment of the first node using the existing computing resources according to the deployment product of the first node further includes: from the saved application of the deployed application Obtain the application instance identifier of the deployed application corresponding to the identifier of the computing resource from the mapping relationship between the instance identifier, the node identifier and the identifier of the computing resource corresponding to the node; based on the acquired application instance identifier of the deployed application, Obtain the prerequisites of the deletion plan in the application deployment package of the deployed application from the application deployment package corresponding to the application instance identifier of the deployed application, and add the application to be deployed to the prerequisites of the deletion plan The condition has been removed.
第二方面,提供在云服务消费设备中,一种云平台应用部署方法,包括:接收应用部署指令,所述应用部署指令中包括:待部署应用的标识和已部署应用的计算资源的信息;向云服务服务器发送应用部署请求,所述应用部署请求中包括所述待部署应用的标识,和所述已部署应用的计算资源的信息,以使所述云服务服务器根据所述已部署应用的计算资源的信息确定云服务服务器为所述云服务消费设备的所述已部署应用分配的已有计算资源,使用所述已有计算资源部署所述待部署的应用。In a second aspect, a cloud platform application deployment method in a cloud service consumption device is provided, including: receiving an application deployment instruction, where the application deployment instruction includes: an identification of an application to be deployed and information about computing resources of the deployed application; Sending an application deployment request to the cloud service server, where the application deployment request includes the identifier of the application to be deployed and information about the computing resources of the deployed application, so that the cloud service server The computing resource information determines the existing computing resource allocated by the cloud service server to the deployed application of the cloud service consuming device, and uses the existing computing resource to deploy the application to be deployed.
结合第二方面的第一实施方式中,所述已部署应用的计算资源的信息包括:所述已部署应用的标识和所述已部署应用的节点的标识或者为所述节点分配的计算资源的标识。In combination with the second aspect, in the first implementation manner, the information about the computing resources of the deployed application includes: the identifier of the deployed application and the identifier of the node where the deployed application is deployed, or the information of the computing resource allocated to the node logo.
第三方面,提供一种云服务服务器,包括:接收单元,用于接收云服务消费设备发送的应用部署请求,所述应用部署请求包括:待部署应用的标识,和为所述云服务消费设备的已部署应用分配的计算资源的信息;部署单元,用于根据所述为已部署应用分配的计算资源的信息,确定云服务服务器为所述云服务消费设备的所述已部署应用分配的已有计算资源,使用所述已有计算资源部署所述待部署的应用。In a third aspect, a cloud service server is provided, including: a receiving unit, configured to receive an application deployment request sent by a cloud service consuming device, where the application deployment request includes: an identifier of an application to be deployed, and a request for the cloud service consuming device information about the computing resources allocated by the deployed application; the deploying unit is configured to determine, according to the information about the computing resources allocated for the deployed application, the cloud service server allocated the deployed application for the cloud service consuming device There are computing resources, and the application to be deployed is deployed using the existing computing resources.
结合第三方面的第一实施方式中,所述接收单元接收的所述信息是为所述已部署应用的节点分配的计算资源的标识;所述部署单元包括:确定子单元,用于根据所述计算资源的标识确定云服务服务器为所述已部署应用的节点分配的已有计算资源;部署子单元,用于使用所述确定的已有计算资源部署所述待部署的应用。In a first implementation manner in conjunction with the third aspect, the information received by the receiving unit is an identifier of a computing resource allocated to the node of the deployed application; the deploying unit includes: a determining subunit, configured to The identifier of the computing resource determines the existing computing resource allocated by the cloud service server to the node where the application has been deployed; the deploying subunit is configured to use the determined existing computing resource to deploy the application to be deployed.
结合第三方面的第二实施方式中,所述接收单元接收的所述信息为所述已部署应用的标识和所述已部署应用的节点的标识,所述部署单元还包括:获取子单元,用于根据根据所述已部署应用的标识从保存的已部署应用的标识和已部署应用的应用实例标识间的映射关系中获取所述已部署应用的应用实例标识,再根据获取的所述已部署应用的应用实例标识和所述已部署应用的节点的标识从保存的已部署应用的应用实例标识、已部署应用的节点标识及该节点所对应的计算资源的标识间的映射关系中获取所述已部署应用的节点的标识对应的计算资源的标识。In conjunction with the second implementation manner of the third aspect, the information received by the receiving unit is the identifier of the deployed application and the identifier of the node of the deployed application, and the deployment unit further includes: an acquisition subunit, Obtaining the application instance identifier of the deployed application from the saved mapping relationship between the identifier of the deployed application and the application instance identifier of the deployed application according to the identifier of the deployed application, and then according to the acquired The application instance ID of the deployed application and the node ID of the deployed application are obtained from the saved mapping relationship between the application instance ID of the deployed application, the node ID of the deployed application, and the ID of the computing resource corresponding to the node. The identifier of the computing resource corresponding to the identifier of the node on which the application has been deployed.
结合第三方面第一或第二实施方式的第三实施方式中,所述接收单元接收的应用部署请求还包括:所述待部署应用的第一节点的标识和所述第一节点的部署制品,所述计算资源的标识具体被携带在所述第一节点的部署制品中;所述部署子单元具体用于根据所述第一节点的部署制品使用所述已有计算资源部署所述第一节点。In a third implementation in combination with the first or second implementation of the third aspect, the application deployment request received by the receiving unit further includes: the identifier of the first node of the application to be deployed and the deployment product of the first node , the identifier of the computing resource is specifically carried in the deployment product of the first node; the deployment subunit is specifically configured to use the existing computing resource to deploy the first node according to the deployment product of the first node node.
结合第三方面第三实施方式的第四实施方式中,所述部署单元还包括:In a fourth implementation manner with reference to the third implementation manner of the third aspect, the deployment unit further includes:
创建子单元,用于在所述部署单元根据所述第一节点的部署制品使用所述已有计算资源部署所述第一节点之前,根据所述待部署的应用的标识创建所述应用的应用实例标识;记录子单元,用于记录所述应用实例标识与所述应用的标识间的映射关系。Creating a subunit, configured to create an application of the application according to the identifier of the application to be deployed before the deployment unit deploys the first node using the existing computing resource according to the deployment product of the first node Instance ID: a recording subunit, configured to record the mapping relationship between the application instance ID and the application ID.
结合第三方面第四实施方式的第五实施方式中,所述所述记录子单元还用于:记录所述待部署应用的应用实例标识、所述第一节点的标识以及所述计算资源的标识三者间的映射关系。In a fifth implementation manner with reference to the fourth implementation manner of the third aspect, the recording subunit is further configured to: record the application instance identifier of the application to be deployed, the identifier of the first node, and the computing resource Identify the mapping relationship between the three.
结合第三方面第五实施方式的第六实施方式中,所述获取子单元,还用于从保存的已部署应用的应用实例标识、节点标识及该节点所对应的计算资源的标识间的映射关系中获取所述计算资源的标识对应的已部署应用的应用实例标识;所述部署单元还包括:修改子单元,基于所述获取的已部署应用的应用实例标识,从所述已部署应用的应用实例标识对应的应用部署包中获取所述已部署应用的应用部署包中的删除计划的先决条件,在所述删除计划的先决条件中增加所述待部署的应用已被删除的条件。In the sixth embodiment in conjunction with the fifth embodiment of the third aspect, the obtaining subunit is further used for mapping between the saved application instance ID of the deployed application, the node ID, and the ID of the computing resource corresponding to the node Obtain the application instance identifier of the deployed application corresponding to the identifier of the computing resource in the relationship; the deployment unit further includes: a modification subunit, based on the acquired application instance identifier of the deployed application, from the deployed application Obtain the prerequisites of the deletion plan in the application deployment package of the deployed application in the application deployment package corresponding to the application instance identifier, and add the condition that the application to be deployed has been deleted to the prerequisites of the deletion plan.
第四方面,提供一种云服务消费设备,包括:接收单元,用于接收应用部署指令,所述应用部署指令中包括:待部署应用的标识和已部署应用的计算资源的信息;发送单元,用于向云服务服务器发送应用部署请求,所述应用部署请求中包括所述待部署应用的标识,和已部署应用的计算资源的信息,以使所述云服务服务器根据所述已部署应用的计算资源的信息确定云服务服务器为所述云服务消费设备的所述已部署应用分配的已有计算资源,使用所述已有计算资源部署所述待部署的应用。According to a fourth aspect, a cloud service consumption device is provided, including: a receiving unit, configured to receive an application deployment instruction, where the application deployment instruction includes: an identification of an application to be deployed and information on computing resources of the deployed application; a sending unit, It is used to send an application deployment request to the cloud service server, where the application deployment request includes the identifier of the application to be deployed and information about the computing resources of the deployed application, so that the cloud service server can The computing resource information determines the existing computing resource allocated by the cloud service server to the deployed application of the cloud service consuming device, and uses the existing computing resource to deploy the application to be deployed.
结合第四方面的第一实施方式中,所述接收单元接收的应用部署指令中还包括:所述待部署应用第一节点的标识,所述设备还包括:构造单元,用于根据第一节点的标识构造所述第一节点的部署制品,所述已部署应用的计算资源的信息具体被携带在所述第一节点的部署制品中;所述发送单元还用于:向所述云服务服务器发送所述部署制品,以便于所述云服务服务器根据所述部署制品使用所述已有计算资源部署所述第一节点。In conjunction with the first implementation manner of the fourth aspect, the application deployment instruction received by the receiving unit further includes: an identifier of the first node of the application to be deployed, and the device further includes: a construction unit configured to, according to the first node The identifier constructs the deployment product of the first node, and the information of the computing resources of the deployed application is specifically carried in the deployment product of the first node; the sending unit is also used to: send to the cloud service server Sending the deployment product, so that the cloud service server deploys the first node using the existing computing resources according to the deployment product.
本发明实施例云平台应用部署方法及装置,利用已有计算资源部署共享节点,可以减少用户的成本,提高计算资源的使用效率。The cloud platform application deployment method and device of the embodiments of the present invention use existing computing resources to deploy shared nodes, which can reduce user costs and improve the efficiency of computing resources.
附图说明Description of drawings
图1示出了TOSCA标准中的应用拓扑图;Figure 1 shows the application topology in the TOSCA standard;
图2A示出了本发明一实施例的云平台应用部署方法示意流程图;FIG. 2A shows a schematic flowchart of a cloud platform application deployment method according to an embodiment of the present invention;
图2B示出了本发明另一实施例的云平台应用部署方法示意流程图Fig. 2B shows a schematic flowchart of a cloud platform application deployment method according to another embodiment of the present invention
图3A示出了本发明又一实施例的云平台应用部署方法示意流程图;FIG. 3A shows a schematic flowchart of a cloud platform application deployment method according to another embodiment of the present invention;
图3B示出了图3A步骤309细化示意流程图;FIG. 3B shows a schematic flowchart of step 309 in FIG. 3A;
图3C示出了图3A步骤308细化示意流程图;FIG. 3C shows a schematic flowchart of step 308 in FIG. 3A;
图4A示出了本发明一实施例的云平台应用部署方法应用场景图;FIG. 4A shows an application scenario diagram of a cloud platform application deployment method according to an embodiment of the present invention;
图4B示出了本发明另一实施例的云平台应用部署方法示意流程图;FIG. 4B shows a schematic flowchart of a cloud platform application deployment method according to another embodiment of the present invention;
图5A示出了本发明一实施例的云服务消费设备示意框图;Fig. 5A shows a schematic block diagram of a cloud service consumption device according to an embodiment of the present invention;
图5B示出了本发明另一实施例的云服务消费设备示意框图;Fig. 5B shows a schematic block diagram of a cloud service consumption device according to another embodiment of the present invention;
图6A示出了本发明一实施例的云服务服务器示意框图;FIG. 6A shows a schematic block diagram of a cloud service server according to an embodiment of the present invention;
图6B示出了本发明另一实施例的云服务服务器示意框图;Fig. 6B shows a schematic block diagram of a cloud service server according to another embodiment of the present invention;
图6C示出了本发明又一实施例的云服务服务器示意框图。Fig. 6C shows a schematic block diagram of a cloud service server according to another embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
下面介绍一下本发明实施例的应用场景,信息社会高级开放标准(AdvancingOpen Standards for the Infornation Society,简称OASIS)的TOSCA(Topology andOrchestration Specification for Cloud Applications,简称TOSCA)标准规范化了云计算应用的拓扑结构和运维流程的描述方式。The application scenarios of the embodiments of the present invention are introduced below. The TOSCA (Topology and Orchestration Specification for Cloud Applications, TOSCA) standard of the Advancing Open Standards for the Information Society (OASIS) standardizes the topology and orchestration of cloud computing applications. Description of the operation and maintenance process.
TOSCA标准中将部署一个应用所需的全部信息都在云业务存档CSAR(CloudService Archive,简称CSAR)的应用部署包中进行描述。应用部署包至少包含一个应用部署描述文件,该部署描述文件后缀为ste,以XML语言描述应用的部署信息。该部署描述文件的根元素为业务模板ServiceTemplate,用来完整描述一个应用的部署信息,业务模板ServiceTemplate的子元素包括拓扑模板TopologyTemplate、节点类型NodeType、节点模板NodeTemplate、关系类型RelationshipType、关系模板RelationshipTemplate、部署计划BuildPlan、删除计划RemovePlan等,他们的关系如图1所示。ServiceTemplate的name属性值为应用标识,服务器实际部署应用时,会为该应用再创建一个唯一的标识,该标识为应用实例标识。In the TOSCA standard, all the information required to deploy an application is described in the application deployment package of the cloud service archive CSAR (Cloud Service Archive, CSAR for short). The application deployment package includes at least one application deployment description file, the suffix of which is ste, which describes the deployment information of the application in XML language. The root element of the deployment description file is the service template ServiceTemplate, which is used to fully describe the deployment information of an application. The sub-elements of the service template ServiceTemplate include topology template TopologyTemplate, node type NodeType, node template NodeTemplate, relationship type RelationshipType, relationship template RelationshipTemplate, deployment Plan BuildPlan, delete plan RemovePlan, etc., their relationship is shown in Figure 1. The value of the name attribute of the ServiceTemplate is the application identifier. When the server actually deploys the application, it will create a unique identifier for the application, which is the application instance identifier.
图1示出了本发明一实施例的TOSCA应用拓扑图,如图1所示,TOSCA标准中使用拓扑模板TopologyTemplate来描绘一个应用拓扑结构。拓扑中每个节点都是一个节点模板NodeTemplate,其标识属性值即为节点标识,其类型由节点类型NodeType定义。在节点模板NodeTemplate中可以定义该节点的部署制品(Deployment Artifact,简称DA),目前,需要计算资源的节点的部署制品DA只能定义为镜像制品ImageArtifact类型,即镜像类型。FIG. 1 shows a TOSCA application topology diagram according to an embodiment of the present invention. As shown in FIG. 1 , the TOSCA standard uses a topology template TopologyTemplate to describe an application topology structure. Each node in the topology is a node template NodeTemplate, whose identification attribute value is the node identification, and its type is defined by the node type NodeType. In the node template NodeTemplate, the deployment artifact (Deployment Artifact, DA for short) of the node can be defined. Currently, the deployment artifact DA of the node that needs computing resources can only be defined as the image artifact ImageArtifact type, that is, the image type.
节点类型NodeType用来定义节点模板NodeTemplate的元数据,如该节点具备哪些属性,用Properties定义;和该节点的管理接口,用Interfaces定义。每个Interfaces可包含多个Interface,而每个Interface中可包含多个方法,即operation;每个方法对应一个方法制品,用Implementation Artifact定义。每个NodeType至少包含一个Interface,该Interface至少包含该节点生命周期管理的4个方法,分别为install、uninstall、start和stop。The node type NodeType is used to define the metadata of the node template NodeTemplate, such as which attributes the node has, defined by Properties; and the management interface of the node, defined by Interfaces. Each Interfaces can contain multiple Interfaces, and each Interface can contain multiple methods, that is, operations; each method corresponds to a method product, which is defined by Implementation Artifact. Each NodeType contains at least one Interface, and the Interface contains at least four methods for life cycle management of the node, namely install, uninstall, start and stop.
拓扑中的每条边都是一个关系模板RelationshipTemplate,关系模板RelationshipTemplate是关系类型RelationshipType的一个实例,定义了该边的起点,用SourceElement定义;和终点,用TargetElement定义。Each edge in the topology is a relationship template RelationshipTemplate, which is an instance of the relationship type RelationshipType and defines the start point of the edge, defined by SourceElement; and the end point, defined by TargetElement.
同时,每个应用部署包中还包含对计划Plans的描述,计划包含部署计划BuildPlan和删除计划RemovePlan,部署/删除计划是用标准化语言(如BPMN2.0)描述的可执行流程。部署/删除计划都有自己的先决条件,用Precondition定义,表明执行该计划前的必要条件。At the same time, each application deployment package also contains a description of Plans. The plan includes the deployment plan BuildPlan and the removal plan RemovePlan. The deployment/deletion plan is an executable process described in a standardized language (such as BPMN2.0). Deployment/deletion plans have their own prerequisites, defined with Precondition, indicating the necessary conditions before executing the plan.
图2A示出了本发明一实施例的云平台应用部署方法示意流程图,如图2A所示,该方法包括:Fig. 2A shows a schematic flowchart of a cloud platform application deployment method according to an embodiment of the present invention. As shown in Fig. 2A, the method includes:
201、接收云服务消费设备发送的应用部署请求,所述应用部署请求包括:待部署应用的标识,和为所述云服务消费设备的已部署应用分配的计算资源的信息;201. Receive an application deployment request sent by a cloud service consuming device, where the application deployment request includes: an identifier of an application to be deployed, and information about computing resources allocated to the deployed application of the cloud service consuming device;
具体的,云服务服务器接收云服务消费设备发送的应用部署请求,该应用部署请求中包括待部署应用的标识和该云服务服务器为该云服务消费设备的已部署应用分配的计算资源的信息,可选的,该计算资源的信息可以包括该已部署应用的标识和该已部署应用的节点的标识,或者为该节点分配的计算资源的标识。Specifically, the cloud service server receives the application deployment request sent by the cloud service consuming device, and the application deployment request includes the identification of the application to be deployed and information about the computing resources allocated by the cloud service server to the deployed application of the cloud service consuming device, Optionally, the computing resource information may include the identifier of the deployed application and the identifier of the node on which the application is deployed, or the identifier of the computing resource allocated to the node.
202、根据所述为已部署应用分配的计算资源的信息,确定云服务服务器为所述云服务消费设备的所述已部署应用分配的已有计算资源,使用所述已有计算资源部署所述待部署的应用。202. Determine the existing computing resources allocated by the cloud service server to the deployed applications of the cloud service consuming device according to the information about the computing resources allocated for the deployed applications, and use the existing computing resources to deploy the The application to be deployed.
具体的,若部署请求携带的计算资源的信息是为已部署应用的某节点分配的计算资源的标识,则该云服务服务器可以根据该计算资源的标识确定为该已部署应用的该节点分配的已有计算资源,使用该已有计算资源部署待部署的应用。Specifically, if the computing resource information carried in the deployment request is the identifier of a computing resource allocated to a node of the deployed application, the cloud service server can determine the resource allocated to the node of the deployed application according to the identifier of the computing resource. Existing computing resources are used to deploy applications to be deployed.
若部署请求携带的计算资源的信息为该已部署应用的标识和该已部署应用的某节点的标识,则云服务服务器可以先根据该已部署应用的标识从保存的已部署应用的标识与该已部署应用的应用实例标识的映射关系中获取该已部署应用的应用实例标识,然后根据获取的该应用实例标识以及该待部署应用的节点的标识从保存的已部署应用的应用实例标识、该已部署应用的节点的标识及该节点对应的计算资源的标识的映射关系中获取与该节点标识对应的计算资源标识。再根据该计算资源的标识确定为该已部署应用的该节点分配的已有计算资源,使用该已有计算资源部署待部署的应用。If the computing resource information carried in the deployment request is the identifier of the deployed application and the identifier of a certain node of the deployed application, the cloud service server can first select the saved identifier of the deployed application and the identifier of the deployed application according to the identifier of the deployed application. Obtain the application instance ID of the deployed application from the mapping relationship of the application instance ID of the deployed application, and then select from the stored application instance ID of the deployed application, the The computing resource identifier corresponding to the node identifier is obtained from the mapping relationship between the node identifier of the deployed application and the identifier of the computing resource corresponding to the node. Then, according to the identifier of the computing resource, the existing computing resource allocated to the node of the deployed application is determined, and the application to be deployed is deployed using the existing computing resource.
图2B示出了本发明一实施例的云平台应用部署方法示意流程图,如图2所示,该云平台应用部署方法包括:FIG. 2B shows a schematic flowchart of a cloud platform application deployment method according to an embodiment of the present invention. As shown in FIG. 2 , the cloud platform application deployment method includes:
203、接收云服务消费设备发送的应用部署请求,所述应用部署请求包括:待部署应用的应用部署描述文件,该应用部署描述文件包括待部署应用的标识、该待部署应用的第一节点的标识以及已部署应用的节点对应的计算资源的标识;203. Receive an application deployment request sent by a cloud service consuming device, where the application deployment request includes: an application deployment description file of the application to be deployed, where the application deployment description file includes the identifier of the application to be deployed, the ID of the first node of the application to be deployed The identification and the identification of the computing resources corresponding to the node where the application has been deployed;
具体的,云服务服务器接收云服务消息设备根据云服务消费者的应用部署指令发送的应用部署请求,该部署请求中至少包括引用已部署应用的节点对应的计算资源的标识的应用部署描述文件,该应用部署描述文件至少包括待部署应用的标识、该待部署应用的第一节点的部署制品,该第一节点的部署制品引用该计算资源的标识。Specifically, the cloud service server receives the application deployment request sent by the cloud service message device according to the application deployment instruction of the cloud service consumer, and the deployment request includes at least an application deployment description file that refers to the identification of the computing resource corresponding to the node where the application has been deployed, The application deployment description file at least includes an identifier of the application to be deployed, a deployment artifact of the first node of the application to be deployed, and the deployment artifact of the first node refers to the identifier of the computing resource.
可选的,该待部署应用的第一节点与该计算资源的标识对应的已部署应用的节点的类型一致。Optionally, the first node of the application to be deployed is of the same type as the node of the deployed application corresponding to the identifier of the computing resource.
一种可选的实施方式中,CSC设备接收CSC发送的应用部署指令,该应用部署指令中包括已部署应用的节点对应的计算资源的标识、待部署应用的标识,以及该待部署应用中使用已有计算资源的共享节点的标识,其中共享节点为使用已有计算资源部署的节点;In an optional implementation manner, the CSC device receives the application deployment instruction sent by the CSC, and the application deployment instruction includes the identification of the computing resource corresponding to the node where the application has been deployed, the identification of the application to be deployed, and the The identification of shared nodes with existing computing resources, where shared nodes are nodes deployed using existing computing resources;
可选的,该应用部署指令中也可以不包括已部署应用的节点对应的计算资源的标识,而仅携带已部署应用的标识及该已部署应用的节点的标识,CSC设备可以根据该已部署应用的标识及该已部署应用的节点的标识从本地保存的已部署应用的标识与已部署应用的应用实例标识间的映射关系和已部署应用实例标识、已部署应用节点的标识及该节点对应的计算资源的标识间的映射关系中获取已部署应用的节点对应的计算资源的标识,或者CSC设备根据该已部署应用的标识及该已部署应用的节点的标识向云服务服务器请求获取与该已部署应用的节点的标识对应的计算资源的标识。Optionally, the application deployment instruction may not include the identifier of the computing resource corresponding to the node of the deployed application, but only carry the identifier of the deployed application and the identifier of the node of the deployed application, and the CSC device may use the deployed Application ID and the node ID of the deployed application from the mapping relationship between the ID of the deployed application saved locally and the application instance ID of the deployed application, the ID of the deployed application instance, the ID of the node of the deployed application, and the corresponding Obtain the identifier of the computing resource corresponding to the node of the deployed application from the mapping relationship between the identifiers of the computing resources, or the CSC device requests the cloud service server to obtain the identifier corresponding to the deployed application node according to the identifier of the deployed application The identifier of the computing resource corresponding to the identifier of the node on which the application has been deployed.
可选的,该应用部署指令中还可以包括部署该应用所需的其他信息,如:该待部署应用的非共享节点的部署制品信息以及部署计划等信息,其中非共享节点为不使用已有计算资源部署的节点。Optionally, the application deployment instruction may also include other information required for deploying the application, such as: the deployment product information and deployment plan of the non-shared node of the application to be deployed, where the non-shared node does not use the existing Nodes where computing resources are deployed.
进一步的,CSC设备可以根据获取的已部署应用的节点对应的计算资源的标识以及接收的部署该待部署应用所需的其他信息,如:非共享节点的部署制品信息,待部署应用的标识,共享节点的标识、非共享节点的标识以及部署计划等信息构造应用部署包,构造后的应用部署包至少包括一个应用部署描述文件。该应用部署描述文件至少描述了待部署应用的标识和共享节点的信息。共享节点信息可以包括共享节点标识以及共享节点的引用已部署应用的节点对应的计算资源的标识的部署制品。Further, the CSC device can obtain the identification of the computing resource corresponding to the node where the application has been deployed and receive other information required to deploy the application to be deployed, such as: deployment product information of the non-shared node, the identification of the application to be deployed, Information such as shared node identifiers, non-shared node identifiers, and deployment plans constructs an application deployment package, and the constructed application deployment package includes at least one application deployment description file. The application deployment description file at least describes the identification of the application to be deployed and the information of the sharing node. The shared node information may include a shared node identifier and a deployment artifact of the shared node that references the identifier of the computing resource corresponding to the node where the application has been deployed.
可选的,该应用部署包还可以包括该待部署应用的部署计划。Optionally, the application deployment package may also include a deployment plan of the application to be deployed.
可选的,该应用部署描述文件还可以描述非共享节点信息,该非共享节点信息可以包括非共享节点标识以及该非共享节点的部署制品。Optionally, the application deployment description file may also describe non-shared node information, and the non-shared node information may include a non-shared node identifier and a deployment product of the non-shared node.
CSC设备在构造完应用部署包后,向CSP服务器发送构造的应用部署包,以便于该CSP服务器根据该应用部署包中部署该待部署的应用。After constructing the application deployment package, the CSC device sends the constructed application deployment package to the CSP server, so that the CSP server deploys the application to be deployed according to the application deployment package.
204、根据所述应用部署描述文件中的计算资源的标识确定已有计算资源,使用该已有计算资源部署第一节点;204. Determine an existing computing resource according to the identifier of the computing resource in the application deployment description file, and use the existing computing resource to deploy the first node;
具体的,CSP服务器根据应用部署描述文件中的已部署应用的节点对应的计算资源的标识确定已有计算资源,根据该应用部署描述中的共享节点的部署制品使用该获取的已有计算资源部署共享节点。Specifically, the CSP server determines the existing computing resource according to the identifier of the computing resource corresponding to the deployed application node in the application deployment description file, and uses the obtained existing computing resource deployment according to the deployment product of the shared node in the application deployment description shared nodes.
可选的,CSP服务器还可以为非共享节点分配新的计算资源,使用该新的计算资源根据该非共享节点的部署制品部署该非共享节点。Optionally, the CSP server may also allocate new computing resources to the non-shared node, and use the new computing resource to deploy the non-shared node according to the deployment product of the non-shared node.
本发明实施例的云平台应用部署方法,在部署应用时,使用已有计算资源部署应用,可以减少用户成本,提高计算资源的使用效率。In the cloud platform application deployment method of the embodiment of the present invention, when deploying applications, existing computing resources are used to deploy applications, which can reduce user costs and improve the use efficiency of computing resources.
图3A示出了本发明另一实施例的云平台应用部署方法示意流程图,如图3所示,该云平台应用部署方法包括:FIG. 3A shows a schematic flowchart of a cloud platform application deployment method according to another embodiment of the present invention. As shown in FIG. 3 , the cloud platform application deployment method includes:
301、CSC设备接收应用部署指令,该指令中包括已部署应用的节点的计算资源的信息、待部署应用的标识以及使用已有计算资源的共享节点的标识;301. The CSC device receives an application deployment instruction, which includes information about computing resources of nodes where applications have been deployed, identifications of applications to be deployed, and identifications of shared nodes using existing computing resources;
302、根据该计算资源的信息确定已部署应用的节点的计算资源的标识;302. Determine the identifier of the computing resource of the node on which the application has been deployed according to the computing resource information;
303、CSC设备根据该计算资源的标识、待部署应用的标识、共享节点的标识构造应用部署包;303. The CSC device constructs an application deployment package according to the identifier of the computing resource, the identifier of the application to be deployed, and the identifier of the shared node;
304、CSC设备向CSP服务器发送应用部署请求,该应用部署请求中包括步骤303构造的应用部署包;304. The CSC device sends an application deployment request to the CSP server, and the application deployment request includes the application deployment package constructed in step 303;
305、CSP服务器解析应用部署包获取待部署应用的标识,创建该待部署应用的应用实例标识,并记录该待部署应用的标识和应用实例标识间的映射关系;305. The CSP server parses the application deployment package to obtain the identifier of the application to be deployed, creates an application instance identifier of the application to be deployed, and records the mapping relationship between the identifier of the application to be deployed and the application instance identifier;
306、CSP服务器设当前处理的节点为当前待部署的节点,并获取当前待部署的节点的标识;306. The CSP server sets the currently processed node as the currently to-be-deployed node, and obtains the identifier of the currently-to-be-deployed node;
307、CSP服务器判断当前待部署的节点是否为共享节点;307. The CSP server judges whether the node currently to be deployed is a shared node;
具体的,CSP服务器可以根据当前待部署的节点的部署制品判断当前待部署的节点是否为共享节点,具体的,判断当前待部署的节点的部署制品中是否引用了已部署应用的节点的计算资源标识,若引用,则当前待部署的节点为共享节点,否则为非共享节点。Specifically, the CSP server can judge whether the node to be deployed is a shared node according to the deployment product of the node currently to be deployed, specifically, determine whether the deployment product of the node to be deployed currently refers to the computing resource of the node where the application has been deployed Identifier, if referenced, the current node to be deployed is a shared node, otherwise it is a non-shared node.
可选的,CSP服务器也可以根据当前待部署的节点的标识与共享节点的标识是否一致判断当前节点是否为共享节点,若一致,则当前部署的节点为共享节点,若不一致,则当前节点为非共享节点;Optionally, the CSP server can also judge whether the current node is a shared node according to whether the identity of the node to be deployed is consistent with the identity of the shared node. If they are consistent, the currently deployed node is a shared node. If not, the current node is a shared node. non-shared nodes;
308、若当前待部署的节点为非共享节点,则CSP服务器获取当前待部署的节点的部署制品,根据该当前节点的部署制品部署当前待部署的节点;308. If the current node to be deployed is a non-shared node, the CSP server obtains the deployment product of the current node to be deployed, and deploys the current node to be deployed according to the deployment product of the current node;
具体的,步骤308如图3C所示,包括:Specifically, step 308, as shown in Figure 3C, includes:
3081、解析应用部署包获取当前待部署的节点的部署制品引用资源类型;3081. Parse the application deployment package to obtain the deployment product reference resource type of the node currently to be deployed;
3082、判断该当前待部署的节点的部署制品引用资源类型是否为非镜像类型;3082. Determine whether the deployment product reference resource type of the node currently to be deployed is a non-mirror type;
3083、若该当前待部署的节点的部署制品引用资源类型为非镜像类型,则表明该当前待部署的节点不需要计算资源,直接记录待部署应用的应用实例标识、当前待部署的节点的标识和当前待部署的节点所对应的计算资源的标识间的映射关系。可选的,因为当前待部署的节点不需要计算资源,可以用特殊字符来表示计算资源标识,如“Null”。3083. If the deployment product reference resource type of the currently to-be-deployed node is a non-mirror type, it indicates that the current to-be-deployed node does not need computing resources, and directly records the application instance ID of the to-be-deployed application and the ID of the current to-be-deployed node A mapping relationship between identifiers of computing resources corresponding to nodes to be deployed currently. Optional, because the node to be deployed currently does not require computing resources, special characters can be used to represent the computing resource identifier, such as "Null".
3084、若该当前待部署的节点的部署制品引用资源类型为镜像类型,则解析应用部署包获取部署制品中的引用资源,该引用资源为镜像文件,为该节点分配新的计算资源并加载部署制品所引用的资源,即该镜像文件;创建新的计算资源的标识,并记录该待部署应用的应用实例标识、当前待部署的节点的标识以及该创建的计算资源的标识间的映射关系。3084. If the deployment product reference resource type of the node currently to be deployed is a mirror type, then parse the application deployment package to obtain the reference resource in the deployment product, the reference resource is a mirror file, allocate new computing resources for the node and load the deployment The resource referenced by the product, that is, the image file; create a new computing resource ID, and record the mapping relationship between the application instance ID of the application to be deployed, the current node ID to be deployed, and the ID of the created computing resource.
309、若当前待部署的节点为共享节点,则CSP服务器解析应用部署包获取当前待部署节点的部署制品中引用的已部署应用的节点的计算资源的标识,并根据该计算资源的标识获取已有计算资源来部署当前待部署的节点。309. If the node currently to be deployed is a shared node, the CSP server parses the application deployment package to obtain the identifier of the computing resource of the node with the deployed application referenced in the deployment product of the node currently to be deployed, and obtains the identifier of the deployed application according to the identifier of the computing resource. There are computing resources to deploy the nodes currently to be deployed.
具体的,如图3B示出了图3A步骤309细化示意流程图,步骤309具体包括:Specifically, FIG. 3B shows a schematic flowchart of step 309 in FIG. 3A, and step 309 specifically includes:
3091、解析应用部署包获取当前待部署的节点的部署制品中引用的已部署应用的节点的计算资源的标识;3091. Parse the application deployment package to obtain the identifier of the computing resource of the node with the deployed application referenced in the deployment artifact of the node currently to be deployed;
3092、根据该计算资源的标识确定已有计算资源;3092. Determine an existing computing resource according to the identifier of the computing resource;
3093、确定该已有计算资源正常运行;3093. Determine that the existing computing resource is running normally;
具体的,CSP服务器检查已有计算资源的状态是否为“Run”状态,即正常运行状态,若已有计算资源的状态非为“Run”状态,则调用已有计算资源所对应的节点的start方法,根据该对应的节点start方法启动该节点,使该节点的已有计算资源状态更变为“Run”状态。Specifically, the CSP server checks whether the state of the existing computing resource is "Run", that is, the normal running state. If the state of the existing computing resource is not "Run", it calls the start of the node corresponding to the existing computing resource. method, start the node according to the corresponding node start method, so that the state of the existing computing resources of the node is changed to the "Run" state.
需要注意的是,CSP服务器部署已有计算资源所对应的已部署应用时,会维护该已部署应用的节点的标识和该节点对应的计算资源的标识间的映射关系,基于已部署应用的节点的计算资源的标识可以获取该对应节点的标识,并且已有计算资源所对应的应用的每一个节点都会有生命周期管理的四个方法,即install、uninstall、start和stop。该四个方法在该节点的应用部署描述文件中进行描述。It should be noted that when the CSP server deploys the deployed application corresponding to the existing computing resource, it will maintain the mapping relationship between the node identifier of the deployed application and the identifier of the computing resource corresponding to the node, based on the node of the deployed application The identification of the computing resource can obtain the identification of the corresponding node, and each node of the application corresponding to the existing computing resource will have four methods of life cycle management, namely install, uninstall, start and stop. The four methods are described in the node's application deployment description file.
3094、基于该计算资源的标识获取该计算资源的标识所对应的已部署应用的应用实例标识;3094. Acquire the application instance identifier of the deployed application corresponding to the identifier of the computing resource based on the identifier of the computing resource;
因为CSP服务器在部署每个应用时,都会维护应用标识、应用实例标识、该应用的节点的标识和该节点标识所对应计算资源的标识之间的映射关系,基于该映射关系,CSP服务器根据计算资源的标识可以获取该计算资源的标识所对应的已部署应用的应用实例标识。Because when the CSP server deploys each application, it will maintain the mapping relationship between the application ID, the application instance ID, the node ID of the application, and the ID of the computing resource corresponding to the node ID. Based on the mapping relationship, the CSP server calculates the The identifier of the resource can obtain the application instance identifier of the deployed application corresponding to the identifier of the computing resource.
3095、根据获取的计算资源的标识所对应的已部署应用的应用实例标识获取并修改该已部署应用删除计划的先决条件;3095. Obtain and modify the prerequisites of the deployed application deletion plan according to the application instance identifier of the deployed application corresponding to the obtained computing resource identifier;
具体的,已有计算资源所对应的已部署应用都有删除计划和该删除计划的先决条件。由于已有计算资源会被现在待部署应用使用,所以已有计算资源所对应的已部署的应用的删除计划在执行前必须确保该待部署的应用已被删除,即处于“REMOVED”状态。因此需要将已部署应用的节点的计算资源的标识所对应的已部署应用删除计划的先决条件修改为“待部署的应用已被删除”Specifically, the deployed applications corresponding to the existing computing resources have a deletion plan and prerequisites for the deletion plan. Since the existing computing resources will be used by the application to be deployed, the deletion plan of the deployed application corresponding to the existing computing resource must be deleted before execution, that is, it is in the "REMOVED" state. Therefore, it is necessary to modify the prerequisite of the deployed application deletion plan corresponding to the identity of the computing resource of the node where the application is deployed to "the application to be deployed has been deleted"
3096、记录待部署应用的应用实例标识、当前待部署的节点的标识和已部署应用的节点的计算资源的标识间的映射关系。3096. Record the mapping relationship between the application instance identifier of the application to be deployed, the identifier of the node currently to be deployed, and the identifier of the computing resource of the node on which the application has been deployed.
310、CSP服务器执行部署计划完成部署。310. The CSP server executes the deployment plan to complete the deployment.
本发明实施例的云平台应用部署方法,对于共享节点直接使用已有资源部署应用,可以减少用户的成本,提高计算资源的使用效率。The cloud platform application deployment method of the embodiment of the present invention can directly use existing resources to deploy applications on shared nodes, which can reduce user costs and improve the use efficiency of computing resources.
下面以CSC部署应用B时,使用应用A的MySql节点的计算资源部署为例进一步阐述本发明另一实施例的云平台应用部署方法。The cloud platform application deployment method according to another embodiment of the present invention will be further described below by taking the computing resource deployment of the MySql node of the application A when the CSC deploys the application B as an example.
图4A示出了本发明一实施例的应用场景图,如图4A所示,在CSC在云平台部署了一个Web应用A10后,在Web应用A10运行之后,CSC需要部署Web应用B11,该Web应用B11与Web应用A10拓扑一致,由于Web应用A10访问量不大,其MySQL节点101的资源负载较低,所以CSC决定Web应用B11和Web应用A10的MySQL节点共享同一计算资源以节省成本。其中Web应用B11的MySQL节点111称为共享节点,Web应用B11其他节点都叫非共享节点。Fig. 4A shows an application scene diagram of an embodiment of the present invention. As shown in Fig. 4A, after the CSC deploys a Web application A10 on the cloud platform, and after the Web application A10 runs, the CSC needs to deploy a Web application B11. Application B11 has the same topology as Web application A10. Since Web application A10 does not have a lot of visits, the resource load of its MySQL node 101 is low. Therefore, CSC decides that the MySQL nodes of Web application B11 and Web application A10 share the same computing resources to save costs. The MySQL node 111 of the Web application B11 is called a shared node, and other nodes of the Web application B11 are called non-shared nodes.
图4B示出了本发明另一实施例的云平台应用部署方法示意流程图,如图4B所示,该方法包括:Fig. 4B shows a schematic flowchart of a cloud platform application deployment method according to another embodiment of the present invention. As shown in Fig. 4B, the method includes:
401、CSC设备收到应用部署指令,该指令中包括应用A的MySql节点的计算资源的信息;401. The CSC device receives an application deployment instruction, and the instruction includes the computing resource information of the MySql node of application A;
具体的,待部署的应用B的应用标识为appB,应用B所有节点标识分别为:AppWarB、DbB、Apache、MySql,节点拓扑图可参照图4A所示。Specifically, the application identifier of the application B to be deployed is appB, and all node identifiers of the application B are: AppWarB, DbB, Apache, and MySql respectively, and the node topology diagram can be referred to as shown in FIG. 4A .
部署计划的流程为:(1)部署应用War包;(2)运行MySql节点;(3)安装数据库文件;(4)获取MySql节点的网络信息,如IP和端口号等;(5)使用获取的MySql节点的网络信息对Apache节点进行配置;(6)停止MySql节点;The process of the deployment plan is: (1) Deploy the application War package; (2) Run the MySql node; (3) Install the database file; (4) Obtain the network information of the MySql node, such as IP and port number; The network information of the MySql node configures the Apache node; (6) stop the MySql node;
部署计划具体定义如下:The deployment plan is specifically defined as follows:
BuildPlan:Build Plan:
(1)AppWarB.install();//install方法定义在节点AppWarB的NodeType中;(1) AppWarB.install(); //install method is defined in NodeType of node AppWarB;
(2)MySql.start(); //start方法定义在节点MySql的NodeType中;(2)MySql.start(); //start method is defined in NodeType of node MySql;
(3)DbB.install(); //install方法定义在节点DbB的NodeType中;(3) DbB.install(); //The install method is defined in the NodeType of the node DbB;
(4)MySql.retrieveNetAdd();//retrieveNetAdd方法定义在节点MySql的NodeType中;(4) MySql.retrieveNetAdd(); //retrieveNetAdd method is defined in NodeType of node MySql;
(5)Apache.config(); //config方法定义在节点Apache的NodeType中;(5) Apache.config(); //The config method is defined in the NodeType of the node Apache;
(6)MySql.stop(); //stop方法定义在节点MySql的NodeType中;(6)MySql.stop(); //stop method is defined in NodeType of node MySql;
TOSCA标准中,部署制品DA可以通过如下方式定义:In the TOSCA standard, the deployment product DA can be defined as follows:
首先定义ArtifactType,表示DA所引用资源的类型。例如:表示镜像类型的ArtifactType定义如下:First define ArtifactType, indicating the type of resource referenced by DA. For example: the ArtifactType representing the image type is defined as follows:
<ArtifactType name=″ImageArtifact″<ArtifactType name="ImageArtifact"
targetNamespace=″http://docs.oasisopen.org/tosca/ns/2011/12/Artifacts″/>targetNamespace="http://docs.oasisopen.org/tosca/ns/2011/12/Artifacts"/>
其中属性name描述了该ArtifactType的标识,而属性targetNamespace描述了该ArtifactType的命名空间。The attribute name describes the identifier of the ArtifactType, and the attribute targetNamespace describes the namespace of the ArtifactType.
基于ArtifactType可以定义ArtifactTemplate,在ArtifactTemplate中引用资源,例如引用一个Apache镜像文件的ArtifactTemplate可如下定义,其标识为ArtifactTemplate can be defined based on ArtifactType, and resources can be referenced in ArtifactTemplate. For example, an ArtifactTemplate that refers to an Apache image file can be defined as follows, and its identifier is
其中,标识描述了该ArtifactTemplate的标识,type描述了该ArtifactTemplate的类型,每个ArtifactTemplate可以定义多个ArtifactReference,都定义在ArtifactReferences下,每个ArtifactReference都有属性reference以引用资源,如本例中,引用了镜像文件Apache.xva。Among them, the identifier describes the identifier of the ArtifactTemplate, and the type describes the type of the ArtifactTemplate. Each ArtifactTemplate can define multiple ArtifactReferences, which are all defined under ArtifactReferences. Each ArtifactReference has an attribute reference to refer to resources. For example, in this example, reference The image file Apache.xva is created.
节点Apache及其DA可以如下定义:Node Apache and its DA can be defined as follows:
DA的属性name描述该DA的标识,artifactRef描述了该DA引用的ArtifactTemplate,属性artifactType描述了所引用的ArtifactTemplate的类型。本例中,Apache节点定义了一个标识为ApacheDA的DA,该DA引用ApacheAT,而ApacheAT引用了镜像文件Apache.xva。也就是说,可以使用Apache.xva部署该Apache节点。The attribute name of the DA describes the identity of the DA, artifactRef describes the ArtifactTemplate referenced by the DA, and the attribute artifactType describes the type of the ArtifactTemplate referenced. In this example, the Apache node defines a DA identified as ApacheDA, which refers to ApacheAT, and ApacheAT refers to the image file Apache.xva. That is, the Apache node can be deployed using Apache.xva.
为了简单起见,这里不给出应用B的3个非共享节点DA的完整定义,仅给出节点标识、DA引用资源的类型、引用资源的映射关系。表1为应用B非共享节点的节点标识、DA引用资源的类型、引用资源的映射关系表For the sake of simplicity, the complete definitions of the three non-shared nodes DA of application B are not given here, but only the node identifier, the type of resource referenced by DA, and the mapping relationship of referenced resources are given. Table 1 is the node identifier of the non-shared node of application B, the type of DA reference resource, and the mapping relationship table of reference resource
表1Table 1
其中第一行说明节点AppWarB的DA是一个War包,War包类型用WarArtifact定义,引用资源为appB.war;第二行说明节点DbB的DA是一个数据库文件,数据库文件类型用DbArtifact定义,引用资源为appBDB.mysql;第三行说明节点Apache的DA是一个镜像,镜像类型用ImageArtifact定义,引用资源为Apache.xva。The first line indicates that the DA of the node AppWarB is a War package, the War package type is defined by WarArtifact, and the reference resource is appB.war; the second line indicates that the DA of the node DbB is a database file, the database file type is defined by DbArtifact, and the reference resource It is appBDB.mysql; the third line indicates that the DA of the node Apache is a mirror, the mirror type is defined by ImageArtifact, and the reference resource is Apache.xva.
由于已有计算资源是应用A的MySql节点的计算资源,设CSP服务器为应用A创建的应用实例标识为appA1,已有计算资源所对应的应用实例标识和已有计算资源所对应节点的标识分别为appA1和MySql。Since the existing computing resource is the computing resource of the MySql node of application A, the application instance identifier created by the CSP server for application A is appA1, and the application instance identifier corresponding to the existing computing resource and the identifier of the node corresponding to the existing computing resource are respectively for appA1 and MySql.
402、根据计算资源的信息确定已部署应用的节点的计算资源的标识;402. Determine the identifier of the computing resource of the node on which the application has been deployed according to the computing resource information;
CSP服务器在部署应用A时,会维护应用实例标识、节点标识和对应计算资源的标识的映射关系,如表2所示为应用A中,应用实例标识、节点标识和计算资源的标识的映射关系表。(其中“Null”表示该节点不需要计算资源)When the CSP server deploys application A, it will maintain the mapping relationship between the application instance ID, the node ID, and the ID of the corresponding computing resource. Table 2 shows the mapping relationship between the application instance ID, the node ID, and the ID of the computing resource in application A. surface. (Where "Null" indicates that the node does not require computing resources)
表2Table 2
CSC设备在收到应用部署指令后,若计算资源的信息是为已部署应用的节点分配的计算资源的标识则直接解析部署指令,获取该计算资源的标识;After the CSC device receives the application deployment instruction, if the computing resource information is the identifier of the computing resource assigned to the node that has deployed the application, it directly parses the deployment instruction to obtain the identifier of the computing resource;
可选的,若计算资源的信息为已部署应用的标识和该已部署应用的节点的标识,则CSC设备在收到应用部署指令后,向CSP服务器发送获取计算资源的标识请求,该请求中携带接收的计算资源的信息,如:appA1和MySql。CSP服务器根据请求中appA1可以获取该应用的节点资源表,即表2,再根据请求中已部署应用的节点标识,即MySql,可从该表2中查询到该节点对应的计算资源的标识为appA1-MySql,并将该appA1-MySql发送给CSC设备。Optionally, if the information of the computing resource is the identifier of the deployed application and the identifier of the node of the deployed application, the CSC device sends a request for obtaining the identifier of the computing resource to the CSP server after receiving the application deployment instruction. In the request, Carry the received computing resource information, such as: appA1 and MySql. According to appA1 in the request, the CSP server can obtain the node resource table of the application, that is, Table 2, and then according to the node ID of the deployed application in the request, that is, MySql, the ID of the computing resource corresponding to the node can be queried from Table 2 as appA1-MySql, and send the appA1-MySql to the CSC device.
403、构造应用B的应用部署包;403. Construct an application deployment package of application B;
具体的,CSC设备首先根据步骤402获取的计算资源的标识定义共享节点的部署制品DA,由于TOSCA中,目前定义需要计算资源的节点的DA时只能使用ImageArtifact类型,该类型表示DA引用资源的类型为镜像,而不是已有计算资源。因此,必须定义新的ArtifactType“ExistingResourceArtifact”,表示DA引用资源类型为“已有计算资源”,其定义如下:Specifically, the CSC device first defines the deployment product DA of the shared node according to the identification of the computing resource obtained in step 402. In TOSCA, currently only the ImageArtifact type can be used when defining the DA of the node that needs computing resources, which means that the DA refers to the resource. The type is an image, not an existing computing resource. Therefore, a new ArtifactType "ExistingResourceArtifact" must be defined, indicating that the DA reference resource type is "existing computing resources", which is defined as follows:
<ArtifactType name=″ExistingResourceArtifact″targetNamespace=″http://docs.oasisopen.org/tosca/ns/2011/12/Artifacts″/><ArtifactType name="ExistingResourceArtifact" targetNamespace="http://docs.oasisopen.org/tosca/ns/2011/12/Artifacts"/>
定义ArtifactTemplate并指定其type为ExistingResourceArtifact,并引用已部署应用的节点的计算资源标识,即appA1-MySQL。Define ArtifactTemplate and specify its type as ExistingResourceArtifact, and refer to the computing resource ID of the node where the application is deployed, that is, appA1-MySQL.
基于定义的ArtifactTemplate,节点MySql及其DA可以定义为Based on the defined ArtifactTemplate, node MySql and its DA can be defined as
基于上述共享节点MySql的DA定义,CSC设备结合步骤401指令中的部署应用B所需其他信息,如:非共享节点的部署制品信息,待部署应用的标识,共享节点的标识、非共享节点的标识以及部署计划等信息即可根据TOSCA标准构造应用B的应用部署包。Based on the DA definition of the shared node MySql above, the CSC device combines other information required for deploying application B in the instruction in step 401, such as: deployment product information of non-shared nodes, identification of applications to be deployed, identification of shared nodes, and information of non-shared nodes Information such as identification and deployment plan can construct the application deployment package of application B according to the TOSCA standard.
404、CSC设备向CSP服务器发送应用B部署请求,该请求中包括构造的应用B的应用部署包。404. The CSC device sends an application B deployment request to the CSP server, where the request includes the constructed application deployment package of the application B.
405、CSP服务器解析应用B的应用部署包,获取待部署应用的标识,创建待部署应用的应用实例标识,记录该待部署应用的标识和应用实例标识的映射关系,并根据该待部署应用的应用部署包逐步处理该待部署应用的四个节点;405. The CSP server parses the application deployment package of application B, obtains the identifier of the application to be deployed, creates an application instance identifier of the application to be deployed, records the mapping relationship between the identifier of the application to be deployed and the application instance identifier, and The application deployment package processes the four nodes of the application to be deployed step by step;
具体的,CSP服务器在部署应用时,会为该应用创建应用实例标识,并维护应用标识和应用实例标识的映射关系。在本步骤中,CSP服务器首先解析应用B的应用部署包,获取应用标识为appB;然后创建应用实例标识为appB1,并记录应用B的标识和应用实例标识的映射关系,如表3为应用B的应用标识和应用实例标识的映射关系表。Specifically, when deploying an application, the CSP server will create an application instance identifier for the application, and maintain a mapping relationship between the application identifier and the application instance identifier. In this step, the CSP server first parses the application deployment package of application B, obtains the application ID as appB; then creates the application instance ID as appB1, and records the mapping relationship between the ID of application B and the ID of the application instance, as shown in Table 3 for application B A mapping relationship table between application identifiers and application instance identifiers.
表3table 3
四个节点的处理流程如下:The processing flow of the four nodes is as follows:
处理节点AppWarB的流程:The process of processing node AppWarB:
步骤411:设当前待部署的节点为AppWarB,则当前待部署的节点的标识即为AppWarB;Step 411: Set the node currently to be deployed as AppWarB, then the identifier of the node to be deployed currently is AppWarB;
步骤412:获取节点AppWarB的引用资源的类型为WarArtifact,而不是ExistingResourceArtifact,判断节点AppWarB为非共享节点共享节点,跳至步骤413。Step 412 : Obtain that the reference resource type of node AppWarB is WarArtifact instead of ExistingResourceArtifact, determine that node AppWarB is a non-shared node, and skip to step 413 .
步骤413包括:Step 413 includes:
步骤413.1:判断DA引用资源类型为WarArtifact,不是镜像类型,跳至步骤413.2;Step 413.1: Determine that the resource type referenced by DA is WarArtifact, not a mirror image type, and skip to step 413.2;
步骤413.2:记录应用B的应用实例标识(appB1)、当前待部署的节点标识(AppWarB)、当前待部署的节点所对应计算资源的标识(即“Null”),结果见表4为应用B的节点AppWarB与应用实例标识和计算资源的标识的映射关系表。Step 413.2: Record the application instance ID (appB1) of application B, the node ID (AppWarB) currently to be deployed, and the ID of the computing resource corresponding to the node currently to be deployed (that is, "Null"). The results are shown in Table 4 for application B. A table of mapping relationships between node AppWarB and application instance identifiers and computing resource identifiers.
表4Table 4
处理节点DbB的流程:The process of processing node DbB:
步骤421:设当前待部署的节点为DbB,当前待部署的节点标识即为DbB;Step 421: Set the current node to be deployed as DbB, and the identifier of the current node to be deployed is DbB;
步骤422:获取节点DbB的DA引用资源的类型为DbArtifact,而不是ExistingResourceArtifact,判断节点DbB为非共享节点,跳至步骤423。Step 422 : Obtain that the type of resource referenced by the DA of node DbB is DbArtifact instead of ExistingResourceArtifact, determine that node DbB is a non-shared node, and skip to step 423 .
步骤423:Step 423:
步骤423.1:判断DA引用资源类型为DbArtifact,不是镜像类型,跳至步骤423.2;Step 423.1: Determine that the DA reference resource type is DbArtifact, not a mirror type, and skip to step 423.2;
步骤423.2:记录应用实例标识(appB1)、当前待部署的节点标识(DbB)、当前待部署的节点标识所对应计算资源标识(即“Null”),结果见表5,为应用B的节点DbB与应用实例标识和计算资源的标识的映射关系表。Step 423.2: Record the application instance ID (appB1), the current node ID to be deployed (DbB), and the computing resource ID corresponding to the current node ID to be deployed (that is, "Null"). The results are shown in Table 5, which is the node DbB of application B A mapping relationship table with application instance IDs and computing resource IDs.
表5table 5
处理节点Apache的流程:The process of processing node Apache:
步骤431:设当前待部署的节点为Apache,当前待部署的节点的标识即为Apache;Step 431: set the node currently to be deployed as Apache, and the identifier of the node to be deployed currently is Apache;
步骤432:获取节点Apache的DA引用资源的类型为ImageArtifact,而不是ExistingResourceArtifact,判断节点Apache为非共享节点,跳至步骤433。Step 432 : Obtain that the DA reference resource type of the node Apache is ImageArtifact instead of ExistingResourceArtifact, determine that the node Apache is a non-shared node, and skip to step 433 .
步骤433:Step 433:
步骤433.1:判断DA引用资源类型为ImageArtifact,是镜像类型,跳至步骤433.2;Step 433.1: Determine that the DA reference resource type is ImageArtifact, which is a mirror image type, and skip to step 433.2;
步骤433.2:CSP服务器解析应用部署包获取部署制品中引用资源Apache.xva,分配计算资源并加载Apache.xva,创建计算资源标识为appB1-Apache,并记录应用实例标识、当前待部署的节点的节点标识、创建的计算资源标识的映射关系,见表6为应用B的节点Apache与应用实例标识和计算资源的映射关系表Step 433.2: The CSP server parses the application deployment package to obtain the referenced resource Apache.xva in the deployment product, allocates computing resources and loads Apache.xva, creates a computing resource ID as appB1-Apache, and records the application instance ID and the node of the node currently to be deployed For the mapping relationship between the ID and the created computing resource ID, see Table 6 for the mapping relationship between the node Apache of application B and the application instance ID and computing resources
见表6See Table 6
处理节点MySql的流程:The process of processing node MySql:
步骤441:设当前待部署的节点为MySql,当前待部署的节点标识即为MySql;Step 441: Set the current node to be deployed as MySql, and the identifier of the current node to be deployed is MySql;
步骤442:获取节点MySql的DA引用资源的类型为ExistingResourceArtifact,判断节点MySql为共享节点,跳至步骤443。Step 442: Obtain the DA reference resource type of the node MySq1 as ExistingResourceArtifact, determine that the node MySq1 is a shared node, and skip to step 443.
步骤443包括:Step 443 includes:
步骤443.1:解析应用部署包获取当前待部署的节点部署制品中引用的计算资源的标识为appA1-MySQL;Step 443.1: Analyze the application deployment package to obtain the identifier of the computing resource referenced in the node deployment product currently to be deployed as appA1-MySQL;
步骤443.2:检查已有计算资源appA1-MySQL的状态为“RUN”,故无需调用start方法;Step 443.2: Check that the status of the existing computing resource appA1-MySQL is "RUN", so there is no need to call the start method;
步骤443.3:由于CSP服务器在部署应用A时会维护应用A的应用标识、应用实例标识、节点标识、所对应计算资源的标识的映射关系,见表7和表8Step 443.3: Since the CSP server will maintain the mapping relationship between the application ID, application instance ID, node ID, and corresponding computing resource ID of application A when deploying application A, see Table 7 and Table 8
应用A的应用标识和应用实例标识的映射关系表Mapping relationship table between the application ID of application A and the application instance ID
表7Table 7
应用A的节点MySQL与应用实例标识和计算资源的映射关系表Mapping relationship between application A node MySQL and application instance ID and computing resources
表8Table 8
因此,基于表8根据appA1-MySQL可查找与该计算资源的标识对应的应用实例标识为appA1,再基于表7根据应用实例标识为appA1可查找对应的应用标识为appA。Therefore, based on Table 8, appA1-MySQL can find the application instance ID corresponding to the computing resource ID as appA1, and based on Table 7, according to the application instance ID appA1, the corresponding application ID can be found as appA.
步骤443.4:根据应用标识,获取appA的删除计划,设原先没有设置先决条件,现在改为Step 443.4: Obtain the deletion plan of appA according to the application identifier, assuming that no preconditions were set before, now it is changed to
先决条件的描述语言可以是任何服务器可识别的标准语言,通过属性expressionLanguage指明。简单起见,本实施例使用了自然语言描述,即应用A的删除计划的可执行的必要条件为应用B的状态为REMOVED(即被删除)。The description language of prerequisites can be any standard language recognized by the server, specified by the attribute expressionLanguage. For the sake of simplicity, this embodiment uses a natural language description, that is, the necessary condition for the execution of the deletion plan of application A is that the status of application B is REMOVED (that is, deleted).
步骤443.5:记录应用实例标识(appB1)、当前待部署的节点的标识(MySQL)、计算资源标识(appA1-MySQL)的映射关系,见表9Step 443.5: Record the mapping relationship between the application instance ID (appB1), the node ID (MySQL) to be deployed currently, and the computing resource ID (appA1-MySQL), see Table 9
应用B的节点MySQL与应用实例标识和计算资源的映射关系表Mapping relationship between application B node MySQL and application instance ID and computing resources
表9Table 9
步骤11:执行部署计划。Step 11: Execute the deployment plan.
具体的,部署计划的流程为:(1)部署应用War包;(2)运行MySql节点;(3)安装数据库文件;(4)获取MySql节点的网络信息,如IP和端口号等;(5)使用获取的MySql节点的网络信息对Apache节点进行配置;(6)停止MySql节点。执行部署计划为现有技术,在此不再赘述。Specifically, the process of the deployment plan is: (1) Deploy the application War package; (2) Run the MySql node; (3) Install the database file; (4) Obtain the network information of the MySql node, such as IP and port number; (5) ) configure the Apache node using the obtained network information of the MySql node; (6) stop the MySql node. Executing the deployment plan is an existing technology, and will not be repeated here.
图5A示出了本发明一实施例的云服务消费设备示意框图,包括:Figure 5A shows a schematic block diagram of a cloud service consumption device according to an embodiment of the present invention, including:
接收单元501,用于接收应用部署指令,所述应用部署指令中包括:待部署应用的标识和已部署应用的计算资源的信息,可选的,该计算资源的信息包括:所述已部署应用的标识和所述已部署应用的节点的标识,或者为所述已部署应用的节点分配的计算资源的标识;The receiving unit 501 is configured to receive an application deployment instruction, where the application deployment instruction includes: the identification of the application to be deployed and information about the computing resources of the deployed application. Optionally, the information about the computing resources includes: the deployed application and the identifier of the node where the application has been deployed, or the identifier of the computing resource allocated to the node where the application has been deployed;
发送单元504,用于向云服务服务器发送应用部署请求,所述应用部署请求中包括所述待部署应用的标识,和已部署应用的计算资源的信息,以使所述云服务服务器根据所述已部署应用的计算资源的信息确定云服务服务器为所述云服务消费设备的所述已部署应用分配的已有计算资源,使用所述已有计算资源部署所述待部署的应用。The sending unit 504 is configured to send an application deployment request to the cloud service server, where the application deployment request includes the identifier of the application to be deployed and information about computing resources of the deployed application, so that the cloud service server can use the The information of the computing resource of the deployed application determines the existing computing resource allocated by the cloud service server to the deployed application of the cloud service consuming device, and uses the existing computing resource to deploy the application to be deployed.
可选的,该设备还可以包括获取单元502,和接收单元501相连,用于根据接收单元接收的应用部署指令中已部署应用的标识信息获取计算资源的标识;Optionally, the device may further include an obtaining unit 502 connected to the receiving unit 501, configured to obtain the identification of the computing resource according to the identification information of the deployed application in the application deployment instruction received by the receiving unit;
可选的,接收单元501接收的应用部署指令还包括使用所述已有计算资源的共享节点的标识,可选的该设备还可以包括构造单元503,和获取单元502相连,用于根据获取单元502获取的计算资源的标识和所述共享节点的标识构造所述共享节点的部署制品,所述部署制品引用所述计算资源的标识;Optionally, the application deployment instruction received by the receiving unit 501 also includes the identification of the shared node using the existing computing resources. Optionally, the device may also include a construction unit 503 connected to the obtaining unit 502 for 502. The acquired identifier of the computing resource and the identifier of the shared node construct a deployment artifact of the shared node, and the deployment artifact refers to the identifier of the computing resource;
所述发送单元504,与构造单元503相连,还用于将构造单元503构造的共享节点的部署制品给云服务服务器,以使所述云服务服务器根据所述部署制品使用该已有计算资源部署该共享节点。The sending unit 504 is connected to the construction unit 503, and is also configured to send the deployment product of the shared node constructed by the construction unit 503 to the cloud service server, so that the cloud service server uses the existing computing resource deployment according to the deployment product The shared node.
可选的,接收单元501接收的应用部署请求中还可以包括非共享节点的部署制品及非共享节点的标识,所述发送单元504还用于向所述云服务服务器发送所述非共享节点的部署制品,以便于所述云服务服务器为所述非共享节点分配新的计算资源,根据所述非共享节点的部署制品使用所述新的计算资源部署所述非共享节点。Optionally, the application deployment request received by the receiving unit 501 may also include the deployment product of the non-shared node and the identifier of the non-shared node, and the sending unit 504 is further configured to send the non-shared node's ID to the cloud service server. Deployment products, so that the cloud service server allocates new computing resources for the non-shared nodes, and deploys the non-shared nodes using the new computing resources according to the deployment product of the non-shared nodes.
需要注意的是,本发明实施例的云服务消费设备可用于参与或执行如图2-图4所描述的云平台应用部署方法。具体执行流程,可参照图2-图4所描述的内容,在此不再赘述。It should be noted that the cloud service consumption device in the embodiment of the present invention can be used to participate in or execute the cloud platform application deployment method described in FIGS. 2-4 . For the specific execution process, reference may be made to the content described in FIGS. 2-4 , which will not be repeated here.
图5B示出了本发明又一实施例的云服务消费设备,如图5B所示,该云服务器消费设备包括:该终端设备包括:Fig. 5B shows a cloud service consumption device according to another embodiment of the present invention. As shown in Fig. 5B, the cloud server consumption device includes: the terminal device includes:
处理器510、存储器512、通信接口514和总线513,所述处理器510、存储器512和通信接口514之间通过所述总线513连接并完成相互间的通信。The processor 510, the memory 512, the communication interface 514 and the bus 513. The processor 510, the memory 512 and the communication interface 514 are connected through the bus 513 to complete mutual communication.
处理器510可能为单核或多核中央处理单元(Central Processing Unit,CPU),或者为特定集成电路(Application Specific Integrated Circuit,简称ASIC),或者为被配置成实施本发明实施例的一个或多个集成电路。The processor 510 may be a single-core or multi-core central processing unit (Central Processing Unit, CPU), or a specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or be configured to implement one or more of the embodiments of the present invention integrated circuit.
存储器512可以为高速RAM存储器,也可以为非易失性存储器(non-volatilememory),例如至少一个磁盘存储器。The memory 512 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk memory.
存储器512用于存放程序515。具体的,程序515中可以包括程序代码,所述程序代码包括计算机操作指令。The memory 512 is used to store a program 515 . Specifically, the program 515 may include program codes, where the program codes include computer operation instructions.
处理器510运行程序515以执行:Processor 510 runs program 515 to perform:
接收应用部署指令,所述应用部署指令中包括:待部署应用的标识和已部署应用的计算资源的信息;receiving an application deployment instruction, the application deployment instruction including: the identification of the application to be deployed and information about the computing resources of the deployed application;
向云服务服务器发送应用部署请求,所述应用部署请求中包括所述待部署应用的标识,和所述已部署应用的计算资源的信息,以使所述云服务服务器根据所述已部署应用的计算资源的信息确定云服务服务器为所述云服务消费设备的所述已部署应用分配的已有计算资源,使用所述已有计算资源部署所述待部署的应用。Sending an application deployment request to the cloud service server, where the application deployment request includes the identifier of the application to be deployed and information about the computing resources of the deployed application, so that the cloud service server The computing resource information determines the existing computing resource allocated by the cloud service server to the deployed application of the cloud service consuming device, and uses the existing computing resource to deploy the application to be deployed.
具体的,本发明实施例的云服务器消费设备可参与执行如图2-图4所描述的实施例,此处不再赘述。Specifically, the cloud server consumption device in the embodiment of the present invention may participate in the implementation of the embodiments described in FIGS. 2-4 , which will not be repeated here.
图6A示出了本发明一实施例的云服务服务器示意框图,如图6A所示,该云服务服务器,包括:Fig. 6A shows a schematic block diagram of a cloud service server according to an embodiment of the present invention. As shown in Fig. 6A, the cloud service server includes:
接收单元601,用于接收云服务消费设备发送的应用部署请求,所述应用部署请求包括:待部署应用的标识,和为所述云服务消费设备的已部署应用分配的计算资源的信息;The receiving unit 601 is configured to receive an application deployment request sent by a cloud service consuming device, where the application deployment request includes: an identification of the application to be deployed, and information about computing resources allocated for the deployed application of the cloud service consuming device;
部署单元602,用于根据所述为已部署应用分配的计算资源的信息,确定云服务服务器为所述云服务消费设备的所述已部署应用分配的已有计算资源,使用所述已有计算资源部署所述待部署的应用。The deploying unit 602 is configured to determine the existing computing resources allocated by the cloud service server for the deployed applications of the cloud service consuming device according to the information of the computing resources allocated for the deployed applications, and use the existing computing resources The resource deploys the application to be deployed.
可选的,接收单元601接收的所述信息为所述已部署应用的节点对应的计算资源的标识;Optionally, the information received by the receiving unit 601 is an identifier of the computing resource corresponding to the node on which the application has been deployed;
所述部署单元602进一步包括:The deployment unit 602 further includes:
确定子单元6021,用于根据所述计算资源的标识确定云服务服务器为所述已部署应用的节点分配的已有计算资源;与确定子单元相连的部署子单元6022,用于使用所述确定子单元6021确定的已有计算资源部署所述待部署的应用。The determining subunit 6021 is configured to determine the existing computing resources allocated by the cloud service server to the node of the deployed application according to the identifier of the computing resource; the deploying subunit 6022 connected to the determining subunit is configured to use the determined The existing computing resource determined by the subunit 6021 deploys the application to be deployed.
可选的,所述接收单元601接收的所述信息为所述已部署应用的标识和所述已部署应用的节点的标识,所述部署单元602还包括与确定子单元6021相连的获取子单元6023,用于根据所述已部署应用的标识和所述已部署应用的节点的标识从保存的已部署应用的标识和已部署应用的应用实例标识间的映射关系以及已部署应用的应用实例标识、已部署应用的节点标识及该节点所对应的计算资源的标识间的映射关系中获取所述已部署应用的节点的标识对应的计算资源的标识。Optionally, the information received by the receiving unit 601 is the identifier of the deployed application and the identifier of the node of the deployed application, and the deploying unit 602 further includes an acquiring subunit connected to the determining subunit 6021 6023, used to obtain the saved mapping relationship between the deployed application identifier and the deployed application instance identifier and the deployed application instance identifier according to the deployed application identifier and the deployed application node identifier The identifier of the computing resource corresponding to the node identifier of the deployed application is acquired from the mapping relationship between the node identifier of the deployed application and the identifier of the computing resource corresponding to the node.
可选的,该接收单元601接收的应用部署请求还包括:所述待部署应用的第一节点的标识和所述第一节点的部署制品,所述计算资源的标识具体被携带在所述第一节点的部署制品中;该部署子单元6022可具体用于根据所述已有计算资源标识确定已有计算资源;根据所述第一节点的部署制品使用所述已有计算资源部署所述第一节点。Optionally, the application deployment request received by the receiving unit 601 further includes: the identifier of the first node of the application to be deployed and the deployment product of the first node, and the identifier of the computing resource is specifically carried in the first node In a deployment product of a node; the deployment subunit 6022 may be specifically configured to determine an existing computing resource according to the existing computing resource identifier; deploy the first node using the existing computing resource according to the deployment product of the first node a node.
可选的,该部署单元602还包括创建子单元6024,用于在部署单元子单元6022根据所述第一节点的部署制品使用所述已有计算资源部署所述第一节点之前,根据所述待部署的应用的标识创建所述应用的应用实例标识;Optionally, the deployment unit 602 further includes a creation subunit 6024, configured to deploy the first node according to the existing computing resource before the deployment unit subunit 6022 deploys the first node according to the The identification of the application to be deployed creates an application instance identification of the application;
与创建子单元6024相连的记录单元子6025,用于记录该创建单元6024创建的所述应用实例标识与所述应用的标识间的映射关系,还用于记录所述待部署应用的应用实例标识、所述第一节点的标识以及所述计算资源的标识三者间的映射关系。The recording unit 6025 connected to the creation subunit 6024 is used to record the mapping relationship between the application instance identifier and the application identifier created by the creation unit 6024, and is also used to record the application instance identifier of the application to be deployed , the mapping relationship between the identifier of the first node and the identifier of the computing resource.
所述获取子单元6023,还用于从保存的已部署应用的应用实例标识、节点标识及该节点所对应的计算资源的标识间的映射关系中获取所述计算资源的标识对应的已部署应用的应用实例标识;The acquiring subunit 6023 is further configured to acquire the deployed application corresponding to the identifier of the computing resource from the stored mapping relationship between the application instance identifier of the deployed application, the node identifier, and the identifier of the computing resource corresponding to the node The application instance ID of ;
该部署单元602还包括与记录子单元6025相连的修改子单元6026,用于基于所述获取的已部署应用的应用实例标识,从所述已部署应用的应用实例标识对应的应用部署包中获取所述已部署应用的应用部署包中的删除计划的先决条件,在所述删除计划的先决条件中增加所述待部署的应用已被删除的条件。The deploying unit 602 also includes a modifying subunit 6026 connected to the recording subunit 6025, configured to obtain from the application deployment package corresponding to the application instance identifier of the deployed application based on the obtained application instance identifier of the deployed application In the prerequisites of the deletion plan in the application deployment package of the deployed application, a condition that the application to be deployed has been deleted is added to the prerequisites of the deletion plan.
需要注意的是,本发明实施例的云服务服务器,可用于参与或执行如图2-图4所描述的云平台应用部署方法。具体执行流程,可参照图2-图4所描述的内容,在此不再赘述。It should be noted that the cloud service server in the embodiment of the present invention can be used to participate in or execute the cloud platform application deployment method described in FIGS. 2-4 . For the specific execution process, reference may be made to the content described in FIGS. 2-4 , which will not be repeated here.
如图6B所示,为本发明又一实施例的云服务服务器示意框图,如图6C所示,该云服务服务器包括:As shown in FIG. 6B, it is a schematic block diagram of a cloud service server according to another embodiment of the present invention. As shown in FIG. 6C, the cloud service server includes:
处理器510、存储器512、通信接口514和总线513,所述处理器510、存储器512和通信接口514之间通过所述总线513连接并完成相互间的通信。The processor 510, the memory 512, the communication interface 514 and the bus 513. The processor 510, the memory 512 and the communication interface 514 are connected through the bus 513 to complete mutual communication.
处理器510可能为单核或多核中央处理单元(Central Processing Unit,CPU),或者为特定集成电路(Application Specific Integrated Circuit,简称ASIC),或者为被配置成实施本发明实施例的一个或多个集成电路。The processor 510 may be a single-core or multi-core central processing unit (Central Processing Unit, CPU), or a specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or be configured to implement one or more of the embodiments of the present invention integrated circuit.
存储器512可以为高速RAM存储器,也可以为非易失性存储器(non-volatilememory),例如至少一个磁盘存储器。The memory 512 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk memory.
存储器512用于存放程序515。具体的,程序515中可以包括程序代码,所述程序代码包括计算机操作指令。The memory 512 is used to store a program 515 . Specifically, the program 515 may include program codes, where the program codes include computer operation instructions.
处理器510运行程序515以执行:Processor 510 runs program 515 to perform:
接收云服务消费设备发送的应用部署请求,所述应用部署请求包括:待部署应用的标识,和为所述云服务消费设备的已部署应用分配的计算资源的信息;Receive an application deployment request sent by a cloud service consuming device, where the application deployment request includes: an identifier of an application to be deployed, and information about computing resources allocated to the deployed application of the cloud service consuming device;
根据所述为已部署应用分配的计算资源的信息,确定云服务服务器为所述云服务消费设备的所述已部署应用分配的已有计算资源,使用所述已有计算资源部署所述待部署应用。According to the information of the computing resources allocated for the deployed application, determine the existing computing resources allocated by the cloud service server for the deployed application of the cloud service consuming device, and use the existing computing resources to deploy the to-be-deployed application.
需要注意的是,本发明实施例的云服务服务器,可用于参与或执行如图2-图4所描述的云平台应用部署方法。具体执行流程,可参照图2-图4所描述的内容,在此不再赘述。It should be noted that the cloud service server in the embodiment of the present invention can be used to participate in or execute the cloud platform application deployment method described in FIGS. 2-4 . For the specific execution process, reference may be made to the content described in FIGS. 2-4 , which will not be repeated here.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the relationship between hardware and software Interchangeability. In the above description, the composition and steps of each example have been generally described according to their functions. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, and will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may also be electrical, mechanical or other forms of connection.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of software products, and the computer software products are stored in a storage medium In, several instructions are included to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, and other media that can store program codes.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person familiar with the technical field can easily think of various equivalents within the technical scope disclosed in the present invention. Modifications or replacements shall all fall within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (18)
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 (16)
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 |
CN106528262B (en) | 2015-09-10 | 2019-10-22 | 华为技术有限公司 | 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 |
CN109547509B (en) * | 2017-09-22 | 2022-03-29 | 华为技术有限公司 | Cross-platform deployment method and system |
JP2021503124A (en) * | 2017-11-15 | 2021-02-04 | ホアウェイ・テクノロジーズ・カンパニー・リミテッド | Acceleration resource scheduling method and equipment, 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 | 华为技术有限公司 | A method, device and system for deploying a service |
CN113515288B (en) * | 2021-04-26 | 2024-02-23 | 中国工商银行股份有限公司 | Automatic deployment method and device based on release unit |
WO2022231495A1 (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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101938416A (en) * | 2010-09-01 | 2011-01-05 | 华南理工大学 | A cloud computing resource scheduling method based on dynamic reconfiguration of 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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7069267B2 (en) * | 2001-03-08 | 2006-06-27 | Tririga Llc | Data storage and access employing clustering |
-
2012
- 2012-12-28 CN CN201210583901.9A patent/CN103905508B/en active Active
-
2013
- 2013-09-10 WO PCT/CN2013/083226 patent/WO2014101475A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101938416A (en) * | 2010-09-01 | 2011-01-05 | 华南理工大学 | A cloud computing resource scheduling method based on dynamic reconfiguration of 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 |
---|---|
CN103905508A (en) | 2014-07-02 |
WO2014101475A1 (en) | 2014-07-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103905508B (en) | Cloud platform application dispositions method and device | |
US10862760B2 (en) | Network functions virtualization | |
CN111880936B (en) | Resource scheduling method, device, container cluster, computer equipment and storage medium | |
US9389903B2 (en) | Method, system and apparatus for creating virtual machine | |
JP6658882B2 (en) | Control device, VNF placement destination selection method and program | |
CN108572845B (en) | Upgrade method and related system of distributed microservice cluster | |
EP2838228B1 (en) | Alarm correlation analysis method, apparatus, and system | |
CN106776998B (en) | Database service providing method and server | |
CN111770162B (en) | Network bandwidth limiting method, device, master node and storage medium | |
CN103530185B (en) | Method for optimizing resources and device | |
CN106911741B (en) | Method for balancing virtual network management file downloading load and network management server | |
CN111092921B (en) | Data acquisition method, device and storage medium | |
CN111930525B (en) | GPU resource usage method, electronic device and computer readable medium | |
WO2018121334A1 (en) | Web application service providing method, apparatus, electronic device and system | |
CN104572274A (en) | Cross-cloud-point migration system and method | |
CN107959582A (en) | A kind of management method and device of example of cutting into slices | |
CN112579622B (en) | Method, device and equipment for processing service data | |
CN116800616B (en) | Management method and related device of virtualized network equipment | |
CN111625419A (en) | Log acquisition method, system, equipment and computer readable storage medium | |
CN109413011B (en) | Public service resource application method, related equipment and system | |
CN110290009B (en) | Data scheduling method and device and computer readable storage medium | |
CN112468589A (en) | Data distribution method and device, computer equipment and storage medium | |
CN109039694A (en) | A kind of the global network resource allocation methods and device of service-oriented | |
CN116339927B (en) | Equipment determining method, device, storage medium and electronic device | |
CN115469961A (en) | Method and device for creating container group, electronic equipment and storage medium |
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 |